Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gijgo

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gijgo - npm Package Compare versions

Comparing version 1.9.1 to 1.9.2

combined/fonts/gijgo-material.eot

2

modular/js/checkbox.js
/*
* Gijgo Checkbox v1.9.1
* Gijgo Checkbox v1.9.2
* http://gijgo.com/checkbox

@@ -4,0 +4,0 @@ *

/*
* Gijgo JavaScript Library v1.9.1
* Gijgo JavaScript Library v1.9.2
* http://gijgo.com/

@@ -395,14 +395,16 @@ *

mainElWidth = gj.core.width(mainEl, true),
childElWidth = gj.core.width(childEl, true);
childElWidth = gj.core.width(childEl, true),
scrollY = window.scrollY || window.pageYOffset || 0,
scrollX = window.scrollX || window.pageXOffset || 0;
if ((mainElRect.top + mainElHeight + childElHeight) > window.innerHeight && mainElRect.top > childElHeight) {
childEl.style.top = Math.round(mainElRect.top + window.scrollY - childElHeight - 3) + 'px';
childEl.style.top = Math.round(mainElRect.top + scrollY - childElHeight - 3) + 'px';
} else {
childEl.style.top = Math.round(mainElRect.top + window.scrollY + mainElHeight + 3) + 'px';
childEl.style.top = Math.round(mainElRect.top + scrollY + mainElHeight + 3) + 'px';
}
if (mainElRect.left + childElWidth > document.body.clientWidth) {
childEl.style.left = Math.round(mainElRect.left + window.scrollX + mainElWidth - childElWidth) + 'px';
childEl.style.left = Math.round(mainElRect.left + scrollX + mainElWidth - childElWidth) + 'px';
} else {
childEl.style.left = Math.round(mainElRect.left + window.scrollX) + 'px';
childEl.style.left = Math.round(mainElRect.left + scrollX) + 'px';
}

@@ -416,4 +418,4 @@ },

result = parseInt(style.height, 10);
result += parseInt(style.paddingTop, 10) + parseInt(style.paddingBottom, 10);
result += parseInt(style.borderTop, 10) + parseInt(style.borderBottom, 10);
result += parseInt(style.paddingTop || 0, 10) + parseInt(style.paddingBottom || 0, 10);
result += parseInt(style.borderTop || 0, 10) + parseInt(style.borderBottom || 0, 10);
} else {

@@ -424,3 +426,3 @@ result = parseInt(style.height, 10);

if (margin) {
result += parseInt(style.marginTop, 10) + parseInt(style.marginBottom, 10);
result += parseInt(style.marginTop || 0, 10) + parseInt(style.marginBottom || 0, 10);
}

@@ -436,4 +438,4 @@

result = parseInt(style.width, 10);
result += parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10);
result += parseInt(style.borderLeft, 10) + parseInt(style.borderRight, 10);
result += parseInt(style.paddingLeft || 0, 10) + parseInt(style.paddingRight || 0, 10);
result += parseInt(style.borderLeft || 0, 10) + parseInt(style.borderRight || 0, 10);
} else {

@@ -444,3 +446,3 @@ result = parseInt(style.width, 10);

if (margin) {
result += parseInt(style.marginLeft, 10) + parseInt(style.marginRight, 10);
result += parseInt(style.marginLeft || 0, 10) + parseInt(style.marginRight || 0, 10);
}

@@ -447,0 +449,0 @@

@@ -1,1 +0,1 @@

var gj={};gj.widget=function(){var a=this;a.xhr=null,a.generateGUID=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()},a.mouseX=function(a){if(a){if(a.pageX)return a.pageX;if(a.clientX)return a.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);if(a.touches&&a.touches.length)return a.touches[0].pageX;if(a.changedTouches&&a.changedTouches.length)return a.changedTouches[0].pageX;if(a.originalEvent&&a.originalEvent.touches&&a.originalEvent.touches.length)return a.originalEvent.touches[0].pageX;if(a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches.length)return a.originalEvent.touches[0].pageX}return null},a.mouseY=function(a){if(a){if(a.pageY)return a.pageY;if(a.clientY)return a.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);if(a.touches&&a.touches.length)return a.touches[0].pageY;if(a.changedTouches&&a.changedTouches.length)return a.changedTouches[0].pageY;if(a.originalEvent&&a.originalEvent.touches&&a.originalEvent.touches.length)return a.originalEvent.touches[0].pageY;if(a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches.length)return a.originalEvent.touches[0].pageY}return null}},gj.widget.prototype.init=function(a,b){var c,d,e;this.attr("data-type",b),d=$.extend(!0,{},this.getHTMLConfig()||{}),$.extend(!0,d,a||{}),e=this.getConfig(d,b),this.attr("data-guid",e.guid),this.data(e);for(c in e)gj[b].events.hasOwnProperty(c)&&(this.on(c,e[c]),delete e[c]);for(plugin in gj[b].plugins)gj[b].plugins.hasOwnProperty(plugin)&&gj[b].plugins[plugin].configure(this,e,d);return this},gj.widget.prototype.getConfig=function(a,b){var c,d,e,f;c=$.extend(!0,{},gj[b].config.base),d=a.hasOwnProperty("uiLibrary")?a.uiLibrary:c.uiLibrary,gj[b].config[d]&&$.extend(!0,c,gj[b].config[d]),e=a.hasOwnProperty("iconsLibrary")?a.iconsLibrary:c.iconsLibrary,gj[b].config[e]&&$.extend(!0,c,gj[b].config[e]);for(f in gj[b].plugins)gj[b].plugins.hasOwnProperty(f)&&($.extend(!0,c,gj[b].plugins[f].config.base),gj[b].plugins[f].config[d]&&$.extend(!0,c,gj[b].plugins[f].config[d]),gj[b].plugins[f].config[e]&&$.extend(!0,c,gj[b].plugins[f].config[e]));return $.extend(!0,c,a),c.guid||(c.guid=this.generateGUID()),c},gj.widget.prototype.getHTMLConfig=function(){var a=this.data(),b=this[0].attributes;return b.width&&(a.width=b.width.value),b.height&&(a.height=b.height.value),b.value&&(a.value=b.value.value),b.align&&(a.align=b.align.value),a&&a.source&&(a.dataSource=a.source,delete a.source),a},gj.widget.prototype.createDoneHandler=function(){var a=this;return function(b){"string"==typeof b&&JSON&&(b=JSON.parse(b)),gj[a.data("type")].methods.render(a,b)}},gj.widget.prototype.createErrorHandler=function(){return function(a){a&&a.statusText&&"abort"!==a.statusText&&alert(a.statusText)}},gj.widget.prototype.reload=function(a){var b,c,d=this.data(),e=this.data("type");return void 0===d.dataSource&&gj[e].methods.useHtmlDataSource(this,d),$.extend(d.params,a),$.isArray(d.dataSource)?(c=gj[e].methods.filter(this),gj[e].methods.render(this,c)):"string"==typeof d.dataSource?(b={url:d.dataSource,data:d.params},this.xhr&&this.xhr.abort(),this.xhr=$.ajax(b).done(this.createDoneHandler()).fail(this.createErrorHandler())):"object"==typeof d.dataSource&&(d.dataSource.data||(d.dataSource.data={}),$.extend(d.dataSource.data,d.params),b=$.extend(!0,{},d.dataSource),"json"===b.dataType&&"object"==typeof b.data&&(b.data=JSON.stringify(b.data)),b.success||(b.success=this.createDoneHandler()),b.error||(b.error=this.createErrorHandler()),this.xhr&&this.xhr.abort(),this.xhr=$.ajax(b)),this},gj.documentManager={events:{},subscribeForEvent:function(a,b,c){if(gj.documentManager.events[a]&&0!==gj.documentManager.events[a].length){if(gj.documentManager.events[a][b])throw"Event "+a+' for widget with guid="'+b+'" is already attached.';gj.documentManager.events[a].push({widgetId:b,callback:c})}else gj.documentManager.events[a]=[{widgetId:b,callback:c}],$(document).on(a,gj.documentManager.executeCallbacks)},executeCallbacks:function(a){var b=gj.documentManager.events[a.type];if(b)for(var c=0;c<b.length;c++)b[c].callback(a)},unsubscribeForEvent:function(a,b){var c=!1,d=gj.documentManager.events[a];if(d)for(var e=0;e<d.length;e++)d[e].widgetId===b&&(d.splice(e,1),c=!0,0===d.length&&($(document).off(a),delete gj.documentManager.events[a]));if(!c)throw'The "'+a+'" for widget with guid="'+b+"\" can't be removed."}},gj.core={messages:{"en-us":{monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthShortNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},parseDate:function(a,b,c){var d,e,f,g,h=0,i=0,j=0,k=0,l=0;if(a&&"string"==typeof a){if(/^\d+$/.test(a))g=new Date(a);else if(a.indexOf("/Date(")>-1)g=new Date(parseInt(a.substr(6),10));else if(a){for(e=a.split(/[\s,-\.\/\/\:]+/),f=b.split(/[\s,-\.\/\/\:]+/),d=0;d<f.length;d++)["d","dd"].indexOf(f[d])>-1?j=parseInt(e[d],10):["m","mm"].indexOf(f[d])>-1?i=parseInt(e[d],10)-1:"mmm"===f[d]?i=gj.core.messages[c||"en-us"].monthShortNames.indexOf(e[d]):"mmmm"===f[d]?i=gj.core.messages[c||"en-us"].monthNames.indexOf(e[d]):["yy","yyyy"].indexOf(f[d])>-1?(h=parseInt(e[d],10),"yy"===f[d]&&(h+=2e3)):["h","hh","H","HH"].indexOf(f[d])>-1?k=parseInt(e[d],10):["M","MM"].indexOf(f[d])>-1&&(l=parseInt(e[d],10));g=new Date(h,i,j,k,l)}}else"number"==typeof a?g=new Date(a):a instanceof Date&&(g=a);return g},formatDate:function(a,b,c){var d,e,f="",g=b.split(/[\s,-\.\/\/\:]+/),h=b.replace(/[shtdmyHTDMY]/g,"");for(i=0;i<g.length;i++)switch(d=h[i]||"",g[i]){case"s":f+=a.getSeconds()+d;break;case"ss":f+=gj.core.pad(a.getSeconds())+d;break;case"M":f+=a.getMinutes()+d;break;case"MM":f+=gj.core.pad(a.getMinutes())+d;break;case"H":f+=a.getHours()+d;break;case"HH":f+=gj.core.pad(a.getHours())+d;break;case"h":e=a.getHours()>12?a.getHours()%12:a.getHours(),f+=e+d;break;case"hh":e=a.getHours()>12?a.getHours()%12:a.getHours(),f+=gj.core.pad(e)+d;break;case"tt":f+=(a.getHours()>=12?"pm":"am")+d;break;case"TT":f+=(a.getHours()>=12?"PM":"AM")+d;break;case"d":f+=a.getDate()+d;break;case"dd":f+=gj.core.pad(a.getDate())+d;break;case"m":f+=a.getMonth()+1+d;break;case"mm":f+=gj.core.pad(a.getMonth()+1)+d;break;case"mmm":f+=gj.core.messages[c||"en-us"].monthShortNames[a.getMonth()]+d;break;case"mmmm":f+=gj.core.messages[c||"en-us"].monthNames[a.getMonth()]+d;break;case"yy":f+=a.getFullYear().toString().substr(2)+d;break;case"yyyy":f+=a.getFullYear()+d}return f},pad:function(a,b){for(a=String(a),b=b||2;a.length<b;)a="0"+a;return a},center:function(a){var b=$(window).width()/2-a.width()/2,c=$(window).height()/2-a.height()/2;a.css("position","absolute"),a.css("left",b>0?b:0),a.css("top",c>0?c:0)},isIE:function(){return!!navigator.userAgent.match(/Trident/g)||!!navigator.userAgent.match(/MSIE/g)},setChildPosition:function(a,b){var c=a.getBoundingClientRect(),d=gj.core.height(a,!0),e=gj.core.height(b,!0),f=gj.core.width(a,!0),g=gj.core.width(b,!0);c.top+d+e>window.innerHeight&&c.top>e?b.style.top=Math.round(c.top+window.scrollY-e-3)+"px":b.style.top=Math.round(c.top+window.scrollY+d+3)+"px",c.left+g>document.body.clientWidth?b.style.left=Math.round(c.left+window.scrollX+f-g)+"px":b.style.left=Math.round(c.left+window.scrollX)+"px"},height:function(a,b){var c,d=window.getComputedStyle(a);return"normal"===d.lineHeight?(c=parseInt(d.height,10),c+=parseInt(d.paddingTop,10)+parseInt(d.paddingBottom,10),c+=parseInt(d.borderTop,10)+parseInt(d.borderBottom,10)):c=parseInt(d.height,10),b&&(c+=parseInt(d.marginTop,10)+parseInt(d.marginBottom,10)),c},width:function(a,b){var c,d=window.getComputedStyle(a);return"normal"===d.lineHeight?(c=parseInt(d.width,10),c+=parseInt(d.paddingLeft,10)+parseInt(d.paddingRight,10),c+=parseInt(d.borderLeft,10)+parseInt(d.borderRight,10)):c=parseInt(d.width,10),b&&(c+=parseInt(d.marginLeft,10)+parseInt(d.marginRight,10)),c}};
var gj={};gj.widget=function(){var a=this;a.xhr=null,a.generateGUID=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()},a.mouseX=function(a){if(a){if(a.pageX)return a.pageX;if(a.clientX)return a.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);if(a.touches&&a.touches.length)return a.touches[0].pageX;if(a.changedTouches&&a.changedTouches.length)return a.changedTouches[0].pageX;if(a.originalEvent&&a.originalEvent.touches&&a.originalEvent.touches.length)return a.originalEvent.touches[0].pageX;if(a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches.length)return a.originalEvent.touches[0].pageX}return null},a.mouseY=function(a){if(a){if(a.pageY)return a.pageY;if(a.clientY)return a.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);if(a.touches&&a.touches.length)return a.touches[0].pageY;if(a.changedTouches&&a.changedTouches.length)return a.changedTouches[0].pageY;if(a.originalEvent&&a.originalEvent.touches&&a.originalEvent.touches.length)return a.originalEvent.touches[0].pageY;if(a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches.length)return a.originalEvent.touches[0].pageY}return null}},gj.widget.prototype.init=function(a,b){var c,d,e;this.attr("data-type",b),d=$.extend(!0,{},this.getHTMLConfig()||{}),$.extend(!0,d,a||{}),e=this.getConfig(d,b),this.attr("data-guid",e.guid),this.data(e);for(c in e)gj[b].events.hasOwnProperty(c)&&(this.on(c,e[c]),delete e[c]);for(plugin in gj[b].plugins)gj[b].plugins.hasOwnProperty(plugin)&&gj[b].plugins[plugin].configure(this,e,d);return this},gj.widget.prototype.getConfig=function(a,b){var c,d,e,f;c=$.extend(!0,{},gj[b].config.base),d=a.hasOwnProperty("uiLibrary")?a.uiLibrary:c.uiLibrary,gj[b].config[d]&&$.extend(!0,c,gj[b].config[d]),e=a.hasOwnProperty("iconsLibrary")?a.iconsLibrary:c.iconsLibrary,gj[b].config[e]&&$.extend(!0,c,gj[b].config[e]);for(f in gj[b].plugins)gj[b].plugins.hasOwnProperty(f)&&($.extend(!0,c,gj[b].plugins[f].config.base),gj[b].plugins[f].config[d]&&$.extend(!0,c,gj[b].plugins[f].config[d]),gj[b].plugins[f].config[e]&&$.extend(!0,c,gj[b].plugins[f].config[e]));return $.extend(!0,c,a),c.guid||(c.guid=this.generateGUID()),c},gj.widget.prototype.getHTMLConfig=function(){var a=this.data(),b=this[0].attributes;return b.width&&(a.width=b.width.value),b.height&&(a.height=b.height.value),b.value&&(a.value=b.value.value),b.align&&(a.align=b.align.value),a&&a.source&&(a.dataSource=a.source,delete a.source),a},gj.widget.prototype.createDoneHandler=function(){var a=this;return function(b){"string"==typeof b&&JSON&&(b=JSON.parse(b)),gj[a.data("type")].methods.render(a,b)}},gj.widget.prototype.createErrorHandler=function(){return function(a){a&&a.statusText&&"abort"!==a.statusText&&alert(a.statusText)}},gj.widget.prototype.reload=function(a){var b,c,d=this.data(),e=this.data("type");return void 0===d.dataSource&&gj[e].methods.useHtmlDataSource(this,d),$.extend(d.params,a),$.isArray(d.dataSource)?(c=gj[e].methods.filter(this),gj[e].methods.render(this,c)):"string"==typeof d.dataSource?(b={url:d.dataSource,data:d.params},this.xhr&&this.xhr.abort(),this.xhr=$.ajax(b).done(this.createDoneHandler()).fail(this.createErrorHandler())):"object"==typeof d.dataSource&&(d.dataSource.data||(d.dataSource.data={}),$.extend(d.dataSource.data,d.params),b=$.extend(!0,{},d.dataSource),"json"===b.dataType&&"object"==typeof b.data&&(b.data=JSON.stringify(b.data)),b.success||(b.success=this.createDoneHandler()),b.error||(b.error=this.createErrorHandler()),this.xhr&&this.xhr.abort(),this.xhr=$.ajax(b)),this},gj.documentManager={events:{},subscribeForEvent:function(a,b,c){if(gj.documentManager.events[a]&&0!==gj.documentManager.events[a].length){if(gj.documentManager.events[a][b])throw"Event "+a+' for widget with guid="'+b+'" is already attached.';gj.documentManager.events[a].push({widgetId:b,callback:c})}else gj.documentManager.events[a]=[{widgetId:b,callback:c}],$(document).on(a,gj.documentManager.executeCallbacks)},executeCallbacks:function(a){var b=gj.documentManager.events[a.type];if(b)for(var c=0;c<b.length;c++)b[c].callback(a)},unsubscribeForEvent:function(a,b){var c=!1,d=gj.documentManager.events[a];if(d)for(var e=0;e<d.length;e++)d[e].widgetId===b&&(d.splice(e,1),c=!0,0===d.length&&($(document).off(a),delete gj.documentManager.events[a]));if(!c)throw'The "'+a+'" for widget with guid="'+b+"\" can't be removed."}},gj.core={messages:{"en-us":{monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthShortNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},parseDate:function(a,b,c){var d,e,f,g,h=0,i=0,j=0,k=0,l=0;if(a&&"string"==typeof a){if(/^\d+$/.test(a))g=new Date(a);else if(a.indexOf("/Date(")>-1)g=new Date(parseInt(a.substr(6),10));else if(a){for(e=a.split(/[\s,-\.\/\/\:]+/),f=b.split(/[\s,-\.\/\/\:]+/),d=0;d<f.length;d++)["d","dd"].indexOf(f[d])>-1?j=parseInt(e[d],10):["m","mm"].indexOf(f[d])>-1?i=parseInt(e[d],10)-1:"mmm"===f[d]?i=gj.core.messages[c||"en-us"].monthShortNames.indexOf(e[d]):"mmmm"===f[d]?i=gj.core.messages[c||"en-us"].monthNames.indexOf(e[d]):["yy","yyyy"].indexOf(f[d])>-1?(h=parseInt(e[d],10),"yy"===f[d]&&(h+=2e3)):["h","hh","H","HH"].indexOf(f[d])>-1?k=parseInt(e[d],10):["M","MM"].indexOf(f[d])>-1&&(l=parseInt(e[d],10));g=new Date(h,i,j,k,l)}}else"number"==typeof a?g=new Date(a):a instanceof Date&&(g=a);return g},formatDate:function(a,b,c){var d,e,f="",g=b.split(/[\s,-\.\/\/\:]+/),h=b.replace(/[shtdmyHTDMY]/g,"");for(i=0;i<g.length;i++)switch(d=h[i]||"",g[i]){case"s":f+=a.getSeconds()+d;break;case"ss":f+=gj.core.pad(a.getSeconds())+d;break;case"M":f+=a.getMinutes()+d;break;case"MM":f+=gj.core.pad(a.getMinutes())+d;break;case"H":f+=a.getHours()+d;break;case"HH":f+=gj.core.pad(a.getHours())+d;break;case"h":e=a.getHours()>12?a.getHours()%12:a.getHours(),f+=e+d;break;case"hh":e=a.getHours()>12?a.getHours()%12:a.getHours(),f+=gj.core.pad(e)+d;break;case"tt":f+=(a.getHours()>=12?"pm":"am")+d;break;case"TT":f+=(a.getHours()>=12?"PM":"AM")+d;break;case"d":f+=a.getDate()+d;break;case"dd":f+=gj.core.pad(a.getDate())+d;break;case"m":f+=a.getMonth()+1+d;break;case"mm":f+=gj.core.pad(a.getMonth()+1)+d;break;case"mmm":f+=gj.core.messages[c||"en-us"].monthShortNames[a.getMonth()]+d;break;case"mmmm":f+=gj.core.messages[c||"en-us"].monthNames[a.getMonth()]+d;break;case"yy":f+=a.getFullYear().toString().substr(2)+d;break;case"yyyy":f+=a.getFullYear()+d}return f},pad:function(a,b){for(a=String(a),b=b||2;a.length<b;)a="0"+a;return a},center:function(a){var b=$(window).width()/2-a.width()/2,c=$(window).height()/2-a.height()/2;a.css("position","absolute"),a.css("left",b>0?b:0),a.css("top",c>0?c:0)},isIE:function(){return!!navigator.userAgent.match(/Trident/g)||!!navigator.userAgent.match(/MSIE/g)},setChildPosition:function(a,b){var c=a.getBoundingClientRect(),d=gj.core.height(a,!0),e=gj.core.height(b,!0),f=gj.core.width(a,!0),g=gj.core.width(b,!0),h=window.scrollY||window.pageYOffset||0,i=window.scrollX||window.pageXOffset||0;c.top+d+e>window.innerHeight&&c.top>e?b.style.top=Math.round(c.top+h-e-3)+"px":b.style.top=Math.round(c.top+h+d+3)+"px",c.left+g>document.body.clientWidth?b.style.left=Math.round(c.left+i+f-g)+"px":b.style.left=Math.round(c.left+i)+"px"},height:function(a,b){var c,d=window.getComputedStyle(a);return"normal"===d.lineHeight?(c=parseInt(d.height,10),c+=parseInt(d.paddingTop||0,10)+parseInt(d.paddingBottom||0,10),c+=parseInt(d.borderTop||0,10)+parseInt(d.borderBottom||0,10)):c=parseInt(d.height,10),b&&(c+=parseInt(d.marginTop||0,10)+parseInt(d.marginBottom||0,10)),c},width:function(a,b){var c,d=window.getComputedStyle(a);return"normal"===d.lineHeight?(c=parseInt(d.width,10),c+=parseInt(d.paddingLeft||0,10)+parseInt(d.paddingRight||0,10),c+=parseInt(d.borderLeft||0,10)+parseInt(d.borderRight||0,10)):c=parseInt(d.width,10),b&&(c+=parseInt(d.marginLeft||0,10)+parseInt(d.marginRight||0,10)),c}};
/*
* Gijgo DatePicker v1.9.0
* Gijgo DatePicker v1.9.2
* http://gijgo.com/datepicker

@@ -53,6 +53,6 @@ *

icons: {
/** datepicker icon definition. */ rightIcon: '<i class="gj-icon event" />',
/** datepicker icon definition. */ rightIcon: '<i class="gj-icon">event</i>',
previousMonth: '<i class="gj-icon chevron-left" />',
nextMonth: '<i class="gj-icon chevron-right" />'
previousMonth: '<i class="gj-icon chevron-left"></i>',
nextMonth: '<i class="gj-icon chevron-right"></i>'
},

@@ -84,3 +84,3 @@

wrapper: 'gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group',
input: 'form-control',
input: 'form-control border',
calendar: 'gj-calendar gj-calendar-bootstrap'

@@ -123,3 +123,3 @@ },

} else if (data.uiLibrary === 'bootstrap4') {
$rightIcon = $('<span class="input-group-append"><span class="input-group-text">' + data.icons.rightIcon + '</span></span>');
$rightIcon = $('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0 border" type="button">' + data.icons.rightIcon + '</button></span>');
} else {

@@ -143,3 +143,2 @@ $rightIcon = $(data.icons.rightIcon);

data.fontSize && $datepicker.css('font-size', data.fontSize);

@@ -710,60 +709,63 @@ if (data.uiLibrary === 'bootstrap' || data.uiLibrary === 'bootstrap4') {

if (e.keyCode == '38') { // up
index = $active.index();
$new = $active.closest('tr').prev('tr').find('td:eq(' + index + ')');
if (!$new.is('[day]')) {
gj.datepicker.methods.prev($datepicker)();
$new = $calendar.find('tbody tr').last().find('td:eq(' + index + ')');
}
if ($new.is('[day]')) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '40') { // down
index = $active.index();
$new = $active.closest('tr').next('tr').find('td:eq(' + index + ')');
if (!$new.is('[day]')) {
gj.datepicker.methods.next($datepicker)();
$new = $calendar.find('tbody tr').first().find('td:eq(' + index + ')');
if (window.getComputedStyle($calendar[0]).display !== 'none')
{
if (e.keyCode == '38') { // up
index = $active.index();
$new = $active.closest('tr').prev('tr').find('td:eq(' + index + ')');
if (!$new.is('[day]')) {
$new = $calendar.find('tbody tr:eq(1)').find('td:eq(' + index + ')');
gj.datepicker.methods.prev($datepicker)();
$new = $calendar.find('tbody tr').last().find('td:eq(' + index + ')');
}
if ($new.is('[day]')) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '40') { // down
index = $active.index();
$new = $active.closest('tr').next('tr').find('td:eq(' + index + ')');
if (!$new.is('[day]')) {
gj.datepicker.methods.next($datepicker)();
$new = $calendar.find('tbody tr').first().find('td:eq(' + index + ')');
if (!$new.is('[day]')) {
$new = $calendar.find('tbody tr:eq(1)').find('td:eq(' + index + ')');
}
}
if ($new.is('[day]')) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '37') { // left
$new = $active.prev('td[day]:not(.disabled)');
if ($new.length === 0) {
$new = $active.closest('tr').prev('tr').find('td[day]').last();
}
if ($new.length === 0) {
gj.datepicker.methods.prev($datepicker)();
$new = $calendar.find('tbody tr').last().find('td[day]').last();
}
if ($new.length > 0) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '39' || e.keyCode == '9') { // right/tab(next)
$new = $active.next('[day]:not(.disabled)');
if ($new.length === 0) {
$new = $active.closest('tr').next('tr').find('td[day]').first();
}
if ($new.length === 0) {
gj.datepicker.methods.next($datepicker)();
$new = $calendar.find('tbody tr').first().find('td[day]').first();
}
if ($new.length > 0) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '13') { // enter
day = parseInt($active.attr('day'), 10);
month = parseInt($datepicker.attr('month'), 10);
year = parseInt($datepicker.attr('year'), 10);
gj.datepicker.methods.select($datepicker, $calendar, new Date(year, month, day))();
} else if (e.keyCode == '27') { // esc
$datepicker.close();
}
if ($new.is('[day]')) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '37') { // left
$new = $active.prev('td[day]:not(.disabled)');
if ($new.length === 0) {
$new = $active.closest('tr').prev('tr').find('td[day]').last();
}
if ($new.length === 0) {
gj.datepicker.methods.prev($datepicker)();
$new = $calendar.find('tbody tr').last().find('td[day]').last();
}
if ($new.length > 0) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '39' || e.keyCode == '9') { // right/tab(next)
$new = $active.next('[day]:not(.disabled)');
if ($new.length === 0) {
$new = $active.closest('tr').next('tr').find('td[day]').first();
}
if ($new.length === 0) {
gj.datepicker.methods.next($datepicker)();
$new = $calendar.find('tbody tr').first().find('td[day]').first();
}
if ($new.length > 0) {
$new.addClass('focused');
$active.removeClass('focused');
}
} else if (e.keyCode == '13') { // enter
day = parseInt($active.attr('day'), 10);
month = parseInt($datepicker.attr('month'), 10);
year = parseInt($datepicker.attr('year'), 10);
gj.datepicker.methods.select($datepicker, $calendar, new Date(year, month, day))();
} else if (e.keyCode == '27') { // esc
$datepicker.close();
}

@@ -934,1 +936,9 @@ }

};
gj.core.messages['it-it'] = {
monthNames: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'],
monthShortNames: ['gen.', 'feb.', 'mar.', 'apr.', 'mag.', 'giu.', 'lug.', 'ago.', 'set.', 'ott.', 'nov.', 'dic.']
};
gj.datepicker.messages['it-it'] = {
weekDays: ['D', 'L', 'M', 'M', 'G', 'V', 'S']
};

@@ -1,1 +0,1 @@

gj.datepicker={plugins:{},messages:{"en-us":{weekDays:["S","M","T","W","T","F","S"]}}},gj.datepicker.config={base:{showOtherMonths:!1,selectOtherMonths:!0,width:void 0,minDate:void 0,maxDate:void 0,format:"mm/dd/yyyy",uiLibrary:"materialdesign",iconsLibrary:"materialicons",value:void 0,weekStartDay:0,disableDates:void 0,disableDaysOfWeek:void 0,calendarWeeks:!1,keyboardNavigation:!0,locale:"en-us",icons:{rightIcon:'<i class="gj-icon event" />',previousMonth:'<i class="gj-icon chevron-left" />',nextMonth:'<i class="gj-icon chevron-right" />'},fontSize:void 0,size:"default",style:{wrapper:"gj-datepicker gj-datepicker-md gj-unselectable",input:"gj-textbox-md",calendar:"gj-calendar gj-calendar-md"}},bootstrap:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control",calendar:"gj-calendar gj-calendar-bootstrap"},iconsLibrary:"glyphicons",showOtherMonths:!0},bootstrap4:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control",calendar:"gj-calendar gj-calendar-bootstrap"},showOtherMonths:!0},fontawesome:{icons:{rightIcon:'<i class="fa fa-calendar" aria-hidden="true"></i>',previousMonth:'<i class="fa fa-chevron-left" aria-hidden="true"></i>',nextMonth:'<i class="fa fa-chevron-right" aria-hidden="true"></i>'}},glyphicons:{icons:{rightIcon:'<span class="glyphicon glyphicon-calendar"></span>',previousMonth:'<span class="glyphicon glyphicon-chevron-left"></span>',nextMonth:'<span class="glyphicon glyphicon-chevron-right"></span>'}}},gj.datepicker.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"datepicker"),this.attr("data-datepicker","true"),gj.datepicker.methods.initialize(this),this},initialize:function(a){var b,c,d=a.data(),e=a.parent('div[role="wrapper"]');c="bootstrap"===d.uiLibrary?$('<span class="input-group-addon">'+d.icons.rightIcon+"</span>"):"bootstrap4"===d.uiLibrary?$('<span class="input-group-append"><span class="input-group-text">'+d.icons.rightIcon+"</span></span>"):$(d.icons.rightIcon),c.attr("role","right-icon"),0===e.length?(e=$('<div role="wrapper" />').addClass(d.style.wrapper),a.wrap(e)):e.addClass(d.style.wrapper),e=a.parent('div[role="wrapper"]'),d.width&&e.css("width",d.width),a.val(d.value).addClass(d.style.input).attr("role","input"),d.fontSize&&a.css("font-size",d.fontSize),"bootstrap"===d.uiLibrary||"bootstrap4"===d.uiLibrary?"small"===d.size?(e.addClass("input-group-sm"),a.addClass("form-control-sm")):"large"===d.size&&(e.addClass("input-group-lg"),a.addClass("form-control-lg")):"small"===d.size?e.addClass("small"):"large"===d.size&&e.addClass("large"),c.on("click",function(b){$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').is(":visible")?gj.datepicker.methods.close(a):gj.datepicker.methods.open(a)}),a.on("blur",function(){a.timeout=setTimeout(function(){gj.datepicker.methods.close(a)},500)}),e.append(c),b=gj.datepicker.methods.createCalendar(a),d.keyboardNavigation&&a.on("keydown",gj.datepicker.methods.createKeyDownHandler(a,b))},createCalendar:function(a){var b,c,d=a.data(),e=$('<div role="calendar" type="month"/>').addClass(d.style.calendar).attr("guid",a.attr("data-guid")),f=$("<table/>"),g=$("<thead/>");for(d.fontSize&&e.css("font-size",d.fontSize),b=gj.core.parseDate(d.value,d.format,d.locale),!b||isNaN(b.getTime())?b=new Date:a.attr("day",b.getFullYear()+"-"+b.getMonth()+"-"+b.getDate()),a.attr("month",b.getMonth()),a.attr("year",b.getFullYear()),c=$('<div role="navigator" />'),c.append($("<div>"+d.icons.previousMonth+"</div>").on("click",gj.datepicker.methods.prev(a))),c.append($('<div role="period"></div>').on("click",gj.datepicker.methods.changePeriod(a))),c.append($("<div>"+d.icons.nextMonth+"</div>").on("click",gj.datepicker.methods.next(a))),e.append(c),$row=$('<tr role="week-days" />'),d.calendarWeeks&&$row.append("<th><div>&nbsp;</div></th>"),i=d.weekStartDay;i<gj.datepicker.messages[d.locale].weekDays.length;i++)$row.append("<th><div>"+gj.datepicker.messages[d.locale].weekDays[i]+"</div></th>");for(i=0;i<d.weekStartDay;i++)$row.append("<th><div>"+gj.datepicker.messages[d.locale].weekDays[i]+"</div></th>");return g.append($row),f.append(g),f.append("<tbody/>"),e.append(f),e.hide(),$("body").append(e),e},renderMonth:function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q=a.data(),r=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'),s=r.children("table"),t=s.children("tbody");for(clearTimeout(a.timeout),s.children("thead").show(),a.attr("day")?(c=a.attr("day").split("-"),c=new Date(c[0],c[1],c[2])):c=new Date(void 0),e=parseInt(a.attr("month"),10),f=parseInt(a.attr("year"),10),r.attr("type","month"),r.find('div[role="period"]').text(gj.core.messages[q.locale].monthNames[e]+" "+f),g=new Array(31,28,31,30,31,30,31,31,30,31,30,31),f%4==0&&1900!=f&&(g[1]=29),h=g[e],i=(new Date(f,e,1).getDay()+7-q.weekStartDay)%7,t.empty(),b=0,$row=$("<tr />"),l=gj.datepicker.methods.getPrevMonth(e,f),j=1;j<=i;j++)d=g[l.month]-i+j,p=new Date(l.year,l.month,d),q.calendarWeeks&&1===j&&$row.append("<td><div>"+gj.datepicker.methods.getWeekNumber(p)+"</div></td>"),n=l.year===c.getFullYear()&&l.month===c.getMonth()&&d===c.getDate()?$('<td class="selected" />'):$('<td class="other-month" />'),q.showOtherMonths&&(o=$("<div>"+d+"</div>"),n.append(o),q.selectOtherMonths&&gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled")),$row.append(n),b++;for(j>1&&t.append($row),k=new Date,j=1;j<=h;j++)p=new Date(f,e,j),0==b&&($row=$("<tr>"),q.calendarWeeks&&$row.append("<td><div>"+gj.datepicker.methods.getWeekNumber(p)+"</div></td>")),n=$('<td day="'+j+'" />'),f===c.getFullYear()&&e===c.getMonth()&&j===c.getDate()?n.addClass("selected"):f===k.getFullYear()&&e===k.getMonth()&&j===k.getDate()?n.addClass("today"):n.addClass("current-month"),o=$("<div>"+j+"</div>"),gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled"),n.append(o),$row.append(n),7==++b&&(t.append($row),b=0);for(m=gj.datepicker.methods.getNextMonth(e,f),j=1;0!=b;j++)p=new Date(m.year,m.month,j),n=m.year===c.getFullYear()&&m.month===c.getMonth()&&j===c.getDate()?$('<td class="selected" />'):$('<td class="other-month" />'),q.showOtherMonths&&(o=$("<div>"+j+"</div>"),n.append(o),q.selectOtherMonths&&gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled")),$row.append(n),7==++b&&(t.append($row),b=0)},renderYear:function(a,b){var c,d,e,f,g=a.data(),h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),b.attr("type","year"),b.find('div[role="period"]').text(c),i.empty(),d=0;d<3;d++){for($row=$("<tr />"),e=4*d;e<=4*d+3;e++)f=$("<div>"+gj.core.messages[g.locale].monthShortNames[e]+"</div>"),f.on("click",gj.datepicker.methods.selectMonth(a,b,e)),$cell=$("<td></td>").append(f),$row.append($cell);i.append($row)}a.focus()},renderDecade:function(a,b){var c,d,e,f,g,h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),d=c-c%10,b.attr("type","decade"),b.find('div[role="period"]').text(d+" - "+(d+9)),i.empty(),e=d-1;e<=d+10;e+=4){for($row=$("<tr />"),f=e;f<=e+3;f++)g=$("<div>"+f+"</div>"),g.on("click",gj.datepicker.methods.selectYear(a,b,f)),$cell=$("<td></td>").append(g),$row.append($cell);i.append($row)}a.focus()},renderCentury:function(a,b){var c,d,e,f,g,h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),d=c-c%100,b.attr("type","century"),b.find('div[role="period"]').text(d+" - "+(d+99)),i.empty(),e=d-10;e<d+100;e+=40){for($row=$("<tr />"),f=e;f<=e+30;f+=10)g=$("<div>"+f+"</div>"),g.on("click",gj.datepicker.methods.selectDecade(a,b,f)),$cell=$("<td></td>").append(g),$row.append($cell);i.append($row)}a.focus()},getWeekNumber:function(a){var b=new Date(a.valueOf());b.setDate(b.getDate()+6),b=new Date(Date.UTC(b.getFullYear(),b.getMonth(),b.getDate())),b.setUTCDate(b.getUTCDate()+4-(b.getUTCDay()||7));var c=new Date(Date.UTC(b.getUTCFullYear(),0,1));return Math.ceil(((b-c)/864e5+1)/7)},getMinDate:function(a){var b;return a.minDate&&("string"==typeof a.minDate?b=gj.core.parseDate(a.minDate,a.format,a.locale):"function"==typeof a.minDate?"string"==typeof(b=a.minDate())&&(b=gj.core.parseDate(b,a.format,a.locale)):"function"==typeof a.minDate.getMonth&&(b=a.minDate)),b},getMaxDate:function(a){var b;return a.maxDate&&("string"==typeof a.maxDate?b=gj.core.parseDate(a.maxDate,a.format,a.locale):"function"==typeof a.maxDate?"string"==typeof(b=a.maxDate())&&(b=gj.core.parseDate(b,a.format,a.locale)):"function"==typeof a.maxDate.getMonth&&(b=a.maxDate)),b},isSelectable:function(a,b){var c,d=!0,e=gj.datepicker.methods.getMinDate(a),f=gj.datepicker.methods.getMaxDate(a);if(e&&b<e?d=!1:f&&b>f&&(d=!1),d){if(a.disableDates)if($.isArray(a.disableDates))for(c=0;c<a.disableDates.length;c++)a.disableDates[c]instanceof Date&&a.disableDates[c].getTime()===b.getTime()?d=!1:"string"==typeof a.disableDates[c]&&gj.core.parseDate(a.disableDates[c],a.format,a.locale).getTime()===b.getTime()&&(d=!1);else a.disableDates instanceof Function&&(d=a.disableDates(b));$.isArray(a.disableDaysOfWeek)&&a.disableDaysOfWeek.indexOf(b.getDay())>-1&&(d=!1)}return d},getPrevMonth:function(a,b){return date=new Date(b,a,1),date.setMonth(date.getMonth()-1),{month:date.getMonth(),year:date.getFullYear()}},getNextMonth:function(a,b){return date=new Date(b,a,1),date.setMonth(date.getMonth()+1),{month:date.getMonth(),year:date.getFullYear()}},prev:function(a){return function(){var b,c,d,e,f,g=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(g.attr("type")){case"month":c=parseInt(a.attr("month"),10),d=parseInt(a.attr("year"),10),b=gj.datepicker.methods.getPrevMonth(c,d),a.attr("month",b.month),a.attr("year",b.year),gj.datepicker.methods.renderMonth(a);break;case"year":d=parseInt(a.attr("year"),10),a.attr("year",d-1),gj.datepicker.methods.renderYear(a,g);break;case"decade":d=parseInt(a.attr("year"),10),e=d-d%10,a.attr("year",e-10),gj.datepicker.methods.renderDecade(a,g);break;case"century":d=parseInt(a.attr("year"),10),f=d-d%100,a.attr("year",f-100),gj.datepicker.methods.renderCentury(a,g)}a.focus()}},next:function(a){return function(){var b,c,d,e,f,g=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(g.attr("type")){case"month":c=parseInt(a.attr("month"),10),d=parseInt(a.attr("year"),10),b=gj.datepicker.methods.getNextMonth(c,d),a.attr("month",b.month),a.attr("year",b.year),gj.datepicker.methods.renderMonth(a);break;case"year":d=parseInt(a.attr("year"),10),a.attr("year",d+1),gj.datepicker.methods.renderYear(a,g);break;case"decade":d=parseInt(a.attr("year"),10),e=d-d%10,a.attr("year",e+10),gj.datepicker.methods.renderDecade(a,g);break;case"century":d=parseInt(a.attr("year"),10),f=d-d%100,a.attr("year",f+100),gj.datepicker.methods.renderCentury(a,g)}a.focus()}},changePeriod:function(a){return function(b){var c=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(c.attr("type")){case"month":gj.datepicker.methods.renderYear(a,c);break;case"year":gj.datepicker.methods.renderDecade(a,c);break;case"decade":gj.datepicker.methods.renderCentury(a,c);break;case"century":clearTimeout(a.timeout),a.focus()}}},select:function(a,b,c){return function(d){var e,f=c.getMonth(),g=c.getFullYear(),h=a.data();return e=gj.core.formatDate(c,h.format,h.locale),a.val(e),gj.datepicker.events.change(a),a.attr("day",g+"-"+f+"-"+c.getDate()),a.attr("month",f),a.attr("year",g),"none"!==window.getComputedStyle(b[0]).display&&gj.datepicker.methods.close(a),a}},selectMonth:function(a,b,c){return function(b){a.attr("month",c),gj.datepicker.methods.renderMonth(a)}},selectYear:function(a,b,c){return function(d){a.attr("year",c),gj.datepicker.methods.renderYear(a,b)}},selectDecade:function(a,b,c){return function(d){a.attr("year",c),gj.datepicker.methods.renderDecade(a,b)}},open:function(a){var b=(a.data(),a.offset(),$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'));switch(a.val()&&a.value(a.val()),b.attr("type")){case"month":gj.datepicker.methods.renderMonth(a);break;case"year":gj.datepicker.methods.renderYear(a,b);break;case"decade":gj.datepicker.methods.renderDecade(a,b);break;case"century":gj.datepicker.methods.renderCentury(a,b)}b.show(),gj.core.setChildPosition(a[0],b[0]),a.focus(),gj.datepicker.events.open(a)},close:function(a){$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').hide(),gj.datepicker.events.close(a)},createKeyDownHandler:function(a,b){return function(c){var d,e,f,g,h,i=gj.datepicker.methods.getActiveCell(b);c=c||window.event,"38"==c.keyCode?(g=i.index(),h=i.closest("tr").prev("tr").find("td:eq("+g+")"),h.is("[day]")||(gj.datepicker.methods.prev(a)(),h=b.find("tbody tr").last().find("td:eq("+g+")")),h.is("[day]")&&(h.addClass("focused"),i.removeClass("focused"))):"40"==c.keyCode?(g=i.index(),h=i.closest("tr").next("tr").find("td:eq("+g+")"),h.is("[day]")||(gj.datepicker.methods.next(a)(),h=b.find("tbody tr").first().find("td:eq("+g+")"),h.is("[day]")||(h=b.find("tbody tr:eq(1)").find("td:eq("+g+")"))),h.is("[day]")&&(h.addClass("focused"),i.removeClass("focused"))):"37"==c.keyCode?(h=i.prev("td[day]:not(.disabled)"),0===h.length&&(h=i.closest("tr").prev("tr").find("td[day]").last()),0===h.length&&(gj.datepicker.methods.prev(a)(),h=b.find("tbody tr").last().find("td[day]").last()),h.length>0&&(h.addClass("focused"),i.removeClass("focused"))):"39"==c.keyCode||"9"==c.keyCode?(h=i.next("[day]:not(.disabled)"),0===h.length&&(h=i.closest("tr").next("tr").find("td[day]").first()),0===h.length&&(gj.datepicker.methods.next(a)(),h=b.find("tbody tr").first().find("td[day]").first()),h.length>0&&(h.addClass("focused"),i.removeClass("focused"))):"13"==c.keyCode?(f=parseInt(i.attr("day"),10),d=parseInt(a.attr("month"),10),e=parseInt(a.attr("year"),10),gj.datepicker.methods.select(a,b,new Date(e,d,f))()):"27"==c.keyCode&&a.close()}},getActiveCell:function(a){var b=a.find("td[day].focused");return 0===b.length&&(b=a.find("td[day].selected"),0===b.length&&(b=a.find("td[day].today"),0===b.length&&(b=a.find("td[day]:not(.disabled)").first()))),b},value:function(a,b){var c,d,e=a.data();return void 0===b?a.val():(d=gj.core.parseDate(b,e.format,e.locale),d?(c=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'),gj.datepicker.methods.select(a,c,d)()):a.val(""),a)},destroy:function(a){var b=a.data(),c=a.parent();return b&&(a.off(),$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').remove(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-datepicker"),a.removeClass(),c.children('[role="right-icon"]').remove(),a.unwrap()),a}},gj.datepicker.events={change:function(a){return a.triggerHandler("change")},open:function(a){return a.triggerHandler("open")},close:function(a){return a.triggerHandler("close")}},gj.datepicker.widget=function(a,b){var c=this,d=gj.datepicker.methods;return c.value=function(a){return d.value(this,a)},c.destroy=function(){return d.destroy(this)},c.open=function(){gj.datepicker.methods.open(this)},c.close=function(){gj.datepicker.methods.close(this)},$.extend(a,c),"true"!==a.attr("data-datepicker")&&d.init.call(a,b),a},gj.datepicker.widget.prototype=new gj.widget,gj.datepicker.widget.constructor=gj.datepicker.widget,function(a){a.fn.datepicker=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.datepicker.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.datepicker.widget(this,a)}}}(jQuery),gj.core.messages["bg-bg"]={monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthShortNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","ОКт","Ное","Дек"]},gj.datepicker.messages["bg-bg"]={weekDays:["Н","П","В","С","Ч","П","С"]},gj.core.messages["fr-fr"]={monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthShortNames:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]},gj.datepicker.messages["fr-fr"]={weekDays:["D","L","M","M","J","V","S"]},gj.core.messages["de-de"]={monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthShortNames:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]},gj.datepicker.messages["de-de"]={weekDays:["So","Mo","Di","Mi","Do","Fr","Sa"]},gj.core.messages["pt-br"]={monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthShortNames:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]},gj.datepicker.messages["pt-br"]={weekDays:["D","S","T","Q","Q","S","S"]},gj.core.messages["ru-ru"]={monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthShortNames:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"]},gj.datepicker.messages["ru-ru"]={weekDays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]},gj.core.messages["es-es"]={monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","setiembre","octubre","noviembre","diciembre"],monthShortNames:["ene.","feb.","mar","abr.","may","jun","jul.","ago","set.","oct.","nov.","dic."]},gj.datepicker.messages["es-es"]={weekDays:["D","L","M","M","J","V","S"]};
gj.datepicker={plugins:{},messages:{"en-us":{weekDays:["S","M","T","W","T","F","S"]}}},gj.datepicker.config={base:{showOtherMonths:!1,selectOtherMonths:!0,width:void 0,minDate:void 0,maxDate:void 0,format:"mm/dd/yyyy",uiLibrary:"materialdesign",iconsLibrary:"materialicons",value:void 0,weekStartDay:0,disableDates:void 0,disableDaysOfWeek:void 0,calendarWeeks:!1,keyboardNavigation:!0,locale:"en-us",icons:{rightIcon:'<i class="gj-icon">event</i>',previousMonth:'<i class="gj-icon chevron-left"></i>',nextMonth:'<i class="gj-icon chevron-right"></i>'},fontSize:void 0,size:"default",style:{wrapper:"gj-datepicker gj-datepicker-md gj-unselectable",input:"gj-textbox-md",calendar:"gj-calendar gj-calendar-md"}},bootstrap:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control",calendar:"gj-calendar gj-calendar-bootstrap"},iconsLibrary:"glyphicons",showOtherMonths:!0},bootstrap4:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control border",calendar:"gj-calendar gj-calendar-bootstrap"},showOtherMonths:!0},fontawesome:{icons:{rightIcon:'<i class="fa fa-calendar" aria-hidden="true"></i>',previousMonth:'<i class="fa fa-chevron-left" aria-hidden="true"></i>',nextMonth:'<i class="fa fa-chevron-right" aria-hidden="true"></i>'}},glyphicons:{icons:{rightIcon:'<span class="glyphicon glyphicon-calendar"></span>',previousMonth:'<span class="glyphicon glyphicon-chevron-left"></span>',nextMonth:'<span class="glyphicon glyphicon-chevron-right"></span>'}}},gj.datepicker.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"datepicker"),this.attr("data-datepicker","true"),gj.datepicker.methods.initialize(this),this},initialize:function(a){var b,c,d=a.data(),e=a.parent('div[role="wrapper"]');c="bootstrap"===d.uiLibrary?$('<span class="input-group-addon">'+d.icons.rightIcon+"</span>"):"bootstrap4"===d.uiLibrary?$('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0 border" type="button">'+d.icons.rightIcon+"</button></span>"):$(d.icons.rightIcon),c.attr("role","right-icon"),0===e.length?(e=$('<div role="wrapper" />').addClass(d.style.wrapper),a.wrap(e)):e.addClass(d.style.wrapper),e=a.parent('div[role="wrapper"]'),d.width&&e.css("width",d.width),a.val(d.value).addClass(d.style.input).attr("role","input"),d.fontSize&&a.css("font-size",d.fontSize),"bootstrap"===d.uiLibrary||"bootstrap4"===d.uiLibrary?"small"===d.size?(e.addClass("input-group-sm"),a.addClass("form-control-sm")):"large"===d.size&&(e.addClass("input-group-lg"),a.addClass("form-control-lg")):"small"===d.size?e.addClass("small"):"large"===d.size&&e.addClass("large"),c.on("click",function(b){$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').is(":visible")?gj.datepicker.methods.close(a):gj.datepicker.methods.open(a)}),a.on("blur",function(){a.timeout=setTimeout(function(){gj.datepicker.methods.close(a)},500)}),e.append(c),b=gj.datepicker.methods.createCalendar(a),d.keyboardNavigation&&a.on("keydown",gj.datepicker.methods.createKeyDownHandler(a,b))},createCalendar:function(a){var b,c,d=a.data(),e=$('<div role="calendar" type="month"/>').addClass(d.style.calendar).attr("guid",a.attr("data-guid")),f=$("<table/>"),g=$("<thead/>");for(d.fontSize&&e.css("font-size",d.fontSize),b=gj.core.parseDate(d.value,d.format,d.locale),!b||isNaN(b.getTime())?b=new Date:a.attr("day",b.getFullYear()+"-"+b.getMonth()+"-"+b.getDate()),a.attr("month",b.getMonth()),a.attr("year",b.getFullYear()),c=$('<div role="navigator" />'),c.append($("<div>"+d.icons.previousMonth+"</div>").on("click",gj.datepicker.methods.prev(a))),c.append($('<div role="period"></div>').on("click",gj.datepicker.methods.changePeriod(a))),c.append($("<div>"+d.icons.nextMonth+"</div>").on("click",gj.datepicker.methods.next(a))),e.append(c),$row=$('<tr role="week-days" />'),d.calendarWeeks&&$row.append("<th><div>&nbsp;</div></th>"),i=d.weekStartDay;i<gj.datepicker.messages[d.locale].weekDays.length;i++)$row.append("<th><div>"+gj.datepicker.messages[d.locale].weekDays[i]+"</div></th>");for(i=0;i<d.weekStartDay;i++)$row.append("<th><div>"+gj.datepicker.messages[d.locale].weekDays[i]+"</div></th>");return g.append($row),f.append(g),f.append("<tbody/>"),e.append(f),e.hide(),$("body").append(e),e},renderMonth:function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q=a.data(),r=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'),s=r.children("table"),t=s.children("tbody");for(clearTimeout(a.timeout),s.children("thead").show(),a.attr("day")?(c=a.attr("day").split("-"),c=new Date(c[0],c[1],c[2])):c=new Date(void 0),e=parseInt(a.attr("month"),10),f=parseInt(a.attr("year"),10),r.attr("type","month"),r.find('div[role="period"]').text(gj.core.messages[q.locale].monthNames[e]+" "+f),g=new Array(31,28,31,30,31,30,31,31,30,31,30,31),f%4==0&&1900!=f&&(g[1]=29),h=g[e],i=(new Date(f,e,1).getDay()+7-q.weekStartDay)%7,t.empty(),b=0,$row=$("<tr />"),l=gj.datepicker.methods.getPrevMonth(e,f),j=1;j<=i;j++)d=g[l.month]-i+j,p=new Date(l.year,l.month,d),q.calendarWeeks&&1===j&&$row.append("<td><div>"+gj.datepicker.methods.getWeekNumber(p)+"</div></td>"),n=l.year===c.getFullYear()&&l.month===c.getMonth()&&d===c.getDate()?$('<td class="selected" />'):$('<td class="other-month" />'),q.showOtherMonths&&(o=$("<div>"+d+"</div>"),n.append(o),q.selectOtherMonths&&gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled")),$row.append(n),b++;for(j>1&&t.append($row),k=new Date,j=1;j<=h;j++)p=new Date(f,e,j),0==b&&($row=$("<tr>"),q.calendarWeeks&&$row.append("<td><div>"+gj.datepicker.methods.getWeekNumber(p)+"</div></td>")),n=$('<td day="'+j+'" />'),f===c.getFullYear()&&e===c.getMonth()&&j===c.getDate()?n.addClass("selected"):f===k.getFullYear()&&e===k.getMonth()&&j===k.getDate()?n.addClass("today"):n.addClass("current-month"),o=$("<div>"+j+"</div>"),gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled"),n.append(o),$row.append(n),7==++b&&(t.append($row),b=0);for(m=gj.datepicker.methods.getNextMonth(e,f),j=1;0!=b;j++)p=new Date(m.year,m.month,j),n=m.year===c.getFullYear()&&m.month===c.getMonth()&&j===c.getDate()?$('<td class="selected" />'):$('<td class="other-month" />'),q.showOtherMonths&&(o=$("<div>"+j+"</div>"),n.append(o),q.selectOtherMonths&&gj.datepicker.methods.isSelectable(q,p)?(n.addClass("gj-cursor-pointer"),o.on("click",gj.datepicker.methods.select(a,r,p))):n.addClass("disabled")),$row.append(n),7==++b&&(t.append($row),b=0)},renderYear:function(a,b){var c,d,e,f,g=a.data(),h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),b.attr("type","year"),b.find('div[role="period"]').text(c),i.empty(),d=0;d<3;d++){for($row=$("<tr />"),e=4*d;e<=4*d+3;e++)f=$("<div>"+gj.core.messages[g.locale].monthShortNames[e]+"</div>"),f.on("click",gj.datepicker.methods.selectMonth(a,b,e)),$cell=$("<td></td>").append(f),$row.append($cell);i.append($row)}a.focus()},renderDecade:function(a,b){var c,d,e,f,g,h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),d=c-c%10,b.attr("type","decade"),b.find('div[role="period"]').text(d+" - "+(d+9)),i.empty(),e=d-1;e<=d+10;e+=4){for($row=$("<tr />"),f=e;f<=e+3;f++)g=$("<div>"+f+"</div>"),g.on("click",gj.datepicker.methods.selectYear(a,b,f)),$cell=$("<td></td>").append(g),$row.append($cell);i.append($row)}a.focus()},renderCentury:function(a,b){var c,d,e,f,g,h=b.children("table"),i=h.children("tbody");for(clearTimeout(a.timeout),h.children("thead").hide(),c=parseInt(a.attr("year"),10),d=c-c%100,b.attr("type","century"),b.find('div[role="period"]').text(d+" - "+(d+99)),i.empty(),e=d-10;e<d+100;e+=40){for($row=$("<tr />"),f=e;f<=e+30;f+=10)g=$("<div>"+f+"</div>"),g.on("click",gj.datepicker.methods.selectDecade(a,b,f)),$cell=$("<td></td>").append(g),$row.append($cell);i.append($row)}a.focus()},getWeekNumber:function(a){var b=new Date(a.valueOf());b.setDate(b.getDate()+6),b=new Date(Date.UTC(b.getFullYear(),b.getMonth(),b.getDate())),b.setUTCDate(b.getUTCDate()+4-(b.getUTCDay()||7));var c=new Date(Date.UTC(b.getUTCFullYear(),0,1));return Math.ceil(((b-c)/864e5+1)/7)},getMinDate:function(a){var b;return a.minDate&&("string"==typeof a.minDate?b=gj.core.parseDate(a.minDate,a.format,a.locale):"function"==typeof a.minDate?"string"==typeof(b=a.minDate())&&(b=gj.core.parseDate(b,a.format,a.locale)):"function"==typeof a.minDate.getMonth&&(b=a.minDate)),b},getMaxDate:function(a){var b;return a.maxDate&&("string"==typeof a.maxDate?b=gj.core.parseDate(a.maxDate,a.format,a.locale):"function"==typeof a.maxDate?"string"==typeof(b=a.maxDate())&&(b=gj.core.parseDate(b,a.format,a.locale)):"function"==typeof a.maxDate.getMonth&&(b=a.maxDate)),b},isSelectable:function(a,b){var c,d=!0,e=gj.datepicker.methods.getMinDate(a),f=gj.datepicker.methods.getMaxDate(a);if(e&&b<e?d=!1:f&&b>f&&(d=!1),d){if(a.disableDates)if($.isArray(a.disableDates))for(c=0;c<a.disableDates.length;c++)a.disableDates[c]instanceof Date&&a.disableDates[c].getTime()===b.getTime()?d=!1:"string"==typeof a.disableDates[c]&&gj.core.parseDate(a.disableDates[c],a.format,a.locale).getTime()===b.getTime()&&(d=!1);else a.disableDates instanceof Function&&(d=a.disableDates(b));$.isArray(a.disableDaysOfWeek)&&a.disableDaysOfWeek.indexOf(b.getDay())>-1&&(d=!1)}return d},getPrevMonth:function(a,b){return date=new Date(b,a,1),date.setMonth(date.getMonth()-1),{month:date.getMonth(),year:date.getFullYear()}},getNextMonth:function(a,b){return date=new Date(b,a,1),date.setMonth(date.getMonth()+1),{month:date.getMonth(),year:date.getFullYear()}},prev:function(a){return function(){var b,c,d,e,f,g=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(g.attr("type")){case"month":c=parseInt(a.attr("month"),10),d=parseInt(a.attr("year"),10),b=gj.datepicker.methods.getPrevMonth(c,d),a.attr("month",b.month),a.attr("year",b.year),gj.datepicker.methods.renderMonth(a);break;case"year":d=parseInt(a.attr("year"),10),a.attr("year",d-1),gj.datepicker.methods.renderYear(a,g);break;case"decade":d=parseInt(a.attr("year"),10),e=d-d%10,a.attr("year",e-10),gj.datepicker.methods.renderDecade(a,g);break;case"century":d=parseInt(a.attr("year"),10),f=d-d%100,a.attr("year",f-100),gj.datepicker.methods.renderCentury(a,g)}a.focus()}},next:function(a){return function(){var b,c,d,e,f,g=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(g.attr("type")){case"month":c=parseInt(a.attr("month"),10),d=parseInt(a.attr("year"),10),b=gj.datepicker.methods.getNextMonth(c,d),a.attr("month",b.month),a.attr("year",b.year),gj.datepicker.methods.renderMonth(a);break;case"year":d=parseInt(a.attr("year"),10),a.attr("year",d+1),gj.datepicker.methods.renderYear(a,g);break;case"decade":d=parseInt(a.attr("year"),10),e=d-d%10,a.attr("year",e+10),gj.datepicker.methods.renderDecade(a,g);break;case"century":d=parseInt(a.attr("year"),10),f=d-d%100,a.attr("year",f+100),gj.datepicker.methods.renderCentury(a,g)}a.focus()}},changePeriod:function(a){return function(b){var c=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(c.attr("type")){case"month":gj.datepicker.methods.renderYear(a,c);break;case"year":gj.datepicker.methods.renderDecade(a,c);break;case"decade":gj.datepicker.methods.renderCentury(a,c);break;case"century":clearTimeout(a.timeout),a.focus()}}},select:function(a,b,c){return function(d){var e,f=c.getMonth(),g=c.getFullYear(),h=a.data();return e=gj.core.formatDate(c,h.format,h.locale),a.val(e),gj.datepicker.events.change(a),a.attr("day",g+"-"+f+"-"+c.getDate()),a.attr("month",f),a.attr("year",g),"none"!==window.getComputedStyle(b[0]).display&&gj.datepicker.methods.close(a),a}},selectMonth:function(a,b,c){return function(b){a.attr("month",c),gj.datepicker.methods.renderMonth(a)}},selectYear:function(a,b,c){return function(d){a.attr("year",c),gj.datepicker.methods.renderYear(a,b)}},selectDecade:function(a,b,c){return function(d){a.attr("year",c),gj.datepicker.methods.renderDecade(a,b)}},open:function(a){var b=(a.data(),a.offset(),$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'));switch(a.val()&&a.value(a.val()),b.attr("type")){case"month":gj.datepicker.methods.renderMonth(a);break;case"year":gj.datepicker.methods.renderYear(a,b);break;case"decade":gj.datepicker.methods.renderDecade(a,b);break;case"century":gj.datepicker.methods.renderCentury(a,b)}b.show(),gj.core.setChildPosition(a[0],b[0]),a.focus(),gj.datepicker.events.open(a)},close:function(a){$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').hide(),gj.datepicker.events.close(a)},createKeyDownHandler:function(a,b){return function(c){var d,e,f,g,h,i=gj.datepicker.methods.getActiveCell(b);c=c||window.event,"none"!==window.getComputedStyle(b[0]).display&&("38"==c.keyCode?(g=i.index(),h=i.closest("tr").prev("tr").find("td:eq("+g+")"),h.is("[day]")||(gj.datepicker.methods.prev(a)(),h=b.find("tbody tr").last().find("td:eq("+g+")")),h.is("[day]")&&(h.addClass("focused"),i.removeClass("focused"))):"40"==c.keyCode?(g=i.index(),h=i.closest("tr").next("tr").find("td:eq("+g+")"),h.is("[day]")||(gj.datepicker.methods.next(a)(),h=b.find("tbody tr").first().find("td:eq("+g+")"),h.is("[day]")||(h=b.find("tbody tr:eq(1)").find("td:eq("+g+")"))),h.is("[day]")&&(h.addClass("focused"),i.removeClass("focused"))):"37"==c.keyCode?(h=i.prev("td[day]:not(.disabled)"),0===h.length&&(h=i.closest("tr").prev("tr").find("td[day]").last()),0===h.length&&(gj.datepicker.methods.prev(a)(),h=b.find("tbody tr").last().find("td[day]").last()),h.length>0&&(h.addClass("focused"),i.removeClass("focused"))):"39"==c.keyCode||"9"==c.keyCode?(h=i.next("[day]:not(.disabled)"),0===h.length&&(h=i.closest("tr").next("tr").find("td[day]").first()),0===h.length&&(gj.datepicker.methods.next(a)(),h=b.find("tbody tr").first().find("td[day]").first()),h.length>0&&(h.addClass("focused"),i.removeClass("focused"))):"13"==c.keyCode?(f=parseInt(i.attr("day"),10),d=parseInt(a.attr("month"),10),e=parseInt(a.attr("year"),10),gj.datepicker.methods.select(a,b,new Date(e,d,f))()):"27"==c.keyCode&&a.close())}},getActiveCell:function(a){var b=a.find("td[day].focused");return 0===b.length&&(b=a.find("td[day].selected"),0===b.length&&(b=a.find("td[day].today"),0===b.length&&(b=a.find("td[day]:not(.disabled)").first()))),b},value:function(a,b){var c,d,e=a.data();return void 0===b?a.val():(d=gj.core.parseDate(b,e.format,e.locale),d?(c=$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]'),gj.datepicker.methods.select(a,c,d)()):a.val(""),a)},destroy:function(a){var b=a.data(),c=a.parent();return b&&(a.off(),$("body").children('[role="calendar"][guid="'+a.attr("data-guid")+'"]').remove(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-datepicker"),a.removeClass(),c.children('[role="right-icon"]').remove(),a.unwrap()),a}},gj.datepicker.events={change:function(a){return a.triggerHandler("change")},open:function(a){return a.triggerHandler("open")},close:function(a){return a.triggerHandler("close")}},gj.datepicker.widget=function(a,b){var c=this,d=gj.datepicker.methods;return c.value=function(a){return d.value(this,a)},c.destroy=function(){return d.destroy(this)},c.open=function(){gj.datepicker.methods.open(this)},c.close=function(){gj.datepicker.methods.close(this)},$.extend(a,c),"true"!==a.attr("data-datepicker")&&d.init.call(a,b),a},gj.datepicker.widget.prototype=new gj.widget,gj.datepicker.widget.constructor=gj.datepicker.widget,function(a){a.fn.datepicker=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.datepicker.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.datepicker.widget(this,a)}}}(jQuery),gj.core.messages["bg-bg"]={monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthShortNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","ОКт","Ное","Дек"]},gj.datepicker.messages["bg-bg"]={weekDays:["Н","П","В","С","Ч","П","С"]},gj.core.messages["fr-fr"]={monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthShortNames:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]},gj.datepicker.messages["fr-fr"]={weekDays:["D","L","M","M","J","V","S"]},gj.core.messages["de-de"]={monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthShortNames:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]},gj.datepicker.messages["de-de"]={weekDays:["So","Mo","Di","Mi","Do","Fr","Sa"]},gj.core.messages["pt-br"]={monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthShortNames:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]},gj.datepicker.messages["pt-br"]={weekDays:["D","S","T","Q","Q","S","S"]},gj.core.messages["ru-ru"]={monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthShortNames:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"]},gj.datepicker.messages["ru-ru"]={weekDays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]},gj.core.messages["es-es"]={monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","setiembre","octubre","noviembre","diciembre"],monthShortNames:["ene.","feb.","mar","abr.","may","jun","jul.","ago","set.","oct.","nov.","dic."]},gj.datepicker.messages["es-es"]={weekDays:["D","L","M","M","J","V","S"]},gj.core.messages["it-it"]={monthNames:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],monthShortNames:["gen.","feb.","mar.","apr.","mag.","giu.","lug.","ago.","set.","ott.","nov.","dic."]},gj.datepicker.messages["it-it"]={weekDays:["D","L","M","M","G","V","S"]};
/*
* Gijgo Dialog v1.9.1
* Gijgo Dialog v1.9.2
* http://gijgo.com/dialog

@@ -516,1 +516,5 @@ *

};
gj.dialog.messages['it-it'] = {
Close: 'Chiudi',
DefaultTitle: 'Dialogo'
};

@@ -1,1 +0,1 @@

gj.dialog={plugins:{},messages:{}},gj.dialog.config={base:{autoOpen:!0,closeButtonInHeader:!0,closeOnEscape:!0,draggable:!0,height:"auto",locale:"en-us",maxHeight:void 0,maxWidth:void 0,minHeight:void 0,minWidth:void 0,modal:!1,resizable:!1,scrollable:!1,title:void 0,uiLibrary:void 0,width:300,style:{modal:"gj-modal",content:"gj-dialog-md",header:"gj-dialog-md-header gj-unselectable",headerTitle:"gj-dialog-md-title",headerCloseButton:"gj-dialog-md-close",body:"gj-dialog-md-body",footer:"gj-dialog-footer gj-dialog-md-footer"}},bootstrap:{style:{modal:"modal",content:"modal-content gj-dialog-bootstrap",header:"modal-header",headerTitle:"modal-title",headerCloseButton:"close",body:"modal-body",footer:"gj-dialog-footer modal-footer"}},bootstrap4:{style:{modal:"modal",content:"modal-content gj-dialog-bootstrap4",header:"modal-header",headerTitle:"modal-title",headerCloseButton:"close",body:"modal-body",footer:"gj-dialog-footer modal-footer"}}},gj.dialog.events={initialized:function(a){a.trigger("initialized")},opening:function(a){a.trigger("opening")},opened:function(a){a.trigger("opened")},closing:function(a){a.trigger("closing")},closed:function(a){a.trigger("closed")},drag:function(a){a.trigger("drag")},dragStart:function(a){a.trigger("dragStart")},dragStop:function(a){a.trigger("dragStop")},resize:function(a){a.trigger("resize")},resizeStart:function(a){a.trigger("resizeStart")},resizeStop:function(a){a.trigger("resizeStop")}},gj.dialog.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"dialog"),gj.dialog.methods.localization(this),gj.dialog.methods.initialize(this),gj.dialog.events.initialized(this),this},localization:function(a){var b=a.data();void 0===b.title&&(b.title=gj.dialog.messages[b.locale].DefaultTitle)},getHTMLConfig:function(){var a=gj.widget.prototype.getHTMLConfig.call(this),b=this[0].attributes;return b.title&&(a.title=b.title.value),a},initialize:function(a){var b,c,d,e=a.data();a.addClass(e.style.content),gj.dialog.methods.setSize(a),e.closeOnEscape&&$(document).keyup(function(b){27===b.keyCode&&a.close()}),c=a.children('div[data-role="body"]'),0===c.length?(c=$('<div data-role="body"/>').addClass(e.style.body),a.wrapInner(c)):c.addClass(e.style.body),b=gj.dialog.methods.renderHeader(a),d=a.children('div[data-role="footer"]').addClass(e.style.footer),a.find('[data-role="close"]').on("click",function(){a.close()}),gj.draggable&&(e.draggable&&gj.dialog.methods.draggable(a,b),e.resizable&&gj.dialog.methods.resizable(a)),e.scrollable&&e.height&&(a.addClass("gj-dialog-scrollable"),a.on("opened",function(){a.children('div[data-role="body"]').css("height",e.height-b.outerHeight()-(d.length?d.outerHeight():0))})),gj.core.center(a),e.modal&&a.wrapAll('<div data-role="modal" class="'+e.style.modal+'"/>'),e.autoOpen&&a.open()},setSize:function(a){var b=a.data();b.width&&a.css("width",b.width),b.height&&a.css("height",b.height)},renderHeader:function(a){var b,c,d,e=a.data();return b=a.children('div[data-role="header"]'),0===b.length&&(b=$('<div data-role="header" />'),a.prepend(b)),b.addClass(e.style.header),c=b.find('[data-role="title"]'),0===c.length&&(c=$('<h4 data-role="title">'+e.title+"</h4>"),b.append(c)),c.addClass(e.style.headerTitle),d=b.find('[data-role="close"]'),0===d.length&&e.closeButtonInHeader?(d=$('<button type="button" data-role="close" title="'+gj.dialog.messages[e.locale].Close+'"><span>×</span></button>'),d.addClass(e.style.headerCloseButton),b.append(d)):d.length>0&&!1===e.closeButtonInHeader?d.hide():d.addClass(e.style.headerCloseButton),b},draggable:function(a,b){a.appendTo("body"),b.addClass("gj-draggable"),a.draggable({handle:b,start:function(){a.addClass("gj-unselectable"),gj.dialog.events.dragStart(a)},stop:function(){a.removeClass("gj-unselectable"),gj.dialog.events.dragStop(a)}})},resizable:function(a){var b={drag:gj.dialog.methods.resize,start:function(){a.addClass("gj-unselectable"),gj.dialog.events.resizeStart(a)},stop:function(){this.removeAttribute("style"),a.removeClass("gj-unselectable"),gj.dialog.events.resizeStop(a)}};a.append($('<div class="gj-resizable-handle gj-resizable-n"></div>').draggable($.extend(!0,{horizontal:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-e"></div>').draggable($.extend(!0,{vertical:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-s"></div>').draggable($.extend(!0,{horizontal:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-w"></div>').draggable($.extend(!0,{vertical:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-ne"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-nw"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-sw"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-se"></div>').draggable($.extend(!0,{},b)))},resize:function(a,b){var c,d,e,f,g,h,i,j=!1;return c=$(this),d=c.parent(),e=d.data(),c.hasClass("gj-resizable-n")?(f=d.height()-b.top,h=d.offset().top+b.top):c.hasClass("gj-resizable-e")?g=d.width()+b.left:c.hasClass("gj-resizable-s")?f=d.height()+b.top:c.hasClass("gj-resizable-w")?(g=d.width()-b.left,i=d.offset().left+b.left):c.hasClass("gj-resizable-ne")?(f=d.height()-b.top,h=d.offset().top+b.top,g=d.width()+b.left):c.hasClass("gj-resizable-nw")?(f=d.height()-b.top,h=d.offset().top+b.top,g=d.width()-b.left,i=d.offset().left+b.left):c.hasClass("gj-resizable-se")?(f=d.height()+b.top,g=d.width()+b.left):c.hasClass("gj-resizable-sw")&&(f=d.height()+b.top,g=d.width()-b.left,i=d.offset().left+b.left),f&&(!e.minHeight||f>=e.minHeight)&&(!e.maxHeight||f<=e.maxHeight)&&(d.height(f),h&&d.css("top",h),j=!0),g&&(!e.minWidth||g>=e.minWidth)&&(!e.maxWidth||g<=e.maxWidth)&&(d.width(g),i&&d.css("left",i),j=!0),j&&gj.dialog.events.resize(d),j},open:function(a,b){var c;return gj.dialog.events.opening(a),a.css("display","block"),a.closest('div[data-role="modal"]').css("display","block"),c=a.children('div[data-role="footer"]'),c.length&&c.outerHeight()&&a.children('div[data-role="body"]').css("margin-bottom",c.outerHeight()),void 0!==b&&a.find('[data-role="title"]').html(b),gj.dialog.events.opened(a),a},close:function(a){return a.is(":visible")&&(gj.dialog.events.closing(a),a.css("display","none"),a.closest('div[data-role="modal"]').css("display","none"),gj.dialog.events.closed(a)),a},isOpen:function(a){return a.is(":visible")},content:function(a,b){var c=a.children('div[data-role="body"]');return void 0===b?c.html():c.html(b)},destroy:function(a,b){var c=a.data();return c&&(!1===b?a.remove():(a.close(),a.off(),a.removeData(),a.removeAttr("data-type"),a.removeClass(c.style.content),a.find('[data-role="header"]').removeClass(c.style.header),a.find('[data-role="title"]').removeClass(c.style.headerTitle),a.find('[data-role="close"]').remove(),a.find('[data-role="body"]').removeClass(c.style.body),a.find('[data-role="footer"]').removeClass(c.style.footer))),a}},gj.dialog.widget=function(a,b){var c=this,d=gj.dialog.methods;return c.open=function(a){return d.open(this,a)},c.close=function(){return d.close(this)},c.isOpen=function(){return d.isOpen(this)},c.content=function(a){return d.content(this,a)},c.destroy=function(a){return d.destroy(this,a)},$.extend(a,c),"dialog"!==a.attr("data-type")&&d.init.call(a,b),a},gj.dialog.widget.prototype=new gj.widget,gj.dialog.widget.constructor=gj.dialog.widget,gj.dialog.widget.prototype.getHTMLConfig=gj.dialog.methods.getHTMLConfig,function(a){a.fn.dialog=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.dialog.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.dialog.widget(this,a)}}}(jQuery),gj.dialog.messages["en-us"]={Close:"Close",DefaultTitle:"Dialog"},gj.dialog.messages["bg-bg"]={Close:"Затваряне",DefaultTitle:"Диалогов Прозорец"},gj.dialog.messages["fr-fr"]={Close:"Fermer",DefaultTitle:"Dialogue"},gj.dialog.messages["de-de"]={Close:"Schließen",DefaultTitle:"Dialog"},gj.dialog.messages["pt-br"]={Close:"Fechar",DefaultTitle:"Caixa de diálogo"},gj.dialog.messages["ru-ru"]={Close:"Закрыть",DefaultTitle:"Сообщение"},gj.dialog.messages["es-es"]={Close:"Cerrar",DefaultTitle:"Titulo por defecto"};
gj.dialog={plugins:{},messages:{}},gj.dialog.config={base:{autoOpen:!0,closeButtonInHeader:!0,closeOnEscape:!0,draggable:!0,height:"auto",locale:"en-us",maxHeight:void 0,maxWidth:void 0,minHeight:void 0,minWidth:void 0,modal:!1,resizable:!1,scrollable:!1,title:void 0,uiLibrary:void 0,width:300,style:{modal:"gj-modal",content:"gj-dialog-md",header:"gj-dialog-md-header gj-unselectable",headerTitle:"gj-dialog-md-title",headerCloseButton:"gj-dialog-md-close",body:"gj-dialog-md-body",footer:"gj-dialog-footer gj-dialog-md-footer"}},bootstrap:{style:{modal:"modal",content:"modal-content gj-dialog-bootstrap",header:"modal-header",headerTitle:"modal-title",headerCloseButton:"close",body:"modal-body",footer:"gj-dialog-footer modal-footer"}},bootstrap4:{style:{modal:"modal",content:"modal-content gj-dialog-bootstrap4",header:"modal-header",headerTitle:"modal-title",headerCloseButton:"close",body:"modal-body",footer:"gj-dialog-footer modal-footer"}}},gj.dialog.events={initialized:function(a){a.trigger("initialized")},opening:function(a){a.trigger("opening")},opened:function(a){a.trigger("opened")},closing:function(a){a.trigger("closing")},closed:function(a){a.trigger("closed")},drag:function(a){a.trigger("drag")},dragStart:function(a){a.trigger("dragStart")},dragStop:function(a){a.trigger("dragStop")},resize:function(a){a.trigger("resize")},resizeStart:function(a){a.trigger("resizeStart")},resizeStop:function(a){a.trigger("resizeStop")}},gj.dialog.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"dialog"),gj.dialog.methods.localization(this),gj.dialog.methods.initialize(this),gj.dialog.events.initialized(this),this},localization:function(a){var b=a.data();void 0===b.title&&(b.title=gj.dialog.messages[b.locale].DefaultTitle)},getHTMLConfig:function(){var a=gj.widget.prototype.getHTMLConfig.call(this),b=this[0].attributes;return b.title&&(a.title=b.title.value),a},initialize:function(a){var b,c,d,e=a.data();a.addClass(e.style.content),gj.dialog.methods.setSize(a),e.closeOnEscape&&$(document).keyup(function(b){27===b.keyCode&&a.close()}),c=a.children('div[data-role="body"]'),0===c.length?(c=$('<div data-role="body"/>').addClass(e.style.body),a.wrapInner(c)):c.addClass(e.style.body),b=gj.dialog.methods.renderHeader(a),d=a.children('div[data-role="footer"]').addClass(e.style.footer),a.find('[data-role="close"]').on("click",function(){a.close()}),gj.draggable&&(e.draggable&&gj.dialog.methods.draggable(a,b),e.resizable&&gj.dialog.methods.resizable(a)),e.scrollable&&e.height&&(a.addClass("gj-dialog-scrollable"),a.on("opened",function(){a.children('div[data-role="body"]').css("height",e.height-b.outerHeight()-(d.length?d.outerHeight():0))})),gj.core.center(a),e.modal&&a.wrapAll('<div data-role="modal" class="'+e.style.modal+'"/>'),e.autoOpen&&a.open()},setSize:function(a){var b=a.data();b.width&&a.css("width",b.width),b.height&&a.css("height",b.height)},renderHeader:function(a){var b,c,d,e=a.data();return b=a.children('div[data-role="header"]'),0===b.length&&(b=$('<div data-role="header" />'),a.prepend(b)),b.addClass(e.style.header),c=b.find('[data-role="title"]'),0===c.length&&(c=$('<h4 data-role="title">'+e.title+"</h4>"),b.append(c)),c.addClass(e.style.headerTitle),d=b.find('[data-role="close"]'),0===d.length&&e.closeButtonInHeader?(d=$('<button type="button" data-role="close" title="'+gj.dialog.messages[e.locale].Close+'"><span>×</span></button>'),d.addClass(e.style.headerCloseButton),b.append(d)):d.length>0&&!1===e.closeButtonInHeader?d.hide():d.addClass(e.style.headerCloseButton),b},draggable:function(a,b){a.appendTo("body"),b.addClass("gj-draggable"),a.draggable({handle:b,start:function(){a.addClass("gj-unselectable"),gj.dialog.events.dragStart(a)},stop:function(){a.removeClass("gj-unselectable"),gj.dialog.events.dragStop(a)}})},resizable:function(a){var b={drag:gj.dialog.methods.resize,start:function(){a.addClass("gj-unselectable"),gj.dialog.events.resizeStart(a)},stop:function(){this.removeAttribute("style"),a.removeClass("gj-unselectable"),gj.dialog.events.resizeStop(a)}};a.append($('<div class="gj-resizable-handle gj-resizable-n"></div>').draggable($.extend(!0,{horizontal:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-e"></div>').draggable($.extend(!0,{vertical:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-s"></div>').draggable($.extend(!0,{horizontal:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-w"></div>').draggable($.extend(!0,{vertical:!1},b))),a.append($('<div class="gj-resizable-handle gj-resizable-ne"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-nw"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-sw"></div>').draggable($.extend(!0,{},b))),a.append($('<div class="gj-resizable-handle gj-resizable-se"></div>').draggable($.extend(!0,{},b)))},resize:function(a,b){var c,d,e,f,g,h,i,j=!1;return c=$(this),d=c.parent(),e=d.data(),c.hasClass("gj-resizable-n")?(f=d.height()-b.top,h=d.offset().top+b.top):c.hasClass("gj-resizable-e")?g=d.width()+b.left:c.hasClass("gj-resizable-s")?f=d.height()+b.top:c.hasClass("gj-resizable-w")?(g=d.width()-b.left,i=d.offset().left+b.left):c.hasClass("gj-resizable-ne")?(f=d.height()-b.top,h=d.offset().top+b.top,g=d.width()+b.left):c.hasClass("gj-resizable-nw")?(f=d.height()-b.top,h=d.offset().top+b.top,g=d.width()-b.left,i=d.offset().left+b.left):c.hasClass("gj-resizable-se")?(f=d.height()+b.top,g=d.width()+b.left):c.hasClass("gj-resizable-sw")&&(f=d.height()+b.top,g=d.width()-b.left,i=d.offset().left+b.left),f&&(!e.minHeight||f>=e.minHeight)&&(!e.maxHeight||f<=e.maxHeight)&&(d.height(f),h&&d.css("top",h),j=!0),g&&(!e.minWidth||g>=e.minWidth)&&(!e.maxWidth||g<=e.maxWidth)&&(d.width(g),i&&d.css("left",i),j=!0),j&&gj.dialog.events.resize(d),j},open:function(a,b){var c;return gj.dialog.events.opening(a),a.css("display","block"),a.closest('div[data-role="modal"]').css("display","block"),c=a.children('div[data-role="footer"]'),c.length&&c.outerHeight()&&a.children('div[data-role="body"]').css("margin-bottom",c.outerHeight()),void 0!==b&&a.find('[data-role="title"]').html(b),gj.dialog.events.opened(a),a},close:function(a){return a.is(":visible")&&(gj.dialog.events.closing(a),a.css("display","none"),a.closest('div[data-role="modal"]').css("display","none"),gj.dialog.events.closed(a)),a},isOpen:function(a){return a.is(":visible")},content:function(a,b){var c=a.children('div[data-role="body"]');return void 0===b?c.html():c.html(b)},destroy:function(a,b){var c=a.data();return c&&(!1===b?a.remove():(a.close(),a.off(),a.removeData(),a.removeAttr("data-type"),a.removeClass(c.style.content),a.find('[data-role="header"]').removeClass(c.style.header),a.find('[data-role="title"]').removeClass(c.style.headerTitle),a.find('[data-role="close"]').remove(),a.find('[data-role="body"]').removeClass(c.style.body),a.find('[data-role="footer"]').removeClass(c.style.footer))),a}},gj.dialog.widget=function(a,b){var c=this,d=gj.dialog.methods;return c.open=function(a){return d.open(this,a)},c.close=function(){return d.close(this)},c.isOpen=function(){return d.isOpen(this)},c.content=function(a){return d.content(this,a)},c.destroy=function(a){return d.destroy(this,a)},$.extend(a,c),"dialog"!==a.attr("data-type")&&d.init.call(a,b),a},gj.dialog.widget.prototype=new gj.widget,gj.dialog.widget.constructor=gj.dialog.widget,gj.dialog.widget.prototype.getHTMLConfig=gj.dialog.methods.getHTMLConfig,function(a){a.fn.dialog=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.dialog.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.dialog.widget(this,a)}}}(jQuery),gj.dialog.messages["en-us"]={Close:"Close",DefaultTitle:"Dialog"},gj.dialog.messages["bg-bg"]={Close:"Затваряне",DefaultTitle:"Диалогов Прозорец"},gj.dialog.messages["fr-fr"]={Close:"Fermer",DefaultTitle:"Dialogue"},gj.dialog.messages["de-de"]={Close:"Schließen",DefaultTitle:"Dialog"},gj.dialog.messages["pt-br"]={Close:"Fechar",DefaultTitle:"Caixa de diálogo"},gj.dialog.messages["ru-ru"]={Close:"Закрыть",DefaultTitle:"Сообщение"},gj.dialog.messages["es-es"]={Close:"Cerrar",DefaultTitle:"Titulo por defecto"},gj.dialog.messages["it-it"]={Close:"Chiudi",DefaultTitle:"Dialogo"};
/*
* Gijgo Draggable v1.9.1
* Gijgo Draggable v1.9.2
* http://gijgo.com/draggable

@@ -4,0 +4,0 @@ *

/*
* Gijgo DropDown v1.9.1
* Gijgo DropDown v1.9.2
* http://gijgo.com/dropdown

@@ -28,2 +28,4 @@ *

/** Placeholder. This label appear only if the value is not set yet. */ placeholder: undefined,
fontSize: undefined,

@@ -104,2 +106,11 @@

getHTMLConfig: function () {
var result = gj.widget.prototype.getHTMLConfig.call(this),
attrs = this[0].attributes;
if (attrs['placeholder']) {
result.placeholder = attrs['placeholder'].value;
}
return result;
},
initialize: function ($dropdown) {

@@ -174,10 +185,9 @@ var $item,

useHtmlDataSource: function ($dropdown, data) {
var dataSource = [], i, $option, record,
var dataSource = [], i, record,
$options = $dropdown.find('option');
for (i = 0; i < $options.length; i++) {
$option = $($options[i]);
record = {};
record[data.valueField] = $option.val();
record[data.textField] = $option.html();
record[data.selectedField] = $option.prop('selected');
record[data.valueField] = $options[i].value;
record[data.textField] = $options[i].innerHTML;
record[data.selectedField] = $dropdown[0].value === $options[i].value;
dataSource.push(record);

@@ -205,3 +215,3 @@ }

render: function ($dropdown, response) {
var selectedInd = false,
var selections = [],
data = $dropdown.data(),

@@ -223,3 +233,3 @@ $parent = $dropdown.parent(),

selected = this[data.selectedField] && this[data.selectedField].toString().toLowerCase() === 'true',
$item, $option;
$item, i;

@@ -230,16 +240,20 @@ $item = $('<li value="' + value + '"><div data-role="wrapper"><span data-role="display">' + text + '</span></div></li>');

gj.dropdown.methods.select($dropdown, value);
gj.dropdown.events.change($dropdown);
});
$list.append($item);
$dropdown.append('<option value="' + value + '">' + text + '</option>');
$option = $('<option value="' + value + '">' + text + '</option>');
$dropdown.append($option);
if (selected) {
gj.dropdown.methods.select($dropdown, value);
selectedInd = true;
selections.push(value);
}
});
if (selectedInd === false) {
gj.dropdown.methods.select($dropdown, response[0][data.valueField]);
if (selections.length === 0) {
$dropdown.prepend('<option value=""></option>');
if (data.placeholder) {
$display[0].innerHTML = '<span class="placeholder">' + data.placeholder + '</span>';
}
} else {
for (i = 0; i < selections.length; i++) {
gj.dropdown.methods.select($dropdown, selections[i]);
}
}

@@ -287,4 +301,5 @@ }

$item.addClass(data.style.active);
$dropdown.val(value);
$dropdown[0].value = value;
$dropdown.next('[role="presenter"]').find('[role="display"]').html(record[data.textField]);
gj.dropdown.events.change($dropdown);
}

@@ -314,3 +329,2 @@ gj.dropdown.methods.close($dropdown, $list);

gj.dropdown.methods.select($dropdown, value);
gj.dropdown.events.change($dropdown);
return $dropdown;

@@ -384,2 +398,4 @@ }

gj.dropdown.widget.prototype.getHTMLConfig = gj.dropdown.methods.getHTMLConfig;
(function ($) {

@@ -386,0 +402,0 @@ $.fn.dropdown = function (method) {

@@ -1,1 +0,1 @@

gj.dropdown={plugins:{}},gj.dropdown.config={base:{dataSource:void 0,textField:"text",valueField:"value",selectedField:"selected",width:void 0,maxHeight:"auto",fontSize:void 0,uiLibrary:"materialdesign",iconsLibrary:"materialicons",icons:{dropdown:'<i class="gj-icon arrow-dropdown" />',dropup:'<i class="gj-icon arrow-dropup" />'},style:{wrapper:"gj-dropdown gj-dropdown-md gj-unselectable",list:"gj-list gj-list-md gj-dropdown-list-md",active:"gj-list-md-active"}},bootstrap:{style:{wrapper:"gj-dropdown gj-dropdown-bootstrap gj-dropdown-bootstrap-3 gj-unselectable",presenter:"btn btn-default",list:"gj-list gj-list-bootstrap gj-dropdown-list-bootstrap list-group",item:"list-group-item",active:"active"},iconsLibrary:"glyphicons"},bootstrap4:{style:{wrapper:"gj-dropdown gj-dropdown-bootstrap gj-dropdown-bootstrap-4 gj-unselectable",presenter:"btn btn-outline-secondary",list:"gj-list gj-list-bootstrap gj-dropdown-list-bootstrap list-group",item:"list-group-item",active:"active"}},materialicons:{style:{expander:"gj-dropdown-expander-mi"}},fontawesome:{icons:{dropdown:'<i class="fa fa-caret-down" aria-hidden="true"></i>',dropup:'<i class="fa fa-caret-up" aria-hidden="true"></i>'},style:{expander:"gj-dropdown-expander-fa"}},glyphicons:{icons:{dropdown:'<span class="caret"></span>',dropup:'<span class="dropup"><span class="caret" ></span></span>'},style:{expander:"gj-dropdown-expander-glyphicons"}}},gj.dropdown.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"dropdown"),this.attr("data-dropdown","true"),gj.dropdown.methods.initialize(this),this},initialize:function(a){var b=a.data(),c=a.parent('div[role="wrapper"]'),d=$('<span role="display"></span>'),e=$('<span role="expander">'+b.icons.dropdown+"</span>").addClass(b.style.expander),f=$('<button role="presenter" type="button"></button>').addClass(b.style.presenter),g=$('<ul role="list" class="'+b.style.list+'"></ul>').attr("guid",a.attr("data-guid"));0===c.length?(c=$('<div role="wrapper" />').addClass(b.style.wrapper),a.wrap(c)):c.addClass(b.style.wrapper),b.fontSize&&f.css("font-size",b.fontSize),f.on("click",function(b){g.is(":visible")?gj.dropdown.methods.close(a,g):gj.dropdown.methods.open(a,g)}),f.on("blur",function(b){setTimeout(function(){gj.dropdown.methods.close(a,g)},500)}),f.append(d).append(e),a.hide(),a.after(f),$("body").append(g),g.hide(),a.reload()},setListPosition:function(a,b,c){var d,e,f,g=a.getBoundingClientRect();gj.core.setChildPosition(a,b),b.style.overflow="",b.style.overflowX="",b.style.height="",d=gj.core.height(b,!0),e=gj.core.height(a,!0),!isNaN(d)&&"auto"===c.maxHeight&&d+e>window.innerHeight?f=window.innerHeight-g.top-e-3:!isNaN(d)&&!isNaN(c.maxHeight)&&c.maxHeight<d&&(f=c.maxHeight),f&&(b.style.overflow="scroll",b.style.overflowX="hidden",b.style.height=f+"px")},useHtmlDataSource:function(a,b){var c,d,e,f=[],g=a.find("option");for(c=0;c<g.length;c++)d=$(g[c]),e={},e[b.valueField]=d.val(),e[b.textField]=d.html(),e[b.selectedField]=d.prop("selected"),f.push(e);b.dataSource=f},filter:function(a){var b,c,d=a.data();if(d.dataSource){if("string"==typeof d.dataSource[0])for(b=0;b<d.dataSource.length;b++)c={},c[d.valueField]=d.dataSource[b],c[d.textField]=d.dataSource[b],d.dataSource[b]=c}else d.dataSource=[];return d.dataSource},render:function(a,b){var c=!1,d=a.data(),e=a.parent(),f=$("body").children('[role="list"][guid="'+a.attr("data-guid")+'"]'),g=e.children('[role="presenter"]');g.children('[role="expander"]'),g.children('[role="display"]');return a.data("records",b),a.empty(),f.empty(),b&&b.length&&($.each(b,function(){var b,e,g=this[d.valueField],h=this[d.textField],i=this[d.selectedField]&&"true"===this[d.selectedField].toString().toLowerCase();b=$('<li value="'+g+'"><div data-role="wrapper"><span data-role="display">'+h+"</span></div></li>"),b.addClass(d.style.item),b.on("click",function(b){gj.dropdown.methods.select(a,g),gj.dropdown.events.change(a)}),f.append(b),e=$('<option value="'+g+'">'+h+"</option>"),a.append(e),i&&(gj.dropdown.methods.select(a,g),c=!0)}),!1===c&&gj.dropdown.methods.select(a,b[0][d.valueField])),d.width&&(e.css("width",d.width),g.css("width",d.width)),d.fontSize&&f.children("li").css("font-size",d.fontSize),gj.dropdown.events.dataBound(a),a},open:function(a,b){var c=a.data(),d=a.parent().find('[role="expander"]'),e=a.parent().find('[role="presenter"]');b.css("width",gj.core.width(e[0])),b.show(),gj.dropdown.methods.setListPosition(e[0],b[0],c),d.html(c.icons.dropup)},close:function(a,b){var c=a.data();a.parent().find('[role="expander"]').html(c.icons.dropdown),b.hide()},select:function(a,b){var c=a.data(),d=$("body").children('[role="list"][guid="'+a.attr("data-guid")+'"]'),e=d.children('li[value="'+b+'"]'),f=gj.dropdown.methods.getRecordByValue(a,b);return f&&(d.children("li").removeClass(c.style.active),e.addClass(c.style.active),a.val(b),a.next('[role="presenter"]').find('[role="display"]').html(f[c.textField])),gj.dropdown.methods.close(a,d),a},getRecordByValue:function(a,b){var c,d=a.data(),e=void 0;for(c=0;c<d.records.length;c++)if(d.records[c][d.valueField]===b){e=d.records[c];break}return e},value:function(a,b){return void 0===b?a.val():(gj.dropdown.methods.select(a,b),gj.dropdown.events.change(a),a)},destroy:function(a){var b=a.data(),c=a.parent('div[role="wrapper"]');return b&&(a.xhr&&a.xhr.abort(),a.off(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-dropdown"),a.removeClass(),c.length>0&&(c.children('[role="presenter"]').remove(),c.children('[role="list"]').remove(),a.unwrap()),a.show()),$tree}},gj.dropdown.events={change:function(a){return a.triggerHandler("change")},dataBound:function(a){return a.triggerHandler("dataBound")}},gj.dropdown.widget=function(a,b){var c=this,d=gj.dropdown.methods;return c.value=function(a){return d.value(this,a)},c.enable=function(){return d.enable(this)},c.disable=function(){return d.disable(this)},c.destroy=function(){return d.destroy(this)},$.extend(a,c),"true"!==a.attr("data-dropdown")&&d.init.call(a,b),a},gj.dropdown.widget.prototype=new gj.widget,gj.dropdown.widget.constructor=gj.dropdown.widget,function(a){a.fn.dropdown=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.dropdown.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.dropdown.widget(this,a)}}}(jQuery);
gj.dropdown={plugins:{}},gj.dropdown.config={base:{dataSource:void 0,textField:"text",valueField:"value",selectedField:"selected",width:void 0,maxHeight:"auto",placeholder:void 0,fontSize:void 0,uiLibrary:"materialdesign",iconsLibrary:"materialicons",icons:{dropdown:'<i class="gj-icon arrow-dropdown" />',dropup:'<i class="gj-icon arrow-dropup" />'},style:{wrapper:"gj-dropdown gj-dropdown-md gj-unselectable",list:"gj-list gj-list-md gj-dropdown-list-md",active:"gj-list-md-active"}},bootstrap:{style:{wrapper:"gj-dropdown gj-dropdown-bootstrap gj-dropdown-bootstrap-3 gj-unselectable",presenter:"btn btn-default",list:"gj-list gj-list-bootstrap gj-dropdown-list-bootstrap list-group",item:"list-group-item",active:"active"},iconsLibrary:"glyphicons"},bootstrap4:{style:{wrapper:"gj-dropdown gj-dropdown-bootstrap gj-dropdown-bootstrap-4 gj-unselectable",presenter:"btn btn-outline-secondary",list:"gj-list gj-list-bootstrap gj-dropdown-list-bootstrap list-group",item:"list-group-item",active:"active"}},materialicons:{style:{expander:"gj-dropdown-expander-mi"}},fontawesome:{icons:{dropdown:'<i class="fa fa-caret-down" aria-hidden="true"></i>',dropup:'<i class="fa fa-caret-up" aria-hidden="true"></i>'},style:{expander:"gj-dropdown-expander-fa"}},glyphicons:{icons:{dropdown:'<span class="caret"></span>',dropup:'<span class="dropup"><span class="caret" ></span></span>'},style:{expander:"gj-dropdown-expander-glyphicons"}}},gj.dropdown.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"dropdown"),this.attr("data-dropdown","true"),gj.dropdown.methods.initialize(this),this},getHTMLConfig:function(){var a=gj.widget.prototype.getHTMLConfig.call(this),b=this[0].attributes;return b.placeholder&&(a.placeholder=b.placeholder.value),a},initialize:function(a){var b=a.data(),c=a.parent('div[role="wrapper"]'),d=$('<span role="display"></span>'),e=$('<span role="expander">'+b.icons.dropdown+"</span>").addClass(b.style.expander),f=$('<button role="presenter" type="button"></button>').addClass(b.style.presenter),g=$('<ul role="list" class="'+b.style.list+'"></ul>').attr("guid",a.attr("data-guid"));0===c.length?(c=$('<div role="wrapper" />').addClass(b.style.wrapper),a.wrap(c)):c.addClass(b.style.wrapper),b.fontSize&&f.css("font-size",b.fontSize),f.on("click",function(b){g.is(":visible")?gj.dropdown.methods.close(a,g):gj.dropdown.methods.open(a,g)}),f.on("blur",function(b){setTimeout(function(){gj.dropdown.methods.close(a,g)},500)}),f.append(d).append(e),a.hide(),a.after(f),$("body").append(g),g.hide(),a.reload()},setListPosition:function(a,b,c){var d,e,f,g=a.getBoundingClientRect();gj.core.setChildPosition(a,b),b.style.overflow="",b.style.overflowX="",b.style.height="",d=gj.core.height(b,!0),e=gj.core.height(a,!0),!isNaN(d)&&"auto"===c.maxHeight&&d+e>window.innerHeight?f=window.innerHeight-g.top-e-3:!isNaN(d)&&!isNaN(c.maxHeight)&&c.maxHeight<d&&(f=c.maxHeight),f&&(b.style.overflow="scroll",b.style.overflowX="hidden",b.style.height=f+"px")},useHtmlDataSource:function(a,b){var c,d,e=[],f=a.find("option");for(c=0;c<f.length;c++)d={},d[b.valueField]=f[c].value,d[b.textField]=f[c].innerHTML,d[b.selectedField]=a[0].value===f[c].value,e.push(d);b.dataSource=e},filter:function(a){var b,c,d=a.data();if(d.dataSource){if("string"==typeof d.dataSource[0])for(b=0;b<d.dataSource.length;b++)c={},c[d.valueField]=d.dataSource[b],c[d.textField]=d.dataSource[b],d.dataSource[b]=c}else d.dataSource=[];return d.dataSource},render:function(a,b){var c=[],d=a.data(),e=a.parent(),f=$("body").children('[role="list"][guid="'+a.attr("data-guid")+'"]'),g=e.children('[role="presenter"]'),h=(g.children('[role="expander"]'),g.children('[role="display"]'));if(a.data("records",b),a.empty(),f.empty(),b&&b.length)if($.each(b,function(){var b,e=this[d.valueField],g=this[d.textField],h=this[d.selectedField]&&"true"===this[d.selectedField].toString().toLowerCase();b=$('<li value="'+e+'"><div data-role="wrapper"><span data-role="display">'+g+"</span></div></li>"),b.addClass(d.style.item),b.on("click",function(b){gj.dropdown.methods.select(a,e)}),f.append(b),a.append('<option value="'+e+'">'+g+"</option>"),h&&c.push(e)}),0===c.length)a.prepend('<option value=""></option>'),d.placeholder&&(h[0].innerHTML='<span class="placeholder">'+d.placeholder+"</span>");else for(i=0;i<c.length;i++)gj.dropdown.methods.select(a,c[i]);return d.width&&(e.css("width",d.width),g.css("width",d.width)),d.fontSize&&f.children("li").css("font-size",d.fontSize),gj.dropdown.events.dataBound(a),a},open:function(a,b){var c=a.data(),d=a.parent().find('[role="expander"]'),e=a.parent().find('[role="presenter"]');b.css("width",gj.core.width(e[0])),b.show(),gj.dropdown.methods.setListPosition(e[0],b[0],c),d.html(c.icons.dropup)},close:function(a,b){var c=a.data();a.parent().find('[role="expander"]').html(c.icons.dropdown),b.hide()},select:function(a,b){var c=a.data(),d=$("body").children('[role="list"][guid="'+a.attr("data-guid")+'"]'),e=d.children('li[value="'+b+'"]'),f=gj.dropdown.methods.getRecordByValue(a,b);return f&&(d.children("li").removeClass(c.style.active),e.addClass(c.style.active),a[0].value=b,a.next('[role="presenter"]').find('[role="display"]').html(f[c.textField]),gj.dropdown.events.change(a)),gj.dropdown.methods.close(a,d),a},getRecordByValue:function(a,b){var c,d=a.data(),e=void 0;for(c=0;c<d.records.length;c++)if(d.records[c][d.valueField]===b){e=d.records[c];break}return e},value:function(a,b){return void 0===b?a.val():(gj.dropdown.methods.select(a,b),a)},destroy:function(a){var b=a.data(),c=a.parent('div[role="wrapper"]');return b&&(a.xhr&&a.xhr.abort(),a.off(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-dropdown"),a.removeClass(),c.length>0&&(c.children('[role="presenter"]').remove(),c.children('[role="list"]').remove(),a.unwrap()),a.show()),$tree}},gj.dropdown.events={change:function(a){return a.triggerHandler("change")},dataBound:function(a){return a.triggerHandler("dataBound")}},gj.dropdown.widget=function(a,b){var c=this,d=gj.dropdown.methods;return c.value=function(a){return d.value(this,a)},c.enable=function(){return d.enable(this)},c.disable=function(){return d.disable(this)},c.destroy=function(){return d.destroy(this)},$.extend(a,c),"true"!==a.attr("data-dropdown")&&d.init.call(a,b),a},gj.dropdown.widget.prototype=new gj.widget,gj.dropdown.widget.constructor=gj.dropdown.widget,gj.dropdown.widget.prototype.getHTMLConfig=gj.dropdown.methods.getHTMLConfig,function(a){a.fn.dropdown=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.dropdown.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.dropdown.widget(this,a)}}}(jQuery);
/*
* Gijgo Droppable v1.9.1
* Gijgo Droppable v1.9.2
* http://gijgo.com/droppable

@@ -4,0 +4,0 @@ *

/*
* Gijgo Editor v1.9.1
* Gijgo Editor v1.9.2
* http://gijgo.com/editor

@@ -409,1 +409,17 @@ *

};
gj.editor.messages['it-it'] = {
bold: 'Grassetto',
italic: 'Corsivo',
strikethrough: 'Barrato',
underline: 'Sottolineato',
listBulleted: 'Lista puntata',
listNumbered: 'Lista numerata',
indentDecrease: 'sposta testo a sinistra',
indentIncrease: 'sposta testo a destra',
alignLeft: 'Allineamento a sinistra',
alignCenter: 'Centrato',
alignRight: 'Allineamento a destra',
alignJustify: 'Giustificato',
undo: 'Annulla',
redo: 'Ripeti'
};

@@ -1,1 +0,1 @@

gj.editor={plugins:{},messages:{}},gj.editor.config={base:{height:300,width:void 0,uiLibrary:"materialdesign",iconsLibrary:"materialicons",locale:"en-us",buttons:void 0,style:{wrapper:"gj-editor gj-editor-md",buttonsGroup:"gj-button-md-group",button:"gj-button-md",buttonActive:"active"}},bootstrap:{style:{wrapper:"gj-editor gj-editor-bootstrap",buttonsGroup:"btn-group",button:"btn btn-default gj-cursor-pointer",buttonActive:"active"}},bootstrap4:{style:{wrapper:"gj-editor gj-editor-bootstrap",buttonsGroup:"btn-group",button:"btn btn-outline-secondary gj-cursor-pointer",buttonActive:"active"}},materialicons:{icons:{bold:'<i class="gj-icon bold" />',italic:'<i class="gj-icon italic" />',strikethrough:'<i class="gj-icon strikethrough" />',underline:'<i class="gj-icon underlined" />',listBulleted:'<i class="gj-icon list-bulleted" />',listNumbered:'<i class="gj-icon list-numbered" />',indentDecrease:'<i class="gj-icon indent-decrease" />',indentIncrease:'<i class="gj-icon indent-increase" />',alignLeft:'<i class="gj-icon align-left" />',alignCenter:'<i class="gj-icon align-center" />',alignRight:'<i class="gj-icon align-right" />',alignJustify:'<i class="gj-icon align-justify" />',undo:'<i class="gj-icon undo" />',redo:'<i class="gj-icon redo" />'}},fontawesome:{icons:{bold:'<i class="fa fa-bold" aria-hidden="true"></i>',italic:'<i class="fa fa-italic" aria-hidden="true"></i>',strikethrough:'<i class="fa fa-strikethrough" aria-hidden="true"></i>',underline:'<i class="fa fa-underline" aria-hidden="true"></i>',listBulleted:'<i class="fa fa-list-ul" aria-hidden="true"></i>',listNumbered:'<i class="fa fa-list-ol" aria-hidden="true"></i>',indentDecrease:'<i class="fa fa-indent" aria-hidden="true"></i>',indentIncrease:'<i class="fa fa-outdent" aria-hidden="true"></i>',alignLeft:'<i class="fa fa-align-left" aria-hidden="true"></i>',alignCenter:'<i class="fa fa-align-center" aria-hidden="true"></i>',alignRight:'<i class="fa fa-align-right" aria-hidden="true"></i>',alignJustify:'<i class="fa fa-align-justify" aria-hidden="true"></i>',undo:'<i class="fa fa-undo" aria-hidden="true"></i>',redo:'<i class="fa fa-repeat" aria-hidden="true"></i>'}}},gj.editor.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"editor"),this.attr("data-editor","true"),gj.editor.methods.initialize(this),this},initialize:function(a){var b,c,d,e,f,g=this,h=a.data();if(a.hide(),"wrapper"!==a[0].parentElement.attributes.role&&(d=document.createElement("div"),d.setAttribute("role","wrapper"),a[0].parentNode.insertBefore(d,a[0]),d.appendChild(a[0])),gj.editor.methods.localization(h),$(d).addClass(h.style.wrapper),h.width&&$(d).width(h.width),e=$(d).children('div[role="body"]'),0===e.length&&(e=$('<div role="body"></div>'),$(d).append(e)),e.attr("contenteditable",!0),e.on("keydown",function(b){var c=event.keyCode||event.charCode;!1===gj.editor.events.changing(a)&&8!==c&&46!==c&&b.preventDefault()}),e.on("mouseup keyup mouseout cut paste",function(b){g.updateToolbar(a,f),gj.editor.events.changed(a),a.html(e.html())}),f=$(d).children('div[role="toolbar"]'),0===f.length){f=$('<div role="toolbar"></div>'),e.before(f);for(var i in h.buttons){b=$("<div />").addClass(h.style.buttonsGroup);for(var j in h.buttons[i])c=$(h.buttons[i][j]),c.on("click",function(){gj.editor.methods.executeCmd(a,e,f,$(this))}),b.append(c);f.append(b)}}e.height(h.height-gj.core.height(f[0],!0))},localization:function(a){var b=gj.editor.messages[a.locale];void 0===a.buttons&&(a.buttons=[['<button type="button" class="'+a.style.button+'" title="'+b.bold+'" role="bold">'+a.icons.bold+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.italic+'" role="italic">'+a.icons.italic+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.strikethrough+'" role="strikethrough">'+a.icons.strikethrough+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.underline+'" role="underline">'+a.icons.underline+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.listBulleted+'" role="insertunorderedlist">'+a.icons.listBulleted+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.listNumbered+'" role="insertorderedlist">'+a.icons.listNumbered+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.indentDecrease+'" role="outdent">'+a.icons.indentDecrease+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.indentIncrease+'" role="indent">'+a.icons.indentIncrease+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.alignLeft+'" role="justifyleft">'+a.icons.alignLeft+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignCenter+'" role="justifycenter">'+a.icons.alignCenter+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignRight+'" role="justifyright">'+a.icons.alignRight+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignJustify+'" role="justifyfull">'+a.icons.alignJustify+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.undo+'" role="undo">'+a.icons.undo+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.redo+'" role="redo">'+a.icons.redo+"</button>"]])},updateToolbar:function(a,b){var c=a.data();$buttons=b.find("[role]").each(function(){var a=$(this),b=a.attr("role");b&&document.queryCommandEnabled(b)&&"true"===document.queryCommandValue(b)?a.addClass(c.style.buttonActive):a.removeClass(c.style.buttonActive)})},executeCmd:function(a,b,c,d){b.focus(),document.execCommand(d.attr("role"),!1),gj.editor.methods.updateToolbar(a,c)},content:function(a,b){var c=a.parent().children('div[role="body"]');return void 0===b?c.html():c.html(b)},destroy:function(a){var b;return"true"===a.attr("data-editor")&&(b=a.parent(),b.children('div[role="body"]').remove(),b.children('div[role="toolbar"]').remove(),a.unwrap(),a.removeData(),a.removeAttr("data-guid"),a.removeAttr("data-editor"),a.off(),a.show()),a}},gj.editor.events={changing:function(a){return a.triggerHandler("changing")},changed:function(a){return a.triggerHandler("changed")}},gj.editor.widget=function(a,b){var c=this,d=gj.editor.methods;return c.content=function(a){return d.content(this,a)},c.destroy=function(){return d.destroy(this)},$.extend(a,c),"true"!==a.attr("data-editor")&&d.init.call(a,b),a},gj.editor.widget.prototype=new gj.widget,gj.editor.widget.constructor=gj.editor.widget,function(a){a.fn.editor=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.editor.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.editor.widget(this,a)}}}(jQuery),gj.editor.messages["en-us"]={bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",listBulleted:"List Bulleted",listNumbered:"List Numbered",indentDecrease:"Indent Decrease",indentIncrease:"Indent Increase",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignJustify:"Align Justify",undo:"Undo",redo:"Redo"},gj.editor.messages["bg-bg"]={bold:"Удебеляване",italic:"Накланяне",strikethrough:"Зачертаване",underline:"Подчертаване",listBulleted:"Списък",listNumbered:"Номериран Списък",indentDecrease:"Намаляване на абзаца",indentIncrease:"Увеличаване на абзаца",alignLeft:"Подравняване в ляво",alignCenter:"Центриране",alignRight:"Подравняване в дясно",alignJustify:"Изравняване",undo:"Назад",redo:"Напред"},gj.editor.messages["fr-fr"]={bold:"Gras",italic:"Italique",strikethrough:"Barré",underline:"Souligné",listBulleted:"Puces",listNumbered:"Numérotation",indentDecrease:"Diminuer le retrait",indentIncrease:"Augmenter le retrait",alignLeft:"Aligner à gauche",alignCenter:"Centrer",alignRight:"Aligner à droite",alignJustify:"Justifier",undo:"Annuler",redo:"Rétablir"},gj.editor.messages["de-de"]={bold:"Fett",italic:"Kursiv",strikethrough:"Durchgestrichen",underline:"Unterstrichen",listBulleted:"Aufzählung",listNumbered:"Nummerierte Liste",indentDecrease:"Einzug verkleinern",indentIncrease:"Einzug vergrößern",alignLeft:"Linksbündig ausrichten",alignCenter:"Zentriert ausrichten",alignRight:"Rechtsbündig ausrichten",alignJustify:"Blocksatz",undo:"Rückgängig",redo:"Wiederholen"},gj.editor.messages["pt-br"]={bold:"Negrito",italic:"Itálico",strikethrough:"Riscar",underline:"Sublinhar",listBulleted:"Lista não ordenada",listNumbered:"Lista ordenada",indentDecrease:"Diminuir recuo",indentIncrease:"Aumentar recuo",alignLeft:"Alinhar à esquerda",alignCenter:"Centralizar",alignRight:"Alinhar à direita",alignJustify:"Justificar",undo:"Desfazer",redo:"Refazer"},gj.editor.messages["ru-ru"]={bold:"Жирный",italic:"Курсив",strikethrough:"Зачеркнутый",underline:"Подчеркнутый",listBulleted:"Список",listNumbered:"Нумерованный список",indentDecrease:"Уменьшить отступ",indentIncrease:"Увеличить отступ",alignLeft:"Выровнять по левому краю",alignCenter:"Выровнять по центру",alignRight:"Выровнять по правому краю",alignJustify:"Выровнять по ширине",undo:"Назад",redo:"Вперед"},gj.editor.messages["es-es"]={bold:"Negrita",italic:"Italica",strikethrough:"Tachado",underline:"Subrayado",listBulleted:"Puntos",listNumbered:"Lista numerada",indentDecrease:"Disminuir indentacion",indentIncrease:"Aumentar indentacion",alignLeft:"Alineación izquierda",alignCenter:"Alineación centrada",alignRight:"Alineación derecha",alignJustify:"Alineación justificada",undo:"Deshacer",redo:"Repetir"};
gj.editor={plugins:{},messages:{}},gj.editor.config={base:{height:300,width:void 0,uiLibrary:"materialdesign",iconsLibrary:"materialicons",locale:"en-us",buttons:void 0,style:{wrapper:"gj-editor gj-editor-md",buttonsGroup:"gj-button-md-group",button:"gj-button-md",buttonActive:"active"}},bootstrap:{style:{wrapper:"gj-editor gj-editor-bootstrap",buttonsGroup:"btn-group",button:"btn btn-default gj-cursor-pointer",buttonActive:"active"}},bootstrap4:{style:{wrapper:"gj-editor gj-editor-bootstrap",buttonsGroup:"btn-group",button:"btn btn-outline-secondary gj-cursor-pointer",buttonActive:"active"}},materialicons:{icons:{bold:'<i class="gj-icon bold" />',italic:'<i class="gj-icon italic" />',strikethrough:'<i class="gj-icon strikethrough" />',underline:'<i class="gj-icon underlined" />',listBulleted:'<i class="gj-icon list-bulleted" />',listNumbered:'<i class="gj-icon list-numbered" />',indentDecrease:'<i class="gj-icon indent-decrease" />',indentIncrease:'<i class="gj-icon indent-increase" />',alignLeft:'<i class="gj-icon align-left" />',alignCenter:'<i class="gj-icon align-center" />',alignRight:'<i class="gj-icon align-right" />',alignJustify:'<i class="gj-icon align-justify" />',undo:'<i class="gj-icon undo" />',redo:'<i class="gj-icon redo" />'}},fontawesome:{icons:{bold:'<i class="fa fa-bold" aria-hidden="true"></i>',italic:'<i class="fa fa-italic" aria-hidden="true"></i>',strikethrough:'<i class="fa fa-strikethrough" aria-hidden="true"></i>',underline:'<i class="fa fa-underline" aria-hidden="true"></i>',listBulleted:'<i class="fa fa-list-ul" aria-hidden="true"></i>',listNumbered:'<i class="fa fa-list-ol" aria-hidden="true"></i>',indentDecrease:'<i class="fa fa-indent" aria-hidden="true"></i>',indentIncrease:'<i class="fa fa-outdent" aria-hidden="true"></i>',alignLeft:'<i class="fa fa-align-left" aria-hidden="true"></i>',alignCenter:'<i class="fa fa-align-center" aria-hidden="true"></i>',alignRight:'<i class="fa fa-align-right" aria-hidden="true"></i>',alignJustify:'<i class="fa fa-align-justify" aria-hidden="true"></i>',undo:'<i class="fa fa-undo" aria-hidden="true"></i>',redo:'<i class="fa fa-repeat" aria-hidden="true"></i>'}}},gj.editor.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"editor"),this.attr("data-editor","true"),gj.editor.methods.initialize(this),this},initialize:function(a){var b,c,d,e,f,g=this,h=a.data();if(a.hide(),"wrapper"!==a[0].parentElement.attributes.role&&(d=document.createElement("div"),d.setAttribute("role","wrapper"),a[0].parentNode.insertBefore(d,a[0]),d.appendChild(a[0])),gj.editor.methods.localization(h),$(d).addClass(h.style.wrapper),h.width&&$(d).width(h.width),e=$(d).children('div[role="body"]'),0===e.length&&(e=$('<div role="body"></div>'),$(d).append(e)),e.attr("contenteditable",!0),e.on("keydown",function(b){var c=event.keyCode||event.charCode;!1===gj.editor.events.changing(a)&&8!==c&&46!==c&&b.preventDefault()}),e.on("mouseup keyup mouseout cut paste",function(b){g.updateToolbar(a,f),gj.editor.events.changed(a),a.html(e.html())}),f=$(d).children('div[role="toolbar"]'),0===f.length){f=$('<div role="toolbar"></div>'),e.before(f);for(var i in h.buttons){b=$("<div />").addClass(h.style.buttonsGroup);for(var j in h.buttons[i])c=$(h.buttons[i][j]),c.on("click",function(){gj.editor.methods.executeCmd(a,e,f,$(this))}),b.append(c);f.append(b)}}e.height(h.height-gj.core.height(f[0],!0))},localization:function(a){var b=gj.editor.messages[a.locale];void 0===a.buttons&&(a.buttons=[['<button type="button" class="'+a.style.button+'" title="'+b.bold+'" role="bold">'+a.icons.bold+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.italic+'" role="italic">'+a.icons.italic+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.strikethrough+'" role="strikethrough">'+a.icons.strikethrough+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.underline+'" role="underline">'+a.icons.underline+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.listBulleted+'" role="insertunorderedlist">'+a.icons.listBulleted+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.listNumbered+'" role="insertorderedlist">'+a.icons.listNumbered+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.indentDecrease+'" role="outdent">'+a.icons.indentDecrease+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.indentIncrease+'" role="indent">'+a.icons.indentIncrease+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.alignLeft+'" role="justifyleft">'+a.icons.alignLeft+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignCenter+'" role="justifycenter">'+a.icons.alignCenter+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignRight+'" role="justifyright">'+a.icons.alignRight+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.alignJustify+'" role="justifyfull">'+a.icons.alignJustify+"</button>"],['<button type="button" class="'+a.style.button+'" title="'+b.undo+'" role="undo">'+a.icons.undo+"</button>",'<button type="button" class="'+a.style.button+'" title="'+b.redo+'" role="redo">'+a.icons.redo+"</button>"]])},updateToolbar:function(a,b){var c=a.data();$buttons=b.find("[role]").each(function(){var a=$(this),b=a.attr("role");b&&document.queryCommandEnabled(b)&&"true"===document.queryCommandValue(b)?a.addClass(c.style.buttonActive):a.removeClass(c.style.buttonActive)})},executeCmd:function(a,b,c,d){b.focus(),document.execCommand(d.attr("role"),!1),gj.editor.methods.updateToolbar(a,c)},content:function(a,b){var c=a.parent().children('div[role="body"]');return void 0===b?c.html():c.html(b)},destroy:function(a){var b;return"true"===a.attr("data-editor")&&(b=a.parent(),b.children('div[role="body"]').remove(),b.children('div[role="toolbar"]').remove(),a.unwrap(),a.removeData(),a.removeAttr("data-guid"),a.removeAttr("data-editor"),a.off(),a.show()),a}},gj.editor.events={changing:function(a){return a.triggerHandler("changing")},changed:function(a){return a.triggerHandler("changed")}},gj.editor.widget=function(a,b){var c=this,d=gj.editor.methods;return c.content=function(a){return d.content(this,a)},c.destroy=function(){return d.destroy(this)},$.extend(a,c),"true"!==a.attr("data-editor")&&d.init.call(a,b),a},gj.editor.widget.prototype=new gj.widget,gj.editor.widget.constructor=gj.editor.widget,function(a){a.fn.editor=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.editor.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.editor.widget(this,a)}}}(jQuery),gj.editor.messages["en-us"]={bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",listBulleted:"List Bulleted",listNumbered:"List Numbered",indentDecrease:"Indent Decrease",indentIncrease:"Indent Increase",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignJustify:"Align Justify",undo:"Undo",redo:"Redo"},gj.editor.messages["bg-bg"]={bold:"Удебеляване",italic:"Накланяне",strikethrough:"Зачертаване",underline:"Подчертаване",listBulleted:"Списък",listNumbered:"Номериран Списък",indentDecrease:"Намаляване на абзаца",indentIncrease:"Увеличаване на абзаца",alignLeft:"Подравняване в ляво",alignCenter:"Центриране",alignRight:"Подравняване в дясно",alignJustify:"Изравняване",undo:"Назад",redo:"Напред"},gj.editor.messages["fr-fr"]={bold:"Gras",italic:"Italique",strikethrough:"Barré",underline:"Souligné",listBulleted:"Puces",listNumbered:"Numérotation",indentDecrease:"Diminuer le retrait",indentIncrease:"Augmenter le retrait",alignLeft:"Aligner à gauche",alignCenter:"Centrer",alignRight:"Aligner à droite",alignJustify:"Justifier",undo:"Annuler",redo:"Rétablir"},gj.editor.messages["de-de"]={bold:"Fett",italic:"Kursiv",strikethrough:"Durchgestrichen",underline:"Unterstrichen",listBulleted:"Aufzählung",listNumbered:"Nummerierte Liste",indentDecrease:"Einzug verkleinern",indentIncrease:"Einzug vergrößern",alignLeft:"Linksbündig ausrichten",alignCenter:"Zentriert ausrichten",alignRight:"Rechtsbündig ausrichten",alignJustify:"Blocksatz",undo:"Rückgängig",redo:"Wiederholen"},gj.editor.messages["pt-br"]={bold:"Negrito",italic:"Itálico",strikethrough:"Riscar",underline:"Sublinhar",listBulleted:"Lista não ordenada",listNumbered:"Lista ordenada",indentDecrease:"Diminuir recuo",indentIncrease:"Aumentar recuo",alignLeft:"Alinhar à esquerda",alignCenter:"Centralizar",alignRight:"Alinhar à direita",alignJustify:"Justificar",undo:"Desfazer",redo:"Refazer"},gj.editor.messages["ru-ru"]={bold:"Жирный",italic:"Курсив",strikethrough:"Зачеркнутый",underline:"Подчеркнутый",listBulleted:"Список",listNumbered:"Нумерованный список",indentDecrease:"Уменьшить отступ",indentIncrease:"Увеличить отступ",alignLeft:"Выровнять по левому краю",alignCenter:"Выровнять по центру",alignRight:"Выровнять по правому краю",alignJustify:"Выровнять по ширине",undo:"Назад",redo:"Вперед"},gj.editor.messages["es-es"]={bold:"Negrita",italic:"Italica",strikethrough:"Tachado",underline:"Subrayado",listBulleted:"Puntos",listNumbered:"Lista numerada",indentDecrease:"Disminuir indentacion",indentIncrease:"Aumentar indentacion",alignLeft:"Alineación izquierda",alignCenter:"Alineación centrada",alignRight:"Alineación derecha",alignJustify:"Alineación justificada",undo:"Deshacer",redo:"Repetir"},gj.editor.messages["it-it"]={bold:"Grassetto",italic:"Corsivo",strikethrough:"Barrato",underline:"Sottolineato",listBulleted:"Lista puntata",listNumbered:"Lista numerata",indentDecrease:"sposta testo a sinistra",indentIncrease:"sposta testo a destra",alignLeft:"Allineamento a sinistra",alignCenter:"Centrato",alignRight:"Allineamento a destra",alignJustify:"Giustificato",undo:"Annulla",redo:"Ripeti"};
/*
* Gijgo TimePicker v1.9.1
* Gijgo TimePicker v1.9.2
* http://gijgo.com/timepicker

@@ -32,3 +32,3 @@ *

/** Specifies the format, which is used to format the value of the DatePicker displayed in the input. */ format: 'HH:MM',
/** Specifies the format, which is used to format the value of the timepicker displayed in the input. */ format: 'HH:MM',

@@ -43,2 +43,4 @@ /** The name of the UI library that is going to be in use. */ uiLibrary: 'materialdesign',

/** The size of the timepicker input. */ size: 'default',
icons: {

@@ -72,3 +74,3 @@ rightIcon: '<i class="gj-icon clock" />'

wrapper: 'gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group',
input: 'form-control',
input: 'form-control border',
clock: 'gj-clock gj-clock-bootstrap',

@@ -95,3 +97,3 @@ footer: 'modal-footer',

} else if (data.uiLibrary === 'bootstrap4') {
$rightIcon = $('<span class="input-group-append"><span class="input-group-text">' + data.icons.rightIcon + '</span></span>');
$rightIcon = $('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0 border" type="button">' + data.icons.rightIcon + '</button></span>');
} else {

@@ -116,2 +118,18 @@ $rightIcon = $(data.icons.rightIcon);

if (data.uiLibrary === 'bootstrap' || data.uiLibrary === 'bootstrap4') {
if (data.size === 'small') {
$wrapper.addClass('input-group-sm');
$timepicker.addClass('form-control-sm');
} else if (data.size === 'large') {
$wrapper.addClass('input-group-lg');
$timepicker.addClass('form-control-lg');
}
} else {
if (data.size === 'small') {
$wrapper.addClass('small');
} else if (data.size === 'large') {
$wrapper.addClass('large');
}
}
$rightIcon.on('click', function (e) {

@@ -630,1 +648,7 @@ var $clock = $('body').find('[role="clock"][guid="' + $timepicker.attr('data-guid') + '"]');

};
gj.timepicker.messages['it-it'] = {
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Annulla'
};

@@ -1,1 +0,1 @@

gj.timepicker={plugins:{},messages:{"en-us":{am:"AM",pm:"PM",ok:"Ok",cancel:"Cancel"}}},gj.timepicker.config={base:{width:void 0,modal:!0,header:!0,footer:!0,format:"HH:MM",uiLibrary:"materialdesign",value:void 0,mode:"ampm",locale:"en-us",icons:{rightIcon:'<i class="gj-icon clock" />'},style:{modal:"gj-modal",wrapper:"gj-timepicker gj-timepicker-md gj-unselectable",input:"gj-textbox-md",clock:"gj-clock gj-clock-md",footer:"",button:"gj-button-md"}},bootstrap:{style:{wrapper:"gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group",input:"form-control",clock:"gj-clock gj-clock-bootstrap",footer:"modal-footer",button:"btn btn-default"},iconsLibrary:"glyphicons"},bootstrap4:{style:{wrapper:"gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group",input:"form-control",clock:"gj-clock gj-clock-bootstrap",footer:"modal-footer",button:"btn btn-default"}}},gj.timepicker.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"timepicker"),this.attr("data-timepicker","true"),gj.timepicker.methods.initialize(this),this},initialize:function(a){var b,c,d=a.data(),e=a.parent('div[role="wrapper"]');c="bootstrap"===d.uiLibrary?$('<span class="input-group-addon">'+d.icons.rightIcon+"</span>"):"bootstrap4"===d.uiLibrary?$('<span class="input-group-append"><span class="input-group-text">'+d.icons.rightIcon+"</span></span>"):$(d.icons.rightIcon),c.attr("role","right-icon"),0===e.length?(e=$('<div role="wrapper" />').addClass(d.style.wrapper),a.wrap(e)):e.addClass(d.style.wrapper),e=a.parent('div[role="wrapper"]'),d.width&&e.css("width",d.width),a.val(d.value).addClass(d.style.input).attr("role","input"),c.on("click",function(b){$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]').is(":visible")?gj.timepicker.methods.close(a):gj.timepicker.methods.open(a)}),!1===d.footer&&a.on("blur",function(){a.timeout=setTimeout(function(){a.mouseMove||gj.timepicker.methods.close(a)},500)}),e.append(c),b=gj.timepicker.methods.createClock(a),d.keyboardNavigation&&a.on("keydown",gj.timepicker.methods.createKeyDownHandler(a,b))},createClock:function(a){var b,c=a.data(),d=$('<div role="clock" />').addClass(c.style.clock).attr("guid",a.attr("data-guid")),e=$('<div role="hour" />'),f=$('<div role="minute" />'),g=$('<div role="header" />'),h=$('<div role="mode" />'),i=$('<div role="body" />'),j=$('<div role="dial"></div>'),k=$('<button class="'+c.style.button+'">'+gj.timepicker.messages[c.locale].ok+"</button>"),l=$('<button class="'+c.style.button+'">'+gj.timepicker.messages[c.locale].cancel+"</button>"),m=$('<div role="footer" class="'+c.style.footer+'" />');return b=gj.core.parseDate(c.value,c.format,c.locale),!b||isNaN(b.getTime())?b=new Date:a.attr("hours",b.getHours()),j.on("mousedown",gj.timepicker.methods.mouseDownHandler(a,d)),j.on("mousemove",gj.timepicker.methods.mouseMoveHandler(a,d)),j.on("mouseup",gj.timepicker.methods.mouseUpHandler(a,d)),c.header&&(e.on("click",function(){gj.timepicker.methods.renderHours(a,d)}),f.on("click",function(){gj.timepicker.methods.renderMinutes(a,d)}),g.append(e).append(":").append(f),"ampm"===c.mode&&(h.append($('<span role="am">'+gj.timepicker.messages[c.locale].am+"</span>").on("click",function(){var b=gj.timepicker.methods.getHour(d);d.attr("mode","am"),$(this).addClass("selected"),$(this).parent().children('[role="pm"]').removeClass("selected"),b>=12&&d.attr("hour",b-12),c.modal||(clearTimeout(a.timeout),a.focus())})),h.append("<br />"),h.append($('<span role="pm">'+gj.timepicker.messages[c.locale].pm+"</span>").on("click",function(){var b=gj.timepicker.methods.getHour(d);d.attr("mode","pm"),$(this).addClass("selected"),$(this).parent().children('[role="am"]').removeClass("selected"),b<12&&d.attr("hour",b+12),c.modal||(clearTimeout(a.timeout),a.focus())})),g.append(h)),d.append(g)),i.append(j),d.append(i),c.footer&&(l.on("click",function(){a.close()}),m.append(l),k.on("click",gj.timepicker.methods.setTime(a,d)),m.append(k),d.append(m)),d.hide(),$("body").append(d),c.modal&&(d.wrapAll('<div role="modal" class="'+c.style.modal+'"/>'),gj.core.center(d)),d},getHour:function(a){return parseInt(a.attr("hour"),10)||0},getMinute:function(a){return parseInt(a.attr("minute"),10)||0},setTime:function(a,b){return function(){var c=gj.timepicker.methods.getHour(b),d=gj.timepicker.methods.getMinute(b),e=b.attr("mode"),f=new Date(0,0,0,12===c&&"am"===e?0:c,d),g=a.data(),h=gj.core.formatDate(f,g.format,g.locale);a.value(h),a.close()}},getPointerValue:function(a,b,c){var d,e,f=256,g=Math.atan2(f/2-a,f/2-b)/Math.PI*180;switch(g<0&&(g=360+g),c){case"ampm":return d=12-Math.round(12*g/360),0===d?12:d;case"24hr":return e=Math.sqrt(Math.pow(f/2-a,2)+Math.pow(f/2-b,2)),d=12-Math.round(12*g/360),0===d&&(d=12),e<f/2-32&&(d=12===d?0:d+12),d;case"minutes":return d=Math.round(60-60*g/360),60===d?0:d}},updateArrow:function(a,b,c){var d,e,f,g,h=b.data();d=b.mouseX(a),e=b.mouseY(a),f=a.target.getBoundingClientRect(),"hours"==h.dialMode?(g=gj.timepicker.methods.getPointerValue(d-f.left,e-f.top,h.mode),c.attr("hour","ampm"===h.mode&&"pm"===c.attr("mode")&&g<12?g+12:g)):"minutes"==h.dialMode&&(g=gj.timepicker.methods.getPointerValue(d-f.left,e-f.top,"minutes"),c.attr("minute",g)),"hours"==h.dialMode?setTimeout(function(){gj.timepicker.methods.renderMinutes(b,c)},1e3):"minutes"==h.dialMode&&0==b.data().footer&&gj.timepicker.methods.setTime(b,c)(),gj.timepicker.methods.select(b,c)},select:function(a,b){var c=(b.find('[role="dial"]'),b.find('[role="arrow"]')),d=a.data(),e=gj.timepicker.methods.getHour(b),f=gj.timepicker.methods.getMinute(b);"hours"==d.dialMode&&(0==e||e>12)&&"24hr"===d.mode?c.css("width","calc(50% - 52px)"):c.css("width","calc(50% - 20px)"),"hours"==d.dialMode?c.css("transform","rotate("+(30*e-90).toString()+"deg)"):c.css("transform","rotate("+(6*f-90).toString()+"deg)"),c.show(),gj.timepicker.methods.update(a,b)},update:function(a,b){var c=a.data(),d=gj.timepicker.methods.getHour(b),e="ampm"===c.mode&&d>12?d-12:0==d?12:d,f=gj.timepicker.methods.getMinute(b),g=b.find('[role="header"]'),h=b.find('[role="dial"] span');g.children('[role="hour"]').text(e),g.children('[role="minute"]').text(gj.core.pad(f)),h.removeClass("selected"),h.filter(function(a){return"hours"==c.dialMode?parseInt($(this).text(),10)==e:parseInt($(this).text(),10)==f}).addClass("selected"),"ampm"===c.mode&&(d>=12?(g.find('[role="pm"]').addClass("selected"),g.find('[role="am"]').removeClass("selected")):(g.find('[role="am"]').addClass("selected"),g.find('[role="pm"]').removeClass("selected")))},mouseDownHandler:function(a,b){return function(b){a.mouseMove=!0}},mouseMoveHandler:function(a,b){return function(c){a.mouseMove&&gj.timepicker.methods.updateArrow(c,a,b)}},mouseUpHandler:function(a,b){return function(c){gj.timepicker.methods.updateArrow(c,a,b),a.mouseMove=!1,a.data().modal||(clearTimeout(a.timeout),a.focus())}},renderHours:function(a,b){var c=b.find('[role="dial"]');clearTimeout(a.timeout),c.empty(),c.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),c.append('<span role="hour" style="transform: translate(54px, -93.5307px);">1</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, -54px);">2</span>'),c.append('<span role="hour" style="transform: translate(108px, 0px);">3</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, 54px);">4</span>'),c.append('<span role="hour" style="transform: translate(54px, 93.5307px);">5</span>'),c.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">6</span>'),c.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">7</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">8</span>'),c.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">9</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">10</span>'),c.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">11</span>'),c.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">12</span>'),"24hr"===a.data("mode")&&(c.append('<span role="hour" style="transform: translate(38px, -65.8179px);">13</span>'),c.append('<span role="hour" style="transform: translate(65.8179px, -38px);">14</span>'),c.append('<span role="hour" style="transform: translate(76px, 0px);">15</span>'),c.append('<span role="hour" style="transform: translate(65.8179px, 38px);">16</span>'),c.append('<span role="hour" style="transform: translate(38px, 65.8179px);">17</span>'),c.append('<span role="hour" style="transform: translate(4.65366e-15px, 76px);">18</span>'),c.append('<span role="hour" style="transform: translate(-38px, 65.8179px);">19</span>'),c.append('<span role="hour" style="transform: translate(-65.8179px, 38px);">20</span>'),c.append('<span role="hour" style="transform: translate(-76px, 9.30732e-15px);">21</span>'),c.append('<span role="hour" style="transform: translate(-65.8179px, -38px);">22</span>'),c.append('<span role="hour" style="transform: translate(-38px, -65.8179px);">23</span>'),c.append('<span role="hour" style="transform: translate(-1.3961e-14px, -76px);">00</span>')),b.find('[role="header"] [role="hour"]').addClass("selected"),b.find('[role="header"] [role="minute"]').removeClass("selected"),a.data("dialMode","hours"),gj.timepicker.methods.select(a,b)},renderMinutes:function(a,b){var c=b.find('[role="dial"]');clearTimeout(a.timeout),c.empty(),c.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),c.append('<span role="hour" style="transform: translate(54px, -93.5307px);">5</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, -54px);">10</span>'),c.append('<span role="hour" style="transform: translate(108px, 0px);">15</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, 54px);">20</span>'),c.append('<span role="hour" style="transform: translate(54px, 93.5307px);">25</span>'),c.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">30</span>'),c.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">35</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">40</span>'),c.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">45</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">50</span>'),c.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">55</span>'),c.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">00</span>'),b.find('[role="header"] [role="hour"]').removeClass("selected"),b.find('[role="header"] [role="minute"]').addClass("selected"),a.data("dialMode","minutes"),gj.timepicker.methods.select(a,b)},open:function(a){var b,c,d=a.data(),e=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b=a.value()?gj.core.parseDate(a.value(),d.format,d.locale):new Date,c=b.getHours(),"ampm"===d.mode&&e.attr("mode",c>12?"pm":"am"),e.attr("hour",c),e.attr("minute",b.getMinutes()),gj.timepicker.methods.renderHours(a,e),e.show(),e.closest('div[role="modal"]').show(),d.modal?gj.core.center(e):(gj.core.setChildPosition(a[0],e[0]),a.focus()),gj.timepicker.events.open(a),a},close:function(a){var b=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b.hide(),b.closest('div[role="modal"]').hide(),gj.timepicker.events.close(a),a},value:function(a,b){a.data();return void 0===b?a.val():(a.val(b),gj.timepicker.events.change(a),a)},destroy:function(a){var b=a.data(),c=a.parent(),d=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b&&(a.off(),d.parent('[role="modal"]').length>0&&d.unwrap(),d.remove(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-timepicker"),a.removeClass(),c.children('[role="right-icon"]').remove(),a.unwrap()),a}},gj.timepicker.events={change:function(a){return a.triggerHandler("change")},open:function(a){return a.triggerHandler("open")},close:function(a){return a.triggerHandler("close")}},gj.timepicker.widget=function(a,b){var c=this,d=gj.timepicker.methods;return c.mouseMove=!1,c.value=function(a){return d.value(this,a)},c.destroy=function(){return d.destroy(this)},c.open=function(){return gj.timepicker.methods.open(this)},c.close=function(){return gj.timepicker.methods.close(this)},$.extend(a,c),"true"!==a.attr("data-timepicker")&&d.init.call(a,b),a},gj.timepicker.widget.prototype=new gj.widget,gj.timepicker.widget.constructor=gj.timepicker.widget,function(a){a.fn.timepicker=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.timepicker.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.timepicker.widget(this,a)}}}(jQuery),gj.timepicker.messages["bg-bg"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отказ"},gj.timepicker.messages["fr-fr"]={am:"AM",pm:"PM",ok:"OK",cancel:"Annuler"},gj.timepicker.messages["de-de"]={am:"AM",pm:"PM",ok:"OK",cancel:"Abbrechen"},gj.timepicker.messages["pt-br"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"},gj.timepicker.messages["ru-ru"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отмена"},gj.timepicker.messages["es-es"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"};
gj.timepicker={plugins:{},messages:{"en-us":{am:"AM",pm:"PM",ok:"Ok",cancel:"Cancel"}}},gj.timepicker.config={base:{width:void 0,modal:!0,header:!0,footer:!0,format:"HH:MM",uiLibrary:"materialdesign",value:void 0,mode:"ampm",locale:"en-us",size:"default",icons:{rightIcon:'<i class="gj-icon clock" />'},style:{modal:"gj-modal",wrapper:"gj-timepicker gj-timepicker-md gj-unselectable",input:"gj-textbox-md",clock:"gj-clock gj-clock-md",footer:"",button:"gj-button-md"}},bootstrap:{style:{wrapper:"gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group",input:"form-control",clock:"gj-clock gj-clock-bootstrap",footer:"modal-footer",button:"btn btn-default"},iconsLibrary:"glyphicons"},bootstrap4:{style:{wrapper:"gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group",input:"form-control border",clock:"gj-clock gj-clock-bootstrap",footer:"modal-footer",button:"btn btn-default"}}},gj.timepicker.methods={init:function(a){return gj.widget.prototype.init.call(this,a,"timepicker"),this.attr("data-timepicker","true"),gj.timepicker.methods.initialize(this),this},initialize:function(a){var b,c,d=a.data(),e=a.parent('div[role="wrapper"]');c="bootstrap"===d.uiLibrary?$('<span class="input-group-addon">'+d.icons.rightIcon+"</span>"):"bootstrap4"===d.uiLibrary?$('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0 border" type="button">'+d.icons.rightIcon+"</button></span>"):$(d.icons.rightIcon),c.attr("role","right-icon"),0===e.length?(e=$('<div role="wrapper" />').addClass(d.style.wrapper),a.wrap(e)):e.addClass(d.style.wrapper),e=a.parent('div[role="wrapper"]'),d.width&&e.css("width",d.width),a.val(d.value).addClass(d.style.input).attr("role","input"),"bootstrap"===d.uiLibrary||"bootstrap4"===d.uiLibrary?"small"===d.size?(e.addClass("input-group-sm"),a.addClass("form-control-sm")):"large"===d.size&&(e.addClass("input-group-lg"),a.addClass("form-control-lg")):"small"===d.size?e.addClass("small"):"large"===d.size&&e.addClass("large"),c.on("click",function(b){$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]').is(":visible")?gj.timepicker.methods.close(a):gj.timepicker.methods.open(a)}),!1===d.footer&&a.on("blur",function(){a.timeout=setTimeout(function(){a.mouseMove||gj.timepicker.methods.close(a)},500)}),e.append(c),b=gj.timepicker.methods.createClock(a),d.keyboardNavigation&&a.on("keydown",gj.timepicker.methods.createKeyDownHandler(a,b))},createClock:function(a){var b,c=a.data(),d=$('<div role="clock" />').addClass(c.style.clock).attr("guid",a.attr("data-guid")),e=$('<div role="hour" />'),f=$('<div role="minute" />'),g=$('<div role="header" />'),h=$('<div role="mode" />'),i=$('<div role="body" />'),j=$('<div role="dial"></div>'),k=$('<button class="'+c.style.button+'">'+gj.timepicker.messages[c.locale].ok+"</button>"),l=$('<button class="'+c.style.button+'">'+gj.timepicker.messages[c.locale].cancel+"</button>"),m=$('<div role="footer" class="'+c.style.footer+'" />');return b=gj.core.parseDate(c.value,c.format,c.locale),!b||isNaN(b.getTime())?b=new Date:a.attr("hours",b.getHours()),j.on("mousedown",gj.timepicker.methods.mouseDownHandler(a,d)),j.on("mousemove",gj.timepicker.methods.mouseMoveHandler(a,d)),j.on("mouseup",gj.timepicker.methods.mouseUpHandler(a,d)),c.header&&(e.on("click",function(){gj.timepicker.methods.renderHours(a,d)}),f.on("click",function(){gj.timepicker.methods.renderMinutes(a,d)}),g.append(e).append(":").append(f),"ampm"===c.mode&&(h.append($('<span role="am">'+gj.timepicker.messages[c.locale].am+"</span>").on("click",function(){var b=gj.timepicker.methods.getHour(d);d.attr("mode","am"),$(this).addClass("selected"),$(this).parent().children('[role="pm"]').removeClass("selected"),b>=12&&d.attr("hour",b-12),c.modal||(clearTimeout(a.timeout),a.focus())})),h.append("<br />"),h.append($('<span role="pm">'+gj.timepicker.messages[c.locale].pm+"</span>").on("click",function(){var b=gj.timepicker.methods.getHour(d);d.attr("mode","pm"),$(this).addClass("selected"),$(this).parent().children('[role="am"]').removeClass("selected"),b<12&&d.attr("hour",b+12),c.modal||(clearTimeout(a.timeout),a.focus())})),g.append(h)),d.append(g)),i.append(j),d.append(i),c.footer&&(l.on("click",function(){a.close()}),m.append(l),k.on("click",gj.timepicker.methods.setTime(a,d)),m.append(k),d.append(m)),d.hide(),$("body").append(d),c.modal&&(d.wrapAll('<div role="modal" class="'+c.style.modal+'"/>'),gj.core.center(d)),d},getHour:function(a){return parseInt(a.attr("hour"),10)||0},getMinute:function(a){return parseInt(a.attr("minute"),10)||0},setTime:function(a,b){return function(){var c=gj.timepicker.methods.getHour(b),d=gj.timepicker.methods.getMinute(b),e=b.attr("mode"),f=new Date(0,0,0,12===c&&"am"===e?0:c,d),g=a.data(),h=gj.core.formatDate(f,g.format,g.locale);a.value(h),a.close()}},getPointerValue:function(a,b,c){var d,e,f=256,g=Math.atan2(f/2-a,f/2-b)/Math.PI*180;switch(g<0&&(g=360+g),c){case"ampm":return d=12-Math.round(12*g/360),0===d?12:d;case"24hr":return e=Math.sqrt(Math.pow(f/2-a,2)+Math.pow(f/2-b,2)),d=12-Math.round(12*g/360),0===d&&(d=12),e<f/2-32&&(d=12===d?0:d+12),d;case"minutes":return d=Math.round(60-60*g/360),60===d?0:d}},updateArrow:function(a,b,c){var d,e,f,g,h=b.data();d=b.mouseX(a),e=b.mouseY(a),f=a.target.getBoundingClientRect(),"hours"==h.dialMode?(g=gj.timepicker.methods.getPointerValue(d-f.left,e-f.top,h.mode),c.attr("hour","ampm"===h.mode&&"pm"===c.attr("mode")&&g<12?g+12:g)):"minutes"==h.dialMode&&(g=gj.timepicker.methods.getPointerValue(d-f.left,e-f.top,"minutes"),c.attr("minute",g)),"hours"==h.dialMode?setTimeout(function(){gj.timepicker.methods.renderMinutes(b,c)},1e3):"minutes"==h.dialMode&&0==b.data().footer&&gj.timepicker.methods.setTime(b,c)(),gj.timepicker.methods.select(b,c)},select:function(a,b){var c=(b.find('[role="dial"]'),b.find('[role="arrow"]')),d=a.data(),e=gj.timepicker.methods.getHour(b),f=gj.timepicker.methods.getMinute(b);"hours"==d.dialMode&&(0==e||e>12)&&"24hr"===d.mode?c.css("width","calc(50% - 52px)"):c.css("width","calc(50% - 20px)"),"hours"==d.dialMode?c.css("transform","rotate("+(30*e-90).toString()+"deg)"):c.css("transform","rotate("+(6*f-90).toString()+"deg)"),c.show(),gj.timepicker.methods.update(a,b)},update:function(a,b){var c=a.data(),d=gj.timepicker.methods.getHour(b),e="ampm"===c.mode&&d>12?d-12:0==d?12:d,f=gj.timepicker.methods.getMinute(b),g=b.find('[role="header"]'),h=b.find('[role="dial"] span');g.children('[role="hour"]').text(e),g.children('[role="minute"]').text(gj.core.pad(f)),h.removeClass("selected"),h.filter(function(a){return"hours"==c.dialMode?parseInt($(this).text(),10)==e:parseInt($(this).text(),10)==f}).addClass("selected"),"ampm"===c.mode&&(d>=12?(g.find('[role="pm"]').addClass("selected"),g.find('[role="am"]').removeClass("selected")):(g.find('[role="am"]').addClass("selected"),g.find('[role="pm"]').removeClass("selected")))},mouseDownHandler:function(a,b){return function(b){a.mouseMove=!0}},mouseMoveHandler:function(a,b){return function(c){a.mouseMove&&gj.timepicker.methods.updateArrow(c,a,b)}},mouseUpHandler:function(a,b){return function(c){gj.timepicker.methods.updateArrow(c,a,b),a.mouseMove=!1,a.data().modal||(clearTimeout(a.timeout),a.focus())}},renderHours:function(a,b){var c=b.find('[role="dial"]');clearTimeout(a.timeout),c.empty(),c.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),c.append('<span role="hour" style="transform: translate(54px, -93.5307px);">1</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, -54px);">2</span>'),c.append('<span role="hour" style="transform: translate(108px, 0px);">3</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, 54px);">4</span>'),c.append('<span role="hour" style="transform: translate(54px, 93.5307px);">5</span>'),c.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">6</span>'),c.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">7</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">8</span>'),c.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">9</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">10</span>'),c.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">11</span>'),c.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">12</span>'),"24hr"===a.data("mode")&&(c.append('<span role="hour" style="transform: translate(38px, -65.8179px);">13</span>'),c.append('<span role="hour" style="transform: translate(65.8179px, -38px);">14</span>'),c.append('<span role="hour" style="transform: translate(76px, 0px);">15</span>'),c.append('<span role="hour" style="transform: translate(65.8179px, 38px);">16</span>'),c.append('<span role="hour" style="transform: translate(38px, 65.8179px);">17</span>'),c.append('<span role="hour" style="transform: translate(4.65366e-15px, 76px);">18</span>'),c.append('<span role="hour" style="transform: translate(-38px, 65.8179px);">19</span>'),c.append('<span role="hour" style="transform: translate(-65.8179px, 38px);">20</span>'),c.append('<span role="hour" style="transform: translate(-76px, 9.30732e-15px);">21</span>'),c.append('<span role="hour" style="transform: translate(-65.8179px, -38px);">22</span>'),c.append('<span role="hour" style="transform: translate(-38px, -65.8179px);">23</span>'),c.append('<span role="hour" style="transform: translate(-1.3961e-14px, -76px);">00</span>')),b.find('[role="header"] [role="hour"]').addClass("selected"),b.find('[role="header"] [role="minute"]').removeClass("selected"),a.data("dialMode","hours"),gj.timepicker.methods.select(a,b)},renderMinutes:function(a,b){var c=b.find('[role="dial"]');clearTimeout(a.timeout),c.empty(),c.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),c.append('<span role="hour" style="transform: translate(54px, -93.5307px);">5</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, -54px);">10</span>'),c.append('<span role="hour" style="transform: translate(108px, 0px);">15</span>'),c.append('<span role="hour" style="transform: translate(93.5307px, 54px);">20</span>'),c.append('<span role="hour" style="transform: translate(54px, 93.5307px);">25</span>'),c.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">30</span>'),c.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">35</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">40</span>'),c.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">45</span>'),c.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">50</span>'),c.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">55</span>'),c.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">00</span>'),b.find('[role="header"] [role="hour"]').removeClass("selected"),b.find('[role="header"] [role="minute"]').addClass("selected"),a.data("dialMode","minutes"),gj.timepicker.methods.select(a,b)},open:function(a){var b,c,d=a.data(),e=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b=a.value()?gj.core.parseDate(a.value(),d.format,d.locale):new Date,c=b.getHours(),"ampm"===d.mode&&e.attr("mode",c>12?"pm":"am"),e.attr("hour",c),e.attr("minute",b.getMinutes()),gj.timepicker.methods.renderHours(a,e),e.show(),e.closest('div[role="modal"]').show(),d.modal?gj.core.center(e):(gj.core.setChildPosition(a[0],e[0]),a.focus()),gj.timepicker.events.open(a),a},close:function(a){var b=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b.hide(),b.closest('div[role="modal"]').hide(),gj.timepicker.events.close(a),a},value:function(a,b){a.data();return void 0===b?a.val():(a.val(b),gj.timepicker.events.change(a),a)},destroy:function(a){var b=a.data(),c=a.parent(),d=$("body").find('[role="clock"][guid="'+a.attr("data-guid")+'"]');return b&&(a.off(),d.parent('[role="modal"]').length>0&&d.unwrap(),d.remove(),a.removeData(),a.removeAttr("data-type").removeAttr("data-guid").removeAttr("data-timepicker"),a.removeClass(),c.children('[role="right-icon"]').remove(),a.unwrap()),a}},gj.timepicker.events={change:function(a){return a.triggerHandler("change")},open:function(a){return a.triggerHandler("open")},close:function(a){return a.triggerHandler("close")}},gj.timepicker.widget=function(a,b){var c=this,d=gj.timepicker.methods;return c.mouseMove=!1,c.value=function(a){return d.value(this,a)},c.destroy=function(){return d.destroy(this)},c.open=function(){return gj.timepicker.methods.open(this)},c.close=function(){return gj.timepicker.methods.close(this)},$.extend(a,c),"true"!==a.attr("data-timepicker")&&d.init.call(a,b),a},gj.timepicker.widget.prototype=new gj.widget,gj.timepicker.widget.constructor=gj.timepicker.widget,function(a){a.fn.timepicker=function(a){var b;if(this&&this.length){if("object"!=typeof a&&a){if(b=new gj.timepicker.widget(this,null),b[a])return b[a].apply(this,Array.prototype.slice.call(arguments,1));throw"Method "+a+" does not exist."}return new gj.timepicker.widget(this,a)}}}(jQuery),gj.timepicker.messages["bg-bg"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отказ"},gj.timepicker.messages["fr-fr"]={am:"AM",pm:"PM",ok:"OK",cancel:"Annuler"},gj.timepicker.messages["de-de"]={am:"AM",pm:"PM",ok:"OK",cancel:"Abbrechen"},gj.timepicker.messages["pt-br"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"},gj.timepicker.messages["ru-ru"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отмена"},gj.timepicker.messages["es-es"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"},gj.timepicker.messages["it-it"]={am:"AM",pm:"PM",ok:"OK",cancel:"Annulla"};
/*
* Gijgo Tree v1.9.1
* Gijgo Tree v1.9.2
* http://gijgo.com/tree

@@ -4,0 +4,0 @@ *

{
"name": "gijgo",
"version": "1.9.1",
"version": "1.9.2",
"description": "Gijgo is a set of free open source javascript controls distributed under MIT License. All widgets are high performance, built on top of the jQuery JavaScript Library with built-in support for Bootstrap, Material Design and Font Awesome. They are designed to saves you time and scales with your development process.",

@@ -5,0 +5,0 @@ "main": "combined/js/gijgo.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc