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.3 to 1.9.4

modular/css/datetimepicker.css

11

combined/js/messages/messages.bg-bg.js

@@ -44,9 +44,6 @@ gj.dialog.messages['bg-bg'] = {

monthNames: ['Януари', 'Февруари', 'Март', 'Април', 'Май', 'Юни', 'Юли', 'Август', 'Септември', 'Октомври', 'Ноември', 'Декември'],
monthShortNames: ['Яну', 'Фев', 'Мар', 'Апр', 'Май', 'Юни', 'Юли', 'Авг', 'Сеп', 'ОКт', 'Ное', 'Дек']
};
gj.datepicker.messages['bg-bg'] = {
weekDays: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С']
};
gj.timepicker.messages['bg-bg'] = {
monthShortNames: ['Яну', 'Фев', 'Мар', 'Апр', 'Май', 'Юни', 'Юли', 'Авг', 'Сеп', 'ОКт', 'Ное', 'Дек'],
weekDaysMin: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'],
weekDaysShort: ['Нед', 'Пон', 'Вто', 'Сря', 'Чет', 'Пет', 'Съб'],
weekDays: ['Неделя', 'Понеделник', 'Вторник', 'Сряда', 'Четвъртък', 'Петък', 'Събота'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["bg-bg"]={Close:"Затваряне",DefaultTitle:"Диалогов Прозорец"},gj.grid.messages["bg-bg"]={First:"Първа",Previous:"Предишна",Next:"Следваща",Last:"Последна",Page:"Страница",FirstPageTooltip:"Първа Страница",PreviousPageTooltip:"Предишна Страница",NextPageTooltip:"Следваща Страница",LastPageTooltip:"Последна Страница",Refresh:"Презареждане",Of:"от",DisplayingRecords:"Паказани записи",RowsPerPage:"Редове на страница:",Edit:"Редактиране",Delete:"Изтриване",Update:"Актуализация",Cancel:"Отказ",NoRecordsFound:"Няма намерени записи.",Loading:"Зареждане..."},gj.editor.messages["bg-bg"]={bold:"Удебеляване",italic:"Накланяне",strikethrough:"Зачертаване",underline:"Подчертаване",listBulleted:"Списък",listNumbered:"Номериран Списък",indentDecrease:"Намаляване на абзаца",indentIncrease:"Увеличаване на абзаца",alignLeft:"Подравняване в ляво",alignCenter:"Центриране",alignRight:"Подравняване в дясно",alignJustify:"Изравняване",undo:"Назад",redo:"Напред"},gj.core.messages["bg-bg"]={monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthShortNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","ОКт","Ное","Дек"]},gj.datepicker.messages["bg-bg"]={weekDays:["Н","П","В","С","Ч","П","С"]},gj.timepicker.messages["bg-bg"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отказ"};
gj.dialog.messages["bg-bg"]={Close:"Затваряне",DefaultTitle:"Диалогов Прозорец"},gj.grid.messages["bg-bg"]={First:"Първа",Previous:"Предишна",Next:"Следваща",Last:"Последна",Page:"Страница",FirstPageTooltip:"Първа Страница",PreviousPageTooltip:"Предишна Страница",NextPageTooltip:"Следваща Страница",LastPageTooltip:"Последна Страница",Refresh:"Презареждане",Of:"от",DisplayingRecords:"Паказани записи",RowsPerPage:"Редове на страница:",Edit:"Редактиране",Delete:"Изтриване",Update:"Актуализация",Cancel:"Отказ",NoRecordsFound:"Няма намерени записи.",Loading:"Зареждане..."},gj.editor.messages["bg-bg"]={bold:"Удебеляване",italic:"Накланяне",strikethrough:"Зачертаване",underline:"Подчертаване",listBulleted:"Списък",listNumbered:"Номериран Списък",indentDecrease:"Намаляване на абзаца",indentIncrease:"Увеличаване на абзаца",alignLeft:"Подравняване в ляво",alignCenter:"Центриране",alignRight:"Подравняване в дясно",alignJustify:"Изравняване",undo:"Назад",redo:"Напред"},gj.core.messages["bg-bg"]={monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthShortNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","ОКт","Ное","Дек"],weekDaysMin:["Н","П","В","С","Ч","П","С"],weekDaysShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],weekDays:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],am:"AM",pm:"PM",ok:"ОК",cancel:"Отказ"};

@@ -44,9 +44,6 @@ gj.dialog.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.timepicker.messages['de-de'] = {
monthShortNames: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
weekDaysMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
weekDaysShort: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
weekDays: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["de-de"]={Close:"Schließen",DefaultTitle:"Dialog"},gj.grid.messages["de-de"]={First:"Erste",Previous:"Vorherige",Next:"Nächste",Last:"Letzte",Page:"Seite",FirstPageTooltip:"Erste Seite",PreviousPageTooltip:"Vorherige Seite",NextPageTooltip:"Nächste Seite",LastPageTooltip:"Letzte Seite",Refresh:"Aktualisieren",Of:"von",DisplayingRecords:"Zeige Datensätze",RowsPerPage:"Zeilen pro Seite:",Edit:"Editieren",Delete:"Löschen",Update:"Aktualisieren",Cancel:"Abbrechen",NoRecordsFound:"Es wurden keine Datensätze gefunden.",Loading:"Laden..."},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.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.timepicker.messages["de-de"]={am:"AM",pm:"PM",ok:"OK",cancel:"Abbrechen"};
gj.dialog.messages["de-de"]={Close:"Schließen",DefaultTitle:"Dialog"},gj.grid.messages["de-de"]={First:"Erste",Previous:"Vorherige",Next:"Nächste",Last:"Letzte",Page:"Seite",FirstPageTooltip:"Erste Seite",PreviousPageTooltip:"Vorherige Seite",NextPageTooltip:"Nächste Seite",LastPageTooltip:"Letzte Seite",Refresh:"Aktualisieren",Of:"von",DisplayingRecords:"Zeige Datensätze",RowsPerPage:"Zeilen pro Seite:",Edit:"Editieren",Delete:"Löschen",Update:"Aktualisieren",Cancel:"Abbrechen",NoRecordsFound:"Es wurden keine Datensätze gefunden.",Loading:"Laden..."},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.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"],weekDaysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekDaysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],weekDays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],am:"AM",pm:"PM",ok:"OK",cancel:"Abbrechen"};

@@ -44,9 +44,6 @@ gj.dialog.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.timepicker.messages['es-es'] = {
monthShortNames: ['ene.', 'feb.', 'mar', 'abr.', 'may', 'jun', 'jul.', 'ago', 'set.', 'oct.', 'nov.', 'dic.'],
weekDaysMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
weekDaysShort: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'],
weekDays: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["es-es"]={Close:"Cerrar",DefaultTitle:"Titulo por defecto"},gj.grid.messages["es-es"]={First:"Primero",Previous:"Anterior",Next:"Siguiente",Last:"Último",Page:"Página",FirstPageTooltip:"Primera página",PreviousPageTooltip:"Página anterior",NextPageTooltip:"Página siguiente",LastPageTooltip:"Última página",Refresh:"Refrescar",Of:"de",DisplayingRecords:"Resultados",RowsPerPage:"Lineas por página:",Edit:"Modificar",Delete:"Eliminar",Update:"Actualizar",Cancel:"Cancelar",NoRecordsFound:"No se encontraron registros.",Loading:"Cargando..."},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.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.timepicker.messages["es-es"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"};
gj.dialog.messages["es-es"]={Close:"Cerrar",DefaultTitle:"Titulo por defecto"},gj.grid.messages["es-es"]={First:"Primero",Previous:"Anterior",Next:"Siguiente",Last:"Último",Page:"Página",FirstPageTooltip:"Primera página",PreviousPageTooltip:"Página anterior",NextPageTooltip:"Página siguiente",LastPageTooltip:"Última página",Refresh:"Refrescar",Of:"de",DisplayingRecords:"Resultados",RowsPerPage:"Lineas por página:",Edit:"Modificar",Delete:"Eliminar",Update:"Actualizar",Cancel:"Cancelar",NoRecordsFound:"No se encontraron registros.",Loading:"Cargando..."},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.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."],weekDaysMin:["D","L","M","M","J","V","S"],weekDaysShort:["dom","lun","mar","mié","jue","vie","sáb"],weekDays:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"};

@@ -44,9 +44,6 @@ gj.dialog.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.timepicker.messages['fr-fr'] = {
monthShortNames: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
weekDaysMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
weekDaysShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
weekDays: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["fr-fr"]={Close:"Fermer",DefaultTitle:"Dialogue"},gj.grid.messages["fr-fr"]={First:"Premier",Previous:"Précédent",Next:"Prochain",Last:"Dernier",Page:"Page",FirstPageTooltip:"Première page",PreviousPageTooltip:"Page précédente",NextPageTooltip:"Page suivante",LastPageTooltip:"Dernière page",Refresh:"Rafraîchir",Of:"de",DisplayingRecords:"Résultats",RowsPerPage:"Lignes par page:",Edit:"Modifier",Delete:"Effacer",Update:"Mettre à jour",Cancel:"Annuler",NoRecordsFound:"Aucun enregistrement trouvé.",Loading:"Chargement..."},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.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.timepicker.messages["fr-fr"]={am:"AM",pm:"PM",ok:"OK",cancel:"Annuler"};
gj.dialog.messages["fr-fr"]={Close:"Fermer",DefaultTitle:"Dialogue"},gj.grid.messages["fr-fr"]={First:"Premier",Previous:"Précédent",Next:"Prochain",Last:"Dernier",Page:"Page",FirstPageTooltip:"Première page",PreviousPageTooltip:"Page précédente",NextPageTooltip:"Page suivante",LastPageTooltip:"Dernière page",Refresh:"Rafraîchir",Of:"de",DisplayingRecords:"Résultats",RowsPerPage:"Lignes par page:",Edit:"Modifier",Delete:"Effacer",Update:"Mettre à jour",Cancel:"Annuler",NoRecordsFound:"Aucun enregistrement trouvé.",Loading:"Chargement..."},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.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."],weekDaysMin:["D","L","M","M","J","V","S"],weekDaysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],weekDays:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],am:"AM",pm:"PM",ok:"OK",cancel:"Annuler"};

@@ -44,9 +44,6 @@ gj.dialog.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']
};
gj.timepicker.messages['it-it'] = {
monthShortNames: ['gen.', 'feb.', 'mar.', 'apr.', 'mag.', 'giu.', 'lug.', 'ago.', 'set.', 'ott.', 'nov.', 'dic.'],
weekDaysMin: ['Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa'],
weekDaysShort: ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven','Sab'],
weekDays: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["it-it"]={Close:"Chiudi",DefaultTitle:"Dialogo"},gj.grid.messages["it-it"]={First:"Primo",Previous:"Precedente",Next:"Successivo",Last:"Ultimo",Page:"Pagina",FirstPageTooltip:"Prima pagina",PreviousPageTooltip:"Pagina precedente",NextPageTooltip:"Pagina successiva",LastPageTooltip:"Ultima pagina",Refresh:"Aggiorna",Of:"di",DisplayingRecords:"Risultati",RowsPerPage:"Righe per pagina:",Edit:"Modifica",Delete:"Cancella",Update:"Aggiorna",Cancel:"Annulla",NoRecordsFound:"Nessun record trovato.",Loading:"Caricamento..."},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"},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"]},gj.timepicker.messages["it-it"]={am:"AM",pm:"PM",ok:"OK",cancel:"Annulla"};
gj.dialog.messages["it-it"]={Close:"Chiudi",DefaultTitle:"Dialogo"},gj.grid.messages["it-it"]={First:"Primo",Previous:"Precedente",Next:"Successivo",Last:"Ultimo",Page:"Pagina",FirstPageTooltip:"Prima pagina",PreviousPageTooltip:"Pagina precedente",NextPageTooltip:"Pagina successiva",LastPageTooltip:"Ultima pagina",Refresh:"Aggiorna",Of:"di",DisplayingRecords:"Risultati",RowsPerPage:"Righe per pagina:",Edit:"Modifica",Delete:"Cancella",Update:"Aggiorna",Cancel:"Annulla",NoRecordsFound:"Nessun record trovato.",Loading:"Caricamento..."},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"},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."],weekDaysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekDaysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],weekDays:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],am:"AM",pm:"PM",ok:"OK",cancel:"Annulla"};

@@ -44,10 +44,6 @@ gj.dialog.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: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb']
weekDays: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S']
};
gj.timepicker.messages['pt-br'] = {
monthShortNames: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
weekDaysMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
weekDaysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
weekDays: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'],
am: 'AM',

@@ -54,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["pt-br"]={Close:"Fechar",DefaultTitle:"Caixa de diálogo"},gj.grid.messages["pt-br"]={First:"Primeiro",Previous:"Anterior",Next:"Próximo",Last:"Último",Page:"Página",FirstPageTooltip:"Primeira página",PreviousPageTooltip:"Página anterior",NextPageTooltip:"Próxima página",LastPageTooltip:"Última Página",Refresh:"Atualizar",Of:"de",DisplayingRecords:"Mostrando registros",RowsPerPage:"Linhas por página:",Edit:"Editar",Delete:"Excluir",Update:"Alterar",Cancel:"Cancelar",NoRecordsFound:"Nenhum registro encontrado.",Loading:"Carregando..."},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.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.timepicker.messages["pt-br"]={am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"};
gj.dialog.messages["pt-br"]={Close:"Fechar",DefaultTitle:"Caixa de diálogo"},gj.grid.messages["pt-br"]={First:"Primeiro",Previous:"Anterior",Next:"Próximo",Last:"Último",Page:"Página",FirstPageTooltip:"Primeira página",PreviousPageTooltip:"Página anterior",NextPageTooltip:"Próxima página",LastPageTooltip:"Última Página",Refresh:"Atualizar",Of:"de",DisplayingRecords:"Mostrando registros",RowsPerPage:"Linhas por página:",Edit:"Editar",Delete:"Excluir",Update:"Alterar",Cancel:"Cancelar",NoRecordsFound:"Nenhum registro encontrado.",Loading:"Carregando..."},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.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"],weekDaysMin:["D","S","T","Q","Q","S","S"],weekDaysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekDays:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"};

@@ -44,9 +44,6 @@ gj.dialog.messages['ru-ru'] = {

monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
monthShortNames: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек']
};
gj.datepicker.messages['ru-ru'] = {
weekDays: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб']
};
gj.timepicker.messages['ru-ru'] = {
monthShortNames: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
weekDaysMin: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
weekDaysShort: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'сбт'],
weekDays: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
am: 'AM',

@@ -53,0 +50,0 @@ pm: 'PM',

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

gj.dialog.messages["ru-ru"]={Close:"Закрыть",DefaultTitle:"Сообщение"},gj.grid.messages["ru-ru"]={First:"Первый",Previous:"Предыдущий",Next:"Следующий",Last:"Последний",Page:"Страница",FirstPageTooltip:"Первая страница",PreviousPageTooltip:"Предыдущая страница",NextPageTooltip:"Следущая страница",LastPageTooltip:"Последняя страница",Refresh:"Обновить",Of:"от",DisplayingRecords:"Показать записи",RowsPerPage:"Записей на странице:",Edit:"Изменить",Delete:"Удалить",Update:"Обновить",Cancel:"Отмена",NoRecordsFound:"Нет ни одной записи.",Loading:"Загрузка..."},gj.editor.messages["ru-ru"]={bold:"Жирный",italic:"Курсив",strikethrough:"Зачеркнутый",underline:"Подчеркнутый",listBulleted:"Список",listNumbered:"Нумерованный список",indentDecrease:"Уменьшить отступ",indentIncrease:"Увеличить отступ",alignLeft:"Выровнять по левому краю",alignCenter:"Выровнять по центру",alignRight:"Выровнять по правому краю",alignJustify:"Выровнять по ширине",undo:"Назад",redo:"Вперед"},gj.core.messages["ru-ru"]={monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthShortNames:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"]},gj.datepicker.messages["ru-ru"]={weekDays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]},gj.timepicker.messages["ru-ru"]={am:"AM",pm:"PM",ok:"ОК",cancel:"Отмена"};
gj.dialog.messages["ru-ru"]={Close:"Закрыть",DefaultTitle:"Сообщение"},gj.grid.messages["ru-ru"]={First:"Первый",Previous:"Предыдущий",Next:"Следующий",Last:"Последний",Page:"Страница",FirstPageTooltip:"Первая страница",PreviousPageTooltip:"Предыдущая страница",NextPageTooltip:"Следущая страница",LastPageTooltip:"Последняя страница",Refresh:"Обновить",Of:"от",DisplayingRecords:"Показать записи",RowsPerPage:"Записей на странице:",Edit:"Изменить",Delete:"Удалить",Update:"Обновить",Cancel:"Отмена",NoRecordsFound:"Нет ни одной записи.",Loading:"Загрузка..."},gj.editor.messages["ru-ru"]={bold:"Жирный",italic:"Курсив",strikethrough:"Зачеркнутый",underline:"Подчеркнутый",listBulleted:"Список",listNumbered:"Нумерованный список",indentDecrease:"Уменьшить отступ",indentIncrease:"Увеличить отступ",alignLeft:"Выровнять по левому краю",alignCenter:"Выровнять по центру",alignRight:"Выровнять по правому краю",alignJustify:"Выровнять по ширине",undo:"Назад",redo:"Вперед"},gj.core.messages["ru-ru"]={monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthShortNames:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],weekDaysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekDaysShort:["вск","пнд","втр","срд","чтв","птн","сбт"],weekDays:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],am:"AM",pm:"PM",ok:"ОК",cancel:"Отмена"};
/*
* Gijgo Checkbox v1.9.3
* Gijgo Checkbox v1.9.4
* http://gijgo.com/checkbox
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

/*
* Gijgo JavaScript Library v1.9.3
* Gijgo JavaScript Library v1.9.4
* http://gijgo.com/
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -252,4 +252,10 @@ */

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']
monthShortNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
weekDaysMin: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
weekDaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
weekDays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
am: 'AM',
pm: 'PM',
ok: 'Ok',
cancel: 'Cancel'
}

@@ -303,4 +309,6 @@ },

formatParts = format.split(/[\s,-\.//\:]+/),
separators = format.replace(/[shtdmyHTDMY]/g, '');
separators = format.split(/s+|M+|H+|h+|t+|T+|d+|m+|y+/);
separators = separators.splice(1, separators.length - 2);
for (i = 0; i < formatParts.length; i++) {

@@ -344,5 +352,11 @@ separator = (separators[i] || '');

break;
case 'dd' :
case 'dd':
result += gj.core.pad(date.getDate()) + separator;
break;
case 'ddd':
result += gj.core.messages[locale || 'en-us'].weekDaysShort[date.getDay()] + separator;
break;
case 'dddd':
result += gj.core.messages[locale || 'en-us'].weekDays[date.getDay()] + separator;
break;
case 'm' :

@@ -418,8 +432,8 @@ result += (date.getMonth() + 1) + separator;

if (style.lineHeight === 'normal') {
if (style.boxSizing === 'border-box') { // border-box include padding and border within the height
result = parseInt(style.height, 10);
} else {
result = parseInt(style.height, 10);
result += parseInt(style.paddingTop || 0, 10) + parseInt(style.paddingBottom || 0, 10);
result += parseInt(style.borderTop || 0, 10) + parseInt(style.borderBottom || 0, 10);
} else {
result = parseInt(style.height, 10);
}

@@ -437,8 +451,8 @@

if (style.lineHeight === 'normal') {
if (style.boxSizing === 'border-box') { // border-box include padding and border within the width
result = parseInt(style.width, 10);
} else {
result = parseInt(style.width, 10);
result += parseInt(style.paddingLeft || 0, 10) + parseInt(style.paddingRight || 0, 10);
result += parseInt(style.borderLeft || 0, 10) + parseInt(style.borderRight || 0, 10);
} else {
result = parseInt(style.width, 10);
}

@@ -453,1 +467,78 @@

};
gj.core.messages['bg-bg'] = {
monthNames: ['Януари', 'Февруари', 'Март', 'Април', 'Май', 'Юни', 'Юли', 'Август', 'Септември', 'Октомври', 'Ноември', 'Декември'],
monthShortNames: ['Яну', 'Фев', 'Мар', 'Апр', 'Май', 'Юни', 'Юли', 'Авг', 'Сеп', 'ОКт', 'Ное', 'Дек'],
weekDaysMin: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'],
weekDaysShort: ['Нед', 'Пон', 'Вто', 'Сря', 'Чет', 'Пет', 'Съб'],
weekDays: ['Неделя', 'Понеделник', 'Вторник', 'Сряда', 'Четвъртък', 'Петък', 'Събота'],
am: 'AM',
pm: 'PM',
ok: 'ОК',
cancel: 'Отказ'
};
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.'],
weekDaysMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
weekDaysShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
weekDays: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Annuler'
};
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'],
weekDaysMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
weekDaysShort: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
weekDays: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Abbrechen'
};
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'],
weekDaysMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
weekDaysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
weekDays: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'],
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Cancelar'
};
gj.core.messages['ru-ru'] = {
monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
monthShortNames: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
weekDaysMin: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
weekDaysShort: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'сбт'],
weekDays: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
am: 'AM',
pm: 'PM',
ok: 'ОК',
cancel: 'Отмена'
};
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.'],
weekDaysMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
weekDaysShort: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'],
weekDays: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Cancelar'
};
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.'],
weekDaysMin: ['Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa'],
weekDaysShort: ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven','Sab'],
weekDays: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
am: 'AM',
pm: 'PM',
ok: 'OK',
cancel: 'Annulla'
};

@@ -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),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}};
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"],weekDaysMin:["S","M","T","W","T","F","S"],weekDaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekDays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],am:"AM",pm:"PM",ok:"Ok",cancel:"Cancel"}},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.split(/s+|M+|H+|h+|t+|T+|d+|m+|y+/);for(h=h.splice(1,h.length-2),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"ddd":f+=gj.core.messages[c||"en-us"].weekDaysShort[a.getDay()]+d;break;case"dddd":f+=gj.core.messages[c||"en-us"].weekDays[a.getDay()]+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"border-box"===d.boxSizing?c=parseInt(d.height,10):(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)),b&&(c+=parseInt(d.marginTop||0,10)+parseInt(d.marginBottom||0,10)),c},width:function(a,b){var c,d=window.getComputedStyle(a);return"border-box"===d.boxSizing?c=parseInt(d.width,10):(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)),b&&(c+=parseInt(d.marginLeft||0,10)+parseInt(d.marginRight||0,10)),c}},gj.core.messages["bg-bg"]={monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthShortNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","ОКт","Ное","Дек"],weekDaysMin:["Н","П","В","С","Ч","П","С"],weekDaysShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],weekDays:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],am:"AM",pm:"PM",ok:"ОК",cancel:"Отказ"},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."],weekDaysMin:["D","L","M","M","J","V","S"],weekDaysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],weekDays:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],am:"AM",pm:"PM",ok:"OK",cancel:"Annuler"},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"],weekDaysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekDaysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],weekDays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],am:"AM",pm:"PM",ok:"OK",cancel:"Abbrechen"},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"],weekDaysMin:["D","S","T","Q","Q","S","S"],weekDaysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekDays:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"},gj.core.messages["ru-ru"]={monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthShortNames:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],weekDaysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekDaysShort:["вск","пнд","втр","срд","чтв","птн","сбт"],weekDays:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],am:"AM",pm:"PM",ok:"ОК",cancel:"Отмена"},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."],weekDaysMin:["D","L","M","M","J","V","S"],weekDaysShort:["dom","lun","mar","mié","jue","vie","sáb"],weekDays:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],am:"AM",pm:"PM",ok:"OK",cancel:"Cancelar"},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."],weekDaysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekDaysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],weekDays:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],am:"AM",pm:"PM",ok:"OK",cancel:"Annulla"};
/*
* Gijgo DatePicker v1.9.3
* Gijgo DatePicker v1.9.4
* http://gijgo.com/datepicker
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -10,8 +10,3 @@ */

/** */ gj.datepicker = {
plugins: {},
messages: {
'en-us': {
weekDays: ['S', 'M', 'T', 'W', 'T', 'F', 'S']
}
}
plugins: {}
};

@@ -28,3 +23,3 @@

/** The minimum selectable date. When not set, there is no minimum */ minDate: undefined,
/** The minimum selectable date. When not set, there is no minimum. */ minDate: undefined,

@@ -65,6 +60,15 @@ /** The maximum selectable date. When not set, there is no maximum */ maxDate: undefined,

/** If set to true, the datepicker will have modal behavior. */ modal: false,
/** If set to true, add header to the datepicker. */ header: false,
/** If set to true, add footer with ok and cancel buttons to the datepicker. */ footer: false,
style: {
modal: 'gj-modal',
wrapper: 'gj-datepicker gj-datepicker-md gj-unselectable',
input: 'gj-textbox-md',
calendar: 'gj-calendar gj-calendar-md'
calendar: 'gj-picker gj-picker-md datepicker gj-unselectable',
footer: '',
button: 'gj-button-md'
}

@@ -77,3 +81,5 @@ },

input: 'form-control',
calendar: 'gj-calendar gj-calendar-bootstrap'
calendar: 'gj-picker gj-picker-bootstrap datepicker gj-unselectable',
footer: 'modal-footer',
button: 'btn btn-default'
},

@@ -88,3 +94,5 @@ iconsLibrary: 'glyphicons',

input: 'form-control',
calendar: 'gj-calendar gj-calendar-bootstrap'
calendar: 'gj-picker gj-picker-bootstrap datepicker gj-unselectable',
footer: 'modal-footer',
button: 'btn btn-default'
},

@@ -115,8 +123,8 @@ showOtherMonths: true

this.attr('data-datepicker', 'true');
gj.datepicker.methods.initialize(this);
gj.datepicker.methods.initialize(this, this.data());
return this;
},
initialize: function ($datepicker) {
var data = $datepicker.data(), $calendar, $rightIcon,
initialize: function ($datepicker, data) {
var $calendar, $rightIcon,
$wrapper = $datepicker.parent('div[role="wrapper"]');

@@ -164,30 +172,38 @@

$rightIcon.on('click', function (e) {
var $calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
var $calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
if ($calendar.is(':visible')) {
gj.datepicker.methods.close($datepicker);
} else {
gj.datepicker.methods.open($datepicker);
gj.datepicker.methods.open($datepicker, data);
}
});
$wrapper.append($rightIcon);
$datepicker.on('blur', function () {
$datepicker.timeout = setTimeout(function () {
gj.datepicker.methods.close($datepicker);
}, 500);
});
$calendar = gj.datepicker.methods.createCalendar($datepicker, data);
$wrapper.append($rightIcon);
if (data.footer !== true) {
$datepicker.on('blur', function () {
$datepicker.timeout = setTimeout(function () {
gj.datepicker.methods.close($datepicker);
}, 500);
});
$calendar.mousedown(function () {
clearTimeout($datepicker.timeout);
$datepicker.focus();
return false;
});
$calendar.on('click', function () {
clearTimeout($datepicker.timeout);
$datepicker.focus();
});
}
$calendar = gj.datepicker.methods.createCalendar($datepicker);
if (data.keyboardNavigation) {
$datepicker.on('keydown', gj.datepicker.methods.createKeyDownHandler($datepicker, $calendar));
$(document).on('keydown', gj.datepicker.methods.createKeyDownHandler($datepicker, $calendar, data));
}
},
createCalendar: function ($datepicker) {
var date, $navigator, data = $datepicker.data(),
$calendar = $('<div role="calendar" type="month"/>').addClass(data.style.calendar).attr('guid', $datepicker.attr('data-guid')),
$table = $('<table/>'),
$thead = $('<thead/>');
createCalendar: function ($datepicker, data) {
var date, $body, $footer, $btnCancel, $btnOk,
$calendar = $('<div role="calendar" type="month"/>').addClass(data.style.calendar).attr('guid', $datepicker.attr('data-guid'));

@@ -203,11 +219,83 @@ data.fontSize && $calendar.css('font-size', data.fontSize);

$datepicker.attr('month', date.getMonth());
$datepicker.attr('year', date.getFullYear());
$calendar.attr('month', date.getMonth());
$calendar.attr('year', date.getFullYear());
gj.datepicker.methods.renderHeader($datepicker, $calendar, data, date);
$body = $('<div role="body" />');
$calendar.append($body);
if (data.footer) {
$footer = $('<div role="footer" class="' + data.style.footer + '" />');
$btnCancel = $('<button class="' + data.style.button + '">' + gj.core.messages[data.locale].cancel + '</button>');
$btnCancel.on('click', function () { $datepicker.close(); });
$footer.append($btnCancel);
$btnOk = $('<button class="' + data.style.button + '">' + gj.core.messages[data.locale].ok + '</button>');
$btnOk.on('click', function () {
var date, dayArr, dayStr = $calendar.attr('selectedDay');
if (dayStr) {
dayArr = dayStr.split('-');
date = new Date(dayArr[0], dayArr[1], dayArr[2], $calendar.attr('hour') || 0, $calendar.attr('minute') || 0);
gj.datepicker.methods.change($datepicker, $calendar, data, date);
} else {
$datepicker.close();
}
});
$footer.append($btnOk);
$calendar.append($footer);
}
$calendar.hide();
$('body').append($calendar);
if (data.modal) {
$calendar.wrapAll('<div role="modal" class="' + data.style.modal + '"/>');
gj.core.center($calendar);
}
return $calendar;
},
renderHeader: function ($datepicker, $calendar, data, date) {
var $header, $date, $year;
if (data.header) {
$header = $('<div role="header" />');
$year = $('<div role="year" />').on('click', function () {
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
$year.addClass('selected');
$date.removeClass('selected');
});
$year.html(gj.core.formatDate(date, 'yyyy', data.locale));
$header.append($year);
$date = $('<div role="date" class="selected" />').on('click', function () {
gj.datepicker.methods.renderMonth($datepicker, $calendar, data);
$date.addClass('selected');
$year.removeClass('selected');
});
$date.html(gj.core.formatDate(date, 'ddd, mmm dd', data.locale));
$header.append($date);
$calendar.append($header);
}
},
updateHeader: function ($calendar, data, date) {
$calendar.find('[role="header"] [role="year"]').removeClass('selected').html(gj.core.formatDate(date, 'yyyy', data.locale));
$calendar.find('[role="header"] [role="date"]').addClass('selected').html(gj.core.formatDate(date, 'ddd, mmm dd', data.locale));
$calendar.find('[role="header"] [role="hour"]').removeClass('selected').html(gj.core.formatDate(date, 'HH', data.locale));
$calendar.find('[role="header"] [role="minute"]').removeClass('selected').html(gj.core.formatDate(date, 'MM', data.locale));
},
createNavigation: function ($datepicker, $body, $table, data) {
var $row, $navigator, $thead = $('<thead/>');
$navigator = $('<div role="navigator" />');
$navigator.append($('<div>' + data.icons.previousMonth + '</div>').on('click', gj.datepicker.methods.prev($datepicker)));
$navigator.append($('<div role="period"></div>').on('click', gj.datepicker.methods.changePeriod($datepicker)));
$navigator.append($('<div>' + data.icons.nextMonth + '</div>').on('click', gj.datepicker.methods.next($datepicker)));
$calendar.append($navigator);
$navigator.append($('<div>' + data.icons.previousMonth + '</div>').on('click', gj.datepicker.methods.prev($datepicker, data)));
$navigator.append($('<div role="period"></div>').on('click', gj.datepicker.methods.changePeriod($datepicker, data)));
$navigator.append($('<div>' + data.icons.nextMonth + '</div>').on('click', gj.datepicker.methods.next($datepicker, data)));
$body.append($navigator);
$row = $('<tr role="week-days" />');

@@ -217,7 +305,7 @@ if (data.calendarWeeks) {

}
for (i = data.weekStartDay; i < gj.datepicker.messages[data.locale].weekDays.length; i++) {
$row.append('<th><div>' + gj.datepicker.messages[data.locale].weekDays[i] + '</div></th>');
for (i = data.weekStartDay; i < gj.core.messages[data.locale].weekDaysMin.length; i++) {
$row.append('<th><div>' + gj.core.messages[data.locale].weekDaysMin[i] + '</div></th>');
}
for (i = 0; i < data.weekStartDay; i++) {
$row.append('<th><div>' + gj.datepicker.messages[data.locale].weekDays[i] + '</div></th>');
$row.append('<th><div>' + gj.core.messages[data.locale].weekDaysMin[i] + '</div></th>');
}

@@ -227,28 +315,16 @@ $thead.append($row);

$table.append($thead);
$table.append('<tbody/>');
$calendar.append($table);
$calendar.hide();
$('body').append($calendar);
return $calendar;
},
renderMonth: function ($datepicker) {
renderMonth: function ($datepicker, $calendar, data) {
var weekDay, selectedDay, day, month, year, daysInMonth, total, firstDayPosition, i, now, prevMonth, nextMonth, $cell, $day, date,
data = $datepicker.data(),
$calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]'),
$table = $calendar.children('table'),
$tbody = $table.children('tbody');
$body = $calendar.children('[role="body"]'),
$table = $('<table/>'),
$tbody = $('<tbody/>');
$body.off().empty();
gj.datepicker.methods.createNavigation($datepicker, $body, $table, data);
month = parseInt($calendar.attr('month'), 10);
year = parseInt($calendar.attr('year'), 10);
clearTimeout($datepicker.timeout);
$table.children('thead').show();
if ($datepicker.attr('day')) {
selectedDay = $datepicker.attr('day').split('-');
selectedDay = new Date(selectedDay[0], selectedDay[1], selectedDay[2]);
} else {
selectedDay = new Date(undefined);
}
month = parseInt($datepicker.attr('month'), 10);
year = parseInt($datepicker.attr('year'), 10);
$calendar.attr('type', 'month');

@@ -265,4 +341,2 @@ $calendar.find('div[role="period"]').text(gj.core.messages[data.locale].monthNames[month] + ' ' + year);

$tbody.empty();
weekDay = 0;

@@ -275,9 +349,5 @@ $row = $('<tr />');

if (data.calendarWeeks && i === 1) {
$row.append('<td><div>' + gj.datepicker.methods.getWeekNumber(date) + '</div></td>');
$row.append('<td class="calendar-week"><div>' + gj.datepicker.methods.getWeekNumber(date) + '</div></td>');
}
if (prevMonth.year === selectedDay.getFullYear() && prevMonth.month === selectedDay.getMonth() && day === selectedDay.getDate()) {
$cell = $('<td class="selected" />');
} else {
$cell = $('<td class="other-month" />');
}
$cell = $('<td class="other-month" />');
if (data.showOtherMonths) {

@@ -287,4 +357,5 @@ $day = $('<div>' + day + '</div>');

if (data.selectOtherMonths && gj.datepicker.methods.isSelectable(data, date)) {
$cell.addClass('gj-cursor-pointer');
$day.on('click', gj.datepicker.methods.select($datepicker, $calendar, date));
$cell.addClass('gj-cursor-pointer').attr('day', day).attr('month', prevMonth.month).attr('year', prevMonth.year);
$day.on('click', gj.datepicker.methods.dayClickHandler($datepicker, $calendar, data, date));
$day.on('mousedown', function (e) { e.stopPropagation() });
} else {

@@ -307,9 +378,7 @@ $cell.addClass('disabled');

if (data.calendarWeeks) {
$row.append('<td><div>' + gj.datepicker.methods.getWeekNumber(date) + '</div></td>');
$row.append('<td class="calendar-week"><div>' + gj.datepicker.methods.getWeekNumber(date) + '</div></td>');
}
}
$cell = $('<td day="' + i + '" />');
if (year === selectedDay.getFullYear() && month === selectedDay.getMonth() && i === selectedDay.getDate()) {
$cell.addClass('selected');
} else if (year === now.getFullYear() && month === now.getMonth() && i === now.getDate()) {
$cell = $('<td day="' + i + '" month="' + month + '" year="' + year + '" />');
if (year === now.getFullYear() && month === now.getMonth() && i === now.getDate()) {
$cell.addClass('today');

@@ -322,3 +391,4 @@ } else {

$cell.addClass('gj-cursor-pointer');
$day.on('click', gj.datepicker.methods.select($datepicker, $calendar, date));
$day.on('click', gj.datepicker.methods.dayClickHandler($datepicker, $calendar, data, date));
$day.on('mousedown', function (e) { e.stopPropagation() });
} else {

@@ -339,16 +409,13 @@ $cell.addClass('disabled');

date = new Date(nextMonth.year, nextMonth.month, i);
if (nextMonth.year === selectedDay.getFullYear() && nextMonth.month === selectedDay.getMonth() && i === selectedDay.getDate()) {
$cell = $('<td class="selected" />');
} else {
$cell = $('<td class="other-month" />');
}
$cell = $('<td class="other-month" />');
if (data.showOtherMonths) {
$day = $('<div>' + i + '</div>');
$cell.append($day);
if (data.selectOtherMonths && gj.datepicker.methods.isSelectable(data, date)) {
$cell.addClass('gj-cursor-pointer');
$day.on('click', gj.datepicker.methods.select($datepicker, $calendar, date));
$cell.addClass('gj-cursor-pointer').attr('day', i).attr('month', nextMonth.month).attr('year', nextMonth.year);
$day.on('click', gj.datepicker.methods.dayClickHandler($datepicker, $calendar, data, date));
$day.on('mousedown', function (e) { e.stopPropagation() });
} else {
$cell.addClass('disabled');
}
$cell.append($day);
}

@@ -362,14 +429,22 @@ $row.append($cell);

}
$table.append($tbody);
$body.append($table);
if ($calendar.attr('selectedDay')) {
selectedDay = $calendar.attr('selectedDay').split('-');
date = new Date(selectedDay[0], selectedDay[1], selectedDay[2], $calendar.attr('hour') || 0, $calendar.attr('minute') || 0);
$calendar.find('tbody td[day="' + selectedDay[2] + '"][month="' + selectedDay[1] + '"]').addClass('selected');
gj.datepicker.methods.updateHeader($calendar, data, date);
}
},
renderYear: function ($datepicker, $calendar) {
renderYear: function ($datepicker, $calendar, data) {
var year, i, m, $month,
data = $datepicker.data(),
$table = $calendar.children('table'),
$table = $calendar.find('>[role="body"]>table'),
$tbody = $table.children('tbody');
clearTimeout($datepicker.timeout);
$table.children('thead').hide();
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);

@@ -385,3 +460,3 @@ $calendar.attr('type', 'year');

$month = $('<div>' + gj.core.messages[data.locale].monthShortNames[m] + '</div>');
$month.on('click', gj.datepicker.methods.selectMonth($datepicker, $calendar, m));
$month.on('click', gj.datepicker.methods.selectMonth($datepicker, $calendar, data, m));
$cell = $('<td></td>').append($month);

@@ -392,15 +467,12 @@ $row.append($cell);

}
$datepicker.focus();
},
renderDecade: function ($datepicker, $calendar) {
renderDecade: function ($datepicker, $calendar, data) {
var year, decade, i, y, $year,
$table = $calendar.children('table'),
$table = $calendar.find('>[role="body"]>table'),
$tbody = $table.children('tbody');
clearTimeout($datepicker.timeout);
$table.children('thead').hide();
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
decade = year - (year % 10);

@@ -417,3 +489,3 @@

$year = $('<div>' + y + '</div>');
$year.on('click', gj.datepicker.methods.selectYear($datepicker, $calendar, y));
$year.on('click', gj.datepicker.methods.selectYear($datepicker, $calendar, data, y));
$cell = $('<td></td>').append($year);

@@ -424,15 +496,12 @@ $row.append($cell);

}
$datepicker.focus();
},
renderCentury: function ($datepicker, $calendar) {
renderCentury: function ($datepicker, $calendar, data) {
var year, century, i, d, $decade,
$table = $calendar.children('table'),
$table = $calendar.find('>[role="body"]>table'),
$tbody = $table.children('tbody');
clearTimeout($datepicker.timeout);
$table.children('thead').hide();
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
century = year - (year % 100);

@@ -449,3 +518,3 @@

$decade = $('<div>' + d + '</div>');
$decade.on('click', gj.datepicker.methods.selectDecade($datepicker, $calendar, d));
$decade.on('click', gj.datepicker.methods.selectDecade($datepicker, $calendar, data, d));
$cell = $('<td></td>').append($decade);

@@ -456,4 +525,2 @@ $row.append($cell);

}
$datepicker.focus();
},

@@ -550,94 +617,86 @@

prev: function ($datepicker) {
prev: function ($datepicker, data) {
return function () {
var date, month, year, decade, century,
$calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
$calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
switch ($calendar.attr('type')) {
case 'month':
month = parseInt($datepicker.attr('month'), 10);
year = parseInt($datepicker.attr('year'), 10);
month = parseInt($calendar.attr('month'), 10);
year = parseInt($calendar.attr('year'), 10);
date = gj.datepicker.methods.getPrevMonth(month, year);
$datepicker.attr('month', date.month);
$datepicker.attr('year', date.year);
gj.datepicker.methods.renderMonth($datepicker);
$calendar.attr('month', date.month);
$calendar.attr('year', date.year);
gj.datepicker.methods.renderMonth($datepicker, $calendar, data);
break;
case 'year':
year = parseInt($datepicker.attr('year'), 10);
$datepicker.attr('year', year - 1);
gj.datepicker.methods.renderYear($datepicker, $calendar);
year = parseInt($calendar.attr('year'), 10);
$calendar.attr('year', year - 1);
gj.datepicker.methods.renderYear($datepicker, $calendar, data);
break;
case 'decade':
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
decade = year - (year % 10);
$datepicker.attr('year', decade - 10);
gj.datepicker.methods.renderDecade($datepicker, $calendar);
$calendar.attr('year', decade - 10);
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
break;
case 'century':
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
century = year - (year % 100);
$datepicker.attr('year', century - 100);
gj.datepicker.methods.renderCentury($datepicker, $calendar);
$calendar.attr('year', century - 100);
gj.datepicker.methods.renderCentury($datepicker, $calendar, data);
break;
}
$datepicker.focus();
}
},
next: function ($datepicker) {
next: function ($datepicker, data) {
return function () {
var date, month, year, decade, century,
$calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
$calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
switch ($calendar.attr('type')) {
case 'month':
month = parseInt($datepicker.attr('month'), 10);
year = parseInt($datepicker.attr('year'), 10);
month = parseInt($calendar.attr('month'), 10);
year = parseInt($calendar.attr('year'), 10);
date = gj.datepicker.methods.getNextMonth(month, year);
$datepicker.attr('month', date.month);
$datepicker.attr('year', date.year);
gj.datepicker.methods.renderMonth($datepicker);
$calendar.attr('month', date.month);
$calendar.attr('year', date.year);
gj.datepicker.methods.renderMonth($datepicker, $calendar, data);
break;
case 'year':
year = parseInt($datepicker.attr('year'), 10);
$datepicker.attr('year', year + 1);
gj.datepicker.methods.renderYear($datepicker, $calendar);
year = parseInt($calendar.attr('year'), 10);
$calendar.attr('year', year + 1);
gj.datepicker.methods.renderYear($datepicker, $calendar, data);
break;
case 'decade':
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
decade = year - (year % 10);
$datepicker.attr('year', decade + 10);
gj.datepicker.methods.renderDecade($datepicker, $calendar);
$calendar.attr('year', decade + 10);
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
break;
case 'century':
year = parseInt($datepicker.attr('year'), 10);
year = parseInt($calendar.attr('year'), 10);
century = year - (year % 100);
$datepicker.attr('year', century + 100);
gj.datepicker.methods.renderCentury($datepicker, $calendar);
$calendar.attr('year', century + 100);
gj.datepicker.methods.renderCentury($datepicker, $calendar, data);
break;
}
$datepicker.focus();
}
},
changePeriod: function ($datepicker) {
changePeriod: function ($datepicker, data) {
return function (e) {
var $calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
var $calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
switch ($calendar.attr('type')) {
case 'month':
gj.datepicker.methods.renderYear($datepicker, $calendar);
gj.datepicker.methods.renderYear($datepicker, $calendar, data);
break;
case 'year':
gj.datepicker.methods.renderDecade($datepicker, $calendar);
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
break;
case 'decade':
gj.datepicker.methods.renderCentury($datepicker, $calendar);
gj.datepicker.methods.renderCentury($datepicker, $calendar, data);
break;
case 'century':
clearTimeout($datepicker.timeout);
$datepicker.focus();
break;
}

@@ -647,16 +706,8 @@ }

select: function ($datepicker, $calendar, date) {
dayClickHandler: function ($datepicker, $calendar, data, date) {
return function (e) {
var value,
month = date.getMonth(),
year = date.getFullYear(),
data = $datepicker.data();
value = gj.core.formatDate(date, data.format, data.locale);
$datepicker.val(value);
gj.datepicker.events.change($datepicker);
$datepicker.attr('day', year + '-' + month + '-' + date.getDate());
$datepicker.attr('month', month);
$datepicker.attr('year', year);
if (window.getComputedStyle($calendar[0]).display !== 'none') {
gj.datepicker.methods.close($datepicker);
e && e.stopPropagation();
gj.datepicker.methods.selectDay($datepicker, $calendar, data, date);
if (data.footer !== true && data.autoClose !== false) {
gj.datepicker.methods.change($datepicker, $calendar, data, date);
}

@@ -667,27 +718,53 @@ return $datepicker;

selectMonth: function ($datepicker, $calendar, month) {
change: function ($datepicker, $calendar, data, date) {
var day = date.getDate(),
month = date.getMonth(),
year = date.getFullYear(),
value = gj.core.formatDate(date, data.format, data.locale);
$calendar.attr('month', month);
$calendar.attr('year', year);
$datepicker.val(value);
gj.datepicker.events.change($datepicker);
if (window.getComputedStyle($calendar[0]).display !== 'none') {
gj.datepicker.methods.close($datepicker);
}
},
selectDay: function ($datepicker, $calendar, data, date) {
var day = date.getDate(),
month = date.getMonth(),
year = date.getFullYear();
$calendar.attr('selectedDay', year + '-' + month + '-' + day);
$calendar.find('tbody td').removeClass('selected');
$calendar.find('tbody td[day="' + day + '"][month="' + month + '"]').addClass('selected');
gj.datepicker.methods.updateHeader($calendar, data, date);
gj.datepicker.events.select($datepicker, 'day');
},
selectMonth: function ($datepicker, $calendar, data, month) {
return function (e) {
$datepicker.attr('month', month);
gj.datepicker.methods.renderMonth($datepicker);
$calendar.attr('month', month);
gj.datepicker.methods.renderMonth($datepicker, $calendar, data);
gj.datepicker.events.select($datepicker, 'month');
};
},
selectYear: function ($datepicker, $calendar, year) {
selectYear: function ($datepicker, $calendar, data, year) {
return function (e) {
$datepicker.attr('year', year);
gj.datepicker.methods.renderYear($datepicker, $calendar);
$calendar.attr('year', year);
gj.datepicker.methods.renderYear($datepicker, $calendar, data);
gj.datepicker.events.select($datepicker, 'year');
};
},
selectDecade: function ($datepicker, $calendar, year) {
selectDecade: function ($datepicker, $calendar, data, year) {
return function (e) {
$datepicker.attr('year', year);
gj.datepicker.methods.renderDecade($datepicker, $calendar);
$calendar.attr('year', year);
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
gj.datepicker.events.select($datepicker, 'decade');
};
},
open: function ($datepicker) {
var data = $datepicker.data(),
offset = $datepicker.offset(),
$calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
open: function ($datepicker, data) {
var $calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');

@@ -700,12 +777,12 @@ if ($datepicker.val()) {

case 'month':
gj.datepicker.methods.renderMonth($datepicker);
gj.datepicker.methods.renderMonth($datepicker, $calendar, data);
break;
case 'year':
gj.datepicker.methods.renderYear($datepicker, $calendar);
gj.datepicker.methods.renderYear($datepicker, $calendar, data);
break;
case 'decade':
gj.datepicker.methods.renderDecade($datepicker, $calendar);
gj.datepicker.methods.renderDecade($datepicker, $calendar, data);
break;
case 'century':
gj.datepicker.methods.renderCentury($datepicker, $calendar);
gj.datepicker.methods.renderCentury($datepicker, $calendar, data);
break;

@@ -715,4 +792,10 @@ }

$calendar.show();
gj.core.setChildPosition($datepicker[0], $calendar[0]);
$datepicker.focus();
$calendar.closest('div[role="modal"]').show();
if (data.modal) {
gj.core.center($calendar);
} else {
gj.core.setChildPosition($datepicker[0], $calendar[0]);
$datepicker.focus();
}
clearTimeout($datepicker.timeout);
gj.datepicker.events.open($datepicker);

@@ -722,15 +805,15 @@ },

close: function ($datepicker) {
var $calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
var $calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
$calendar.hide();
$calendar.closest('div[role="modal"]').hide();
gj.datepicker.events.close($datepicker);
},
createKeyDownHandler: function ($datepicker, $calendar) {
createKeyDownHandler: function ($datepicker, $calendar, data) {
return function (e) {
var month, year, day, index, $new,
$active = gj.datepicker.methods.getActiveCell($calendar);
e = e || window.event;
var month, year, day, index, $new, $active, e = e || window.event;
if (window.getComputedStyle($calendar[0]).display !== 'none')
{
$active = gj.datepicker.methods.getActiveCell($calendar);
if (e.keyCode == '38') { // up

@@ -740,4 +823,7 @@ index = $active.index();

if (!$new.is('[day]')) {
gj.datepicker.methods.prev($datepicker)();
gj.datepicker.methods.prev($datepicker, data)();
$new = $calendar.find('tbody tr').last().find('td:eq(' + index + ')');
if ($new.is(':empty')) {
$new = $calendar.find('tbody tr').last().prev().find('td:eq(' + index + ')');
}
}

@@ -752,3 +838,3 @@ if ($new.is('[day]')) {

if (!$new.is('[day]')) {
gj.datepicker.methods.next($datepicker)();
gj.datepicker.methods.next($datepicker, data)();
$new = $calendar.find('tbody tr').first().find('td:eq(' + index + ')');

@@ -769,3 +855,3 @@ if (!$new.is('[day]')) {

if ($new.length === 0) {
gj.datepicker.methods.prev($datepicker)();
gj.datepicker.methods.prev($datepicker, data)();
$new = $calendar.find('tbody tr').last().find('td[day]').last();

@@ -777,3 +863,3 @@ }

}
} else if (e.keyCode == '39' || e.keyCode == '9') { // right/tab(next)
} else if (e.keyCode == '39') { // right
$new = $active.next('[day]:not(.disabled)');

@@ -784,3 +870,3 @@ if ($new.length === 0) {

if ($new.length === 0) {
gj.datepicker.methods.next($datepicker)();
gj.datepicker.methods.next($datepicker, data)();
$new = $calendar.find('tbody tr').first().find('td[day]').first();

@@ -794,5 +880,5 @@ }

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))();
month = parseInt($active.attr('month'), 10);
year = parseInt($active.attr('year'), 10);
gj.datepicker.methods.dayClickHandler($datepicker, $calendar, data, new Date(year, month, day))();
} else if (e.keyCode == '27') { // esc

@@ -826,4 +912,4 @@ $datepicker.close();

if (date) {
$calendar = $('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
gj.datepicker.methods.select($datepicker, $calendar, date)();
$calendar = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
gj.datepicker.methods.dayClickHandler($datepicker, $calendar, data, date)();
} else {

@@ -838,6 +924,10 @@ $datepicker.val('');

var data = $datepicker.data(),
$parent = $datepicker.parent();
$parent = $datepicker.parent(),
$picker = $('body').find('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]');
if (data) {
$datepicker.off();
$('body').children('[role="calendar"][guid="' + $datepicker.attr('data-guid') + '"]').remove();
if ($picker.parent('[role="modal"]').length > 0) {
$picker.unwrap();
}
$picker.remove();
$datepicker.removeData();

@@ -861,2 +951,8 @@ $datepicker.removeAttr('data-type').removeAttr('data-guid').removeAttr('data-datepicker');

/**
* Triggered when new value is selected inside the picker.
* */ select: function ($datepicker, type) {
return $datepicker.triggerHandler('select', [type]);
},
/**
* Event fires when the calendar is opened. */ open: function ($datepicker) {

@@ -885,3 +981,3 @@ return $datepicker.triggerHandler('open');

/** Open the calendar. */ self.open = function () {
gj.datepicker.methods.open(this);
gj.datepicker.methods.open(this, this.data());
};

@@ -921,58 +1017,1 @@

})(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: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb']
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']
};

@@ -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</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",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" 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"]};
gj.datepicker={plugins:{}},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",modal:!1,header:!1,footer:!1,style:{modal:"gj-modal",wrapper:"gj-datepicker gj-datepicker-md gj-unselectable",input:"gj-textbox-md",calendar:"gj-picker gj-picker-md datepicker gj-unselectable",footer:"",button:"gj-button-md"}},bootstrap:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control",calendar:"gj-picker gj-picker-bootstrap datepicker gj-unselectable",footer:"modal-footer",button:"btn btn-default"},iconsLibrary:"glyphicons",showOtherMonths:!0},bootstrap4:{style:{wrapper:"gj-datepicker gj-datepicker-bootstrap gj-unselectable input-group",input:"form-control",calendar:"gj-picker gj-picker-bootstrap datepicker gj-unselectable",footer:"modal-footer",button:"btn btn-default"},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.data()),this},initialize:function(a,b){var c,d,e=a.parent('div[role="wrapper"]');d="bootstrap"===b.uiLibrary?$('<span class="input-group-addon">'+b.icons.rightIcon+"</span>"):"bootstrap4"===b.uiLibrary?$('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0" type="button">'+b.icons.rightIcon+"</button></span>"):$(b.icons.rightIcon),d.attr("role","right-icon"),0===e.length?(e=$('<div role="wrapper" />').addClass(b.style.wrapper),a.wrap(e)):e.addClass(b.style.wrapper),e=a.parent('div[role="wrapper"]'),b.width&&e.css("width",b.width),a.val(b.value).addClass(b.style.input).attr("role","input"),b.fontSize&&a.css("font-size",b.fontSize),"bootstrap"===b.uiLibrary||"bootstrap4"===b.uiLibrary?"small"===b.size?(e.addClass("input-group-sm"),a.addClass("form-control-sm")):"large"===b.size&&(e.addClass("input-group-lg"),a.addClass("form-control-lg")):"small"===b.size?e.addClass("small"):"large"===b.size&&e.addClass("large"),d.on("click",function(c){$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]').is(":visible")?gj.datepicker.methods.close(a):gj.datepicker.methods.open(a,b)}),e.append(d),c=gj.datepicker.methods.createCalendar(a,b),!0!==b.footer&&(a.on("blur",function(){a.timeout=setTimeout(function(){gj.datepicker.methods.close(a)},500)}),c.mousedown(function(){return clearTimeout(a.timeout),a.focus(),!1}),c.on("click",function(){clearTimeout(a.timeout),a.focus()})),b.keyboardNavigation&&$(document).on("keydown",gj.datepicker.methods.createKeyDownHandler(a,c,b))},createCalendar:function(a,b){var c,d,e,f,g,h=$('<div role="calendar" type="month"/>').addClass(b.style.calendar).attr("guid",a.attr("data-guid"));return b.fontSize&&h.css("font-size",b.fontSize),c=gj.core.parseDate(b.value,b.format,b.locale),!c||isNaN(c.getTime())?c=new Date:a.attr("day",c.getFullYear()+"-"+c.getMonth()+"-"+c.getDate()),h.attr("month",c.getMonth()),h.attr("year",c.getFullYear()),gj.datepicker.methods.renderHeader(a,h,b,c),d=$('<div role="body" />'),h.append(d),b.footer&&(e=$('<div role="footer" class="'+b.style.footer+'" />'),f=$('<button class="'+b.style.button+'">'+gj.core.messages[b.locale].cancel+"</button>"),f.on("click",function(){a.close()}),e.append(f),g=$('<button class="'+b.style.button+'">'+gj.core.messages[b.locale].ok+"</button>"),g.on("click",function(){var c,d,e=h.attr("selectedDay");e?(d=e.split("-"),c=new Date(d[0],d[1],d[2],h.attr("hour")||0,h.attr("minute")||0),gj.datepicker.methods.change(a,h,b,c)):a.close()}),e.append(g),h.append(e)),h.hide(),$("body").append(h),b.modal&&(h.wrapAll('<div role="modal" class="'+b.style.modal+'"/>'),gj.core.center(h)),h},renderHeader:function(a,b,c,d){var e,f,g;c.header&&(e=$('<div role="header" />'),g=$('<div role="year" />').on("click",function(){gj.datepicker.methods.renderDecade(a,b,c),g.addClass("selected"),f.removeClass("selected")}),g.html(gj.core.formatDate(d,"yyyy",c.locale)),e.append(g),f=$('<div role="date" class="selected" />').on("click",function(){gj.datepicker.methods.renderMonth(a,b,c),f.addClass("selected"),g.removeClass("selected")}),f.html(gj.core.formatDate(d,"ddd, mmm dd",c.locale)),e.append(f),b.append(e))},updateHeader:function(a,b,c){a.find('[role="header"] [role="year"]').removeClass("selected").html(gj.core.formatDate(c,"yyyy",b.locale)),a.find('[role="header"] [role="date"]').addClass("selected").html(gj.core.formatDate(c,"ddd, mmm dd",b.locale)),a.find('[role="header"] [role="hour"]').removeClass("selected").html(gj.core.formatDate(c,"HH",b.locale)),a.find('[role="header"] [role="minute"]').removeClass("selected").html(gj.core.formatDate(c,"MM",b.locale))},createNavigation:function(a,b,c,d){var e,f,g=$("<thead/>");for(f=$('<div role="navigator" />'),f.append($("<div>"+d.icons.previousMonth+"</div>").on("click",gj.datepicker.methods.prev(a,d))),f.append($('<div role="period"></div>').on("click",gj.datepicker.methods.changePeriod(a,d))),f.append($("<div>"+d.icons.nextMonth+"</div>").on("click",gj.datepicker.methods.next(a,d))),b.append(f),e=$('<tr role="week-days" />'),d.calendarWeeks&&e.append("<th><div>&nbsp;</div></th>"),i=d.weekStartDay;i<gj.core.messages[d.locale].weekDaysMin.length;i++)e.append("<th><div>"+gj.core.messages[d.locale].weekDaysMin[i]+"</div></th>");for(i=0;i<d.weekStartDay;i++)e.append("<th><div>"+gj.core.messages[d.locale].weekDaysMin[i]+"</div></th>");g.append(e),c.append(g)},renderMonth:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=b.children('[role="body"]'),t=$("<table/>"),u=$("<tbody/>");for(s.off().empty(),gj.datepicker.methods.createNavigation(a,s,t,c),g=parseInt(b.attr("month"),10),h=parseInt(b.attr("year"),10),b.attr("type","month"),b.find('div[role="period"]').text(gj.core.messages[c.locale].monthNames[g]+" "+h),i=new Array(31,28,31,30,31,30,31,31,30,31,30,31),h%4==0&&1900!=h&&(i[1]=29),j=i[g],k=(new Date(h,g,1).getDay()+7-c.weekStartDay)%7,d=0,$row=$("<tr />"),n=gj.datepicker.methods.getPrevMonth(g,h),l=1;l<=k;l++)f=i[n.month]-k+l,r=new Date(n.year,n.month,f),c.calendarWeeks&&1===l&&$row.append('<td class="calendar-week"><div>'+gj.datepicker.methods.getWeekNumber(r)+"</div></td>"),p=$('<td class="other-month" />'),c.showOtherMonths&&(q=$("<div>"+f+"</div>"),p.append(q),c.selectOtherMonths&&gj.datepicker.methods.isSelectable(c,r)?(p.addClass("gj-cursor-pointer").attr("day",f).attr("month",n.month).attr("year",n.year),q.on("click",gj.datepicker.methods.dayClickHandler(a,b,c,r)),q.on("mousedown",function(a){a.stopPropagation()})):p.addClass("disabled")),$row.append(p),d++;for(l>1&&u.append($row),m=new Date,l=1;l<=j;l++)r=new Date(h,g,l),0==d&&($row=$("<tr>"),c.calendarWeeks&&$row.append('<td class="calendar-week"><div>'+gj.datepicker.methods.getWeekNumber(r)+"</div></td>")),p=$('<td day="'+l+'" month="'+g+'" year="'+h+'" />'),h===m.getFullYear()&&g===m.getMonth()&&l===m.getDate()?p.addClass("today"):p.addClass("current-month"),q=$("<div>"+l+"</div>"),gj.datepicker.methods.isSelectable(c,r)?(p.addClass("gj-cursor-pointer"),q.on("click",gj.datepicker.methods.dayClickHandler(a,b,c,r)),q.on("mousedown",function(a){a.stopPropagation()})):p.addClass("disabled"),p.append(q),$row.append(p),7==++d&&(u.append($row),d=0);for(o=gj.datepicker.methods.getNextMonth(g,h),l=1;0!=d;l++)r=new Date(o.year,o.month,l),p=$('<td class="other-month" />'),c.showOtherMonths&&(q=$("<div>"+l+"</div>"),c.selectOtherMonths&&gj.datepicker.methods.isSelectable(c,r)?(p.addClass("gj-cursor-pointer").attr("day",l).attr("month",o.month).attr("year",o.year),q.on("click",gj.datepicker.methods.dayClickHandler(a,b,c,r)),q.on("mousedown",function(a){a.stopPropagation()})):p.addClass("disabled"),p.append(q)),$row.append(p),7==++d&&(u.append($row),d=0);t.append(u),s.append(t),b.attr("selectedDay")&&(e=b.attr("selectedDay").split("-"),r=new Date(e[0],e[1],e[2],b.attr("hour")||0,b.attr("minute")||0),b.find('tbody td[day="'+e[2]+'"][month="'+e[1]+'"]').addClass("selected"),gj.datepicker.methods.updateHeader(b,c,r))},renderYear:function(a,b,c){var d,e,f,g,h=b.find('>[role="body"]>table'),i=h.children("tbody");for(h.children("thead").hide(),d=parseInt(b.attr("year"),10),b.attr("type","year"),b.find('div[role="period"]').text(d),i.empty(),e=0;e<3;e++){for($row=$("<tr />"),f=4*e;f<=4*e+3;f++)g=$("<div>"+gj.core.messages[c.locale].monthShortNames[f]+"</div>"),g.on("click",gj.datepicker.methods.selectMonth(a,b,c,f)),$cell=$("<td></td>").append(g),$row.append($cell);i.append($row)}},renderDecade:function(a,b,c){var d,e,f,g,h,i=b.find('>[role="body"]>table'),j=i.children("tbody");for(i.children("thead").hide(),d=parseInt(b.attr("year"),10),e=d-d%10,b.attr("type","decade"),b.find('div[role="period"]').text(e+" - "+(e+9)),j.empty(),f=e-1;f<=e+10;f+=4){for($row=$("<tr />"),g=f;g<=f+3;g++)h=$("<div>"+g+"</div>"),h.on("click",gj.datepicker.methods.selectYear(a,b,c,g)),$cell=$("<td></td>").append(h),$row.append($cell);j.append($row)}},renderCentury:function(a,b,c){var d,e,f,g,h,i=b.find('>[role="body"]>table'),j=i.children("tbody");for(i.children("thead").hide(),d=parseInt(b.attr("year"),10),e=d-d%100,b.attr("type","century"),b.find('div[role="period"]').text(e+" - "+(e+99)),j.empty(),f=e-10;f<e+100;f+=40){for($row=$("<tr />"),g=f;g<=f+30;g+=10)h=$("<div>"+g+"</div>"),h.on("click",gj.datepicker.methods.selectDecade(a,b,c,g)),$cell=$("<td></td>").append(h),$row.append($cell);j.append($row)}},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,b){return function(){var c,d,e,f,g,h=$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(h.attr("type")){case"month":d=parseInt(h.attr("month"),10),e=parseInt(h.attr("year"),10),c=gj.datepicker.methods.getPrevMonth(d,e),h.attr("month",c.month),h.attr("year",c.year),gj.datepicker.methods.renderMonth(a,h,b);break;case"year":e=parseInt(h.attr("year"),10),h.attr("year",e-1),gj.datepicker.methods.renderYear(a,h,b);break;case"decade":e=parseInt(h.attr("year"),10),f=e-e%10,h.attr("year",f-10),gj.datepicker.methods.renderDecade(a,h,b);break;case"century":e=parseInt(h.attr("year"),10),g=e-e%100,h.attr("year",g-100),gj.datepicker.methods.renderCentury(a,h,b)}}},next:function(a,b){return function(){var c,d,e,f,g,h=$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(h.attr("type")){case"month":d=parseInt(h.attr("month"),10),e=parseInt(h.attr("year"),10),c=gj.datepicker.methods.getNextMonth(d,e),h.attr("month",c.month),h.attr("year",c.year),gj.datepicker.methods.renderMonth(a,h,b);break;case"year":e=parseInt(h.attr("year"),10),h.attr("year",e+1),gj.datepicker.methods.renderYear(a,h,b);break;case"decade":e=parseInt(h.attr("year"),10),f=e-e%10,h.attr("year",f+10),gj.datepicker.methods.renderDecade(a,h,b);break;case"century":e=parseInt(h.attr("year"),10),g=e-e%100,h.attr("year",g+100),gj.datepicker.methods.renderCentury(a,h,b)}}},changePeriod:function(a,b){return function(c){var d=$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(d.attr("type")){case"month":gj.datepicker.methods.renderYear(a,d,b);break;case"year":gj.datepicker.methods.renderDecade(a,d,b);break;case"decade":gj.datepicker.methods.renderCentury(a,d,b)}}},dayClickHandler:function(a,b,c,d){return function(e){return e&&e.stopPropagation(),gj.datepicker.methods.selectDay(a,b,c,d),!0!==c.footer&&!1!==c.autoClose&&gj.datepicker.methods.change(a,b,c,d),a}},change:function(a,b,c,d){var e=(d.getDate(),d.getMonth()),f=d.getFullYear(),g=gj.core.formatDate(d,c.format,c.locale);b.attr("month",e),b.attr("year",f),a.val(g),gj.datepicker.events.change(a),"none"!==window.getComputedStyle(b[0]).display&&gj.datepicker.methods.close(a)},selectDay:function(a,b,c,d){var e=d.getDate(),f=d.getMonth(),g=d.getFullYear();b.attr("selectedDay",g+"-"+f+"-"+e),b.find("tbody td").removeClass("selected"),b.find('tbody td[day="'+e+'"][month="'+f+'"]').addClass("selected"),gj.datepicker.methods.updateHeader(b,c,d),gj.datepicker.events.select(a,"day")},selectMonth:function(a,b,c,d){return function(e){b.attr("month",d),gj.datepicker.methods.renderMonth(a,b,c),gj.datepicker.events.select(a,"month")}},selectYear:function(a,b,c,d){return function(e){b.attr("year",d),gj.datepicker.methods.renderYear(a,b,c),gj.datepicker.events.select(a,"year")}},selectDecade:function(a,b,c,d){return function(e){b.attr("year",d),gj.datepicker.methods.renderDecade(a,b,c),gj.datepicker.events.select(a,"decade")}},open:function(a,b){var c=$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]');switch(a.val()&&a.value(a.val()),c.attr("type")){case"month":gj.datepicker.methods.renderMonth(a,c,b);break;case"year":gj.datepicker.methods.renderYear(a,c,b);break;case"decade":gj.datepicker.methods.renderDecade(a,c,b);break;case"century":gj.datepicker.methods.renderCentury(a,c,b)}c.show(),c.closest('div[role="modal"]').show(),b.modal?gj.core.center(c):(gj.core.setChildPosition(a[0],c[0]),a.focus()),clearTimeout(a.timeout),gj.datepicker.events.open(a)},close:function(a){var b=$("body").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]');b.hide(),b.closest('div[role="modal"]').hide(),gj.datepicker.events.close(a)},createKeyDownHandler:function(a,b,c){return function(d){var e,f,g,h,i,j,d=d||window.event;"none"!==window.getComputedStyle(b[0]).display&&(j=gj.datepicker.methods.getActiveCell(b),"38"==d.keyCode?(h=j.index(),i=j.closest("tr").prev("tr").find("td:eq("+h+")"),i.is("[day]")||(gj.datepicker.methods.prev(a,c)(),i=b.find("tbody tr").last().find("td:eq("+h+")"),i.is(":empty")&&(i=b.find("tbody tr").last().prev().find("td:eq("+h+")"))),i.is("[day]")&&(i.addClass("focused"),j.removeClass("focused"))):"40"==d.keyCode?(h=j.index(),i=j.closest("tr").next("tr").find("td:eq("+h+")"),i.is("[day]")||(gj.datepicker.methods.next(a,c)(),i=b.find("tbody tr").first().find("td:eq("+h+")"),i.is("[day]")||(i=b.find("tbody tr:eq(1)").find("td:eq("+h+")"))),i.is("[day]")&&(i.addClass("focused"),j.removeClass("focused"))):"37"==d.keyCode?(i=j.prev("td[day]:not(.disabled)"),0===i.length&&(i=j.closest("tr").prev("tr").find("td[day]").last()),0===i.length&&(gj.datepicker.methods.prev(a,c)(),i=b.find("tbody tr").last().find("td[day]").last()),i.length>0&&(i.addClass("focused"),j.removeClass("focused"))):"39"==d.keyCode?(i=j.next("[day]:not(.disabled)"),0===i.length&&(i=j.closest("tr").next("tr").find("td[day]").first()),0===i.length&&(gj.datepicker.methods.next(a,c)(),i=b.find("tbody tr").first().find("td[day]").first()),i.length>0&&(i.addClass("focused"),j.removeClass("focused"))):"13"==d.keyCode?(g=parseInt(j.attr("day"),10),e=parseInt(j.attr("month"),10),f=parseInt(j.attr("year"),10),gj.datepicker.methods.dayClickHandler(a,b,c,new Date(f,e,g))()):"27"==d.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").find('[role="calendar"][guid="'+a.attr("data-guid")+'"]'),gj.datepicker.methods.dayClickHandler(a,c,e,d)()):a.val(""),a)},destroy:function(a){var b=a.data(),c=a.parent(),d=$("body").find('[role="calendar"][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-datepicker"),a.removeClass(),c.children('[role="right-icon"]').remove(),a.unwrap()),a}},gj.datepicker.events={change:function(a){return a.triggerHandler("change")},select:function(a,b){return a.triggerHandler("select",[b])},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,this.data())},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);
/*
* Gijgo Dialog v1.9.3
* Gijgo Dialog v1.9.4
* http://gijgo.com/dialog
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

/*
* Gijgo Draggable v1.9.3
* Gijgo Draggable v1.9.4
* http://gijgo.com/draggable
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

/*
* Gijgo DropDown v1.9.3
* Gijgo DropDown v1.9.4
* http://gijgo.com/dropdown
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -157,7 +157,7 @@ */

setListPosition: function (presenter, list, data) {
var top, listHeight, presenterHeight, newHeight,
mainElRect = presenter.getBoundingClientRect();
var top, listHeight, presenterHeight, newHeight, listElRect,
mainElRect = presenter.getBoundingClientRect(),
scrollY = window.scrollY || window.pageYOffset || 0,
scrollX = window.scrollX || window.pageXOffset || 0;
gj.core.setChildPosition(presenter, list);
// Reset list size

@@ -168,7 +168,21 @@ list.style.overflow = '';

gj.core.setChildPosition(presenter, list);
listHeight = gj.core.height(list, true);
listElRect = list.getBoundingClientRect();
presenterHeight = gj.core.height(presenter, true);
if (!isNaN(listHeight) && data.maxHeight === 'auto' && (mainElRect.top + listHeight + presenterHeight) > window.innerHeight) {
newHeight = window.innerHeight - mainElRect.top - presenterHeight - 3;
} else if (!isNaN(listHeight) && !isNaN(data.maxHeight) && data.maxHeight < listHeight) {
if (data.maxHeight === 'auto') {
if (mainElRect.top < listElRect.top) { // The list is located below the main element
if (mainElRect.top + listHeight + presenterHeight > window.innerHeight) {
newHeight = window.innerHeight - mainElRect.top - presenterHeight - 3;
}
} else { // The list is located above the main element
if (mainElRect.top - listHeight - 3 > 0) {
list.style.top = Math.round(mainElRect.top + scrollY - listHeight - 3) + 'px';
} else {
list.style.top = scrollY + 'px';
newHeight = mainElRect.top - 3;
}
}
} else if (!isNaN(data.maxHeight) && data.maxHeight < listHeight) {
newHeight = data.maxHeight;

@@ -175,0 +189,0 @@ }

@@ -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",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&&g.top+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);
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,h=a.getBoundingClientRect(),i=window.scrollY||window.pageYOffset||0;window.scrollX||window.pageXOffset;b.style.overflow="",b.style.overflowX="",b.style.height="",gj.core.setChildPosition(a,b),d=gj.core.height(b,!0),g=b.getBoundingClientRect(),e=gj.core.height(a,!0),"auto"===c.maxHeight?h.top<g.top?h.top+d+e>window.innerHeight&&(f=window.innerHeight-h.top-e-3):h.top-d-3>0?b.style.top=Math.round(h.top+i-d-3)+"px":(b.style.top=i+"px",f=h.top-3):!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.3
* Gijgo Droppable v1.9.4
* http://gijgo.com/droppable
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

/*
* Gijgo Editor v1.9.3
* Gijgo Editor v1.9.4
* http://gijgo.com/editor
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

/*
* Gijgo TimePicker v1.9.3
* Gijgo TimePicker v1.9.4
* http://gijgo.com/timepicker
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -10,11 +10,3 @@ */

/** */ gj.timepicker = {
plugins: {},
messages: {
'en-us': {
am: 'AM',
pm: 'PM',
ok: 'Ok',
cancel: 'Cancel'
}
}
plugins: {}
};

@@ -53,3 +45,3 @@

input: 'gj-textbox-md',
clock: 'gj-clock gj-clock-md',
clock: 'gj-picker gj-picker-md timepicker',
footer: '',

@@ -64,3 +56,3 @@ button: 'gj-button-md'

input: 'form-control',
clock: 'gj-clock gj-clock-bootstrap',
clock: 'gj-picker gj-picker-bootstrap timepicker',
footer: 'modal-footer',

@@ -76,3 +68,3 @@ button: 'btn btn-default'

input: 'form-control border',
clock: 'gj-clock gj-clock-bootstrap',
clock: 'gj-picker gj-picker-bootstrap timepicker',
footer: 'modal-footer',

@@ -88,8 +80,9 @@ button: 'btn btn-default'

this.attr('data-timepicker', 'true');
gj.timepicker.methods.initialize(this);
gj.timepicker.methods.initialize(this, this.data());
gj.timepicker.methods.createClock(this);
return this;
},
initialize: function ($timepicker) {
var data = $timepicker.data(), $calendar, $rightIcon, $wrapper = $timepicker.parent('div[role="wrapper"]');
initialize: function ($timepicker, data) {
var $calendar, $rightIcon, $wrapper = $timepicker.parent('div[role="wrapper"]');

@@ -155,8 +148,9 @@ if (data.uiLibrary === 'bootstrap') {

$wrapper.append($rightIcon);
},
$calendar = gj.timepicker.methods.createClock($timepicker);
if (data.keyboardNavigation) {
$timepicker.on('keydown', gj.timepicker.methods.createKeyDownHandler($timepicker, $calendar));
}
initMouse: function ($body, $input, $picker, data) {
$body.off();
$body.on('mousedown', gj.timepicker.methods.mouseDownHandler($input, $picker));
$body.on('mousemove', gj.timepicker.methods.mouseMoveHandler($input, $picker, data));
$body.on('mouseup', gj.timepicker.methods.mouseUpHandler($input, $picker, data));
},

@@ -172,5 +166,4 @@

$body = $('<div role="body" />'),
$dial = $('<div role="dial"></div>'),
$btnOk = $('<button class="' + data.style.button + '">' + gj.timepicker.messages[data.locale].ok + '</button>'),
$btnCancel = $('<button class="' + data.style.button + '">' + gj.timepicker.messages[data.locale].cancel + '</button>'),
$btnOk = $('<button class="' + data.style.button + '">' + gj.core.messages[data.locale].ok + '</button>'),
$btnCancel = $('<button class="' + data.style.button + '">' + gj.core.messages[data.locale].cancel + '</button>'),
$footer = $('<div role="footer" class="' + data.style.footer + '" />');

@@ -184,17 +177,15 @@

}
$dial.on('mousedown', gj.timepicker.methods.mouseDownHandler($timepicker, $clock));
$dial.on('mousemove', gj.timepicker.methods.mouseMoveHandler($timepicker, $clock));
$dial.on('mouseup', gj.timepicker.methods.mouseUpHandler($timepicker, $clock));
gj.timepicker.methods.initMouse($body, $timepicker, $clock, data);
if (data.header) {
$hour.on('click', function () {
gj.timepicker.methods.renderHours($timepicker, $clock);
gj.timepicker.methods.renderHours($timepicker, $clock, data);
});
$minute.on('click', function () {
gj.timepicker.methods.renderMinutes($timepicker, $clock);
gj.timepicker.methods.renderMinutes($timepicker, $clock, data);
});
$header.append($hour).append(':').append($minute);
if (data.mode === 'ampm') {
$mode.append($('<span role="am">' + gj.timepicker.messages[data.locale].am + '</span>').on('click', function () {
$mode.append($('<span role="am">' + gj.core.messages[data.locale].am + '</span>').on('click', function () {
var hour = gj.timepicker.methods.getHour($clock);

@@ -213,3 +204,3 @@ $clock.attr('mode', 'am');

$mode.append('<br />');
$mode.append($('<span role="pm">' + gj.timepicker.messages[data.locale].pm + '</span>').on('click', function () {
$mode.append($('<span role="pm">' + gj.core.messages[data.locale].pm + '</span>').on('click', function () {
var hour = gj.timepicker.methods.getHour($clock);

@@ -231,4 +222,3 @@ $clock.attr('mode', 'pm');

}
$body.append($dial);
$clock.append($body);

@@ -307,34 +297,28 @@

updateArrow: function(e, $timepicker, $clock) {
var mouseX, mouseY, rect, value, data = $timepicker.data();
mouseX = $timepicker.mouseX(e);
mouseY = $timepicker.mouseY(e);
updateArrow: function(e, $timepicker, $clock, data) {
var rect, value,
mouseX = $timepicker.mouseX(e),
mouseY = $timepicker.mouseY(e),
scrollY = window.scrollY || window.pageYOffset || 0,
scrollX = window.scrollX || window.pageXOffset || 0;
rect = e.target.getBoundingClientRect();
if (data.dialMode == 'hours') {
value = gj.timepicker.methods.getPointerValue(mouseX - rect.left, mouseY - rect.top, data.mode);
value = gj.timepicker.methods.getPointerValue(mouseX - scrollX - rect.left, mouseY - scrollY - rect.top, data.mode);
$clock.attr('hour', data.mode === 'ampm' && $clock.attr('mode') === 'pm' && value < 12 ? value + 12 : value);
} else if (data.dialMode == 'minutes') {
value = gj.timepicker.methods.getPointerValue(mouseX - rect.left, mouseY - rect.top, 'minutes');
value = gj.timepicker.methods.getPointerValue(mouseX - scrollX - rect.left, mouseY - scrollY - rect.top, 'minutes');
$clock.attr('minute', value);
}
if (data.dialMode == 'hours') {
setTimeout(function () {
gj.timepicker.methods.renderMinutes($timepicker, $clock);
}, 1000);
} else if (data.dialMode == 'minutes' && $timepicker.data().footer == false) {
gj.timepicker.methods.setTime($timepicker, $clock)();
}
gj.timepicker.methods.select($timepicker, $clock);
gj.timepicker.methods.update($timepicker, $clock, data);
},
select: function ($timepicker, $clock) {
var $dial = $clock.find('[role="dial"]'),
$arrow = $clock.find('[role="arrow"]'),
data = $timepicker.data(),
hour = gj.timepicker.methods.getHour($clock),
minute = gj.timepicker.methods.getMinute($clock);
update: function ($timepicker, $clock, data) {
var hour, minute, $arrow, visualHour, $header, $numbers;
// update the arrow
hour = gj.timepicker.methods.getHour($clock);
minute = gj.timepicker.methods.getMinute($clock);
$arrow = $clock.find('[role="arrow"]');
if (data.dialMode == 'hours' && (hour == 0 || hour > 12) && data.mode === '24hr') {

@@ -353,15 +337,5 @@ $arrow.css('width', 'calc(50% - 52px)');

gj.timepicker.methods.update($timepicker, $clock);
},
update: function ($timepicker, $clock) {
var data = $timepicker.data(),
hour = gj.timepicker.methods.getHour($clock),
visualHour = (data.mode === 'ampm' && hour > 12 ? hour - 12 : (hour == 0 ? 12 : hour)),
minute = gj.timepicker.methods.getMinute($clock),
$header = $clock.find('[role="header"]'),
$numbers = $clock.find('[role="dial"] span');
$header.children('[role="hour"]').text(visualHour);
$header.children('[role="minute"]').text(gj.core.pad(minute));
// update the numbers
visualHour = (data.mode === 'ampm' && hour > 12 ? hour - 12 : (hour == 0 ? 12 : hour));
$numbers = $clock.find('[role="body"] span');
$numbers.removeClass('selected');

@@ -375,11 +349,18 @@ $numbers.filter(function (e) {

}).addClass('selected');
if (data.mode === 'ampm') {
if (hour >= 12) {
$header.find('[role="pm"]').addClass('selected');
$header.find('[role="am"]').removeClass('selected');
} else {
$header.find('[role="am"]').addClass('selected');
$header.find('[role="pm"]').removeClass('selected');
// update the header
if (data.header) {
$header = $clock.find('[role="header"]');
$header.find('[role="hour"]').text(visualHour);
$header.find('[role="minute"]').text(gj.core.pad(minute));
if (data.mode === 'ampm') {
if (hour >= 12) {
$header.find('[role="pm"]').addClass('selected');
$header.find('[role="am"]').removeClass('selected');
} else {
$header.find('[role="am"]').addClass('selected');
$header.find('[role="pm"]').removeClass('selected');
}
}
}
}
},

@@ -393,6 +374,6 @@

mouseMoveHandler: function ($timepicker, $clock) {
mouseMoveHandler: function ($timepicker, $clock, data) {
return function (e) {
if ($timepicker.mouseMove) {
gj.timepicker.methods.updateArrow(e, $timepicker, $clock);
gj.timepicker.methods.updateArrow(e, $timepicker, $clock, data);
}

@@ -402,18 +383,30 @@ }

mouseUpHandler: function ($timepicker, $clock) {
mouseUpHandler: function ($timepicker, $clock, data) {
return function (e) {
gj.timepicker.methods.updateArrow(e, $timepicker, $clock);
gj.timepicker.methods.updateArrow(e, $timepicker, $clock, data);
$timepicker.mouseMove = false;
if (!$timepicker.data().modal) {
if (!data.modal) {
clearTimeout($timepicker.timeout);
$timepicker.focus();
}
if (data.dialMode == 'hours') {
setTimeout(function () {
gj.timepicker.events.select($timepicker, 'hour');
gj.timepicker.methods.renderMinutes($timepicker, $clock, data);
}, 1000);
} else if (data.dialMode == 'minutes') {
if (data.footer !== true && data.autoClose !== false) {
gj.timepicker.methods.setTime($timepicker, $clock)();
}
gj.timepicker.events.select($timepicker, 'minute');
}
}
},
renderHours: function ($timepicker, $clock) {
var $dial = $clock.find('[role="dial"]');
renderHours: function ($timepicker, $clock, data) {
var $dial, $body = $clock.find('[role="body"]');
clearTimeout($timepicker.timeout);
$dial.empty();
$body.empty();
$dial = $('<div role="dial"></div>');

@@ -434,3 +427,3 @@ $dial.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>');

$dial.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">12</span>');
if ($timepicker.data('mode') === '24hr') {
if (data.mode === '24hr') {
$dial.append('<span role="hour" style="transform: translate(38px, -65.8179px);">13</span>');

@@ -449,2 +442,3 @@ $dial.append('<span role="hour" style="transform: translate(65.8179px, -38px);">14</span>');

}
$body.append($dial);

@@ -454,12 +448,13 @@ $clock.find('[role="header"] [role="hour"]').addClass('selected');

$timepicker.data('dialMode', 'hours');
data.dialMode = 'hours';
gj.timepicker.methods.select($timepicker, $clock);
gj.timepicker.methods.update($timepicker, $clock, data);
},
renderMinutes: function ($timepicker, $clock) {
var $dial = $clock.find('[role="dial"]');
renderMinutes: function ($timepicker, $clock, data) {
var $body = $clock.find('[role="body"]');
clearTimeout($timepicker.timeout);
$dial.empty();
$body.empty();
$dial = $('<div role="dial"></div>');

@@ -480,2 +475,3 @@ $dial.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>');

$dial.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">00</span>');
$body.append($dial);

@@ -485,5 +481,5 @@ $clock.find('[role="header"] [role="hour"]').removeClass('selected');

$timepicker.data('dialMode', 'minutes');
data.dialMode = 'minutes';
gj.timepicker.methods.select($timepicker, $clock);
gj.timepicker.methods.update($timepicker, $clock, data);
},

@@ -507,3 +503,3 @@

gj.timepicker.methods.renderHours($timepicker, $clock);
gj.timepicker.methods.renderHours($timepicker, $clock, data);
$clock.show();

@@ -568,2 +564,8 @@ $clock.closest('div[role="modal"]').show();

/**
* Triggered when new value is selected inside the picker.
* */ select: function ($timepicker, type) {
return $timepicker.triggerHandler('select', [type]);
},
/**
* Event fires when the timepicker is opened. */ open: function ($timepicker) {

@@ -629,43 +631,1 @@ return $timepicker.triggerHandler('open');

})(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'
};

@@ -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",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"};
gj.timepicker={plugins:{}},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-picker gj-picker-md timepicker",footer:"",button:"gj-button-md"}},bootstrap:{style:{wrapper:"gj-timepicker gj-timepicker-bootstrap gj-unselectable input-group",input:"form-control",clock:"gj-picker gj-picker-bootstrap timepicker",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-picker gj-picker-bootstrap timepicker",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.data()),gj.timepicker.methods.createClock(this),this},initialize:function(a,b){var c,d=a.parent('div[role="wrapper"]');c="bootstrap"===b.uiLibrary?$('<span class="input-group-addon">'+b.icons.rightIcon+"</span>"):"bootstrap4"===b.uiLibrary?$('<span class="input-group-append"><button class="btn btn-outline-secondary border-left-0 border" type="button">'+b.icons.rightIcon+"</button></span>"):$(b.icons.rightIcon),c.attr("role","right-icon"),0===d.length?(d=$('<div role="wrapper" />').addClass(b.style.wrapper),a.wrap(d)):d.addClass(b.style.wrapper),d=a.parent('div[role="wrapper"]'),b.width&&d.css("width",b.width),a.val(b.value).addClass(b.style.input).attr("role","input"),"bootstrap"===b.uiLibrary||"bootstrap4"===b.uiLibrary?"small"===b.size?(d.addClass("input-group-sm"),a.addClass("form-control-sm")):"large"===b.size&&(d.addClass("input-group-lg"),a.addClass("form-control-lg")):"small"===b.size?d.addClass("small"):"large"===b.size&&d.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===b.footer&&a.on("blur",function(){a.timeout=setTimeout(function(){a.mouseMove||gj.timepicker.methods.close(a)},500)}),d.append(c)},initMouse:function(a,b,c,d){a.off(),a.on("mousedown",gj.timepicker.methods.mouseDownHandler(b,c)),a.on("mousemove",gj.timepicker.methods.mouseMoveHandler(b,c,d)),a.on("mouseup",gj.timepicker.methods.mouseUpHandler(b,c,d))},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=$('<button class="'+c.style.button+'">'+gj.core.messages[c.locale].ok+"</button>"),k=$('<button class="'+c.style.button+'">'+gj.core.messages[c.locale].cancel+"</button>"),l=$('<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()),gj.timepicker.methods.initMouse(i,a,d,c),c.header&&(e.on("click",function(){gj.timepicker.methods.renderHours(a,d,c)}),f.on("click",function(){gj.timepicker.methods.renderMinutes(a,d,c)}),g.append(e).append(":").append(f),"ampm"===c.mode&&(h.append($('<span role="am">'+gj.core.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.core.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)),d.append(i),c.footer&&(k.on("click",function(){a.close()}),l.append(k),j.on("click",gj.timepicker.methods.setTime(a,d)),l.append(j),d.append(l)),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,d){var e,f,g=b.mouseX(a),h=b.mouseY(a),i=window.scrollY||window.pageYOffset||0,j=window.scrollX||window.pageXOffset||0;e=a.target.getBoundingClientRect(),"hours"==d.dialMode?(f=gj.timepicker.methods.getPointerValue(g-j-e.left,h-i-e.top,d.mode),c.attr("hour","ampm"===d.mode&&"pm"===c.attr("mode")&&f<12?f+12:f)):"minutes"==d.dialMode&&(f=gj.timepicker.methods.getPointerValue(g-j-e.left,h-i-e.top,"minutes"),c.attr("minute",f)),gj.timepicker.methods.update(b,c,d)},update:function(a,b,c){var d,e,f,g,h,i;d=gj.timepicker.methods.getHour(b),e=gj.timepicker.methods.getMinute(b),f=b.find('[role="arrow"]'),"hours"==c.dialMode&&(0==d||d>12)&&"24hr"===c.mode?f.css("width","calc(50% - 52px)"):f.css("width","calc(50% - 20px)"),"hours"==c.dialMode?f.css("transform","rotate("+(30*d-90).toString()+"deg)"):f.css("transform","rotate("+(6*e-90).toString()+"deg)"),f.show(),g="ampm"===c.mode&&d>12?d-12:0==d?12:d,i=b.find('[role="body"] span'),i.removeClass("selected"),i.filter(function(a){return"hours"==c.dialMode?parseInt($(this).text(),10)==g:parseInt($(this).text(),10)==e}).addClass("selected"),c.header&&(h=b.find('[role="header"]'),h.find('[role="hour"]').text(g),h.find('[role="minute"]').text(gj.core.pad(e)),"ampm"===c.mode&&(d>=12?(h.find('[role="pm"]').addClass("selected"),h.find('[role="am"]').removeClass("selected")):(h.find('[role="am"]').addClass("selected"),h.find('[role="pm"]').removeClass("selected"))))},mouseDownHandler:function(a,b){return function(b){a.mouseMove=!0}},mouseMoveHandler:function(a,b,c){return function(d){a.mouseMove&&gj.timepicker.methods.updateArrow(d,a,b,c)}},mouseUpHandler:function(a,b,c){return function(d){gj.timepicker.methods.updateArrow(d,a,b,c),a.mouseMove=!1,c.modal||(clearTimeout(a.timeout),a.focus()),"hours"==c.dialMode?setTimeout(function(){gj.timepicker.events.select(a,"hour"),gj.timepicker.methods.renderMinutes(a,b,c)},1e3):"minutes"==c.dialMode&&(!0!==c.footer&&!1!==c.autoClose&&gj.timepicker.methods.setTime(a,b)(),gj.timepicker.events.select(a,"minute"))}},renderHours:function(a,b,c){var d,e=b.find('[role="body"]');clearTimeout(a.timeout),e.empty(),d=$('<div role="dial"></div>'),d.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),d.append('<span role="hour" style="transform: translate(54px, -93.5307px);">1</span>'),d.append('<span role="hour" style="transform: translate(93.5307px, -54px);">2</span>'),d.append('<span role="hour" style="transform: translate(108px, 0px);">3</span>'),d.append('<span role="hour" style="transform: translate(93.5307px, 54px);">4</span>'),d.append('<span role="hour" style="transform: translate(54px, 93.5307px);">5</span>'),d.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">6</span>'),d.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">7</span>'),d.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">8</span>'),d.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">9</span>'),d.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">10</span>'),d.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">11</span>'),d.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">12</span>'),"24hr"===c.mode&&(d.append('<span role="hour" style="transform: translate(38px, -65.8179px);">13</span>'),d.append('<span role="hour" style="transform: translate(65.8179px, -38px);">14</span>'),d.append('<span role="hour" style="transform: translate(76px, 0px);">15</span>'),d.append('<span role="hour" style="transform: translate(65.8179px, 38px);">16</span>'),d.append('<span role="hour" style="transform: translate(38px, 65.8179px);">17</span>'),d.append('<span role="hour" style="transform: translate(4.65366e-15px, 76px);">18</span>'),d.append('<span role="hour" style="transform: translate(-38px, 65.8179px);">19</span>'),d.append('<span role="hour" style="transform: translate(-65.8179px, 38px);">20</span>'),d.append('<span role="hour" style="transform: translate(-76px, 9.30732e-15px);">21</span>'),d.append('<span role="hour" style="transform: translate(-65.8179px, -38px);">22</span>'),d.append('<span role="hour" style="transform: translate(-38px, -65.8179px);">23</span>'),d.append('<span role="hour" style="transform: translate(-1.3961e-14px, -76px);">00</span>')),e.append(d),b.find('[role="header"] [role="hour"]').addClass("selected"),b.find('[role="header"] [role="minute"]').removeClass("selected"),c.dialMode="hours",gj.timepicker.methods.update(a,b,c)},renderMinutes:function(a,b,c){var d=b.find('[role="body"]');clearTimeout(a.timeout),d.empty(),$dial=$('<div role="dial"></div>'),$dial.append('<div role="arrow" style="transform: rotate(-90deg); display: none;"><div class="arrow-begin"></div><div class="arrow-end"></div></div>'),$dial.append('<span role="hour" style="transform: translate(54px, -93.5307px);">5</span>'),$dial.append('<span role="hour" style="transform: translate(93.5307px, -54px);">10</span>'),$dial.append('<span role="hour" style="transform: translate(108px, 0px);">15</span>'),$dial.append('<span role="hour" style="transform: translate(93.5307px, 54px);">20</span>'),$dial.append('<span role="hour" style="transform: translate(54px, 93.5307px);">25</span>'),$dial.append('<span role="hour" style="transform: translate(6.61309e-15px, 108px);">30</span>'),$dial.append('<span role="hour" style="transform: translate(-54px, 93.5307px);">35</span>'),$dial.append('<span role="hour" style="transform: translate(-93.5307px, 54px);">40</span>'),$dial.append('<span role="hour" style="transform: translate(-108px, 1.32262e-14px);">45</span>'),$dial.append('<span role="hour" style="transform: translate(-93.5307px, -54px);">50</span>'),$dial.append('<span role="hour" style="transform: translate(-54px, -93.5307px);">55</span>'),$dial.append('<span role="hour" style="transform: translate(-1.98393e-14px, -108px);">00</span>'),d.append($dial),b.find('[role="header"] [role="hour"]').removeClass("selected"),b.find('[role="header"] [role="minute"]').addClass("selected"),c.dialMode="minutes",gj.timepicker.methods.update(a,b,c)},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,d),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")},select:function(a,b){return a.triggerHandler("select",[b])},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);
/*
* Gijgo Tree v1.9.3
* Gijgo Tree v1.9.4
* http://gijgo.com/tree
*
* Copyright 2014, 2017 gijgo.com
* Copyright 2014, 2018 gijgo.com
* Released under the MIT license

@@ -7,0 +7,0 @@ */

{
"name": "gijgo",
"version": "1.9.3",
"version": "1.9.4",
"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",

@@ -7,21 +7,5 @@ # Gijgo - Free Javascript Controls

### Examples
### Widgets
1. [Grid](http://gijgo.com/grid)
2. [Tree](http://gijgo.com/tree)
3. [Dialog](http://gijgo.com/dialog)
4. [Editor](http://gijgo.com/editor)
5. [Checkbox](http://gijgo.com/checkbox)
6. [Draggable](http://gijgo.com/draggable)
7. [Droppable](http://gijgo.com/droppable)
8. [Dropdown](http://gijgo.com/dropdown)
9. [Datepicker](http://gijgo.com/datepicker)
10. [Timepicker](http://gijgo.com/timepicker)
### Top Examples
1. [jQuery Grid](http://gijgo.com/grid)

@@ -34,4 +18,6 @@ 2. [Bootstrap Editable Table](http://gijgo.com/grid/demos/bootstrap-grid-inline-edit)

7. [Bootstrap 4 Datepicker](http://gijgo.com/datepicker/example/bootstrap-4)
8. [Bootstrap 4 Timepicker](http://gijgo.com/timepicker/example/bootstrap-4)
9. [Bootstrap 4 Checkbox](http://gijgo.com/checkbox/example/bootstrap-4)
10. [Bootstrap 4 Table] (http://gijgo.com/grid/demos/bootstrap-4-table)
8. [Angular 5 Datepicker](http://gijgo.com/datepicker/example/angular-5)
9. [Bootstrap 4 Timepicker](http://gijgo.com/timepicker/example/bootstrap-4)
10. [Bootstrap 4 DateTimePicker](http://gijgo.com/datetimepicker/example/bootstrap-4)
11. [Bootstrap 4 Checkbox](http://gijgo.com/checkbox/example/bootstrap-4)
12. [Bootstrap 4 Table] (http://gijgo.com/grid/demos/bootstrap-4-table)

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 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