wbase 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.eot +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.svg +773 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.ttf +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.woff +0 -0
- data/app/assets/fonts/Simple-Line-Icons.eot +0 -0
- data/app/assets/fonts/Simple-Line-Icons.svg +211 -0
- data/app/assets/fonts/Simple-Line-Icons.ttf +0 -0
- data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
- data/app/assets/fonts/Simple-Line-Icons.woff2 +0 -0
- data/app/assets/fonts/et-line.eot +0 -0
- data/app/assets/fonts/et-line.svg +1 -1
- data/app/assets/fonts/et-line.ttf +0 -0
- data/app/assets/fonts/et-line.woff +0 -0
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +685 -0
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +1 -1
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/fonts/ionicons.eot +0 -0
- data/app/assets/fonts/ionicons.svg +1899 -0
- data/app/assets/fonts/ionicons.ttf +0 -0
- data/app/assets/fonts/ionicons.woff +0 -0
- data/app/assets/fonts/themify.eot +0 -0
- data/app/assets/fonts/themify.svg +362 -0
- data/app/assets/fonts/themify.ttf +0 -0
- data/app/assets/fonts/themify.woff +0 -0
- data/app/assets/fonts/typicons.eot +0 -0
- data/app/assets/fonts/typicons.less +1040 -0
- data/app/assets/fonts/typicons.svg +1180 -0
- data/app/assets/fonts/typicons.ttf +0 -0
- data/app/assets/fonts/typicons.woff +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.eot +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.svg +257 -0
- data/app/assets/fonts/weathericons-regular-webfont.ttf +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff2 +0 -0
- data/app/assets/javascripts/wbase/admin/animate/animate.min.css +11 -0
- data/app/assets/javascripts/wbase/admin/autoNumeric/autoNumeric.js +1465 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/autocomplete.zip +0 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/countries.js +267 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/demo.js +77 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/jquery.autocomplete.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/jquery.mockjax.js +601 -0
- data/app/assets/javascripts/wbase/admin/autocomplete.js +77 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css +222 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.js +1106 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/css/bootstrap-datepicker.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/js/bootstrap-datepicker.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.css +269 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.js +1618 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/drp.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.js +351 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-inputmask/bootstrap-inputmask.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-markdown/css/bootstrap-markdown.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-markdown/js/bootstrap-markdown.js +1362 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.js +501 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/src/bootstrap-maxlength.js +501 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/css/bootstrap-select.min.css +6 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js +1735 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.js +49 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.js +70 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.js +36 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-slider/css/bootstrap-slider.min.css +28 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-slider/js/bootstrap-slider.min.js +29 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.css +564 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.js +745 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/thumbs-up.jpg +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-table/css/bootstrap-table.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-table/js/bootstrap-table.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/css/bootstrap-tagsinput.css +60 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/js/bootstrap-tagsinput.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/css/jquery.bootstrap-touchspin.min.css +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/js/jquery.bootstrap-touchspin.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/bootstrap.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.css +158 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.js +7049 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/chart.js/chart.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/chartist/css/chartist.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/chartist/js/chartist-plugin-tooltip.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/chartist/js/chartist.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/clockpicker/css/bootstrap-clockpicker.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/clockpicker/js/bootstrap-clockpicker.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/codemirror/css/ambiance.css +74 -0
- data/app/assets/javascripts/wbase/admin/codemirror/css/codemirror.css +347 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/codemirror.js +8935 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/formatting.js +108 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/javascript.js +638 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/xml.js +333 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.js +195 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.js +215 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/countdown/src/countdown.js +191 -0
- data/app/assets/javascripts/wbase/admin/countdown/src/jquery-wrapper.js +18 -0
- data/app/assets/javascripts/wbase/admin/counterup/jquery.counterup.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.css +315 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.js +2457 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/custombox/css/custombox.css +872 -0
- data/app/assets/javascripts/wbase/admin/custombox/js/custombox.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/custombox/js/legacy.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/d3/d3.js +9426 -0
- data/app/assets/javascripts/wbase/admin/d3/d3.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.bootstrap.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.html5.min.js +20 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.print.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.bootstrap.js +186 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.buttons.min.js +35 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.colVis.js +1107 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedColumns.min.js +35 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedHeader.min.js +16 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.keyTable.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.responsive.min.js +23 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.scroller.min.js +25 -0
- data/app/assets/javascripts/wbase/admin/datatables/jquery.dataTables.min.js +163 -0
- data/app/assets/javascripts/wbase/admin/datatables/json/scroller-demo.json +2502 -0
- data/app/assets/javascripts/wbase/admin/datatables/jszip.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/datatables/pdfmake.min.js +22 -0
- data/app/assets/javascripts/wbase/admin/datatables/responsive.bootstrap.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/datatables/vfs_fonts.js +1 -0
- data/app/assets/javascripts/wbase/admin/datatables.editable.init.js +244 -0
- data/app/assets/javascripts/wbase/admin/datatables.init.js +37 -0
- data/app/assets/javascripts/wbase/admin/detect.js +7 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/README.md +23 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/bower.json +35 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/doc-ready.js +80 -0
- data/app/assets/javascripts/wbase/admin/dropzone/basic.css +39 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone-amd-module.js +1743 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone.css +388 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone.js +1728 -0
- data/app/assets/javascripts/wbase/admin/dropzone/readme.md +10 -0
- data/app/assets/javascripts/wbase/admin/easy-pie-chart.init.js +63 -0
- data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.js +472 -0
- data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/eventie/eventie.js +82 -0
- data/app/assets/javascripts/wbase/admin/fastclick.js +841 -0
- data/app/assets/javascripts/wbase/admin/fizzy-ui-utils/utils.js +270 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.crosshair.js +176 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.orderBars.min.js +186 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.pie.js +820 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.resize.js +59 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.selection.js +360 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.stack.js +188 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.time.js +432 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.tooltip.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.eot +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.svg +78 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.woff +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/footable.core.css +181 -0
- data/app/assets/javascripts/wbase/admin/footable/js/footable.all.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/form-validation-init.js +106 -0
- data/app/assets/javascripts/wbase/admin/fullcalendar/css/fullcalendar.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/fullcalendar/js/fullcalendar.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/get-size/get-size.js +250 -0
- data/app/assets/javascripts/wbase/admin/get-style-property/get-style-property.js +55 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.js +2204 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js.map +1 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.controls.js +83 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.core.js +488 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.events.js +54 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geofences.js +14 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geometry.js +205 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.layers.js +158 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.map_types.js +29 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.markers.js +210 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.native_extensions.js +121 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.overlays.js +134 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.routes.js +330 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.static.js +245 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.streetview.js +44 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.styles.js +9 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.utils.js +42 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.css +519 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.min.css +17 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-green.png +0 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-orange.png +0 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.js +2536 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.min.js +17 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.css +150 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.min.js +76 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.skinFlat.css +106 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/sprite-skin-flat.png +0 -0
- data/app/assets/javascripts/wbase/admin/isotope/js/isotope.pkgd.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/css/jquery.circliful.css +20 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.js +262 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/dataTables.bootstrap.js +186 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/datatables.css +333 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/jquery.dataTables.js +14951 -0
- data/app/assets/javascripts/wbase/admin/jquery-knob/excanvas.js +924 -0
- data/app/assets/javascripts/wbase/admin/jquery-knob/jquery.knob.js +805 -0
- data/app/assets/javascripts/wbase/admin/jquery-quicksearch/jquery.quicksearch.js +181 -0
- data/app/assets/javascripts/wbase/admin/jquery-sparkline/jquery.sparkline.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/external/jquery/jquery.js +9789 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/index.html +513 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.css +1225 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.js +16617 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.css +833 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.css +410 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-validation/js/jquery.validate.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/jquery.app.js +318 -0
- data/app/assets/javascripts/wbase/admin/jquery.blockUI.js +620 -0
- data/app/assets/javascripts/wbase/admin/jquery.bs-table.js +93 -0
- data/app/assets/javascripts/wbase/admin/jquery.c3-chart.init.js +225 -0
- data/app/assets/javascripts/wbase/admin/jquery.chartist.init.js +860 -0
- data/app/assets/javascripts/wbase/admin/jquery.chartjs.init.js +231 -0
- data/app/assets/javascripts/wbase/admin/jquery.charts-sparkline.js +149 -0
- data/app/assets/javascripts/wbase/admin/jquery.chat.js +60 -0
- data/app/assets/javascripts/wbase/admin/jquery.codemirror.init.js +66 -0
- data/app/assets/javascripts/wbase/admin/jquery.core.js +323 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard.js +91 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_2.js +57 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_3.js +64 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_4.js +81 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_crm.js +104 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_ecommerce.js +57 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.js +397 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.js +351 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.js +360 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/angular.directive.js +48 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/easypiechart.js +134 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/jquery.plugin.js +10 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/renderer/canvas.js +190 -0
- data/app/assets/javascripts/wbase/admin/jquery.flot.init.js +500 -0
- data/app/assets/javascripts/wbase/admin/jquery.footable.js +86 -0
- data/app/assets/javascripts/wbase/admin/jquery.form-advanced.init.js +126 -0
- data/app/assets/javascripts/wbase/admin/jquery.form-pickers.init.js +130 -0
- data/app/assets/javascripts/wbase/admin/jquery.fullcalendar.js +202 -0
- data/app/assets/javascripts/wbase/admin/jquery.gmaps.js +226 -0
- data/app/assets/javascripts/wbase/admin/jquery.jsgrid.init.js +123 -0
- data/app/assets/javascripts/wbase/admin/jquery.leads.init.js +53 -0
- data/app/assets/javascripts/wbase/admin/jquery.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/jquery.nicescroll.js +113 -0
- data/app/assets/javascripts/wbase/admin/jquery.nvd3.init.js +297 -0
- data/app/assets/javascripts/wbase/admin/jquery.opportunities.init.js +49 -0
- data/app/assets/javascripts/wbase/admin/jquery.peity.init.js +49 -0
- data/app/assets/javascripts/wbase/admin/jquery.rickshaw.chart.init.js +288 -0
- data/app/assets/javascripts/wbase/admin/jquery.scrollTo.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/jquery.slimscroll.js +474 -0
- data/app/assets/javascripts/wbase/admin/jquery.steps/css/jquery.steps.css +382 -0
- data/app/assets/javascripts/wbase/admin/jquery.steps/js/jquery.steps.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/jquery.sweet-alert.init.js +162 -0
- data/app/assets/javascripts/wbase/admin/jquery.todo.js +153 -0
- data/app/assets/javascripts/wbase/admin/jquery.tree.js +89 -0
- data/app/assets/javascripts/wbase/admin/jquery.ui-sliders.js +66 -0
- data/app/assets/javascripts/wbase/admin/jquery.widgets.js +149 -0
- data/app/assets/javascripts/wbase/admin/jquery.wizard-init.js +87 -0
- data/app/assets/javascripts/wbase/admin/jquery.xeditable.js +117 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.css +258 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.css +126 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.js +2508 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/jstree/32px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/40px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/ajax_children.json +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/ajax_roots.json +8 -0
- data/app/assets/javascripts/wbase/admin/jstree/jstree.js +7988 -0
- data/app/assets/javascripts/wbase/admin/jstree/jstree.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/jstree/style.css +1066 -0
- data/app/assets/javascripts/wbase/admin/jstree/style.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/32px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/40px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.css +1110 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/throbber.gif +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/throbber.gif +0 -0
- data/app/assets/javascripts/wbase/admin/justgage-toorshia/justgage.js +1051 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/gdp-data.js +185 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.css +130 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.min.js +3328 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-asia-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-au-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-ca-lcc.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-de-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-europe-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-in-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-uk-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-aea-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-il-chicago-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap.init.js +215 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/css/ladda-themeless.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.jquery.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/spin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/magnific-popup/css/magnific-popup.css +369 -0
- data/app/assets/javascripts/wbase/admin/magnific-popup/js/jquery.magnific-popup.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.js +3189 -0
- data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/masonry/masonry.js +203 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/basic.html +62 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/bottom-up.html +119 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/index.html +42 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/main.js +19 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/element-sizing.html +69 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/fit-width.html +68 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/fluid.html +89 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/jquery.html +64 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/index.html +41 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/main.js +69 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/right-to-left.html +120 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/sandbox.css +33 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/stamps.html +124 -0
- data/app/assets/javascripts/wbase/admin/matches-selector/matches-selector.js +107 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css +251 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/saturation.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js +1079 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/mocha/media/logo.svg +8 -0
- data/app/assets/javascripts/wbase/admin/mocha/mocha.css +270 -0
- data/app/assets/javascripts/wbase/admin/mocha/mocha.js +5812 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/css/component.css +743 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/js/classie.js +80 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/js/modalEffects.js +57 -0
- data/app/assets/javascripts/wbase/admin/modernizr.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/moment/moment.js +4195 -0
- data/app/assets/javascripts/wbase/admin/morris/morris.css +2 -0
- data/app/assets/javascripts/wbase/admin/morris/morris.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/morris.init.js +184 -0
- data/app/assets/javascripts/wbase/admin/morris.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/multiselect/css/multi-select.css +93 -0
- data/app/assets/javascripts/wbase/admin/multiselect/img/switch.png +0 -0
- data/app/assets/javascripts/wbase/admin/multiselect/js/jquery.multi-select.js +528 -0
- data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.css +74 -0
- data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.js +485 -0
- data/app/assets/javascripts/wbase/admin/nestable.js +59 -0
- data/app/assets/javascripts/wbase/admin/notifications/notification.css +56 -0
- data/app/assets/javascripts/wbase/admin/notifications/notify-metro.js +51 -0
- data/app/assets/javascripts/wbase/admin/notifications/notify.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/notifyjs/js/notify.js +625 -0
- data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/outlayer/item.js +586 -0
- data/app/assets/javascripts/wbase/admin/outlayer/outlayer.js +926 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/LICENSE +22 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/README.md +158 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/ajax-loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.css +179 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.video.play.png +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.js +3148 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.animate.css +29 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.autoheight.css +9 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.carousel.css +74 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.lazyload.css +12 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.default.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.green.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.video.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/ajax-loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/owl.video.play.png +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.animate.js +120 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoheight.js +96 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoplay.js +161 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autorefresh.js +110 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.carousel.js +1654 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.hash.js +121 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.lazyload.js +134 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.navigation.js +381 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.js +82 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.modernizr.js +57 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.video.js +280 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_mixins.scss +21 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_theme.scss +63 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.animate.scss +40 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.autoheight.scss +9 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.carousel.scss +108 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.lazyload.scss +18 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.default.scss +31 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.green.scss +31 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.video.scss +51 -0
- data/app/assets/javascripts/wbase/admin/pace.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/parsleyjs/parsley.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/peity/jquery.peity.js +383 -0
- data/app/assets/javascripts/wbase/admin/peity/jquery.peity.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/radial/radial.css +736 -0
- data/app/assets/javascripts/wbase/admin/raphael/raphael-min.js +11 -0
- data/app/assets/javascripts/wbase/admin/requirejs/require.js +2103 -0
- data/app/assets/javascripts/wbase/admin/responsive-table/css/rwd-table.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/responsive-table/js/rwd-table.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.json +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.jsonp +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data2.json +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/status.json +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.layout.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/select2/css/select2.css +484 -0
- data/app/assets/javascripts/wbase/admin/select2/css/select2.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ar.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/az.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/bg.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ca.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/cs.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/da.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/de.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/el.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/en.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/es.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/et.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/eu.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fa.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/gl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/he.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hu.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/id.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/is.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/it.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ja.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/km.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ko.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/lt.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/lv.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/mk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ms.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/nb.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/nl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt-BR.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ro.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ru.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr-Cyrl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sv.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/th.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/tr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/uk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/vi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-CN.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-TW.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.full.js +6436 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.full.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.js +5725 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/simple-text-rotator/jquery.simple-text-rotator.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/skyicons/skycons.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/css/smoothproducts.css +174 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/jquery-2.1.3.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.js +265 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.eot +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.woff +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.js +99 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.js +114 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.js +110 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.js +105 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.js +115 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.js +107 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.js +135 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.js +133 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.js +115 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.js +107 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.js +135 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.js +112 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.js +132 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.js +102 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.js +112 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.js +102 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.js +106 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.js +106 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.js +111 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.js +113 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.js +113 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.css +16 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.js +303 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.js +82 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.js +315 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.css +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.js +7016 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/switchery/css/switchery.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/switchery/js/switchery.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/css/tablesaw.css +833 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw-init.js +12 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw.js +1266 -0
- data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.js +1177 -0
- data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.min.css +148 -0
- data/app/assets/javascripts/wbase/admin/tiny-editable/mindmup-editabletable.js +131 -0
- data/app/assets/javascripts/wbase/admin/tiny-editable/numeric-input-example.js +48 -0
- data/app/assets/javascripts/wbase/admin/tinymce/jquery.tinymce.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/langs/readme.md +3 -0
- data/app/assets/javascripts/wbase/admin/tinymce/license.txt +504 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/advlist/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/anchor/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autolink/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autoresize/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autosave/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/bbcode/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/charmap/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/code/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/css/prism.css +138 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/colorpicker/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/contextmenu/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/directionality/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/dialog.html +8 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example_dependency/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullpage/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullscreen/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/hr/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/image/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/imagetools/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/importcss/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/insertdatetime/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/layer/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/legacyoutput/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/link/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/lists/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/nonbreaking/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/noneditable/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/pagebreak/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/paste/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/preview/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/print/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/save/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/searchreplace/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/spellchecker/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/tabfocus/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/table/plugin.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/template/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/textcolor/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/textpattern/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/css/visualblocks.css +135 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualchars/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/wordcount/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.svg +129 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/object.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/atomic.js +5 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-atomic.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-browser.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-demo.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-prod.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/browser.js +10 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/demo.js +8 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/prod.js +5 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/dent/depend.js +21 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/bootstrap.js +1526 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/theme.js +1594 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.js +1679 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.raw.js +1679 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/css/demo.css +25 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/html/demo.html +69 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/js/tinymce/inlite/Demo.js +28 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/Theme.js +150 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Arr.js +22 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Bookmark.js +130 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Unlink.js +84 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Uuid.js +34 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Actions.js +106 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Convert.js +37 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/ElementMatcher.js +47 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Layout.js +95 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Matcher.js +39 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Measure.js +61 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/PredicateId.js +32 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SelectionMatcher.js +55 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SkinLoader.js +45 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/UrlType.js +27 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Conversions.js +31 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Picker.js +40 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Buttons.js +80 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Forms.js +102 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Panel.js +218 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Toolbar.js +126 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/ArrTest.js +9 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/UuidTest.js +10 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/ConvertTest.js +12 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/MatcherTest.js +51 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/UrlTypeTest.js +33 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/ThemeTest.js +202 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/BookmarkTest.js +65 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/UnlinkTest.js +38 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ActionsTest.js +177 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ElementMatcher.js +69 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/LayoutTest.js +118 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/MeasureTest.js +62 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/PredicateIdTest.js +26 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/SelectionMatcherTest.js +76 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/ConversionsTest.js +41 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/SelectionMatcher.js +55 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/theme.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/modern/theme.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/tinymce.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.js +275 -0
- data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/transitionize/examples/browserify.js +46 -0
- data/app/assets/javascripts/wbase/admin/transitionize/examples/example.html +31 -0
- data/app/assets/javascripts/wbase/admin/transitionize/transitionize.js +64 -0
- data/app/assets/javascripts/wbase/admin/waves.js +498 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.js +647 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.js +743 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.js +84 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.js +103 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.js +65 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/waypoints.debug.js +46 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.js +690 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/wow.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/x-editable/css/bootstrap-editable.css +663 -0
- data/app/assets/javascripts/wbase/admin/x-editable/img/clear.png +0 -0
- data/app/assets/javascripts/wbase/admin/x-editable/img/loading.gif +0 -0
- data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.js +6807 -0
- data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.min.js +7 -0
- data/app/assets/javascripts/wbase/admin.js +50 -0
- data/app/assets/javascripts/wbase/auth/bootstrap.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/detect.js +1 -1
- data/app/assets/javascripts/wbase/auth/jquery.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/jquery.scrollTo.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/modernizr.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/pace.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/wow.min.js +1 -1
- data/app/assets/javascripts/wbase/landing/bootstrap.min.js +1 -1
- data/app/assets/javascripts/wbase/landing/validator.min.js +1 -1
- data/app/assets/stylesheets/wbase/admin/components.scss +2362 -0
- data/app/assets/stylesheets/wbase/admin/core.scss +2190 -0
- data/app/assets/stylesheets/wbase/admin/datatables/buttons.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/dataTables.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/dataTables.colVis.css +185 -0
- data/app/assets/stylesheets/wbase/admin/datatables/fixedColumns.dataTables.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/fixedHeader.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/jquery.dataTables.min.css +333 -0
- data/app/assets/stylesheets/wbase/admin/datatables/responsive.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/scroller.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/icons.scss +9884 -0
- data/app/assets/stylesheets/wbase/admin/morris.scss +25 -0
- data/app/assets/stylesheets/wbase/admin/pages.scss +2039 -0
- data/app/assets/stylesheets/wbase/admin/responsive.scss +162 -0
- data/app/assets/stylesheets/wbase/admin/typicons.scss +1370 -0
- data/app/assets/stylesheets/wbase/admin.scss +20 -0
- data/app/assets/stylesheets/wbase/auth/components.css +77 -77
- data/app/assets/stylesheets/wbase/auth/core.css +41 -41
- data/app/assets/stylesheets/wbase/auth/pages.css +43 -43
- data/app/views/layouts/wbase/_common_foot.html.erb +42 -0
- data/app/views/layouts/wbase/_common_head.html.erb +2 -1
- data/app/views/layouts/wbase/_olark.html.erb +34 -0
- data/app/views/layouts/wbase/_sidebar.html.erb +22 -0
- data/app/views/layouts/wbase/_topbar.html.erb +48 -0
- data/app/views/layouts/wbase/admin.html.erb +42 -0
- data/app/views/layouts/wbase/auth.html.erb +2 -1
- data/app/views/layouts/wbase/landing.html.erb +1 -0
- data/app/views/shared/{_errors.html.erb → wbase/_errors.html.erb} +0 -0
- data/app/views/shared/wbase/_page_title.html.erb +26 -0
- data/config/initializers/assets.rb +1 -1
- data/lib/wbase/engine.rb +6 -1
- data/lib/wbase/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- metadata +846 -4
- data/app/views/layouts/wbase/application.html.erb +0 -14
@@ -0,0 +1,805 @@
|
|
1
|
+
/*!jQuery Knob*/
|
2
|
+
/**
|
3
|
+
* Downward compatible, touchable dial
|
4
|
+
*
|
5
|
+
* Version: 1.2.11
|
6
|
+
* Requires: jQuery v1.7+
|
7
|
+
*
|
8
|
+
* Copyright (c) 2012 Anthony Terrien
|
9
|
+
* Under MIT License (http://www.opensource.org/licenses/mit-license.php)
|
10
|
+
*
|
11
|
+
* Thanks to vor, eskimoblood, spiffistan, FabrizioC
|
12
|
+
*/
|
13
|
+
(function (factory) {
|
14
|
+
if (typeof exports === 'object') {
|
15
|
+
// CommonJS
|
16
|
+
module.exports = factory(require('jquery'));
|
17
|
+
} else if (typeof define === 'function' && define.amd) {
|
18
|
+
// AMD. Register as an anonymous module.
|
19
|
+
define(['jquery'], factory);
|
20
|
+
} else {
|
21
|
+
// Browser globals
|
22
|
+
factory(jQuery);
|
23
|
+
}
|
24
|
+
}(function ($) {
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Kontrol library
|
28
|
+
*/
|
29
|
+
"use strict";
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Definition of globals and core
|
33
|
+
*/
|
34
|
+
var k = {}, // kontrol
|
35
|
+
max = Math.max,
|
36
|
+
min = Math.min;
|
37
|
+
|
38
|
+
k.c = {};
|
39
|
+
k.c.d = $(document);
|
40
|
+
k.c.t = function (e) {
|
41
|
+
return e.originalEvent.touches.length - 1;
|
42
|
+
};
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Kontrol Object
|
46
|
+
*
|
47
|
+
* Definition of an abstract UI control
|
48
|
+
*
|
49
|
+
* Each concrete component must call this one.
|
50
|
+
* <code>
|
51
|
+
* k.o.call(this);
|
52
|
+
* </code>
|
53
|
+
*/
|
54
|
+
k.o = function () {
|
55
|
+
var s = this;
|
56
|
+
|
57
|
+
this.o = null; // array of options
|
58
|
+
this.$ = null; // jQuery wrapped element
|
59
|
+
this.i = null; // mixed HTMLInputElement or array of HTMLInputElement
|
60
|
+
this.g = null; // deprecated 2D graphics context for 'pre-rendering'
|
61
|
+
this.v = null; // value ; mixed array or integer
|
62
|
+
this.cv = null; // change value ; not commited value
|
63
|
+
this.x = 0; // canvas x position
|
64
|
+
this.y = 0; // canvas y position
|
65
|
+
this.w = 0; // canvas width
|
66
|
+
this.h = 0; // canvas height
|
67
|
+
this.$c = null; // jQuery canvas element
|
68
|
+
this.c = null; // rendered canvas context
|
69
|
+
this.t = 0; // touches index
|
70
|
+
this.isInit = false;
|
71
|
+
this.fgColor = null; // main color
|
72
|
+
this.pColor = null; // previous color
|
73
|
+
this.dH = null; // draw hook
|
74
|
+
this.cH = null; // change hook
|
75
|
+
this.eH = null; // cancel hook
|
76
|
+
this.rH = null; // release hook
|
77
|
+
this.scale = 1; // scale factor
|
78
|
+
this.relative = false;
|
79
|
+
this.relativeWidth = false;
|
80
|
+
this.relativeHeight = false;
|
81
|
+
this.$div = null; // component div
|
82
|
+
|
83
|
+
this.run = function () {
|
84
|
+
var cf = function (e, conf) {
|
85
|
+
var k;
|
86
|
+
for (k in conf) {
|
87
|
+
s.o[k] = conf[k];
|
88
|
+
}
|
89
|
+
s._carve().init();
|
90
|
+
s._configure()
|
91
|
+
._draw();
|
92
|
+
};
|
93
|
+
|
94
|
+
if (this.$.data('kontroled')) return;
|
95
|
+
this.$.data('kontroled', true);
|
96
|
+
|
97
|
+
this.extend();
|
98
|
+
this.o = $.extend({
|
99
|
+
// Config
|
100
|
+
min: this.$.data('min') !== undefined ? this.$.data('min') : 0,
|
101
|
+
max: this.$.data('max') !== undefined ? this.$.data('max') : 100,
|
102
|
+
stopper: true,
|
103
|
+
readOnly: this.$.data('readonly') || (this.$.attr('readonly') === 'readonly'),
|
104
|
+
|
105
|
+
// UI
|
106
|
+
cursor: this.$.data('cursor') === true && 30
|
107
|
+
|| this.$.data('cursor') || 0,
|
108
|
+
thickness: this.$.data('thickness')
|
109
|
+
&& Math.max(Math.min(this.$.data('thickness'), 1), 0.01)
|
110
|
+
|| 0.35,
|
111
|
+
lineCap: this.$.data('linecap') || 'butt',
|
112
|
+
width: this.$.data('width') || 200,
|
113
|
+
height: this.$.data('height') || 200,
|
114
|
+
displayInput: this.$.data('displayinput') == null || this.$.data('displayinput'),
|
115
|
+
displayPrevious: this.$.data('displayprevious'),
|
116
|
+
fgColor: this.$.data('fgcolor') || '#87CEEB',
|
117
|
+
inputColor: this.$.data('inputcolor'),
|
118
|
+
font: this.$.data('font') || 'Arial',
|
119
|
+
fontWeight: this.$.data('font-weight') || 'bold',
|
120
|
+
inline: false,
|
121
|
+
step: this.$.data('step') || 1,
|
122
|
+
rotation: this.$.data('rotation'),
|
123
|
+
|
124
|
+
// Hooks
|
125
|
+
draw: null, // function () {}
|
126
|
+
change: null, // function (value) {}
|
127
|
+
cancel: null, // function () {}
|
128
|
+
release: null, // function (value) {}
|
129
|
+
|
130
|
+
// Output formatting, allows to add unit: %, ms ...
|
131
|
+
format: function(v) {
|
132
|
+
return v;
|
133
|
+
},
|
134
|
+
parse: function (v) {
|
135
|
+
return parseFloat(v);
|
136
|
+
}
|
137
|
+
}, this.o
|
138
|
+
);
|
139
|
+
|
140
|
+
// finalize options
|
141
|
+
this.o.flip = this.o.rotation === 'anticlockwise' || this.o.rotation === 'acw';
|
142
|
+
if (!this.o.inputColor) {
|
143
|
+
this.o.inputColor = this.o.fgColor;
|
144
|
+
}
|
145
|
+
|
146
|
+
// routing value
|
147
|
+
if (this.$.is('fieldset')) {
|
148
|
+
|
149
|
+
// fieldset = array of integer
|
150
|
+
this.v = {};
|
151
|
+
this.i = this.$.find('input');
|
152
|
+
this.i.each(function(k) {
|
153
|
+
var $this = $(this);
|
154
|
+
s.i[k] = $this;
|
155
|
+
s.v[k] = s.o.parse($this.val());
|
156
|
+
|
157
|
+
$this.bind(
|
158
|
+
'change blur',
|
159
|
+
function () {
|
160
|
+
var val = {};
|
161
|
+
val[k] = $this.val();
|
162
|
+
s.val(s._validate(val));
|
163
|
+
}
|
164
|
+
);
|
165
|
+
});
|
166
|
+
this.$.find('legend').remove();
|
167
|
+
} else {
|
168
|
+
|
169
|
+
// input = integer
|
170
|
+
this.i = this.$;
|
171
|
+
this.v = this.o.parse(this.$.val());
|
172
|
+
this.v === '' && (this.v = this.o.min);
|
173
|
+
this.$.bind(
|
174
|
+
'change blur',
|
175
|
+
function () {
|
176
|
+
s.val(s._validate(s.o.parse(s.$.val())));
|
177
|
+
}
|
178
|
+
);
|
179
|
+
|
180
|
+
}
|
181
|
+
|
182
|
+
!this.o.displayInput && this.$.hide();
|
183
|
+
|
184
|
+
// adds needed DOM elements (canvas, div)
|
185
|
+
this.$c = $(document.createElement('canvas')).attr({
|
186
|
+
width: this.o.width,
|
187
|
+
height: this.o.height
|
188
|
+
});
|
189
|
+
|
190
|
+
// wraps all elements in a div
|
191
|
+
// add to DOM before Canvas init is triggered
|
192
|
+
this.$div = $('<div style="'
|
193
|
+
+ (this.o.inline ? 'display:inline;' : '')
|
194
|
+
+ 'width:' + this.o.width + 'px;height:' + this.o.height + 'px;'
|
195
|
+
+ '"></div>');
|
196
|
+
|
197
|
+
this.$.wrap(this.$div).before(this.$c);
|
198
|
+
this.$div = this.$.parent();
|
199
|
+
|
200
|
+
if (typeof G_vmlCanvasManager !== 'undefined') {
|
201
|
+
G_vmlCanvasManager.initElement(this.$c[0]);
|
202
|
+
}
|
203
|
+
|
204
|
+
this.c = this.$c[0].getContext ? this.$c[0].getContext('2d') : null;
|
205
|
+
|
206
|
+
if (!this.c) {
|
207
|
+
throw {
|
208
|
+
name: "CanvasNotSupportedException",
|
209
|
+
message: "Canvas not supported. Please use excanvas on IE8.0.",
|
210
|
+
toString: function(){return this.name + ": " + this.message}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
// hdpi support
|
215
|
+
this.scale = (window.devicePixelRatio || 1) / (
|
216
|
+
this.c.webkitBackingStorePixelRatio ||
|
217
|
+
this.c.mozBackingStorePixelRatio ||
|
218
|
+
this.c.msBackingStorePixelRatio ||
|
219
|
+
this.c.oBackingStorePixelRatio ||
|
220
|
+
this.c.backingStorePixelRatio || 1
|
221
|
+
);
|
222
|
+
|
223
|
+
// detects relative width / height
|
224
|
+
this.relativeWidth = this.o.width % 1 !== 0
|
225
|
+
&& this.o.width.indexOf('%');
|
226
|
+
this.relativeHeight = this.o.height % 1 !== 0
|
227
|
+
&& this.o.height.indexOf('%');
|
228
|
+
this.relative = this.relativeWidth || this.relativeHeight;
|
229
|
+
|
230
|
+
// computes size and carves the component
|
231
|
+
this._carve();
|
232
|
+
|
233
|
+
// prepares props for transaction
|
234
|
+
if (this.v instanceof Object) {
|
235
|
+
this.cv = {};
|
236
|
+
this.copy(this.v, this.cv);
|
237
|
+
} else {
|
238
|
+
this.cv = this.v;
|
239
|
+
}
|
240
|
+
|
241
|
+
// binds configure event
|
242
|
+
this.$
|
243
|
+
.bind("configure", cf)
|
244
|
+
.parent()
|
245
|
+
.bind("configure", cf);
|
246
|
+
|
247
|
+
// finalize init
|
248
|
+
this._listen()
|
249
|
+
._configure()
|
250
|
+
._xy()
|
251
|
+
.init();
|
252
|
+
|
253
|
+
this.isInit = true;
|
254
|
+
|
255
|
+
this.$.val(this.o.format(this.v));
|
256
|
+
this._draw();
|
257
|
+
|
258
|
+
return this;
|
259
|
+
};
|
260
|
+
|
261
|
+
this._carve = function() {
|
262
|
+
if (this.relative) {
|
263
|
+
var w = this.relativeWidth ?
|
264
|
+
this.$div.parent().width() *
|
265
|
+
parseInt(this.o.width) / 100
|
266
|
+
: this.$div.parent().width(),
|
267
|
+
h = this.relativeHeight ?
|
268
|
+
this.$div.parent().height() *
|
269
|
+
parseInt(this.o.height) / 100
|
270
|
+
: this.$div.parent().height();
|
271
|
+
|
272
|
+
// apply relative
|
273
|
+
this.w = this.h = Math.min(w, h);
|
274
|
+
} else {
|
275
|
+
this.w = this.o.width;
|
276
|
+
this.h = this.o.height;
|
277
|
+
}
|
278
|
+
|
279
|
+
// finalize div
|
280
|
+
this.$div.css({
|
281
|
+
'width': this.w + 'px',
|
282
|
+
'height': this.h + 'px'
|
283
|
+
});
|
284
|
+
|
285
|
+
// finalize canvas with computed width
|
286
|
+
this.$c.attr({
|
287
|
+
width: this.w,
|
288
|
+
height: this.h
|
289
|
+
});
|
290
|
+
|
291
|
+
// scaling
|
292
|
+
if (this.scale !== 1) {
|
293
|
+
this.$c[0].width = this.$c[0].width * this.scale;
|
294
|
+
this.$c[0].height = this.$c[0].height * this.scale;
|
295
|
+
this.$c.width(this.w);
|
296
|
+
this.$c.height(this.h);
|
297
|
+
}
|
298
|
+
|
299
|
+
return this;
|
300
|
+
};
|
301
|
+
|
302
|
+
this._draw = function () {
|
303
|
+
|
304
|
+
// canvas pre-rendering
|
305
|
+
var d = true;
|
306
|
+
|
307
|
+
s.g = s.c;
|
308
|
+
|
309
|
+
s.clear();
|
310
|
+
|
311
|
+
s.dH && (d = s.dH());
|
312
|
+
|
313
|
+
d !== false && s.draw();
|
314
|
+
};
|
315
|
+
|
316
|
+
this._touch = function (e) {
|
317
|
+
var touchMove = function (e) {
|
318
|
+
var v = s.xy2val(
|
319
|
+
e.originalEvent.touches[s.t].pageX,
|
320
|
+
e.originalEvent.touches[s.t].pageY
|
321
|
+
);
|
322
|
+
|
323
|
+
if (v == s.cv) return;
|
324
|
+
|
325
|
+
if (s.cH && s.cH(v) === false) return;
|
326
|
+
|
327
|
+
s.change(s._validate(v));
|
328
|
+
s._draw();
|
329
|
+
};
|
330
|
+
|
331
|
+
// get touches index
|
332
|
+
this.t = k.c.t(e);
|
333
|
+
|
334
|
+
// First touch
|
335
|
+
touchMove(e);
|
336
|
+
|
337
|
+
// Touch events listeners
|
338
|
+
k.c.d
|
339
|
+
.bind("touchmove.k", touchMove)
|
340
|
+
.bind(
|
341
|
+
"touchend.k",
|
342
|
+
function () {
|
343
|
+
k.c.d.unbind('touchmove.k touchend.k');
|
344
|
+
s.val(s.cv);
|
345
|
+
}
|
346
|
+
);
|
347
|
+
|
348
|
+
return this;
|
349
|
+
};
|
350
|
+
|
351
|
+
this._mouse = function (e) {
|
352
|
+
var mouseMove = function (e) {
|
353
|
+
var v = s.xy2val(e.pageX, e.pageY);
|
354
|
+
|
355
|
+
if (v == s.cv) return;
|
356
|
+
|
357
|
+
if (s.cH && (s.cH(v) === false)) return;
|
358
|
+
|
359
|
+
s.change(s._validate(v));
|
360
|
+
s._draw();
|
361
|
+
};
|
362
|
+
|
363
|
+
// First click
|
364
|
+
mouseMove(e);
|
365
|
+
|
366
|
+
// Mouse events listeners
|
367
|
+
k.c.d
|
368
|
+
.bind("mousemove.k", mouseMove)
|
369
|
+
.bind(
|
370
|
+
// Escape key cancel current change
|
371
|
+
"keyup.k",
|
372
|
+
function (e) {
|
373
|
+
if (e.keyCode === 27) {
|
374
|
+
k.c.d.unbind("mouseup.k mousemove.k keyup.k");
|
375
|
+
|
376
|
+
if (s.eH && s.eH() === false)
|
377
|
+
return;
|
378
|
+
|
379
|
+
s.cancel();
|
380
|
+
}
|
381
|
+
}
|
382
|
+
)
|
383
|
+
.bind(
|
384
|
+
"mouseup.k",
|
385
|
+
function (e) {
|
386
|
+
k.c.d.unbind('mousemove.k mouseup.k keyup.k');
|
387
|
+
s.val(s.cv);
|
388
|
+
}
|
389
|
+
);
|
390
|
+
|
391
|
+
return this;
|
392
|
+
};
|
393
|
+
|
394
|
+
this._xy = function () {
|
395
|
+
var o = this.$c.offset();
|
396
|
+
this.x = o.left;
|
397
|
+
this.y = o.top;
|
398
|
+
|
399
|
+
return this;
|
400
|
+
};
|
401
|
+
|
402
|
+
this._listen = function () {
|
403
|
+
if (!this.o.readOnly) {
|
404
|
+
this.$c
|
405
|
+
.bind(
|
406
|
+
"mousedown",
|
407
|
+
function (e) {
|
408
|
+
e.preventDefault();
|
409
|
+
s._xy()._mouse(e);
|
410
|
+
}
|
411
|
+
)
|
412
|
+
.bind(
|
413
|
+
"touchstart",
|
414
|
+
function (e) {
|
415
|
+
e.preventDefault();
|
416
|
+
s._xy()._touch(e);
|
417
|
+
}
|
418
|
+
);
|
419
|
+
|
420
|
+
this.listen();
|
421
|
+
} else {
|
422
|
+
this.$.attr('readonly', 'readonly');
|
423
|
+
}
|
424
|
+
|
425
|
+
if (this.relative) {
|
426
|
+
$(window).resize(function() {
|
427
|
+
s._carve().init();
|
428
|
+
s._draw();
|
429
|
+
});
|
430
|
+
}
|
431
|
+
|
432
|
+
return this;
|
433
|
+
};
|
434
|
+
|
435
|
+
this._configure = function () {
|
436
|
+
|
437
|
+
// Hooks
|
438
|
+
if (this.o.draw) this.dH = this.o.draw;
|
439
|
+
if (this.o.change) this.cH = this.o.change;
|
440
|
+
if (this.o.cancel) this.eH = this.o.cancel;
|
441
|
+
if (this.o.release) this.rH = this.o.release;
|
442
|
+
|
443
|
+
if (this.o.displayPrevious) {
|
444
|
+
this.pColor = this.h2rgba(this.o.fgColor, "0.4");
|
445
|
+
this.fgColor = this.h2rgba(this.o.fgColor, "0.6");
|
446
|
+
} else {
|
447
|
+
this.fgColor = this.o.fgColor;
|
448
|
+
}
|
449
|
+
|
450
|
+
return this;
|
451
|
+
};
|
452
|
+
|
453
|
+
this._clear = function () {
|
454
|
+
this.$c[0].width = this.$c[0].width;
|
455
|
+
};
|
456
|
+
|
457
|
+
this._validate = function (v) {
|
458
|
+
var val = (~~ (((v < 0) ? -0.5 : 0.5) + (v/this.o.step))) * this.o.step;
|
459
|
+
return Math.round(val * 100) / 100;
|
460
|
+
};
|
461
|
+
|
462
|
+
// Abstract methods
|
463
|
+
this.listen = function () {}; // on start, one time
|
464
|
+
this.extend = function () {}; // each time configure triggered
|
465
|
+
this.init = function () {}; // each time configure triggered
|
466
|
+
this.change = function (v) {}; // on change
|
467
|
+
this.val = function (v) {}; // on release
|
468
|
+
this.xy2val = function (x, y) {}; //
|
469
|
+
this.draw = function () {}; // on change / on release
|
470
|
+
this.clear = function () { this._clear(); };
|
471
|
+
|
472
|
+
// Utils
|
473
|
+
this.h2rgba = function (h, a) {
|
474
|
+
var rgb;
|
475
|
+
h = h.substring(1,7);
|
476
|
+
rgb = [
|
477
|
+
parseInt(h.substring(0,2), 16),
|
478
|
+
parseInt(h.substring(2,4), 16),
|
479
|
+
parseInt(h.substring(4,6), 16)
|
480
|
+
];
|
481
|
+
|
482
|
+
return "rgba(" + rgb[0] + "," + rgb[1] + "," + rgb[2] + "," + a + ")";
|
483
|
+
};
|
484
|
+
|
485
|
+
this.copy = function (f, t) {
|
486
|
+
for (var i in f) {
|
487
|
+
t[i] = f[i];
|
488
|
+
}
|
489
|
+
};
|
490
|
+
};
|
491
|
+
|
492
|
+
|
493
|
+
/**
|
494
|
+
* k.Dial
|
495
|
+
*/
|
496
|
+
k.Dial = function () {
|
497
|
+
k.o.call(this);
|
498
|
+
|
499
|
+
this.startAngle = null;
|
500
|
+
this.xy = null;
|
501
|
+
this.radius = null;
|
502
|
+
this.lineWidth = null;
|
503
|
+
this.cursorExt = null;
|
504
|
+
this.w2 = null;
|
505
|
+
this.PI2 = 2*Math.PI;
|
506
|
+
|
507
|
+
this.extend = function () {
|
508
|
+
this.o = $.extend({
|
509
|
+
bgColor: this.$.data('bgcolor') || '#EEEEEE',
|
510
|
+
angleOffset: this.$.data('angleoffset') || 0,
|
511
|
+
angleArc: this.$.data('anglearc') || 360,
|
512
|
+
inline: true
|
513
|
+
}, this.o);
|
514
|
+
};
|
515
|
+
|
516
|
+
this.val = function (v, triggerRelease) {
|
517
|
+
if (null != v) {
|
518
|
+
|
519
|
+
// reverse format
|
520
|
+
v = this.o.parse(v);
|
521
|
+
|
522
|
+
if (triggerRelease !== false
|
523
|
+
&& v != this.v
|
524
|
+
&& this.rH
|
525
|
+
&& this.rH(v) === false) { return; }
|
526
|
+
|
527
|
+
this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v;
|
528
|
+
this.v = this.cv;
|
529
|
+
this.$.val(this.o.format(this.v));
|
530
|
+
this._draw();
|
531
|
+
} else {
|
532
|
+
return this.v;
|
533
|
+
}
|
534
|
+
};
|
535
|
+
|
536
|
+
this.xy2val = function (x, y) {
|
537
|
+
var a, ret;
|
538
|
+
|
539
|
+
a = Math.atan2(
|
540
|
+
x - (this.x + this.w2),
|
541
|
+
- (y - this.y - this.w2)
|
542
|
+
) - this.angleOffset;
|
543
|
+
|
544
|
+
if (this.o.flip) {
|
545
|
+
a = this.angleArc - a - this.PI2;
|
546
|
+
}
|
547
|
+
|
548
|
+
if (this.angleArc != this.PI2 && (a < 0) && (a > -0.5)) {
|
549
|
+
|
550
|
+
// if isset angleArc option, set to min if .5 under min
|
551
|
+
a = 0;
|
552
|
+
} else if (a < 0) {
|
553
|
+
a += this.PI2;
|
554
|
+
}
|
555
|
+
|
556
|
+
ret = (a * (this.o.max - this.o.min) / this.angleArc) + this.o.min;
|
557
|
+
|
558
|
+
this.o.stopper && (ret = max(min(ret, this.o.max), this.o.min));
|
559
|
+
|
560
|
+
return ret;
|
561
|
+
};
|
562
|
+
|
563
|
+
this.listen = function () {
|
564
|
+
|
565
|
+
// bind MouseWheel
|
566
|
+
var s = this, mwTimerStop,
|
567
|
+
mwTimerRelease,
|
568
|
+
mw = function (e) {
|
569
|
+
e.preventDefault();
|
570
|
+
|
571
|
+
var ori = e.originalEvent,
|
572
|
+
deltaX = ori.detail || ori.wheelDeltaX,
|
573
|
+
deltaY = ori.detail || ori.wheelDeltaY,
|
574
|
+
v = s._validate(s.o.parse(s.$.val()))
|
575
|
+
+ (
|
576
|
+
deltaX > 0 || deltaY > 0
|
577
|
+
? s.o.step
|
578
|
+
: deltaX < 0 || deltaY < 0 ? -s.o.step : 0
|
579
|
+
);
|
580
|
+
|
581
|
+
v = max(min(v, s.o.max), s.o.min);
|
582
|
+
|
583
|
+
s.val(v, false);
|
584
|
+
|
585
|
+
if (s.rH) {
|
586
|
+
// Handle mousewheel stop
|
587
|
+
clearTimeout(mwTimerStop);
|
588
|
+
mwTimerStop = setTimeout(function () {
|
589
|
+
s.rH(v);
|
590
|
+
mwTimerStop = null;
|
591
|
+
}, 100);
|
592
|
+
|
593
|
+
// Handle mousewheel releases
|
594
|
+
if (!mwTimerRelease) {
|
595
|
+
mwTimerRelease = setTimeout(function () {
|
596
|
+
if (mwTimerStop)
|
597
|
+
s.rH(v);
|
598
|
+
mwTimerRelease = null;
|
599
|
+
}, 200);
|
600
|
+
}
|
601
|
+
}
|
602
|
+
},
|
603
|
+
kval,
|
604
|
+
to,
|
605
|
+
m = 1,
|
606
|
+
kv = {
|
607
|
+
37: -s.o.step,
|
608
|
+
38: s.o.step,
|
609
|
+
39: s.o.step,
|
610
|
+
40: -s.o.step
|
611
|
+
};
|
612
|
+
|
613
|
+
this.$
|
614
|
+
.bind(
|
615
|
+
"keydown",
|
616
|
+
function (e) {
|
617
|
+
var kc = e.keyCode;
|
618
|
+
|
619
|
+
// numpad support
|
620
|
+
if (kc >= 96 && kc <= 105) {
|
621
|
+
kc = e.keyCode = kc - 48;
|
622
|
+
}
|
623
|
+
|
624
|
+
kval = parseInt(String.fromCharCode(kc));
|
625
|
+
|
626
|
+
if (isNaN(kval)) {
|
627
|
+
(kc !== 13) // enter
|
628
|
+
&& kc !== 8 // bs
|
629
|
+
&& kc !== 9 // tab
|
630
|
+
&& kc !== 189 // -
|
631
|
+
&& (kc !== 190
|
632
|
+
|| s.$.val().match(/\./)) // . allowed once
|
633
|
+
&& e.preventDefault();
|
634
|
+
|
635
|
+
// arrows
|
636
|
+
if ($.inArray(kc,[37,38,39,40]) > -1) {
|
637
|
+
e.preventDefault();
|
638
|
+
|
639
|
+
var v = s.o.parse(s.$.val()) + kv[kc] * m;
|
640
|
+
s.o.stopper && (v = max(min(v, s.o.max), s.o.min));
|
641
|
+
|
642
|
+
s.change(s._validate(v));
|
643
|
+
s._draw();
|
644
|
+
|
645
|
+
// long time keydown speed-up
|
646
|
+
to = window.setTimeout(function () {
|
647
|
+
m *= 2;
|
648
|
+
}, 30);
|
649
|
+
}
|
650
|
+
}
|
651
|
+
}
|
652
|
+
)
|
653
|
+
.bind(
|
654
|
+
"keyup",
|
655
|
+
function (e) {
|
656
|
+
if (isNaN(kval)) {
|
657
|
+
if (to) {
|
658
|
+
window.clearTimeout(to);
|
659
|
+
to = null;
|
660
|
+
m = 1;
|
661
|
+
s.val(s.$.val());
|
662
|
+
}
|
663
|
+
} else {
|
664
|
+
// kval postcond
|
665
|
+
(s.$.val() > s.o.max && s.$.val(s.o.max))
|
666
|
+
|| (s.$.val() < s.o.min && s.$.val(s.o.min));
|
667
|
+
}
|
668
|
+
}
|
669
|
+
);
|
670
|
+
|
671
|
+
this.$c.bind("mousewheel DOMMouseScroll", mw);
|
672
|
+
this.$.bind("mousewheel DOMMouseScroll", mw);
|
673
|
+
};
|
674
|
+
|
675
|
+
this.init = function () {
|
676
|
+
if (this.v < this.o.min
|
677
|
+
|| this.v > this.o.max) { this.v = this.o.min; }
|
678
|
+
|
679
|
+
this.$.val(this.v);
|
680
|
+
this.w2 = this.w / 2;
|
681
|
+
this.cursorExt = this.o.cursor / 100;
|
682
|
+
this.xy = this.w2 * this.scale;
|
683
|
+
this.lineWidth = this.xy * this.o.thickness;
|
684
|
+
this.lineCap = this.o.lineCap;
|
685
|
+
this.radius = this.xy - this.lineWidth / 2;
|
686
|
+
|
687
|
+
this.o.angleOffset
|
688
|
+
&& (this.o.angleOffset = isNaN(this.o.angleOffset) ? 0 : this.o.angleOffset);
|
689
|
+
|
690
|
+
this.o.angleArc
|
691
|
+
&& (this.o.angleArc = isNaN(this.o.angleArc) ? this.PI2 : this.o.angleArc);
|
692
|
+
|
693
|
+
// deg to rad
|
694
|
+
this.angleOffset = this.o.angleOffset * Math.PI / 180;
|
695
|
+
this.angleArc = this.o.angleArc * Math.PI / 180;
|
696
|
+
|
697
|
+
// compute start and end angles
|
698
|
+
this.startAngle = 1.5 * Math.PI + this.angleOffset;
|
699
|
+
this.endAngle = 1.5 * Math.PI + this.angleOffset + this.angleArc;
|
700
|
+
|
701
|
+
var s = max(
|
702
|
+
String(Math.abs(this.o.max)).length,
|
703
|
+
String(Math.abs(this.o.min)).length,
|
704
|
+
2
|
705
|
+
) + 2;
|
706
|
+
|
707
|
+
this.o.displayInput
|
708
|
+
&& this.i.css({
|
709
|
+
'width' : ((this.w / 2 + 4) >> 0) + 'px',
|
710
|
+
'height' : ((this.w / 3) >> 0) + 'px',
|
711
|
+
'position' : 'absolute',
|
712
|
+
'vertical-align' : 'middle',
|
713
|
+
'margin-top' : ((this.w / 3) >> 0) + 'px',
|
714
|
+
'margin-left' : '-' + ((this.w * 3 / 4 + 2) >> 0) + 'px',
|
715
|
+
'border' : 0,
|
716
|
+
'background' : 'none',
|
717
|
+
'font' : this.o.fontWeight + ' ' + ((this.w / s) >> 0) + 'px ' + this.o.font,
|
718
|
+
'text-align' : 'center',
|
719
|
+
'color' : this.o.inputColor || this.o.fgColor,
|
720
|
+
'padding' : '0px',
|
721
|
+
'-webkit-appearance': 'none'
|
722
|
+
}) || this.i.css({
|
723
|
+
'width': '0px',
|
724
|
+
'visibility': 'hidden'
|
725
|
+
});
|
726
|
+
};
|
727
|
+
|
728
|
+
this.change = function (v) {
|
729
|
+
this.cv = v;
|
730
|
+
this.$.val(this.o.format(v));
|
731
|
+
};
|
732
|
+
|
733
|
+
this.angle = function (v) {
|
734
|
+
return (v - this.o.min) * this.angleArc / (this.o.max - this.o.min);
|
735
|
+
};
|
736
|
+
|
737
|
+
this.arc = function (v) {
|
738
|
+
var sa, ea;
|
739
|
+
v = this.angle(v);
|
740
|
+
if (this.o.flip) {
|
741
|
+
sa = this.endAngle + 0.00001;
|
742
|
+
ea = sa - v - 0.00001;
|
743
|
+
} else {
|
744
|
+
sa = this.startAngle - 0.00001;
|
745
|
+
ea = sa + v + 0.00001;
|
746
|
+
}
|
747
|
+
this.o.cursor
|
748
|
+
&& (sa = ea - this.cursorExt)
|
749
|
+
&& (ea = ea + this.cursorExt);
|
750
|
+
|
751
|
+
return {
|
752
|
+
s: sa,
|
753
|
+
e: ea,
|
754
|
+
d: this.o.flip && !this.o.cursor
|
755
|
+
};
|
756
|
+
};
|
757
|
+
|
758
|
+
this.draw = function () {
|
759
|
+
var c = this.g, // context
|
760
|
+
a = this.arc(this.cv), // Arc
|
761
|
+
pa, // Previous arc
|
762
|
+
r = 1;
|
763
|
+
|
764
|
+
c.lineWidth = this.lineWidth;
|
765
|
+
c.lineCap = this.lineCap;
|
766
|
+
|
767
|
+
if (this.o.bgColor !== "none") {
|
768
|
+
c.beginPath();
|
769
|
+
c.strokeStyle = this.o.bgColor;
|
770
|
+
c.arc(this.xy, this.xy, this.radius, this.endAngle - 0.00001, this.startAngle + 0.00001, true);
|
771
|
+
c.stroke();
|
772
|
+
}
|
773
|
+
|
774
|
+
if (this.o.displayPrevious) {
|
775
|
+
pa = this.arc(this.v);
|
776
|
+
c.beginPath();
|
777
|
+
c.strokeStyle = this.pColor;
|
778
|
+
c.arc(this.xy, this.xy, this.radius, pa.s, pa.e, pa.d);
|
779
|
+
c.stroke();
|
780
|
+
r = this.cv == this.v;
|
781
|
+
}
|
782
|
+
|
783
|
+
c.beginPath();
|
784
|
+
c.strokeStyle = r ? this.o.fgColor : this.fgColor ;
|
785
|
+
c.arc(this.xy, this.xy, this.radius, a.s, a.e, a.d);
|
786
|
+
c.stroke();
|
787
|
+
};
|
788
|
+
|
789
|
+
this.cancel = function () {
|
790
|
+
this.val(this.v);
|
791
|
+
};
|
792
|
+
};
|
793
|
+
|
794
|
+
$.fn.dial = $.fn.knob = function (o) {
|
795
|
+
return this.each(
|
796
|
+
function () {
|
797
|
+
var d = new k.Dial();
|
798
|
+
d.o = o;
|
799
|
+
d.$ = $(this);
|
800
|
+
d.run();
|
801
|
+
}
|
802
|
+
).parent();
|
803
|
+
};
|
804
|
+
|
805
|
+
}));
|