{"size": 2135, "ext": "js", "max_stars_repo_path": "assets/js/alacarte.js", "max_stars_repo_name": "niningparwati/umkm_ppkm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "assets/js/alacarte.js", "max_issues_repo_name": "niningparwati/umkm_ppkm", "max_issues_repo_issues_event_min_datetime": "2021-03-10T19:26:21.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-29T17:41:16.000Z", "max_forks_repo_path": "assets/js/alacarte.js", "max_forks_repo_name": "niningparwati/umkm_ppkm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 28.8513513514, "max_line_length": 139, "alphanum_fraction": 0.5433255269}
// BOX FULLSCREEN
$(document).ready(function () {
    $(".toggle-expand-btn").click(function (e) {
      $(this).closest('.box.box-success').toggleClass('box-fullscreen');
    });

    $('.summernote').summernote({
        height: 200, // set editor height
        minHeight: null, // set minimum height of editor
        maxHeight: null, // set maximum height of editor
        focus: true                  // set focus to editable area after initializing summernote
    });

    $(".select2").select2({
      	placeholder: "Pilih",
  	});
});

//Date picker
$('.datepicker').datepicker({
    autoclose: true,
});


$(function() {
    $('.photo-input').fileinput({
        browseLabel: 'Select Photo',
        browseClass: 'btn btn-info',
        browseIcon: '<i class="fa fa-picture-o"></i>',
        removeLabel: 'Cancel',
        removeClass: 'btn btn-danger',
        removeIcon: '<i class="fa fa-times-circle"></i>',
        layoutTemplates: {
            icon: '<i class="fa fa-file-image-o"></i>'
        },
        showUpload: false,
        showClose: false,
        maxFilesNum: 10,
        allowedFileExtensions: ["jpg", "png", "jpeg","gif"],
        maxFileSize: 3072,
        overwriteInitial: true,
    });
});

$(function() {
    $('.file-input').fileinput({
        browseLabel: 'Select File',
        browseClass: 'btn btn-info',
        browseIcon: '<i class="fa fa-file-o"></i>',
        removeLabel: 'Cancel',
        removeClass: 'btn btn-danger',
        removeIcon: '<i class="fa fa-times-circle"></i>',
        layoutTemplates: {
            icon: '<i class="fa fa-file-image-o"></i>'
        },
        showUpload: false,
        showClose: false,
        maxFilesNum: 10,
        allowedFileExtensions: ["jpg", "png", "jpeg","gif","txt", "pdf", "docx", "xlsx", "pptx", "rtf", "rar", "zip", "doc", "xls", "ppt"],
        maxFileSize: 3072,
        overwriteInitial: true,
        
    });
});

$('.uang').priceFormat({
    prefix: 'Rp  ',
    thousandsSeparator: '.',
    centsLimit: 0
});

$(function () {
    $('.datetimepicker').bootstrapMaterialDatePicker({ format : 'YYYY-MM-DD HH:mm', lang: 'id' });
});