Theme Assets

This commit is contained in:
2025-11-20 23:10:06 -06:00
parent c6c900464c
commit 26b49edfb4
3151 changed files with 629141 additions and 0 deletions

728
assets/js/app.js Normal file
View File

@@ -0,0 +1,728 @@
/**
* Theme: Hyper - Responsive Bootstrap 5 Admin Dashboard
* Author: Coderthemes
* Module/App: Main Js
*/
(function ($) {
'use strict';
// Bootstrap Components
function initComponents() {
// loader - Preloader
$(window).on('load', function () {
$('#status').fadeOut();
$('#preloader').delay(350).fadeOut('slow');
});
// lucide Icons
lucide.createIcons();
// Popovers
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
// Tooltips
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
// offcanvas
const offcanvasElementList = document.querySelectorAll('.offcanvas')
const offcanvasList = [...offcanvasElementList].map(offcanvasEl => new bootstrap.Offcanvas(offcanvasEl))
//Toasts
var toastPlacement = document.getElementById("toastPlacement");
if (toastPlacement) {
document.getElementById("selectToastPlacement").addEventListener("change", function () {
if (!toastPlacement.dataset.originalClass) {
toastPlacement.dataset.originalClass = toastPlacement.className;
}
toastPlacement.className = toastPlacement.dataset.originalClass + " " + this.value;
});
}
var toastElList = [].slice.call(document.querySelectorAll('.toast'))
var toastList = toastElList.map(function (toastEl) {
return new bootstrap.Toast(toastEl)
})
// Bootstrap Alert Live Example
const alertPlaceholder = document.getElementById('liveAlertPlaceholder')
const alert = (message, type) => {
const wrapper = document.createElement('div')
wrapper.innerHTML = [
`<div class="alert alert-${type} alert-dismissible" role="alert">`,
` <div>${message}</div>`,
' <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>',
'</div>'
].join('')
alertPlaceholder.append(wrapper)
}
const alertTrigger = document.getElementById('liveAlertBtn')
if (alertTrigger) {
alertTrigger.addEventListener('click', () => {
alert('Nice, you triggered this alert message!', 'success')
})
}
// RTL Layout
if (document.getElementById('app-style').href.includes('rtl.min.css')) {
document.getElementsByTagName('html')[0].dir = "rtl";
}
}
// Portlet Widget (Card Reload, Collapse, and Delete)
function initPortletCard() {
var portletIdentifier = ".card"
var portletCloser = '.card a[data-bs-toggle="remove"]'
var portletRefresher = '.card a[data-bs-toggle="reload"]'
let self = this
// Panel closest
$(document).on("click", portletCloser, function (ev) {
ev.preventDefault();
var $portlet = $(this).closest(portletIdentifier);
var $portlet_parent = $portlet.parent();
$portlet.remove();
if ($portlet_parent.children().length == 0) {
$portlet_parent.remove();
}
});
// Panel Reload
$(document).on("click", portletRefresher, function (ev) {
ev.preventDefault();
var $portlet = $(this).closest(portletIdentifier);
// This is just a simulation, nothing is going to be reloaded
$portlet.append('<div class="card-disabled"><div class="card-portlets-loader"></div></div>');
var $pd = $portlet.find('.card-disabled');
setTimeout(function () {
$pd.fadeOut('fast', function () {
$pd.remove();
});
}, 500 + 300 * (Math.random() * 5));
});
}
// Multi Dropdown
function initMultiDropdown() {
$('.dropdown-menu a.dropdown-toggle').on('click', function () {
var dropdown = $(this).next('.dropdown-menu');
var otherDropdown = $(this).parent().parent().find('.dropdown-menu').not(dropdown);
otherDropdown.removeClass('show')
otherDropdown.parent().find('.dropdown-toggle').removeClass('show')
return false;
});
}
// Left Sidebar Menu (Vertical Menu)
function initLeftSidebar() {
var self = this;
if ($(".side-nav").length) {
var navCollapse = $('.side-nav li .collapse');
var navToggle = $(".side-nav li [data-bs-toggle='collapse']");
navToggle.on('click', function (e) {
return false;
});
// open one menu at a time only
navCollapse.on({
'show.bs.collapse': function (event) {
var parent = $(event.target).parents('.collapse.show');
$('.side-nav .collapse.show').not(event.target).not(parent).collapse('hide');
}
});
// activate the menu in left side bar (Vertical Menu) based on url
$(".side-nav a").each(function () {
var pageUrl = window.location.href.split(/[?#]/)[0];
if (this.href == pageUrl) {
$(this).addClass("active");
$(this).parent().addClass("menuitem-active");
$(this).parent().parent().parent().addClass("show");
$(this).parent().parent().parent().parent().addClass("menuitem-active"); // add active to li of the current link
var firstLevelParent = $(this).parent().parent().parent().parent().parent().parent();
if (firstLevelParent.attr('id') !== 'sidebar-menu') firstLevelParent.addClass("show");
$(this).parent().parent().parent().parent().parent().parent().parent().addClass("menuitem-active");
var secondLevelParent = $(this).parent().parent().parent().parent().parent().parent().parent().parent().parent();
if (secondLevelParent.attr('id') !== 'wrapper') secondLevelParent.addClass("show");
var upperLevelParent = $(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent();
if (!upperLevelParent.is('body')) upperLevelParent.addClass("menuitem-active");
}
});
setTimeout(function () {
var activatedItem = document.querySelector('li.menuitem-active .active');
if (activatedItem != null) {
var simplebarContent = document.querySelector('.leftside-menu .simplebar-content-wrapper');
var offset = activatedItem.offsetTop - 300;
if (simplebarContent && offset > 100) {
scrollTo(simplebarContent, offset, 600);
}
}
}, 200);
// scrollTo (Left Side Bar Active Menu)
function easeInOutQuad(t, b, c, d) {
t /= d / 2;
if (t < 1) return c / 2 * t * t + b;
t--;
return -c / 2 * (t * (t - 2) - 1) + b;
}
function scrollTo(element, to, duration) {
var start = element.scrollTop, change = to - start, currentTime = 0, increment = 20;
var animateScroll = function () {
currentTime += increment;
var val = easeInOutQuad(currentTime, start, change, duration);
element.scrollTop = val;
if (currentTime < duration) {
setTimeout(animateScroll, increment);
}
};
animateScroll();
}
}
}
// Topbar Menu (Horizontal Menu)
function initTopbarMenu() {
if ($('.navbar-nav').length) {
$('.navbar-nav li a').each(function () {
var pageUrl = window.location.href.split(/[?#]/)[0];
if (this.href == pageUrl) {
$(this).addClass('active');
$(this).parent().parent().addClass('active'); // add active to li of the current link
$(this).parent().parent().parent().parent().addClass('active');
$(this).parent().parent().parent().parent().parent().parent().addClass('active');
}
});
// Topbar - main menu
$('.navbar-toggle').on('click', function () {
$(this).toggleClass('open');
$('#navigation').slideToggle(400);
});
}
}
// Topbar Search Form
function initSearch() {
// Search Toggle
var navDropdowns = $('.navbar-custom .dropdown:not(.app-search)');
// hide on other click
$(document).on('click', function (e) {
if (e.target.id == "top-search" || e.target.closest('#search-dropdown')) {
$('#search-dropdown').addClass('d-block');
} else {
$('#search-dropdown').removeClass('d-block');
}
return true;
});
// Search Toggle
$('#top-search').on('focus', function (e) {
e.preventDefault();
navDropdowns.children('.dropdown-menu.show').removeClass('show');
$('#search-dropdown').addClass('d-block');
return false;
});
// hide search on opening other dropdown
navDropdowns.on('show.bs.dropdown', function () {
$('#search-dropdown').removeClass('d-block');
});
}
// Topbar Fullscreen Button
function initfullScreenListener() {
var self = this;
var fullScreenBtn = document.querySelector('[data-toggle="fullscreen"]');
if (fullScreenBtn) {
fullScreenBtn.addEventListener('click', function (e) {
e.preventDefault();
document.body.classList.toggle('fullscreen-enable')
if (!document.fullscreenElement && /* alternative standard method */ !document.mozFullScreenElement && !document.webkitFullscreenElement) { // current working methods
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
}
});
}
}
// Show/Hide Password
function initShowHidePassword() {
$("[data-password]").on('click', function () {
if ($(this).attr('data-password') == "false") {
$(this).siblings("input").attr("type", "text");
$(this).attr('data-password', 'true');
$(this).addClass("show-password");
} else {
$(this).siblings("input").attr("type", "password");
$(this).attr('data-password', 'false');
$(this).removeClass("show-password");
}
});
}
// Form Validation
function initFormValidation() {
// Example starter JavaScript for disabling form submissions if there are invalid fields
// Fetch all the forms we want to apply custom Bootstrap validation styles to
// Loop over them and prevent submission
document.querySelectorAll('.needs-validation').forEach(form => {
form.addEventListener('submit', event => {
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
}
form.classList.add('was-validated')
}, false)
})
}
// Form Advance
function initFormAdvance() {
// Select2
if (jQuery().select2) {
$('[data-toggle="select2"]').select2();
}
// Input Mask
if (jQuery().mask) {
$('[data-toggle="input-mask"]').each(function (idx, obj) {
var maskFormat = $(obj).data("maskFormat");
var reverse = $(obj).data("reverse");
if (reverse != null)
$(obj).mask(maskFormat, { 'reverse': reverse });
else
$(obj).mask(maskFormat);
});
}
// Date-Range-Picker
if (jQuery().daterangepicker) {
//date pickers ranges only
var start = moment().subtract(29, 'days');
var end = moment();
var defaultRangeOptions = {
startDate: start,
endDate: end,
ranges: {
'Today': [moment(), moment()],
'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'Last 7 Days': [moment().subtract(6, 'days'), moment()],
'Last 30 Days': [moment().subtract(29, 'days'), moment()],
'This Month': [moment().startOf('month'), moment().endOf('month')],
'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
}
};
$('[data-toggle="date-picker-range"]').each(function (idx, obj) {
var objOptions = $.extend({}, defaultRangeOptions, $(obj).data());
var target = objOptions["targetDisplay"];
//rendering
$(obj).daterangepicker(objOptions, function (start, end) {
if (target)
$(target).html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
});
});
// Datetime and date range picker
var defaultOptions = {
"cancelClass": "btn-light",
"applyButtonClasses": "btn-success"
};
$('[data-toggle="date-picker"]').each(function (idx, obj) {
var objOptions = $.extend({}, defaultOptions, $(obj).data());
$(obj).daterangepicker(objOptions);
});
}
// Bootstrap Timepicker
if (jQuery().timepicker) {
var defaultOptions = {
"showSeconds": true,
"icons": {
"up": "mdi mdi-chevron-up",
"down": "mdi mdi-chevron-down"
}
};
$('[data-toggle="timepicker"]').each(function (idx, obj) {
var objOptions = $.extend({}, defaultOptions, $(obj).data());
$(obj).timepicker(objOptions);
});
}
// Bootstrap Touchspin
if (jQuery().TouchSpin) {
var defaultOptions = {
};
$('[data-toggle="touchspin"]').each(function (idx, obj) {
var objOptions = $.extend({}, defaultOptions, $(obj).data());
$(obj).TouchSpin(objOptions);
});
}
// Bootstrap Maxlength
if (jQuery().maxlength) {
var defaultOptions = {
warningClass: "badge bg-success",
limitReachedClass: "badge bg-danger",
separator: ' out of ',
preText: 'You typed ',
postText: ' chars available.',
placement: 'bottom',
};
$('[data-toggle="maxlength"]').each(function (idx, obj) {
var objOptions = $.extend({}, defaultOptions, $(obj).data());
$(obj).maxlength(objOptions);
});
}
}
function init() {
initComponents();
initPortletCard();
initMultiDropdown();
initLeftSidebar()
initTopbarMenu();
initSearch();
initfullScreenListener();
initShowHidePassword();
initFormValidation();
initFormAdvance();
}
init();
})(jQuery)
/**
* Theme: Hyper - Responsive Bootstrap 5 Admin Dashboard
* Author: Coderthemes
* Module/App: Layout Js
*/
class ThemeCustomizer {
constructor() {
this.html = document.getElementsByTagName('html')[0]
this.config = {};
this.defaultConfig = window.config;
}
initConfig() {
this.defaultConfig = JSON.parse(JSON.stringify(window.defaultConfig));
this.config = JSON.parse(JSON.stringify(window.config));
this.setSwitchFromConfig();
}
changeMenuColor(color) {
this.config.menu.color = color;
this.html.setAttribute('data-menu-color', color);
this.setSwitchFromConfig();
}
changeLeftbarSize(size, save = true) {
this.html.setAttribute('data-sidenav-size', size);
if (save) {
this.config.sidenav.size = size;
this.setSwitchFromConfig();
}
}
changeLayoutMode(mode, save = true) {
this.html.setAttribute('data-layout-mode', mode);
if (save) {
this.config.layout.mode = mode;
this.setSwitchFromConfig();
}
}
changeLayoutPosition(position) {
this.config.layout.position = position;
this.html.setAttribute('data-layout-position', position);
this.setSwitchFromConfig();
}
changeLayoutColor(color) {
this.config.theme = color;
this.html.setAttribute('data-bs-theme', color);
this.setSwitchFromConfig();
}
changeTopbarColor(color) {
this.config.topbar.color = color;
this.html.setAttribute('data-topbar-color', color);
this.setSwitchFromConfig();
}
changeSidebarUser(showUser) {
this.config.sidenav.user = showUser;
if (showUser) {
this.html.setAttribute('data-sidenav-user', showUser);
} else {
this.html.removeAttribute('data-sidenav-user');
}
this.setSwitchFromConfig();
}
resetTheme() {
this.config = JSON.parse(JSON.stringify(window.defaultConfig));
this.changeMenuColor(this.config.menu.color);
this.changeLeftbarSize(this.config.sidenav.size);
this.changeLayoutColor(this.config.theme);
this.changeLayoutMode(this.config.layout.mode);
this.changeLayoutPosition(this.config.layout.position);
this.changeTopbarColor(this.config.topbar.color);
this.changeSidebarUser(this.config.sidenav.user);
this._adjustLayout();
}
initSwitchListener() {
var self = this;
document.querySelectorAll('input[name=data-menu-color]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeMenuColor(element.value);
})
});
document.querySelectorAll('input[name=data-sidenav-size]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeLeftbarSize(element.value);
})
});
document.querySelectorAll('input[name=data-bs-theme]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeLayoutColor(element.value);
})
});
document.querySelectorAll('input[name=data-layout-mode]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeLayoutMode(element.value);
})
});
document.querySelectorAll('input[name=data-layout-position]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeLayoutPosition(element.value);
})
});
document.querySelectorAll('input[name=data-layout]').forEach(function (element) {
element.addEventListener('change', function (e) {
window.location = element.value === 'horizontal' ? 'layouts-horizontal.html' : 'index.html'
})
});
document.querySelectorAll('input[name=data-topbar-color]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeTopbarColor(element.value);
})
});
document.querySelectorAll('input[name=sidebar-user]').forEach(function (element) {
element.addEventListener('change', function (e) {
self.changeSidebarUser(element.checked);
})
});
//TopBar Light Dark
var themeColorToggle = document.getElementById('light-dark-mode');
if (themeColorToggle) {
themeColorToggle.addEventListener('click', function (e) {
if (self.config.theme === 'light') {
self.changeLayoutColor('dark');
} else {
self.changeLayoutColor('light');
}
});
}
var resetBtn = document.querySelector('#reset-layout')
if (resetBtn) {
resetBtn.addEventListener('click', function (e) {
self.resetTheme();
});
}
var menuToggleBtn = document.querySelector('.button-toggle-menu');
if (menuToggleBtn) {
menuToggleBtn.addEventListener('click', function () {
var configSize = self.config.sidenav.size;
var size = self.html.getAttribute('data-sidenav-size', configSize);
if (size === 'full') {
self.showBackdrop();
} else {
if (configSize == 'fullscreen') {
if (size === 'fullscreen') {
self.changeLeftbarSize(configSize == 'fullscreen' ? 'default' : configSize, false);
} else {
self.changeLeftbarSize('fullscreen', false);
}
} else {
if (size === 'condensed') {
self.changeLeftbarSize(configSize == 'condensed' ? 'default' : configSize, false);
} else {
self.changeLeftbarSize('condensed', false);
}
}
}
// Todo: old implementation
self.html.classList.toggle('sidebar-enable');
});
}
var menuCloseBtn = document.querySelector('.button-close-fullsidebar');
if (menuCloseBtn) {
menuCloseBtn.addEventListener('click', function () {
self.html.classList.remove('sidebar-enable');
self.hideBackdrop();
});
}
var hoverBtn = document.querySelectorAll('.button-sm-hover');
hoverBtn.forEach(function (element) {
element.addEventListener('click', function () {
var configSize = self.config.sidenav.size;
var size = self.html.getAttribute('data-sidenav-size', configSize);
if (size === 'sm-hover-active') {
self.changeLeftbarSize('sm-hover', false);
} else {
self.changeLeftbarSize('sm-hover-active', false);
}
});
})
}
showBackdrop() {
const backdrop = document.createElement('div');
backdrop.id = 'custom-backdrop';
backdrop.classList = 'offcanvas-backdrop fade show';
document.body.appendChild(backdrop);
document.body.style.overflow = "hidden";
if (window.innerWidth > 767) {
document.body.style.paddingRight = "15px";
}
const self = this
backdrop.addEventListener('click', function (e) {
self.html.classList.remove('sidebar-enable');
self.hideBackdrop();
})
}
hideBackdrop() {
var backdrop = document.getElementById('custom-backdrop');
if (backdrop) {
document.body.removeChild(backdrop);
document.body.style.overflow = null;
document.body.style.paddingRight = null;
}
}
initWindowSize() {
var self = this;
window.addEventListener('resize', function (e) {
self._adjustLayout();
})
}
_adjustLayout() {
var self = this;
if (window.innerWidth <= 767.98) {
self.changeLeftbarSize('full', false);
} else if (window.innerWidth >= 767 && window.innerWidth <= 1140) {
if (self.config.sidenav.size !== 'full' && self.config.sidenav.size !== 'fullscreen') {
if (self.config.sidenav.size === 'sm-hover') {
self.changeLeftbarSize('condensed');
} else {
self.changeLeftbarSize('condensed', false);
}
}
} else {
self.changeLeftbarSize(self.config.sidenav.size);
self.changeLayoutMode(self.config.layout.mode);
}
}
setSwitchFromConfig() {
sessionStorage.setItem('__HYPER_CONFIG__', JSON.stringify(this.config));
// localStorage.setItem('__HYPER_CONFIG__', JSON.stringify(this.config));
document.querySelectorAll('.right-bar input[type=checkbox]').forEach(function (checkbox) {
checkbox.checked = false;
})
var config = this.config;
if (config) {
var layoutNavSwitch = document.querySelector('input[type=radio][name=data-layout][value=' + config.nav + ']');
var layoutColorSwitch = document.querySelector('input[type=radio][name=data-bs-theme][value=' + config.theme + ']');
var layoutModeSwitch = document.querySelector('input[type=radio][name=data-layout-mode][value=' + config.layout.mode + ']');
var topbarColorSwitch = document.querySelector('input[type=radio][name=data-topbar-color][value=' + config.topbar.color + ']');
var menuColorSwitch = document.querySelector('input[type=radio][name=data-menu-color][value=' + config.menu.color + ']');
var leftbarSizeSwitch = document.querySelector('input[type=radio][name=data-sidenav-size][value=' + config.sidenav.size + ']');
var layoutSizeSwitch = document.querySelector('input[type=radio][name=data-layout-position][value=' + config.layout.position + ']');
var sidebarUserSwitch = document.querySelector('input[type=checkbox][name=sidebar-user]');
if (layoutNavSwitch) layoutNavSwitch.checked = true;
if (layoutColorSwitch) layoutColorSwitch.checked = true;
if (layoutModeSwitch) layoutModeSwitch.checked = true;
if (topbarColorSwitch) topbarColorSwitch.checked = true;
if (menuColorSwitch) menuColorSwitch.checked = true;
if (leftbarSizeSwitch) leftbarSizeSwitch.checked = true;
if (layoutSizeSwitch) layoutSizeSwitch.checked = true;
if (sidebarUserSwitch && config.sidenav.user.toString() === "true") sidebarUserSwitch.checked = true;
}
}
init() {
this.initConfig();
this.initSwitchListener();
this.initWindowSize();
this._adjustLayout();
this.setSwitchFromConfig();
}
}
new ThemeCustomizer().init();

1
assets/js/app.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
!function(){var t=sessionStorage.getItem("__HYPER_CONFIG__"),e=document.getElementsByTagName("html")[0],i={theme:"light",nav:"vertical",layout:{mode:"fluid",position:"fixed"},topbar:{color:"light"},menu:{color:"dark"},sidenav:{size:"default",user:!1}},o=(this.html=document.getElementsByTagName("html")[0],config=Object.assign(JSON.parse(JSON.stringify(i)),{}),this.html.getAttribute("data-bs-theme")),o=(config.theme=null!==o?o:i.theme,this.html.getAttribute("data-layout")),o=(config.nav=null!==o?"topnav"===o?"horizontal":"vertical":i.nav,this.html.getAttribute("data-layout-mode")),o=(config.layout.mode=null!==o?o:i.layout.mode,this.html.getAttribute("data-layout-position")),o=(config.layout.position=null!==o?o:i.layout.position,this.html.getAttribute("data-topbar-color")),o=(config.topbar.color=null!=o?o:i.topbar.color,this.html.getAttribute("data-sidenav-size")),o=(config.sidenav.size=null!==o?o:i.sidenav.size,this.html.getAttribute("data-sidenav-user")),o=(config.sidenav.user=null!==o||i.sidenav.user,this.html.getAttribute("data-menu-color"));if(config.menu.color=null!==o?o:i.menu.color,window.defaultConfig=JSON.parse(JSON.stringify(config)),null!==t&&(config=JSON.parse(t)),window.config=config,"topnav"===e.getAttribute("data-layout")?config.nav="horizontal":config.nav="vertical",config&&(e.setAttribute("data-bs-theme",config.theme),e.setAttribute("data-layout-mode",config.layout.mode),e.setAttribute("data-menu-color",config.menu.color),e.setAttribute("data-topbar-color",config.topbar.color),e.setAttribute("data-layout-position",config.layout.position),"vertical"==config.nav)){let t=config.sidenav.size;window.innerWidth<=767?t="full":767<=window.innerWidth&&window.innerWidth<=1140&&"full"!==self.config.sidenav.size&&"fullscreen"!==self.config.sidenav.size&&(t="condensed"),e.setAttribute("data-sidenav-size",t),config.sidenav.user&&"true"===config.sidenav.user.toString()?e.setAttribute("data-sidenav-user",!0):e.removeAttribute("data-sidenav-user")}}();

View File

@@ -0,0 +1 @@
var clipboard;!function(){"use strict";jQuery(document).ready(function(){document.querySelectorAll("pre span.escape").forEach(function(e,n){e.classList.contains("escape");for(var r=1/0,t=e.innerText.replace(/^\n/,"").trimRight().split("\n"),c=0;c<t.length;c++)t[c].trim()&&(r=Math.min(t[c].search(/\S/),r));for(var i=[],c=0;c<t.length;c++)i.push(t[c].replace(new RegExp("^ {"+r+"}","g"),""));e.innerText=i.join("\n")}),document.querySelectorAll("pre span.escape").forEach(function(e){hljs.highlightBlock(e)})})}(),window.ClipboardJS&&(clipboard=new ClipboardJS(".btn-copy-clipboard",{target:function(e){e=e.closest(".tab-pane.active");return el=e.querySelector(".html.escape")}})).on("success",function(e){var n=e.trigger.innerHTML;e.trigger.innerHTML="Copied",setTimeout(function(){e.trigger.innerHTML=n},3e3),e.clearSelection()});

1
assets/js/maps/canada.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
assets/js/maps/iraq.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
assets/js/maps/russia.js Normal file

File diff suppressed because one or more lines are too long

1
assets/js/maps/spain.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,776 @@
var colors = ["#fa6767"],
dataColors = $("#basic-area").data("colors"),
options = {
chart: { height: 380, type: "area", zoom: { enabled: !1 } },
dataLabels: { enabled: !1 },
stroke: { width: 3, curve: "straight" },
colors: (colors = dataColors ? dataColors.split(",") : colors),
series: [{ name: "STOCK ABC", data: series.monthDataSeries1.prices }],
title: { text: "Fundamental Analysis of Stocks", align: "left" },
subtitle: { text: "Price Movements", align: "left" },
labels: series.monthDataSeries1.dates,
xaxis: { type: "datetime" },
yaxis: { opposite: !0 },
legend: { horizontalAlign: "left" },
grid: { borderColor: "#f1f3fa" },
responsive: [
{
breakpoint: 600,
options: { chart: { toolbar: { show: !1 } }, legend: { show: !1 } },
},
],
},
chart = new ApexCharts(document.querySelector("#basic-area"), options),
colors = (chart.render(), ["#727cf5", "#6c757d"]),
dataColors = $("#spline-area").data("colors"),
options = {
chart: { height: 380, type: "area" },
dataLabels: { enabled: !1 },
stroke: { width: 3, curve: "smooth" },
colors: (colors = dataColors ? dataColors.split(",") : colors),
series: [
{ name: "Series 1", data: [31, 40, 28, 51, 42, 109, 100] },
{ name: "Series 2", data: [11, 32, 45, 32, 34, 52, 41] },
],
legend: { offsetY: 5 },
xaxis: { categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"] },
tooltip: { fixed: { enabled: !1, position: "topRight" } },
grid: { borderColor: "#f1f3fa" },
},
colors =
((chart = new ApexCharts(
document.querySelector("#spline-area"),
options
)).render(),
$(document).ready(function () {
function t(e) {
var t = document.querySelectorAll("button");
Array.prototype.forEach.call(t, function (e) {
e.classList.remove("active");
}),
e.target.classList.add("active");
}
var e = ["#6c757d"],
a = $("#area-chart-datetime").data("colors"),
a =
(a && (e = a.split(",")),
{
annotations: {
yaxis: [
{
y: 30,
borderColor: "#999",
label: {
show: !0,
text: "Support",
style: { color: "#fff", background: "#00E396" },
},
},
],
xaxis: [
{
x: new Date("14 Nov 2012").getTime(),
borderColor: "#999",
yAxisIndex: 0,
label: {
show: !0,
text: "Rally",
style: { color: "#fff", background: "#775DD0" },
},
},
],
},
chart: { type: "area", height: 350 },
stroke: { width: 3, curve: "smooth" },
colors: e,
dataLabels: { enabled: !1 },
series: [
{
data: [
[13273596e5, 30.95],
[1327446e6, 31.34],
[13275324e5, 31.18],
[13276188e5, 31.05],
[1327878e6, 31],
[13279644e5, 30.95],
[13280508e5, 31.24],
[13281372e5, 31.29],
[13282236e5, 31.85],
[13284828e5, 31.86],
[13285692e5, 32.28],
[13286556e5, 32.1],
[1328742e6, 32.65],
[13288284e5, 32.21],
[13290876e5, 32.35],
[1329174e6, 32.44],
[13292604e5, 32.46],
[13293468e5, 32.86],
[13294332e5, 32.75],
[13297788e5, 32.54],
[13298652e5, 32.33],
[13299516e5, 32.97],
[1330038e6, 33.41],
[13302972e5, 33.27],
[13303836e5, 33.27],
[133047e7, 32.89],
[13305564e5, 33.1],
[13306428e5, 33.73],
[1330902e6, 33.22],
[13309884e5, 31.99],
[13310748e5, 32.41],
[13311612e5, 33.05],
[13312476e5, 33.64],
[13315068e5, 33.56],
[13315932e5, 34.22],
[13316796e5, 33.77],
[1331766e6, 34.17],
[13318524e5, 33.82],
[13321116e5, 34.51],
[1332198e6, 33.16],
[13322844e5, 33.56],
[13323708e5, 33.71],
[13324572e5, 33.81],
[13327128e5, 34.4],
[13327992e5, 34.63],
[13328856e5, 34.46],
[1332972e6, 34.48],
[13330584e5, 34.31],
[13333176e5, 34.7],
[1333404e6, 34.31],
[13334904e5, 33.46],
[13335768e5, 33.59],
[13339224e5, 33.22],
[13340088e5, 32.61],
[13340952e5, 33.01],
[13341816e5, 33.55],
[1334268e6, 33.18],
[13345272e5, 32.84],
[13346136e5, 33.84],
[13347e8, 33.39],
[13347864e5, 32.91],
[13348728e5, 33.06],
[1335132e6, 32.62],
[13352184e5, 32.4],
[13353048e5, 33.13],
[13353912e5, 33.26],
[13354776e5, 33.58],
[13357368e5, 33.55],
[13358232e5, 33.77],
[13359096e5, 33.76],
[1335996e6, 33.32],
[13360824e5, 32.61],
[13363416e5, 32.52],
[1336428e6, 32.67],
[13365144e5, 32.52],
[13366008e5, 31.92],
[13366872e5, 32.2],
[13369464e5, 32.23],
[13370328e5, 32.33],
[13371192e5, 32.36],
[13372056e5, 32.01],
[1337292e6, 31.31],
[13375512e5, 32.01],
[13376376e5, 32.01],
[1337724e6, 32.18],
[13378104e5, 31.54],
[13378968e5, 31.6],
[13382424e5, 32.05],
[13383288e5, 31.29],
[13384152e5, 31.05],
[13385016e5, 29.82],
[13387608e5, 30.31],
[13388472e5, 30.7],
[13389336e5, 31.69],
[133902e7, 31.32],
[13391064e5, 31.65],
[13393656e5, 31.13],
[1339452e6, 31.77],
[13395384e5, 31.79],
[13396248e5, 31.67],
[13397112e5, 32.39],
[13399704e5, 32.63],
[13400568e5, 32.89],
[13401432e5, 31.99],
[13402296e5, 31.23],
[1340316e6, 31.57],
[13405752e5, 30.84],
[13406616e5, 31.07],
[1340748e6, 31.41],
[13408344e5, 31.17],
[13409208e5, 32.37],
[134118e7, 32.19],
[13412664e5, 32.51],
[13414392e5, 32.53],
[13415256e5, 31.37],
[13417848e5, 30.43],
[13418712e5, 30.44],
[13419576e5, 30.2],
[1342044e6, 30.14],
[13421304e5, 30.65],
[13423896e5, 30.4],
[1342476e6, 30.65],
[13425624e5, 31.43],
[13426488e5, 31.89],
[13427352e5, 31.38],
[13429944e5, 30.64],
[13430808e5, 30.02],
[13431672e5, 30.33],
[13432536e5, 30.95],
[134334e7, 31.89],
[13435992e5, 31.01],
[13436856e5, 30.88],
[1343772e6, 30.69],
[13438584e5, 30.58],
[13439448e5, 32.02],
[1344204e6, 32.14],
[13442904e5, 32.37],
[13443768e5, 32.51],
[13444632e5, 32.65],
[13445496e5, 32.64],
[13448088e5, 32.27],
[13448952e5, 32.1],
[13449816e5, 32.91],
[1345068e6, 33.65],
[13451544e5, 33.8],
[13454136e5, 33.92],
[13455e8, 33.75],
[13455864e5, 33.84],
[13456728e5, 33.5],
[13457592e5, 32.26],
[13460184e5, 32.32],
[13461048e5, 32.06],
[13461912e5, 31.96],
[13462776e5, 31.46],
[1346364e6, 31.27],
[13467096e5, 31.43],
[1346796e6, 32.26],
[13468824e5, 32.79],
[13469688e5, 32.46],
[1347228e6, 32.13],
[13473144e5, 32.43],
[13474008e5, 32.42],
[13474872e5, 32.81],
[13475736e5, 33.34],
[13478328e5, 33.41],
[13479192e5, 32.57],
[13480056e5, 33.12],
[1348092e6, 34.53],
[13481784e5, 33.83],
[13484376e5, 33.41],
[1348524e6, 32.9],
[13486104e5, 32.53],
[13486968e5, 32.8],
[13487832e5, 32.44],
[13490424e5, 32.62],
[13491288e5, 32.57],
[13492152e5, 32.6],
[13493016e5, 32.68],
[1349388e6, 32.47],
[13496472e5, 32.23],
[13497336e5, 31.68],
[134982e7, 31.51],
[13499064e5, 31.78],
[13499928e5, 31.94],
[1350252e6, 32.33],
[13503384e5, 33.24],
[13504248e5, 33.44],
[13505112e5, 33.48],
[13505976e5, 33.24],
[13508568e5, 33.49],
[13509432e5, 33.31],
[13510296e5, 33.36],
[1351116e6, 33.4],
[13512024e5, 34.01],
[1351638e6, 34.02],
[13517244e5, 34.36],
[13518108e5, 34.39],
[135207e7, 34.24],
[13521564e5, 34.39],
[13522428e5, 33.47],
[13523292e5, 32.98],
[13524156e5, 32.9],
[13526748e5, 32.7],
[13527612e5, 32.54],
[13528476e5, 32.23],
[1352934e6, 32.64],
[13530204e5, 32.65],
[13532796e5, 32.92],
[1353366e6, 32.64],
[13534524e5, 32.84],
[13536252e5, 33.4],
[13538844e5, 33.3],
[13539708e5, 33.18],
[13540572e5, 33.88],
[13541436e5, 34.09],
[135423e7, 34.61],
[13544892e5, 34.7],
[13545756e5, 35.3],
[1354662e6, 35.4],
[13547484e5, 35.14],
[13548348e5, 35.48],
[1355094e6, 35.75],
[13551804e5, 35.54],
[13552668e5, 35.96],
[13553532e5, 35.53],
[13554396e5, 37.56],
[13556988e5, 37.42],
[13557852e5, 37.49],
[13558716e5, 38.09],
[1355958e6, 37.87],
[13560444e5, 37.71],
[13563036e5, 37.53],
[13564764e5, 37.55],
[13565628e5, 37.3],
[13566492e5, 36.9],
[13569084e5, 37.68],
[13570812e5, 38.34],
[13571676e5, 37.75],
[1357254e6, 38.13],
[13575132e5, 37.94],
[13575996e5, 38.14],
[1357686e6, 38.66],
[13577724e5, 38.62],
[13578588e5, 38.09],
[1358118e6, 38.16],
[13582044e5, 38.15],
[13582908e5, 37.88],
[13583772e5, 37.73],
[13584636e5, 37.98],
[13588092e5, 37.95],
[13588956e5, 38.25],
[1358982e6, 38.1],
[13590684e5, 38.32],
[13593276e5, 38.24],
[1359414e6, 38.52],
[13595004e5, 37.94],
[13595868e5, 37.83],
[13596732e5, 38.34],
[13599324e5, 38.1],
[13600188e5, 38.51],
[13601052e5, 38.4],
[13601916e5, 38.07],
[1360278e6, 39.12],
[13605372e5, 38.64],
[13606236e5, 38.89],
[136071e7, 38.81],
[13607964e5, 38.61],
[13608828e5, 38.63],
[13612284e5, 38.99],
[13613148e5, 38.77],
[13614012e5, 38.34],
[13614876e5, 38.55],
[13617468e5, 38.11],
[13618332e5, 38.59],
[13619196e5, 39.6],
],
},
],
markers: { size: 0, style: "hollow" },
xaxis: {
type: "datetime",
min: new Date("01 Mar 2012").getTime(),
tickAmount: 6,
},
tooltip: { x: { format: "dd MMM yyyy" } },
fill: {
type: "gradient",
gradient: {
shadeIntensity: 1,
opacityFrom: 0.7,
opacityTo: 0.9,
stops: [0, 100],
},
},
}),
o = new ApexCharts(document.querySelector("#area-chart-datetime"), a);
o.render();
document
.querySelector("#one_month")
.addEventListener("click", function (e) {
t(e),
o.updateOptions({
xaxis: {
min: new Date("28 Jan 2013").getTime(),
max: new Date("27 Feb 2013").getTime(),
},
});
}),
document
.querySelector("#six_months")
.addEventListener("click", function (e) {
t(e),
o.updateOptions({
xaxis: {
min: new Date("27 Sep 2012").getTime(),
max: new Date("27 Feb 2013").getTime(),
},
});
}),
document
.querySelector("#one_year")
.addEventListener("click", function (e) {
t(e),
o.updateOptions({
xaxis: {
min: new Date("27 Feb 2012").getTime(),
max: new Date("27 Feb 2013").getTime(),
},
});
}),
document.querySelector("#ytd").addEventListener("click", function (e) {
t(e),
o.updateOptions({
xaxis: {
min: new Date("01 Jan 2013").getTime(),
max: new Date("27 Feb 2013").getTime(),
},
});
}),
document.querySelector("#all").addEventListener("click", function (e) {
t(e), o.updateOptions({ xaxis: { min: void 0, max: void 0 } });
}),
document
.querySelector("#ytd")
.addEventListener("click", function () {});
}),
["#0acf97", "#ffbc00"]),
dataColors = $("#area-chart-negative").data("colors"),
options = {
chart: { height: 380, type: "area" },
dataLabels: { enabled: !1 },
stroke: { width: 2, curve: "straight" },
colors: (colors = dataColors ? dataColors.split(",") : colors),
series: [
{
name: "North",
data: [
{ x: 1996, y: 322 },
{ x: 1997, y: 324 },
{ x: 1998, y: 329 },
{ x: 1999, y: 342 },
{ x: 2e3, y: 348 },
{ x: 2001, y: 334 },
{ x: 2002, y: 325 },
{ x: 2003, y: 316 },
{ x: 2004, y: 318 },
{ x: 2005, y: 330 },
{ x: 2006, y: 355 },
{ x: 2007, y: 366 },
{ x: 2008, y: 337 },
{ x: 2009, y: 352 },
{ x: 2010, y: 377 },
{ x: 2011, y: 383 },
{ x: 2012, y: 344 },
{ x: 2013, y: 366 },
{ x: 2014, y: 389 },
{ x: 2015, y: 334 },
],
},
{
name: "South",
data: [
{ x: 1996, y: 162 },
{ x: 1997, y: 90 },
{ x: 1998, y: 50 },
{ x: 1999, y: 77 },
{ x: 2e3, y: 35 },
{ x: 2001, y: -45 },
{ x: 2002, y: -88 },
{ x: 2003, y: -120 },
{ x: 2004, y: -156 },
{ x: 2005, y: -123 },
{ x: 2006, y: -88 },
{ x: 2007, y: -66 },
{ x: 2008, y: -45 },
{ x: 2009, y: -29 },
{ x: 2010, y: -45 },
{ x: 2011, y: -88 },
{ x: 2012, y: -132 },
{ x: 2013, y: -146 },
{ x: 2014, y: -169 },
{ x: 2015, y: -184 },
],
},
],
xaxis: {
type: "datetime",
axisBorder: { show: !1 },
axisTicks: { show: !1 },
},
yaxis: {
tickAmount: 4,
floating: !1,
labels: { style: { color: "#8e8da4" }, offsetY: -7, offsetX: 0 },
axisBorder: { show: !1 },
axisTicks: { show: !1 },
},
fill: { opacity: 0.5, gradient: { enabled: !1 } },
tooltip: {
x: { format: "yyyy" },
fixed: { enabled: !1, position: "topRight" },
},
legend: { offsetY: 5 },
grid: {
yaxis: { lines: { offsetX: -30 } },
padding: { left: 0, bottom: 10 },
borderColor: "#f1f3fa",
},
},
colors =
((chart = new ApexCharts(
document.querySelector("#area-chart-negative"),
options
)).render(),
["#FF7F00"]),
dataColors = $("#area-chart-github2").data("colors"),
optionsarea2 = {
chart: {
id: "chartyear",
type: "area",
height: 200,
toolbar: { show: !1, autoSelected: "pan" },
},
colors: (colors = dataColors ? dataColors.split(",") : colors),
stroke: { width: 0, curve: "smooth" },
dataLabels: { enabled: !1 },
fill: { opacity: 1, type: "solid" },
series: [{ name: "commits", data: githubdata.series }],
yaxis: { tickAmount: 10, labels: { show: !1 } },
xaxis: { type: "datetime" },
},
chartarea2 = new ApexCharts(
document.querySelector("#area-chart-github2"),
optionsarea2
),
colors = (chartarea2.render(), ["#7BD39A"]),
options =
((dataColors = $("#area-chart-github").data("colors")) &&
(colors = dataColors.split(",")),
{
chart: {
height: 175,
type: "area",
toolbar: { autoSelected: "selection" },
brush: { enabled: !0, target: "chartyear" },
selection: {
enabled: !0,
xaxis: {
min: new Date("05 Jan 2014").getTime(),
max: new Date("04 Jan 2015").getTime(),
},
},
},
colors: colors,
dataLabels: { enabled: !1 },
stroke: { width: 0, curve: "smooth" },
series: [{ name: "commits", data: githubdata.series }],
fill: { opacity: 1, type: "solid" },
legend: { position: "top", horizontalAlign: "left" },
xaxis: { type: "datetime" },
}),
colors =
((chart = new ApexCharts(
document.querySelector("#area-chart-github"),
options
)).render(),
["#727cf5", "#0acf97", "#e3eaef"]),
options =
((dataColors = $("#stacked-area").data("colors")) &&
(colors = dataColors.split(",")),
{
series: [
{
name: "South",
data: generateDayWiseTimeSeries(
new Date("11 Feb 2017 GMT").getTime(),
20,
{ min: 10, max: 60 }
),
},
{
name: "North",
data: generateDayWiseTimeSeries(
new Date("11 Feb 2017 GMT").getTime(),
20,
{ min: 10, max: 20 }
),
},
{
name: "Central",
data: generateDayWiseTimeSeries(
new Date("11 Feb 2017 GMT").getTime(),
20,
{ min: 10, max: 15 }
),
},
],
chart: {
type: "area",
height: 350,
stacked: !0,
events: {
selection: function (e, t) {
console.log(new Date(t.xaxis.min));
},
},
},
colors: ["#008FFB", "#00E396", "#CED4DC"],
dataLabels: { enabled: !1 },
stroke: { curve: "monotoneCubic" },
fill: {
type: "gradient",
gradient: { opacityFrom: 0.6, opacityTo: 0.8 },
},
legend: { position: "top", horizontalAlign: "left" },
xaxis: { type: "datetime" },
});
function generateDayWiseTimeSeries(e, t, a) {
for (var o = 0, r = []; o < t; ) {
var i = e,
s = Math.floor(Math.random() * (a.max - a.min + 1)) + a.min;
r.push([i, s]), (e += 864e5), o++;
}
return r;
}
(chart = new ApexCharts(
document.querySelector("#stacked-area"),
options
)).render();
for (
var ts1 = 13885344e5,
ts2 = 13886208e5,
ts3 = 13890528e5,
dataSet = [[], [], []],
i = 0;
i < 12;
i++
) {
var innerArr = [(ts1 += 864e5), dataSeries[2][i].value];
dataSet[0].push(innerArr);
}
for (i = 0; i < 18; i++) {
innerArr = [(ts2 += 864e5), dataSeries[1][i].value];
dataSet[1].push(innerArr);
}
for (i = 0; i < 12; i++) {
innerArr = [(ts3 += 864e5), dataSeries[0][i].value];
dataSet[2].push(innerArr);
}
(colors = ["#39afd1", "#fa5c7c", "#727cf5"]),
(dataColors = $("#area-timeSeries").data("colors")) &&
(colors = dataColors.split(",")),
(options = {
series: [
{ name: "PRODUCT A", data: dataSet[0] },
{ name: "PRODUCT B", data: dataSet[1] },
{ name: "PRODUCT C", data: dataSet[2] },
],
chart: { type: "area", stacked: !1, height: 350, zoom: { enabled: !1 } },
dataLabels: { enabled: !1 },
markers: { size: 0 },
colors: colors,
fill: {
gradient: {
enabled: !0,
shadeIntensity: 1,
inverseColors: !1,
opacityFrom: 0.45,
opacityTo: 0.05,
stops: [20, 100, 100, 100],
},
},
yaxis: {
labels: {
style: { color: "#8e8da4" },
offsetX: 0,
formatter: function (e) {
return (e / 1e6).toFixed(0);
},
},
axisBorder: { show: !1 },
axisTicks: { show: !1 },
},
xaxis: {
type: "datetime",
tickAmount: 8,
labels: {
formatter: function (e) {
return moment(new Date(e)).format("DD MMM YYYY");
},
},
},
title: {
text: "Irregular Data in Time Series",
align: "left",
offsetX: 14,
},
tooltip: { shared: !0 },
legend: { position: "top", horizontalAlign: "right", offsetX: -10 },
}),
(chart = new ApexCharts(
document.querySelector("#area-timeSeries"),
options
)).render(),
(colors = ["#6c757d"]),
(dataColors = $("#area-chart-nullvalues").data("colors")),
(options = {
series: [
{
name: "Network",
data: [
{ x: "Dec 23 2017", y: null },
{ x: "Dec 24 2017", y: 44 },
{ x: "Dec 25 2017", y: 31 },
{ x: "Dec 26 2017", y: 38 },
{ x: "Dec 27 2017", y: null },
{ x: "Dec 28 2017", y: 32 },
{ x: "Dec 29 2017", y: 55 },
{ x: "Dec 30 2017", y: 51 },
{ x: "Dec 31 2017", y: 67 },
{ x: "Jan 01 2018", y: 22 },
{ x: "Jan 02 2018", y: 34 },
{ x: "Jan 03 2018", y: null },
{ x: "Jan 04 2018", y: null },
{ x: "Jan 05 2018", y: 11 },
{ x: "Jan 06 2018", y: 4 },
{ x: "Jan 07 2018", y: 15 },
{ x: "Jan 08 2018", y: null },
{ x: "Jan 09 2018", y: 9 },
{ x: "Jan 10 2018", y: 34 },
{ x: "Jan 11 2018", y: null },
{ x: "Jan 12 2018", y: null },
{ x: "Jan 13 2018", y: 13 },
{ x: "Jan 14 2018", y: null },
],
},
],
chart: {
type: "area",
height: 350,
animations: { enabled: !1 },
zoom: { enabled: !1 },
},
dataLabels: { enabled: !1 },
stroke: { curve: "straight" },
colors: (colors = dataColors ? dataColors.split(",") : colors),
fill: {
opacity: 0.8,
gradient: { enabled: !1 },
pattern: {
enabled: !0,
style: ["verticalLines", "horizontalLines"],
width: 5,
depth: 6,
},
},
markers: { size: 5, hover: { size: 9 } },
title: { text: "Network Monitoring" },
tooltip: { intersect: !0, shared: !1 },
theme: { palette: "palette1" },
xaxis: { type: "datetime" },
yaxis: { title: { text: "Bytes Received" } },
});
(chart = new ApexCharts(
document.querySelector("#area-chart-nullvalues"),
options
)).render();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97","#fa5c7c"],dataColors=$("#basic-boxplot").data("colors"),options={series:[{type:"boxPlot",data:[{x:"Jan 2015",y:[54,66,69,75,88]},{x:"Jan 2016",y:[43,65,69,76,81]},{x:"Jan 2017",y:[31,39,45,51,59]},{x:"Jan 2018",y:[39,46,55,65,71]},{x:"Jan 2019",y:[29,31,35,39,44]},{x:"Jan 2020",y:[41,49,58,61,67]},{x:"Jan 2021",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},plotOptions:{boxPlot:{colors:{upper:(colors=dataColors?dataColors.split(","):colors)[0],lower:colors[1]}}},stroke:{colors:["#a1a9b1"]}},chart=new ApexCharts(document.querySelector("#basic-boxplot"),options),colors=(chart.render(),["#727cf5","#0acf97","#fa5c7c"]),options=((dataColors=$("#scatter-boxplot").data("colors"))&&(colors=dataColors.split(",")),{series:[{name:"Box",type:"boxPlot",data:[{x:new Date("2017-01-01").getTime(),y:[54,66,69,75,88]},{x:new Date("2018-01-01").getTime(),y:[43,65,69,76,81]},{x:new Date("2019-01-01").getTime(),y:[31,39,45,51,59]},{x:new Date("2020-01-01").getTime(),y:[39,46,55,65,71]},{x:new Date("2021-01-01").getTime(),y:[29,31,35,39,44]}]},{name:"Outliers",type:"scatter",data:[{x:new Date("2017-01-01").getTime(),y:32},{x:new Date("2018-01-01").getTime(),y:25},{x:new Date("2019-01-01").getTime(),y:64},{x:new Date("2020-01-01").getTime(),y:27},{x:new Date("2020-01-01").getTime(),y:78},{x:new Date("2021-01-01").getTime(),y:15}]}],chart:{type:"boxPlot",height:350},colors:colors,stroke:{colors:["#a1a9b1"]},legend:{offsetY:10},xaxis:{type:"datetime",tooltip:{formatter:function(o){return new Date(o).getFullYear()}}},grid:{padding:{bottom:5}},tooltip:{shared:!1,intersect:!0},plotOptions:{boxPlot:{colors:{upper:colors[0],lower:colors[1]}}}}),colors=((chart=new ApexCharts(document.querySelector("#scatter-boxplot"),options)).render(),["#727cf5","#0acf97","#fa5c7c"]),dataColors=$("#horizontal-boxplot").data("colors"),options={series:[{data:[{x:"Category A",y:[54,66,69,75,88]},{x:"Category B",y:[43,65,69,76,81]},{x:"Category C",y:[31,39,45,51,59]},{x:"Category D",y:[39,46,55,65,71]},{x:"Category E",y:[29,31,35,39,44]},{x:"Category F",y:[41,49,58,61,67]},{x:"Category G",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350},plotOptions:{bar:{horizontal:!0,barHeight:"50%"},boxPlot:{colors:{upper:(colors=dataColors?dataColors.split(","):colors)[0],lower:colors[1]}}},xaxis:{axisBorder:{show:!1}},stroke:{colors:["#a1a9b1"]}};(chart=new ApexCharts(document.querySelector("#horizontal-boxplot"),options)).render();

View File

@@ -0,0 +1 @@
function generateData(a,e,t){for(var o=0,r=[];o<e;){var n=Math.floor(750*Math.random())+1,l=Math.floor(Math.random()*(t.max-t.min+1))+t.min,m=Math.floor(61*Math.random())+15;r.push([n,l,m]),o++}return r}var colors=["#727cf5","#ffbc00","#fa5c7c"],dataColors=$("#simple-bubble").data("colors"),options=(dataColors&&(colors=dataColors.split(",")),{chart:{height:380,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Bubble 1",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble 2",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble 3",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})}],fill:{opacity:.8,gradient:{enabled:!1}},colors:colors,xaxis:{tickAmount:12,type:"category"},yaxis:{max:70},grid:{borderColor:"#f1f3fa",padding:{bottom:5}},legend:{offsetY:7}}),chart=new ApexCharts(document.querySelector("#simple-bubble"),options);function generateData1(a,e,t){for(var o=0,r=[];o<e;){var n=Math.floor(Math.random()*(t.max-t.min+1))+t.min,l=Math.floor(61*Math.random())+15;r.push([a,n,l]),a+=864e5,o++}return r}chart.render();var colors=["#727cf5","#0acf97","#fa5c7c","#39afd1"],options2=((dataColors=$("#second-bubble").data("colors"))&&(colors=dataColors.split(",")),{chart:{height:380,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Product 1",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product 2",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product 3",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product 4",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})}],fill:{type:"gradient"},colors:colors,xaxis:{tickAmount:12,type:"datetime",labels:{rotate:0}},yaxis:{max:70},legend:{offsetY:7},grid:{borderColor:"#f1f3fa",padding:{bottom:5}}});(chart=new ApexCharts(document.querySelector("#second-bubble"),options2)).render();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
function generateData(a,e){for(var t=0,r=[];t<a;){var n=(t+1).toString(),o=Math.floor(Math.random()*(e.max-e.min+1))+e.min;r.push({x:n,y:o}),t++}return r}var colors=["#727cf5"],dataColors=$("#basic-heatmap").data("colors"),options={chart:{height:380,type:"heatmap"},dataLabels:{enabled:!1},colors:colors=dataColors?dataColors.split(","):colors,series:[{name:"Metric 1",data:generateData(20,{min:0,max:90})},{name:"Metric 2",data:generateData(20,{min:0,max:90})},{name:"Metric 3",data:generateData(20,{min:0,max:90})},{name:"Metric 4",data:generateData(20,{min:0,max:90})},{name:"Metric 5",data:generateData(20,{min:0,max:90})},{name:"Metric 6",data:generateData(20,{min:0,max:90})},{name:"Metric 7",data:generateData(20,{min:0,max:90})},{name:"Metric 8",data:generateData(20,{min:0,max:90})},{name:"Metric 9",data:generateData(20,{min:0,max:90})}],xaxis:{type:"category"}},chart=new ApexCharts(document.querySelector("#basic-heatmap"),options);function generateData(a,e){for(var t=0,r=[];t<a;){var n=(t+1).toString(),o=Math.floor(Math.random()*(e.max-e.min+1))+e.min;r.push({x:n,y:o}),t++}return r}chart.render();colors=["#F3B415","#F27036","#663F59","#6A6E94","#4E88B4","#00A7C6","#18D8D8","#A9D794","#46AF78"],dataColors=$("#multiple-series-heatmap").data("colors"),options={chart:{height:380,type:"heatmap"},dataLabels:{enabled:!1},colors:colors=dataColors?dataColors.split(","):colors,series:[{name:"Metric 1",data:generateData(20,{min:0,max:90})},{name:"Metric 2",data:generateData(20,{min:0,max:90})},{name:"Metric 3",data:generateData(20,{min:0,max:90})},{name:"Metric 4",data:generateData(20,{min:0,max:90})},{name:"Metric 5",data:generateData(20,{min:0,max:90})},{name:"Metric 6",data:generateData(20,{min:0,max:90})},{name:"Metric 7",data:generateData(20,{min:0,max:90})},{name:"Metric 8",data:generateData(20,{min:0,max:90})},{name:"Metric 9",data:generateData(20,{min:0,max:90})}],xaxis:{type:"category"}};function generateData(a,e){for(var t=0,r=[];t<a;){var n=(t+1).toString(),o=Math.floor(Math.random()*(e.max-e.min+1))+e.min;r.push({x:n,y:o}),t++}return r}(chart=new ApexCharts(document.querySelector("#multiple-series-heatmap"),options)).render();colors=["#fa6767","#f9bc0d","#44badc","#42d29d"],dataColors=$("#color-range-heatmap").data("colors"),options={chart:{height:380,type:"heatmap"},plotOptions:{heatmap:{shadeIntensity:.5,colorScale:{ranges:[{from:-30,to:5,name:"Low",color:(colors=dataColors?dataColors.split(","):colors)[0]},{from:6,to:20,name:"Medium",color:colors[1]},{from:21,to:45,name:"High",color:colors[2]},{from:46,to:55,name:"Extreme",color:colors[3]}]}}},dataLabels:{enabled:!1},series:[{name:"Jan",data:generateData(20,{min:-30,max:55})},{name:"Feb",data:generateData(20,{min:-30,max:55})},{name:"Mar",data:generateData(20,{min:-30,max:55})},{name:"Apr",data:generateData(20,{min:-30,max:55})},{name:"May",data:generateData(20,{min:-30,max:55})},{name:"Jun",data:generateData(20,{min:-30,max:55})},{name:"Jul",data:generateData(20,{min:-30,max:55})},{name:"Aug",data:generateData(20,{min:-30,max:55})},{name:"Sep",data:generateData(20,{min:-30,max:55})}]};function generateData(a,e){for(var t=0,r=[];t<a;){var n=(t+1).toString(),o=Math.floor(Math.random()*(e.max-e.min+1))+e.min;r.push({x:n,y:o}),t++}return r}(chart=new ApexCharts(document.querySelector("#color-range-heatmap"),options)).render();colors=["#39afd1","#0acf97"],dataColors=$("#rounded-heatmap").data("colors"),options={chart:{height:380,type:"heatmap"},stroke:{width:0},plotOptions:{heatmap:{radius:30,enableShades:!1,colorScale:{ranges:[{from:0,to:50,color:(colors=dataColors?dataColors.split(","):colors)[0]},{from:51,to:100,color:colors[1]}]}}},colors:colors,dataLabels:{enabled:!0,style:{colors:["#fff"]}},series:[{name:"Metric1",data:generateData(20,{min:0,max:90})},{name:"Metric2",data:generateData(20,{min:0,max:90})},{name:"Metric3",data:generateData(20,{min:0,max:90})},{name:"Metric4",data:generateData(20,{min:0,max:90})},{name:"Metric5",data:generateData(20,{min:0,max:90})},{name:"Metric6",data:generateData(20,{min:0,max:90})},{name:"Metric7",data:generateData(20,{min:0,max:90})},{name:"Metric8",data:generateData(20,{min:0,max:90})},{name:"Metric8",data:generateData(20,{min:0,max:90})}],xaxis:{type:"category"},grid:{borderColor:"#f1f3fa"}};(chart=new ApexCharts(document.querySelector("#rounded-heatmap"),options)).render();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97"],dataColors=$("#line-column-mixed").data("colors"),options={chart:{height:380,type:"line",toolbar:{show:!1}},series:[{name:"Website Blog",type:"column",data:[440,505,414,671,227,413,201,352,752,320,257,160]},{name:"Social Media",type:"line",data:[23,42,35,27,43,22,17,31,22,22,12,16]}],stroke:{width:[0,4]},labels:["01 Jan 2001","02 Jan 2001","03 Jan 2001","04 Jan 2001","05 Jan 2001","06 Jan 2001","07 Jan 2001","08 Jan 2001","09 Jan 2001","10 Jan 2001","11 Jan 2001","12 Jan 2001"],xaxis:{type:"datetime"},colors:colors=dataColors?dataColors.split(","):colors,yaxis:[{title:{text:"Website Blog"}},{opposite:!0,title:{text:"Social Media"}}],legend:{offsetY:7},grid:{borderColor:"#f1f3fa",padding:{bottom:5}}},chart=new ApexCharts(document.querySelector("#line-column-mixed"),options),colors=(chart.render(),["#727cf5","#39afd1","#fa5c7c"]),dataColors=$("#multiple-yaxis-mixed").data("colors"),options={chart:{height:380,type:"line",stacked:!1,toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{width:[0,0,3]},series:[{name:"Income",type:"column",data:[1.4,2,2.5,1.5,2.5,2.8,3.8,4.6]},{name:"Cashflow",type:"column",data:[1.1,3,3.1,4,4.1,4.9,6.5,8.5]},{name:"Revenue",type:"line",data:[20,29,37,36,44,45,50,58]}],colors:colors=dataColors?dataColors.split(","):colors,xaxis:{categories:[2009,2010,2011,2012,2013,2014,2015,2016]},yaxis:[{axisTicks:{show:!0},axisBorder:{show:!0,color:colors[0]},labels:{style:{color:colors[0]}},title:{text:"Income (thousand crores)"}},{axisTicks:{show:!0},axisBorder:{show:!0,color:colors[1]},labels:{style:{color:colors[1]},offsetX:10},title:{text:"Operating Cashflow (thousand crores)"}},{opposite:!0,axisTicks:{show:!0},axisBorder:{show:!0,color:colors[2]},labels:{style:{color:colors[2]}},title:{text:"Revenue (thousand crores)"}}],tooltip:{followCursor:!0,y:{formatter:function(o){return void 0!==o?o+" thousand crores":o}}},grid:{borderColor:"#f1f3fa",padding:{bottom:5}},legend:{offsetY:7},responsive:[{breakpoint:600,options:{yaxis:{show:!1},legend:{show:!1}}}]},colors=((chart=new ApexCharts(document.querySelector("#multiple-yaxis-mixed"),options)).render(),["#0acf97","#fa5c7c"]),dataColors=$("#line-area-mixed").data("colors"),options={chart:{height:380,type:"line",toolbar:{show:!1}},stroke:{curve:"smooth",width:2},series:[{name:"Team A",type:"area",data:[44,55,31,47,31,43,26,41,31,47,33]},{name:"Team B",type:"line",data:[55,69,45,61,43,54,37,52,44,61,43]}],fill:{type:"solid",opacity:[.35,1]},labels:["Dec 01","Dec 02","Dec 03","Dec 04","Dec 05","Dec 06","Dec 07","Dec 08","Dec 09 ","Dec 10","Dec 11"],markers:{size:0},legend:{offsetY:7},colors:colors=dataColors?dataColors.split(","):colors,yaxis:[{title:{text:"Series A"}},{opposite:!0,title:{text:"Series B"}}],tooltip:{shared:!0,intersect:!1,y:{formatter:function(o){return void 0!==o?o.toFixed(0)+" points":o}}},grid:{borderColor:"#f1f3fa",padding:{bottom:5}},responsive:[{breakpoint:600,options:{yaxis:{show:!1},legend:{show:!1}}}]},colors=((chart=new ApexCharts(document.querySelector("#line-area-mixed"),options)).render(),["#727cf5","#39afd1","#fa5c7c"]),dataColors=$("#all-mixed").data("colors"),options={chart:{height:380,type:"line",stacked:!1,toolbar:{show:!1}},stroke:{width:[0,2,4],curve:"smooth"},plotOptions:{bar:{columnWidth:"50%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{name:"Team A",type:"column",data:[23,11,22,27,13,22,37,21,44,22,30]},{name:"Team B",type:"area",data:[44,55,41,67,22,43,21,41,56,27,43]},{name:"Team C",type:"line",data:[30,25,36,30,45,35,64,52,59,36,39]}],fill:{opacity:[.85,.25,1],gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.85,opacityTo:.55,stops:[0,100,100,100]}},labels:["01/01/2003","02/01/2003","03/01/2003","04/01/2003","05/01/2003","06/01/2003","07/01/2003","08/01/2003","09/01/2003","10/01/2003","11/01/2003"],markers:{size:0},legend:{offsetY:7},xaxis:{type:"datetime"},yaxis:{title:{text:"Points"}},tooltip:{shared:!0,intersect:!1,y:{formatter:function(o){return void 0!==o?o.toFixed(0)+" points":o}}},grid:{borderColor:"#f1f3fa",padding:{bottom:5}}};(chart=new ApexCharts(document.querySelector("#all-mixed"),options)).render();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97","#fa5c7c"],dataColors=$("#basic-polar-area").data("colors"),options={series:[14,23,21,17,15,10],chart:{height:380,type:"polarArea"},stroke:{colors:["#fff"]},fill:{opacity:.8},labels:["Vote A","Vote B","Vote C","Vote D","Vote E","Vote F"],legend:{position:"bottom"},colors:colors=dataColors?dataColors.split(","):colors,responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]},chart=new ApexCharts(document.querySelector("#basic-polar-area"),options),options=(chart.render(),{series:[42,47,52,58,65],chart:{height:380,type:"polarArea"},labels:["Rose A","Rose B","Rose C","Rose D","Rose E"],fill:{opacity:1},stroke:{width:1},yaxis:{show:!1},legend:{position:"bottom"},plotOptions:{polarArea:{rings:{strokeWidth:0},spokes:{strokeWidth:0}}},theme:{monochrome:{enabled:!0,shadeTo:"light",color:"#727cf5",shadeIntensity:.6}}});(chart=new ApexCharts(document.querySelector("#monochrome-polar-area"),options)).render();

View File

@@ -0,0 +1 @@
var colors=["#727cf5"],dataColors=$("#basic-radar").data("colors"),options={chart:{height:350,type:"radar"},series:[{name:"Series 1",data:[80,50,30,40,100,20]}],colors:colors=dataColors?dataColors.split(","):colors,labels:["January","February","March","April","May","June"]},chart=new ApexCharts(document.querySelector("#basic-radar"),options),colors=(chart.render(),["#FF4560"]),dataColors=$("#radar-polygon").data("colors"),options={chart:{height:350,type:"radar"},series:[{name:"Series 1",data:[20,100,40,30,50,80,33]}],labels:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],plotOptions:{radar:{size:140}},colors:colors=dataColors?dataColors.split(","):colors,markers:{size:4,colors:["#fff"],strokeColor:colors,strokeWidth:2},tooltip:{y:{formatter:function(r){return r}}},yaxis:{tickAmount:7,labels:{formatter:function(r,a){return a%2==0?r:""}}}},colors=((chart=new ApexCharts(document.querySelector("#radar-polygon"),options)).render(),["#727cf5","#02a8b5","#fd7e14"]),dataColors=$("#radar-multiple-series").data("colors"),options={chart:{height:350,type:"radar"},series:[{name:"Series 1",data:[80,50,30,40,100,20]},{name:"Series 2",data:[20,30,40,80,20,80]},{name:"Series 3",data:[44,76,78,13,43,10]}],stroke:{width:0},fill:{opacity:.4},markers:{size:0},legend:{offsetY:-10},colors:colors=dataColors?dataColors.split(","):colors,labels:["2011","2012","2013","2014","2015","2016"]};function update(){function r(){for(var r=[],a=0;a<6;a++)r.push(Math.floor(100*Math.random()));return r}chart.updateSeries([{name:"Series 1",data:r()},{name:"Series 2",data:r()},{name:"Series 3",data:r()}])}(chart=new ApexCharts(document.querySelector("#radar-multiple-series"),options)).render();

View File

@@ -0,0 +1 @@
var colors=["#39afd1"],dataColors=$("#basic-radialbar").data("colors"),options={chart:{height:320,type:"radialBar"},plotOptions:{radialBar:{hollow:{size:"70%"},track:{background:"rgba(170,184,197, 0.2)"}}},colors:colors=dataColors?dataColors.split(","):colors,series:[70],labels:["CRICKET"]},chart=new ApexCharts(document.querySelector("#basic-radialbar"),options),colors=(chart.render(),["#6c757d","#ffbc00","#727cf5","#0acf97"]),dataColors=$("#multiple-radialbar").data("colors"),options={chart:{height:320,type:"radialBar"},plotOptions:{circle:{dataLabels:{showOn:"hover"}},radialBar:{track:{background:"rgba(170,184,197, 0.2)"}}},colors:colors=dataColors?dataColors.split(","):colors,series:[44,55,67,83],labels:["Apples","Oranges","Bananas","Berries"],responsive:[{breakpoint:380,options:{chart:{height:260}}}]},colors=((chart=new ApexCharts(document.querySelector("#multiple-radialbar"),options)).render(),["#0acf97","#727cf5"]),dataColors=$("#circle-angle-radial").data("colors"),options={chart:{height:380,type:"radialBar"},plotOptions:{radialBar:{offsetY:-30,startAngle:0,endAngle:270,hollow:{margin:5,size:"30%",background:"transparent",image:void 0},track:{background:"rgba(170,184,197, 0.2)"},dataLabels:{name:{show:!1},value:{show:!1}}}},colors:colors=dataColors?dataColors.split(","):colors,series:[76,67,61,90],labels:["Vimeo","Messenger","Facebook","LinkedIn"],legend:{show:!0,floating:!0,fontSize:"13px",position:"left",offsetX:10,offsetY:10,labels:{useSeriesColors:!0},markers:{size:0},formatter:function(a,o){return a+": "+o.w.globals.series[o.seriesIndex]},itemMargin:{horizontal:1}},responsive:[{breakpoint:480,options:{legend:{show:!1}}}]},options=((chart=new ApexCharts(document.querySelector("#circle-angle-radial"),options)).render(),{chart:{height:360,type:"radialBar"},fill:{type:"image",image:{src:["assets/images/small/small-2.jpg"]}},plotOptions:{radialBar:{hollow:{size:"70%"}}},series:[70],stroke:{lineCap:"round"},labels:["Volatility"],responsive:[{breakpoint:380,options:{chart:{height:280}}}]}),colors=((chart=new ApexCharts(document.querySelector("#image-radial"),options)).render(),["#727cf5"]),dataColors=$("#stroked-guage-radial").data("colors"),options={chart:{height:380,type:"radialBar"},plotOptions:{radialBar:{startAngle:-135,endAngle:135,dataLabels:{name:{fontSize:"16px",color:void 0,offsetY:120},value:{offsetY:76,fontSize:"22px",color:void 0,formatter:function(a){return a+"%"}}},track:{background:"rgba(170,184,197, 0.2)",margin:0}}},fill:{gradient:{enabled:!0,shade:"dark",shadeIntensity:.2,inverseColors:!1,opacityFrom:1,opacityTo:1,stops:[0,50,65,91]}},stroke:{dashArray:4},colors:colors=dataColors?dataColors.split(","):colors,series:[67],labels:["Median Ratio"],responsive:[{breakpoint:380,options:{chart:{height:280}}}]},colors=((chart=new ApexCharts(document.querySelector("#stroked-guage-radial"),options)).render(),["#8f75da","#727cf5"]),dataColors=$("#gradient-chart").data("colors"),options={chart:{height:330,type:"radialBar",toolbar:{show:!0}},plotOptions:{radialBar:{startAngle:-135,endAngle:225,hollow:{margin:0,size:"70%",background:"transparent",image:void 0,imageOffsetX:0,imageOffsetY:0,position:"front",dropShadow:{enabled:!0,top:3,left:0,blur:4,opacity:.24}},track:{background:"rgba(170,184,197, 0.2)",strokeWidth:"67%",margin:0},dataLabels:{showOn:"always",name:{offsetY:-10,show:!0,color:"#888",fontSize:"17px"},value:{formatter:function(a){return parseInt(a)},color:"#111",fontSize:"36px",show:!0}}}},fill:{type:"gradient",gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:colors=dataColors?dataColors.split(","):colors,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,100]}},series:[75],stroke:{lineCap:"round"},labels:["Percent"]},colors=((chart=new ApexCharts(document.querySelector("#gradient-chart"),options)).render(),["#8f75da","#727cf5"]),dataColors=$("#gradient-chart").data("colors"),options={series:[76],chart:{type:"radialBar",offsetY:-20,sparkline:{enabled:!0}},plotOptions:{radialBar:{startAngle:-90,endAngle:90,track:{background:"rgba(170,184,197, 0.2)",strokeWidth:"97%",margin:5,dropShadow:{top:2,left:0,color:"#eef2f7",opacity:1,blur:2}},dataLabels:{name:{show:!1},value:{offsetY:-2,fontSize:"22px"}}}},grid:{padding:{top:-10}},colors:colors=dataColors?dataColors.split(","):colors,labels:["Average Results"]};(chart=new ApexCharts(document.querySelector("#semi-circle-gauge"),options)).render();

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97","#fa5c7c"],dataColors=$("#basic-scatter").data("colors"),options={chart:{height:380,type:"scatter",zoom:{enabled:!1}},series:[{name:"Sample A",data:[[16.4,5.4],[21.7,2],[25.4,3],[19,2],[10.9,1],[13.6,3.2],[10.9,7.4],[10.9,0],[10.9,8.2],[16.4,0],[16.4,1.8],[13.6,.3],[13.6,0],[29.9,0],[27.1,2.3],[16.4,0],[13.6,3.7],[10.9,5.2],[16.4,6.5],[10.9,0],[24.5,7.1],[10.9,0],[8.1,4.7],[19,0],[21.7,1.8],[27.1,0],[24.5,0],[27.1,0],[29.9,1.5],[27.1,.8],[22.1,2]]},{name:"Sample B",data:[[6.4,13.4],[1.7,11],[5.4,8],[9,17],[1.9,4],[3.6,12.2],[1.9,14.4],[1.9,9],[1.9,13.2],[1.4,7],[6.4,8.8],[3.6,4.3],[1.6,10],[9.9,2],[7.1,15],[1.4,0],[3.6,13.7],[1.9,15.2],[6.4,16.5],[.9,10],[4.5,17.1],[10.9,10],[.1,14.7],[9,10],[12.7,11.8],[2.1,10],[2.5,10],[27.1,10],[2.9,11.5],[7.1,10.8],[2.1,12]]},{name:"Sample C",data:[[21.7,3],[23.6,3.5],[24.6,3],[29.9,3],[21.7,20],[23,2],[10.9,3],[28,4],[27.1,.3],[16.4,4],[13.6,0],[19,5],[22.4,3],[24.5,3],[32.6,3],[27.1,4],[29.6,6],[31.6,8],[21.6,5],[20.9,4],[22.4,0],[32.6,10.3],[29.7,20.8],[24.5,.8],[21.4,0],[21.7,6.9],[28.6,7.7],[15.4,0],[18.1,0],[33.4,0],[16.4,0]]}],xaxis:{tickAmount:10},yaxis:{tickAmount:7},colors:colors=dataColors?dataColors.split(","):colors,grid:{borderColor:"#f1f3fa",padding:{bottom:5}},legend:{offsetY:7},responsive:[{breakpoint:600,options:{chart:{toolbar:{show:!1}},legend:{show:!1}}}]},chart=new ApexCharts(document.querySelector("#basic-scatter"),options),colors=(chart.render(),["#39afd1","#0acf97","#e3eaef","#6c757d","#ffbc00"]),options=((dataColors=$("#datetime-scatter").data("colors"))&&(colors=dataColors.split(",")),{chart:{height:380,type:"scatter",zoom:{type:"xy"}},series:[{name:"Team 1",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Team 2",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Team 3",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),30,{min:10,max:60})},{name:"Team 4",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Team 5",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),30,{min:10,max:60})}],dataLabels:{enabled:!1},colors:colors,grid:{borderColor:"#f1f3fa",padding:{bottom:5},xaxis:{showLines:!0},yaxis:{showLines:!0}},legend:{offsetY:10},xaxis:{type:"datetime"},yaxis:{max:70},responsive:[{breakpoint:600,options:{chart:{toolbar:{show:!1}},legend:{show:!1}}}]});function generateDayWiseTimeSeries(e,a,t){for(var s=0,o=[];s<a;){var r=Math.floor(Math.random()*(t.max-t.min+1))+t.min;o.push([e,r]),e+=864e5,s++}return o}(chart=new ApexCharts(document.querySelector("#datetime-scatter"),options)).render();colors=["#056BF6","#D2376A"],dataColors=$("#scatter-images").data("colors"),options={chart:{height:380,type:"scatter",animations:{enabled:!1},zoom:{enabled:!1},toolbar:{show:!1}},colors:colors=dataColors?dataColors.split(","):colors,series:[{name:"Messenger",data:[[16.4,5.4],[21.7,4],[25.4,3],[19,2],[10.9,1],[13.6,3.2],[10.9,7],[10.9,8.2],[16.4,4],[13.6,4.3],[13.6,12],[29.9,3],[10.9,5.2],[16.4,6.5],[10.9,8],[24.5,7.1],[10.9,7],[8.1,4.7],[19,10],[27.1,10],[24.5,8],[27.1,3],[29.9,11.5],[27.1,.8],[22.1,2]]},{name:"Instagram",data:[[6.4,5.4],[11.7,4],[15.4,3],[9,2],[10.9,11],[20.9,7],[12.9,8.2],[6.4,14],[11.6,12]]}],xaxis:{tickAmount:10,min:0,max:40},yaxis:{tickAmount:7},markers:{size:20},fill:{type:"image",opacity:1,image:{src:["assets/images/brands/messenger.png","assets/images/brands/instagram.png"],width:40,height:40}},legend:{labels:{useSeriesColors:!0},offsetY:7}};(chart=new ApexCharts(document.querySelector("#scatter-images"),options)).render();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97","#fa5c7c"],dataColors=$("#basic-treemap").data("colors"),options={series:[{data:[{x:"New Delhi",y:218},{x:"Kolkata",y:149},{x:"Mumbai",y:184},{x:"Ahmedabad",y:55},{x:"Bangaluru",y:84},{x:"Pune",y:31},{x:"Chennai",y:70},{x:"Jaipur",y:30},{x:"Surat",y:44},{x:"Hyderabad",y:68},{x:"Lucknow",y:28},{x:"Indore",y:19},{x:"Kanpur",y:29}]}],colors:colors=dataColors?dataColors.split(","):colors,legend:{show:!1},chart:{height:350,type:"treemap"},title:{text:"Basic Treemap",align:"center"}},chart=new ApexCharts(document.querySelector("#basic-treemap"),options),colors=(chart.render(),["#727cf5","#0acf97","#fa5c7c"]),dataColors=$("#multiple-treemap").data("colors"),options={series:[{name:"Desktops",data:[{x:"ABC",y:10},{x:"DEF",y:60},{x:"XYZ",y:41}]},{name:"Mobile",data:[{x:"ABCD",y:10},{x:"DEFG",y:20},{x:"WXYZ",y:51},{x:"PQR",y:30},{x:"MNO",y:20},{x:"CDE",y:30}]}],legend:{show:!1},chart:{height:350,type:"treemap"},colors:colors=dataColors?dataColors.split(","):colors,title:{text:"Multi-dimensional Treemap",align:"center"}},colors=((chart=new ApexCharts(document.querySelector("#multiple-treemap"),options)).render(),["#727cf5","#0acf97","#fa5c7c"]),dataColors=$("#distributed-treemap").data("colors"),options={series:[{data:[{x:"New Delhi",y:218},{x:"Kolkata",y:149},{x:"Mumbai",y:184},{x:"Ahmedabad",y:55},{x:"Bangaluru",y:84},{x:"Pune",y:31},{x:"Chennai",y:70},{x:"Jaipur",y:30},{x:"Surat",y:44},{x:"Hyderabad",y:68},{x:"Lucknow",y:28},{x:"Indore",y:19},{x:"Kanpur",y:29}]}],legend:{show:!1},chart:{height:350,type:"treemap"},title:{text:"Distibuted Treemap (different color for each cell)",align:"center"},colors:colors=dataColors?dataColors.split(","):colors,plotOptions:{treemap:{distributed:!0,enableShades:!1}}},colors=((chart=new ApexCharts(document.querySelector("#distributed-treemap"),options)).render(),["#727cf5","#0acf97","#fa5c7c"]),dataColors=$("#color-range-treemap").data("colors"),options={series:[{data:[{x:"INTC",y:1.2},{x:"GS",y:.4},{x:"CVX",y:-1.4},{x:"GE",y:2.7},{x:"CAT",y:-.3},{x:"RTX",y:5.1},{x:"CSCO",y:-2.3},{x:"JNJ",y:2.1},{x:"PG",y:.3},{x:"TRV",y:.12},{x:"MMM",y:-2.31},{x:"NKE",y:3.98},{x:"IYT",y:1.67}]}],legend:{show:!1},chart:{height:350,type:"treemap"},title:{text:"Treemap with Color scale",align:"center"},dataLabels:{enabled:!0,style:{fontSize:"12px"},formatter:function(e,a){return[e,a.value]},offsetY:-4},plotOptions:{treemap:{enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!0,colorScale:{ranges:[{from:-6,to:0,color:(colors=dataColors?dataColors.split(","):colors)[0]},{from:.001,to:6,color:colors[1]}]}}}};(chart=new ApexCharts(document.querySelector("#color-range-treemap"),options)).render();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
!function(l){"use strict";function e(){this.$body=l("body"),this.$modal=new bootstrap.Modal(document.getElementById("event-modal"),{backdrop:"static"}),this.$calendar=l("#calendar"),this.$formEvent=l("#form-event"),this.$btnNewEvent=l("#btn-new-event"),this.$btnDeleteEvent=l("#btn-delete-event"),this.$btnSaveEvent=l("#btn-save-event"),this.$modalTitle=l("#modal-title"),this.$calendarObj=null,this.$selectedEvent=null,this.$newEventData=null}e.prototype.onEventClick=function(e){this.$formEvent[0].reset(),this.$formEvent.removeClass("was-validated"),this.$newEventData=null,this.$btnDeleteEvent.show(),this.$modalTitle.text("Edit Event"),this.$modal.show(),this.$selectedEvent=e.event,l("#event-title").val(this.$selectedEvent.title),l("#event-category").val(this.$selectedEvent.classNames[0])},e.prototype.onSelect=function(e){this.$formEvent[0].reset(),this.$formEvent.removeClass("was-validated"),this.$selectedEvent=null,this.$newEventData=e,this.$btnDeleteEvent.hide(),this.$modalTitle.text("Add New Event"),this.$modal.show(),this.$calendarObj.unselect()},e.prototype.init=function(){var e=new Date(l.now()),e=(new FullCalendar.Draggable(document.getElementById("external-events"),{itemSelector:".external-event",eventData:function(e){return{title:e.innerText,className:l(e).data("class")}}}),[{title:"Meeting with Mr. Shreyu",start:new Date(l.now()+158e6),end:new Date(l.now()+338e6),className:"bg-warning"},{title:"Interview - Backend Engineer",start:e,end:e,className:"bg-success"},{title:"Phone Screen - Frontend Engineer",start:new Date(l.now()+168e6),className:"bg-info"},{title:"Buy Design Assets",start:new Date(l.now()+338e6),end:new Date(l.now()+4056e5),className:"bg-primary"}]),a=this;a.$calendarObj=new FullCalendar.Calendar(a.$calendar[0],{slotDuration:"00:15:00",slotMinTime:"08:00:00",slotMaxTime:"19:00:00",themeSystem:"bootstrap",bootstrapFontAwesome:!1,buttonText:{today:"Today",month:"Month",week:"Week",day:"Day",list:"List",prev:"Prev",next:"Next"},initialView:"dayGridMonth",handleWindowResize:!0,height:l(window).height()-200,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listMonth"},initialEvents:e,editable:!0,droppable:!0,selectable:!0,dateClick:function(e){a.onSelect(e)},eventClick:function(e){a.onEventClick(e)}}),a.$calendarObj.render(),a.$btnNewEvent.on("click",function(e){a.onSelect({date:new Date,allDay:!0})}),a.$formEvent.on("submit",function(e){e.preventDefault();var t,n=a.$formEvent[0];n.checkValidity()?(a.$selectedEvent?(a.$selectedEvent.setProp("title",l("#event-title").val()),a.$selectedEvent.setProp("classNames",[l("#event-category").val()])):(t={title:l("#event-title").val(),start:a.$newEventData.date,allDay:a.$newEventData.allDay,className:l("#event-category").val()},a.$calendarObj.addEvent(t)),a.$modal.hide()):(e.stopPropagation(),n.classList.add("was-validated"))}),l(a.$btnDeleteEvent.on("click",function(e){a.$selectedEvent&&(a.$selectedEvent.remove(),a.$selectedEvent=null,a.$modal.hide())}))},l.CalendarApp=new e,l.CalendarApp.Constructor=e}(window.jQuery),function(){"use strict";window.jQuery.CalendarApp.init()}();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var colors=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],dataColors=$("#campaign-sent-chart").data("colors"),options1={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(o){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#campaign-sent-chart"),options1).render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#new-leads-chart").data("colors"),options2={chart:{type:"line",height:60,sparkline:{enabled:!0}},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:colors=dataColors?dataColors.split(","):colors,tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(o){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#new-leads-chart"),options2).render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#deals-chart").data("colors"),options3={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[12,14,2,47,42,15,47,75,65,19,14]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(o){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#deals-chart"),options3).render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#booked-revenue-chart").data("colors"),options4={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[47,45,74,14,56,74,14,11,7,39,82]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(o){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#booked-revenue-chart"),options4).render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#dash-campaigns-chart").data("colors"),options={chart:{height:314,type:"radialBar"},colors:colors=dataColors?dataColors.split(","):colors,series:[86,36,50],labels:["Total Sent","Reached","Opened"],plotOptions:{radialBar:{track:{margin:8}}}},chart=new ApexCharts(document.querySelector("#dash-campaigns-chart"),options),colors=(chart.render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#dash-revenue-chart").data("colors"),options={chart:{height:338,type:"line",toolbar:{show:!1}},stroke:{curve:"smooth",width:2},series:[{name:"Total Revenue",type:"area",data:[44,55,31,47,31,43,26,41,31,47,33,43]},{name:"Total Pipeline",type:"line",data:[55,69,45,61,43,54,37,52,44,61,43,56]}],fill:{type:"solid",opacity:[.35,1]},labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],markers:{size:0},colors:colors=dataColors?dataColors.split(","):colors,yaxis:[{title:{text:"Revenue (USD)"},min:0}],tooltip:{shared:!0,intersect:!1,y:{formatter:function(o){return void 0!==o?o.toFixed(0)+"k":o}}},grid:{borderColor:"#f1f3fa",padding:{bottom:5}},legend:{fontSize:"14px",fontFamily:"14px",offsetY:5},responsive:[{breakpoint:600,options:{yaxis:{show:!1},legend:{show:!1}}}]};(chart=new ApexCharts(document.querySelector("#dash-revenue-chart"),options)).render();

View File

@@ -0,0 +1 @@
!function(n){"use strict";function t(){this.charts=[]}t.prototype.init=function(){this.initCharts()},t.prototype.initCharts=function(){var t=["#727cf5","#0acf97"],e=n("#revenue-statistics-chart").data("colors"),e={chart:{height:361,type:"line",dropShadow:{enabled:!0,opacity:.2,blur:7,left:-7,top:7}},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:4},series:[{name:"Budget",data:[10,20,15,28,22,34]},{name:"Revenue",data:[2,26,10,38,30,48]}],colors:t=e?e.split(","):t,zoom:{enabled:!1},xaxis:{type:"string",categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tooltip:{enabled:!1},axisBorder:{show:!1}},yaxis:{labels:{formatter:function(t){return t+"k"},offsetX:-15}}};new ApexCharts(document.querySelector("#revenue-statistics-chart"),e).render()},n.CrmManagement=new t,n.CrmManagement.Constructor=t}(window.jQuery),function(e){"use strict";e(document).ready(function(t){e.CrmManagement.init()})}(window.jQuery);

View File

@@ -0,0 +1 @@
!function(e){"use strict";function t(){this.$body=e("body"),this.charts=[]}t.prototype.init=function(){this.initCharts()},t.prototype.initCharts=function(){var t=["#727cf5","#0acf97"],o=e("#crm-project-statistics").data("colors"),r={chart:{height:326,type:"bar",toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"25%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:0,colors:["transparent"]},colors:t=o?o.split(","):t,series:[{name:"Projects",data:[56,38,85,72,28,69,55,52,69]},{name:"Working Hours",data:[176,185,256,240,187,205,191,114,194]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"]},legend:{offsetY:7},fill:{opacity:1},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa",padding:{bottom:5}}},t=(new ApexCharts(document.querySelector("#crm-project-statistics"),r).render(),["#727cf5","#0acf97"]),r={chart:{height:256,type:"donut"},legend:{show:!1},stroke:{width:0,colors:["transparent"]},series:[82,37],labels:["Done Projects","Pending Projects"],colors:t=(o=e("#monthly-target").data("colors"))?o.split(","):t,responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};new ApexCharts(document.querySelector("#monthly-target"),r).render()},e.CrmProject=new t,e.CrmProject.Constructor=t}(window.jQuery),function(o){"use strict";o(document).ready(function(t){o.CrmProject.init()})}(window.jQuery);var colors=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],dataColors=$("#project-overview-chart").data("colors"),options={chart:{height:326,type:"radialBar"},colors:colors=dataColors?dataColors.split(","):colors,series:[85,70,80,65],labels:["Product Design","Web Development","Illustration Design","UI/UX Design"],plotOptions:{radialBar:{track:{margin:5}}}},chart=new ApexCharts(document.querySelector("#project-overview-chart"),options);chart.render();

View File

@@ -0,0 +1 @@
$(document).ready(function(){"use strict";$("#products-datatable").DataTable({language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"},info:"Showing customers _START_ to _END_ of _TOTAL_",lengthMenu:'Display <select class=\'form-select form-select-sm ms-1 me-1\'><option value="10">10</option><option value="20">20</option><option value="-1">All</option></select> customers'},columnDefs:[{targets:-1,className:"dt-body-right"}],pageLength:10,columns:[{orderable:!1,render:function(e,l,a,o){return e="display"===l?'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>':e},checkboxes:{selectRow:!0,selectAllRender:'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>'}},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!1}],select:{style:"multi"},order:[[5,"asc"]],drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded"),$("#products-datatable_length label").addClass("form-label"),document.querySelector(".dataTables_wrapper .row").querySelectorAll(".col-md-6").forEach(function(e){e.classList.add("col-sm-6"),e.classList.remove("col-sm-12"),e.classList.remove("col-md-6")})}})});

View File

@@ -0,0 +1 @@
!function(s){"use strict";function e(){this.$body=s("body"),this.charts=[]}e.prototype.initCharts=function(){window.Apex={chart:{parentHeightOffset:0,toolbar:{show:!1}},grid:{padding:{left:0,right:0}},colors:["#727cf5","#0acf97","#fa5c7c","#ffbc00"]};for(var e=new Date,e=function(e,a){for(var t=new Date(a,e,1),o=[],r=0;t.getMonth()===e&&r<15;){var s=new Date(t);o.push(s.getDate()+" "+s.toLocaleString("en-us",{month:"short"})),t.setDate(t.getDate()+1),r+=1}return o}(e.getMonth()+1,e.getFullYear()),a=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],t=s("#sessions-overview").data("colors"),e={chart:{height:309,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:4},series:[{name:"Sessions",data:[10,20,5,15,10,20,15,25,20,30,25,40,30,50,35]}],zoom:{enabled:!1},legend:{show:!1},colors:a=t?t.split(","):a,xaxis:{type:"string",categories:e,tooltip:{enabled:!1},axisBorder:{show:!1},labels:{}},yaxis:{labels:{formatter:function(e){return e+"k"},offsetX:-15}},fill:{type:"gradient",gradient:{type:"vertical",shadeIntensity:1,inverseColors:!1,opacityFrom:.45,opacityTo:.05,stops:[45,100]}}},o=(new ApexCharts(document.querySelector("#sessions-overview"),e).render(),[]),r=10;1<=r;r--)o.push(r+" min ago");a=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],(t=s("#views-min").data("colors"))&&(a=t.split(",")),e={chart:{height:150,type:"bar",stacked:!0},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"22%",dataLabels:{position:"top"}}},dataLabels:{enabled:!0,offsetY:-24,style:{fontSize:"12px",colors:["#8a969c"]}},series:[{name:"Views",data:function(e){for(var a=[],t=0;t<e;t++)a.push(Math.floor(90*Math.random())+10);return a}(10)}],zoom:{enabled:!1},legend:{show:!1},colors:a,xaxis:{categories:o,labels:{show:!1},axisTicks:{show:!1},axisBorder:{show:!1}},yaxis:{labels:{show:!1}},fill:{type:"gradient",gradient:{inverseColors:!0,shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,opacityFrom:1,opacityTo:1,stops:[0,100,100,100]}},tooltip:{y:{formatter:function(e){return e}}}},new ApexCharts(document.querySelector("#views-min"),e).render(),a=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e={chart:{height:345,type:"radar"},series:[{name:"Usage",data:[80,50,30,40,60,20]}],labels:["Chrome","Firefox","Safari","Opera","Edge","Explorer"],plotOptions:{radar:{size:130,polygons:{strokeColor:"#e9e9e9",fill:{colors:["#f8f8f8","#fff"]}}}},colors:a=(t=s("#sessions-browser").data("colors"))?t.split(","):a,yaxis:{labels:{formatter:function(e){return e+"%"}}},dataLabels:{enabled:!0},markers:{size:4,colors:["#fff"],strokeColor:a[0],strokeWidth:2}},new ApexCharts(document.querySelector("#sessions-browser"),e).render(),a=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e={chart:{height:320,type:"bar"},plotOptions:{bar:{horizontal:!0}},colors:a=(t=s("#country-chart").data("colors"))?t.split(","):a,dataLabels:{enabled:!1},series:[{name:"Sessions",data:[90,75,60,50,45,36,28,20,15,12]}],xaxis:{categories:["India","China","United States","Japan","France","Italy","Netherlands","United Kingdom","Canada","South Korea"],axisBorder:{show:!1},labels:{formatter:function(e){return e+"%"}}},grid:{strokeDashArray:[5]}},new ApexCharts(document.querySelector("#country-chart"),e).render(),a=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e={chart:{height:269,type:"radialBar"},plotOptions:{radialBar:{dataLabels:{name:{fontSize:"22px"},value:{fontSize:"16px"},total:{show:!0,label:"OS",formatter:function(e){return 8541}}}}},colors:a=(t=s("#sessions-os").data("colors"))?t.split(","):a,series:[44,55,67,83],labels:["Windows","Macintosh","Linux","Android"]};new ApexCharts(document.querySelector("#sessions-os"),e).render()},e.prototype.initMaps=function(){new jsVectorMap({map:"world",selector:"#world-map-markers",zoomOnScroll:!1,zoomButtons:!0,hoverOpacity:.7,hoverColor:!1,regionStyle:{initial:{fill:"#91a6bd40"}},series:{regions:[{attribute:"fill",scale:{myScaleKR:"#91a6bd40",myScaleCA:"#b3c3ff",myScaleGB:"#809bfe",myScaleNL:"#4d73fe",myScaleIT:"#1b4cfe",myScaleFR:"#727cf5",myScaleJP:"#e7fef7",myScaleUS:"#e7e9fd",myScaleCN:"#8890f7",myScaleIN:"#727cf5"},values:{KR:"myScaleKR",CA:"myScaleCA",GB:"myScaleGB",NL:"myScaleNL",IT:"myScaleIT",FR:"myScaleFR",JP:"myScaleJP",US:"myScaleUS",CN:"myScaleCN",IN:"myScaleIN"}}]}})},e.prototype.init=function(){s("#dash-daterange").daterangepicker({singleDatePicker:!0}),this.initCharts(),this.initMaps(),window.setInterval(function(){var e=Math.floor(600*Math.random()+150);s("#active-users-count").text(e),s("#active-views-count").text(Math.floor(Math.random()*e+200))},2e3)},s.AnalyticsDashboard=new e,s.AnalyticsDashboard.Constructor=e}(window.jQuery),function(){"use strict";window.jQuery.AnalyticsDashboard.init()}();

View File

@@ -0,0 +1 @@
!function(o){"use strict";function t(){this.$body=o("body"),this.charts=[]}t.prototype.respChart=function(t,r,a,e){Chart.defaults.color="#8fa2b3",Chart.defaults.borderColor="rgba(133, 141, 152, 0.1)";var i,n=t.get(0).getContext("2d"),s=o(t).parent();switch(t.attr("width",o(s).width()),r){case"Line":i=new Chart(n,{type:"line",data:a,options:e});break;case"Bar":i=new Chart(n,{type:"bar",data:a,options:e});break;case"Doughnut":i=new Chart(n,{type:"doughnut",data:a,options:e})}return i},t.prototype.initCharts=function(){var t,r=[];return 0<o("#task-area-chart").length&&(t={labels:["Sprint 1","Sprint 2","Sprint 3","Sprint 4","Sprint 5","Sprint 6","Sprint 7","Sprint 8","Sprint 9","Sprint 10","Sprint 11","Sprint 12","Sprint 13","Sprint 14","Sprint 15","Sprint 16","Sprint 17","Sprint 18","Sprint 19","Sprint 20","Sprint 21","Sprint 22","Sprint 23","Sprint 24"],datasets:[{label:"This year",backgroundColor:o("#task-area-chart").data("bgcolor")||"#727cf5",borderColor:o("#task-area-chart").data("bordercolor")||"#727cf5",data:[16,44,32,48,72,60,84,64,78,50,68,34,26,44,32,48,72,60,74,52,62,50,32,22]}]},r.push(this.respChart(o("#task-area-chart"),"Bar",t,{maintainAspectRatio:!1,barPercentage:.7,categoryPercentage:.5,plugins:{filler:{propagate:!1},legend:{display:!1},tooltips:{intersect:!1},hover:{intersect:!0}},scales:{x:{grid:{color:"rgba(0,0,0,0.05)"}},y:{ticks:{stepSize:10,display:!1},min:10,max:100,display:!0,borderDash:[5,5],grid:{color:"rgba(0,0,0,0)",fontColor:"#fff"}}}}))),0<o("#project-status-chart").length&&(t={labels:["Completed","In-progress","Behind"],datasets:[{data:[64,26,10],backgroundColor:(t=o("#project-status-chart").data("colors"))?t.split(","):["#0acf97","#727cf5","#fa5c7c"],borderColor:"transparent",borderWidth:"3"}]},r.push(this.respChart(o("#project-status-chart"),"Doughnut",t,{maintainAspectRatio:!1,cutout:80,plugins:{cutoutPercentage:40,legend:{display:!1}}}))),r},t.prototype.init=function(){var r=this;Chart.defaults.font.family='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',r.charts=this.initCharts(),o(window).on("resizeEnd",function(t){o.each(r.charts,function(t,r){try{r.destroy()}catch(t){}}),r.charts=r.initCharts()}),o(window).resize(function(){this.resizeTO&&clearTimeout(this.resizeTO),this.resizeTO=setTimeout(function(){o(this).trigger("resizeEnd")},500)})},o.ChartJs=new t,o.ChartJs.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.ChartJs.init()}();

View File

@@ -0,0 +1 @@
!function(a){"use strict";function t(){}t.prototype.generateData=function(){for(var t=[],e=0;e<100;e++)t.push(5e3+1e5*Math.random()+.8*e*e*e);return t},t.prototype.init=function(){this.dayDummyData=this.generateData(),this.monthDummyData=this.generateData(),this.weekDummyData=this.generateData(),this.yearDummyData=this.generateData(),this.dayBalanceData=[];for(var t=0;t<100;t++){var e=new Date;this.dayBalanceData.push([e.setDate(e.getDate()+t-100),this.dayDummyData[t]])}this.weekBalanceData=[];for(t=0;t<100;t++){e=new Date;this.weekBalanceData.push([e.setDate(e.getDate()+7*t-700),this.weekDummyData[t]])}this.monthBalanceData=[];for(t=0;t<100;t++){e=new Date;this.monthBalanceData.push([e.setDate(e.getDate()+30*t-3e3),this.monthDummyData[t]])}this.yearBalanceData=[];for(t=0;t<100;t++){e=new Date;this.yearBalanceData.push([e.setDate(e.getDate()+365*t-36500),this.yearDummyData[t]])}this.initCurrencyBTC(),this.initCurrencyCNY(),this.initCurrencyETH(),this.initDayBalance(),this.initWeekBalance(),this.initMonthBalance(),this.initYearBalance()},t.prototype.initCurrencyBTC=function(){var t=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e=a("#currency-btc-chart").data("colors"),e={chart:{type:"line",height:60,sparkline:{enabled:!0}},series:[{data:[25,33,28,35,30,40]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:t=e?e.split(","):t,tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}};new ApexCharts(document.querySelector("#currency-btc-chart"),e).render()},t.prototype.initCurrencyCNY=function(){var t=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e=a("#currency-cny-chart").data("colors"),e={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:t=e?e.split(","):t,series:[{data:[25,44,12,36,9,54,25,66,41,89,63]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}};new ApexCharts(document.querySelector("#currency-cny-chart"),e).render()},t.prototype.initCurrencyETH=function(){var t=["#727cf5","#0acf97","#fa5c7c","#ffbc00"],e=a("#currency-eth-chart").data("colors"),e={chart:{type:"line",height:60,sparkline:{enabled:!0}},series:[{data:[25,33,28,35,30,40]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:t=e?e.split(","):t,tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}};new ApexCharts(document.querySelector("#currency-eth-chart"),e).render()},t.prototype.initDayBalance=function(){var t=["#6c757d"],e=a("#day-balance-chart").data("colors"),e={chart:{type:"area",height:350,toolbar:{show:!1}},colors:t=e?e.split(","):t,dataLabels:{enabled:!1},stroke:{width:1},series:[{data:this.dayBalanceData}],markers:{size:0,style:"hollow"},xaxis:{type:"datetime",tickAmount:6},yaxis:{labels:{formatter:function(t){return"$"+t}}},tooltip:{x:{format:"dd MMM yyyy"}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:0,stops:[0,100]}}};new ApexCharts(document.querySelector("#day-balance-chart"),e).render()},t.prototype.initWeekBalance=function(){var t=["#6c757d"],e=a("#week-balance-chart").data("colors"),e={chart:{type:"area",height:350,toolbar:{show:!1}},colors:t=e?e.split(","):t,dataLabels:{enabled:!1},stroke:{width:1},series:[{data:this.weekBalanceData}],markers:{size:0,style:"hollow"},xaxis:{type:"datetime",tickAmount:6},yaxis:{labels:{formatter:function(t){return"$"+t}}},tooltip:{x:{format:"dd MMM yyyy"}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:0,stops:[0,100]}}};new ApexCharts(document.querySelector("#week-balance-chart"),e).render()},t.prototype.initMonthBalance=function(){var t=["#6c757d"],e=a("#month-balance-chart").data("colors"),e={chart:{type:"area",height:350,toolbar:{show:!1}},colors:t=e?e.split(","):t,dataLabels:{enabled:!1},stroke:{width:1},series:[{data:this.monthBalanceData}],markers:{size:0,style:"hollow"},xaxis:{type:"datetime",tickAmount:6},yaxis:{labels:{formatter:function(t){return"$"+t}}},tooltip:{x:{format:"dd MMM yyyy"}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:0,stops:[0,100]}}};new ApexCharts(document.querySelector("#month-balance-chart"),e).render()},t.prototype.initYearBalance=function(){var t=["#6c757d"],e=a("#year-balance-chart").data("colors"),e={chart:{type:"area",height:350,toolbar:{show:!1}},colors:t=e?e.split(","):t,dataLabels:{enabled:!1},stroke:{width:1},series:[{data:this.yearBalanceData}],markers:{size:0,style:"hollow"},xaxis:{type:"datetime",tickAmount:6},yaxis:{labels:{formatter:function(t){return"$"+t}}},tooltip:{x:{format:"dd MMM yyyy"}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:0,stops:[0,100]}}};new ApexCharts(document.querySelector("#year-balance-chart"),e).render()},a.DashboardWallet=new t,a.DashboardWallet.Constructor=t,a.DashboardWallet.init()}(window.jQuery);

View File

@@ -0,0 +1,171 @@
!(function (r) {
"use strict";
function e() {
(this.$body = r("body")), (this.charts = []);
}
(e.prototype.initCharts = function () {
window.Apex = {
chart: { parentHeightOffset: 0, toolbar: { show: !1 } },
grid: { padding: { left: 0, right: 0 } },
colors: ["#727cf5", "#0acf97", "#fa5c7c", "#ffbc00"],
};
var e = ["#727cf5", "#0acf97", "#fa5c7c", "#ffbc00"],
t = r("#revenue-chart").data("colors"),
o = {
chart: {
height: 370,
type: "line",
dropShadow: { enabled: !0, opacity: 0.2, blur: 7, left: -7, top: 7 },
},
dataLabels: { enabled: !1 },
stroke: { curve: "smooth", width: 4 },
series: [
{ name: "Current Week", data: [10, 20, 15, 25, 20, 30, 20] },
{ name: "Previous Week", data: [0, 15, 10, 30, 15, 35, 25] },
],
colors: (e = t ? t.split(",") : e),
zoom: { enabled: !1 },
legend: { show: !1 },
xaxis: {
type: "string",
categories: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
tooltip: { enabled: !1 },
axisBorder: { show: !1 },
},
grid: { strokeDashArray: 7 },
yaxis: {
stepSize: 9,
labels: {
formatter: function (e) {
return e + "k";
},
offsetX: -15,
},
},
},
e =
(new ApexCharts(document.querySelector("#revenue-chart"), o).render(),
["#727cf5", "#e3eaef"]),
o = {
chart: { height: 256, type: "bar", stacked: !0 },
plotOptions: { bar: { horizontal: !1, columnWidth: "20%" } },
dataLabels: { enabled: !1 },
stroke: { show: !0, width: 0, colors: ["transparent"] },
series: [
{
name: "Actual",
data: [65, 59, 80, 81, 56, 89, 40, 32, 65, 59, 80, 81],
},
{
name: "Projection",
data: [89, 40, 32, 65, 59, 80, 81, 56, 89, 40, 65, 59],
},
],
zoom: { enabled: !1 },
legend: { show: !1 },
colors: (e = (t = r("#high-performing-product").data("colors"))
? t.split(",")
: e),
xaxis: {
categories: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
axisBorder: { show: !1 },
},
yaxis: {
stepSize: 40,
labels: {
formatter: function (e) {
return e + "k";
},
offsetX: -15,
},
},
fill: { opacity: 1 },
tooltip: {
y: {
formatter: function (e) {
return "$" + e + "k";
},
},
},
},
e =
(new ApexCharts(
document.querySelector("#high-performing-product"),
o
).render(),
["#727cf5", "#0acf97", "#fa5c7c", "#ffbc00"]),
o = {
chart: { height: 202, type: "donut" },
legend: { show: !1 },
stroke: { width: 0 },
series: [44, 55, 41, 17],
labels: ["Direct", "Affilliate", "Sponsored", "E-mail"],
colors: (e = (t = r("#average-sales").data("colors"))
? t.split(",")
: e),
responsive: [
{
breakpoint: 480,
options: { chart: { width: 200 }, legend: { position: "bottom" } },
},
],
};
new ApexCharts(document.querySelector("#average-sales"), o).render();
}),
(e.prototype.initMaps = function () {
new jsVectorMap({
map: "world",
selector: "#world-map-markers",
zoomOnScroll: !1,
zoomButtons: !0,
markersSelectable: !0,
hoverOpacity: 0.7,
hoverColor: !1,
regionStyle: { initial: { fill: "rgba(145, 166, 189, 0.25)" } },
markerStyle: {
initial: {
r: 9,
fill: "#727cf5",
"fill-opacity": 0.9,
stroke: "#fff",
"stroke-width": 7,
"stroke-opacity": 0.4,
},
hover: { stroke: "#fff", "fill-opacity": 1, "stroke-width": 1.5 },
},
backgroundColor: "transparent",
markers: [
{ coords: [40.71, -74], name: "New York" },
{ coords: [37.77, -122.41], name: "San Francisco" },
{ coords: [-33.86, 151.2], name: "Sydney" },
{ coords: [1.3, 103.8], name: "Singapore" },
],
});
}),
(e.prototype.init = function () {
r("#dash-daterange").daterangepicker({ singleDatePicker: !0 }),
this.initCharts(),
this.initMaps();
}),
(r.Dashboard = new e()),
(r.Dashboard.Constructor = e);
})(window.jQuery),
(function (t) {
"use strict";
t(document).ready(function (e) {
t.Dashboard.init();
});
})(window.jQuery);

View File

@@ -0,0 +1 @@
$(document).ready(function(){"use strict";$("#basic-datatable").DataTable({keys:!0,language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}});var a=$("#datatable-buttons").DataTable({lengthChange:!1,buttons:["copy","print"],language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}});$("#selection-datatable").DataTable({select:{style:"multi"},language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}}),a.buttons().container().appendTo("#datatable-buttons_wrapper .col-md-6:eq(0)"),$("#alternative-page-datatable").DataTable({pagingType:"full_numbers",drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}}),$("#scroll-vertical-datatable").DataTable({scrollY:"350px",scrollCollapse:!0,paging:!1,language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}}),$("#scroll-horizontal-datatable").DataTable({scrollX:!0,language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}}),$("#complex-header-datatable").DataTable({language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")},columnDefs:[{visible:!1,targets:-1}]}),$("#row-callback-datatable").DataTable({language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")},createdRow:function(a,e,t){15e4<+e[5].replace(/[\$,]/g,"")&&$("td",a).eq(5).addClass("text-danger")}}),$("#state-saving-datatable").DataTable({stateSave:!0,language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}}),$("#fixed-columns-datatable").DataTable({scrollY:300,scrollX:!0,scrollCollapse:!0,paging:!1,fixedColumns:!0}),$(".dataTables_length select").addClass("form-select form-select-sm"),$(".dataTables_length label").addClass("form-label")}),$(document).ready(function(){var a=$("#fixed-header-datatable").DataTable({responsive:!0,language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"}},drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")}});new $.fn.dataTable.FixedHeader(a)});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
$(function(){"use strict";$("#basicwizard").bootstrapWizard(),$("#progressbarwizard").bootstrapWizard({onTabShow:function(t,r,a){a=(a+1)/r.find("li").length*100;$("#progressbarwizard").find(".bar").css({width:a+"%"})}}),$("#btnwizard").bootstrapWizard({nextSelector:".button-next",previousSelector:".button-previous",firstSelector:".button-first",lastSelector:".button-last"}),$("#rootwizard").bootstrapWizard({onNext:function(t,r,a){t=$($(t).data("targetForm"));if(t&&(t.addClass("was-validated"),!1===t[0].checkValidity()))return event.preventDefault(),event.stopPropagation(),!1}})});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
$("input:checkbox").change(function(){$(this).is(":checked")?$(this).parent().parent().parent().parent().addClass("mail-selected"):$(this).parent().parent().parent().parent().removeClass("mail-selected")}),function(e){"use strict";function t(){}t.prototype.init=function(){new SimpleMDE({element:document.getElementById("simplemde1"),spellChecker:!1,placeholder:"Write something..",tabSize:2,status:!1,autosave:{enabled:!1}})},e.SimpleMDEEditor=new t,e.SimpleMDEEditor.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.SimpleMDEEditor.init()}();

View File

@@ -0,0 +1 @@
!function(i){"use strict";function e(){this.$body=i("body")}e.prototype.init=function(){i("#jstree-1").jstree({core:{themes:{responsive:!1}},types:{default:{icon:"ri-folder-line"},file:{icon:"ri-article-line"}},plugins:["types"]}),i("#jstree-1").on("select_node.jstree",function(e,t){t=i("#"+t.selected).find("a");if("#"!=t.attr("href")&&"javascript:;"!=t.attr("href")&&""!=t.attr("href"))return"_blank"==t.attr("target")&&(t.attr("href").target="_blank"),document.location.href=t.attr("href"),!1}),i("#jstree-2").jstree({core:{themes:{responsive:!1}},types:{default:{icon:"ri-folder-line text-warning"},file:{icon:"ri-article-line text-warning"}},plugins:["types"]}),i("#jstree-2").on("select_node.jstree",function(e,t){t=i("#"+t.selected).find("a");if("#"!=t.attr("href")&&"javascript:;"!=t.attr("href")&&""!=t.attr("href"))return"_blank"==t.attr("target")&&(t.attr("href").target="_blank"),document.location.href=t.attr("href"),!1}),i("#jstree-3").jstree({plugins:["wholerow","checkbox","types"],core:{themes:{responsive:!1},data:[{text:"Same but with checkboxes",children:[{text:"initially selected",state:{selected:!0}},{text:"custom icon",icon:"ri-feedback-line text-danger"},{text:"initially open",icon:"ri-folder-line text-default",state:{opened:!0},children:["Another node"]},{text:"custom icon",icon:"ri-article-line text-warning"},{text:"disabled node",icon:"ri-close-circle-line text-success",state:{disabled:!0}}]},"And wholerow selection"]},types:{default:{icon:"ri-folder-line text-warning"},file:{icon:"ri-article-line text-warning"}}}),i("#jstree-4").jstree({core:{themes:{responsive:!1},check_callback:!0,data:[{text:"Parent Node",children:[{text:"Initially selected",state:{selected:!0}},{text:"Custom Icon",icon:"ri-feedback-line text-danger"},{text:"Initially open",icon:"ri-folder-line text-success",state:{opened:!0},children:[{text:"Another node",icon:"ri-article-line text-warning"}]},{text:"Another Custom Icon",icon:"ri-article-line text-warning"},{text:"Disabled Node",icon:"ri-close-circle-line text-success",state:{disabled:!0}},{text:"Sub Nodes",icon:"ri-folder-line text-danger",children:[{text:"Item 1",icon:"ri-article-line text-warning"},{text:"Item 2",icon:"ri-article-line text-success"},{text:"Item 3",icon:"ri-article-line text-default"},{text:"Item 4",icon:"ri-article-line text-danger"},{text:"Item 5",icon:"ri-article-line text-info"}]}]},"Another Node"]},types:{default:{icon:"ri-folder-line text-primary"},file:{icon:"ri-article-line text-primary"}},state:{key:"demo2"},plugins:["contextmenu","state","types"]}),i("#jstree-5").jstree({core:{themes:{responsive:!1},check_callback:!0,data:[{text:"Parent Node",children:[{text:"Initially selected",state:{selected:!0}},{text:"Custom Icon",icon:"ri-article-line text-danger"},{text:"Initially open",icon:"ri-folder-line text-success",state:{opened:!0},children:[{text:"Another node",icon:"ri-article-line text-warning"}]},{text:"Another Custom Icon",icon:"ri-line-chart-line text-warning"},{text:"Disabled Node",icon:"ri-close-circle-line text-success",state:{disabled:!0}},{text:"Sub Nodes",icon:"ri-folder-line text-danger",children:[{text:"Item 1",icon:"ri-article-line text-warning"},{text:"Item 2",icon:"ri-article-line text-success"},{text:"Item 3",icon:"ri-article-line text-default"},{text:"Item 4",icon:"ri-article-line text-danger"},{text:"Item 5",icon:"ri-article-line text-info"}]}]},"Another Node"]},types:{default:{icon:"ri-folder-line text-success"},file:{icon:"ri-article-line text-success"}},state:{key:"demo2"},plugins:["dnd","state","types"]}),i("#jstree-6").jstree({core:{themes:{responsive:!1},check_callback:!0,data:{url:function(e){return e.id,"assets/data/ajax_demo_children.json"},data:function(e){return{id:e.id}}}},types:{default:{icon:"ri-folder-line text-primary"},file:{icon:"ri-article-line text-primary"}},state:{key:"demo3"},plugins:["dnd","state","types"]})},i.JSTree=new e,i.JSTree.Constructor=e}(window.jQuery),function(){"use strict";window.jQuery.JSTree.init()}();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
$(document).ready(function(){"use strict";$("#products-datatable").DataTable({language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"},info:"Showing products _START_ to _END_ of _TOTAL_",lengthMenu:'Display <select class=\'form-select form-select-sm ms-1 me-1\'><option value="5">5</option><option value="10">10</option><option value="20">20</option><option value="-1">All</option></select> products'},pageLength:5,columns:[{orderable:!1,targets:0,render:function(e,l,a,o){return e="display"===l?'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>':e},checkboxes:{selectRow:!0,selectAllRender:'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>'}},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!1}],select:{style:"multi"},order:[[1,"asc"]],drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded"),$("#products-datatable_length label").addClass("form-label"),document.querySelector(".dataTables_wrapper .row").querySelectorAll(".col-md-6").forEach(function(e){e.classList.add("col-sm-6"),e.classList.remove("col-sm-12"),e.classList.remove("col-md-6")})}})});

View File

@@ -0,0 +1 @@
!function(d){"use strict";function t(){this.$body=d("body"),this.charts=[]}t.prototype.respChart=function(t,r,a,e){var o,n=Chart.controllers.bar.prototype.draw,i=(Chart.controllers.bar.draw=function(){n.apply(this,arguments);var t=this.chart.ctx,r=t.fill;t.fill=function(){t.save(),t.shadowColor="rgba(0,0,0,0.01)",t.shadowBlur=20,t.shadowOffsetX=4,t.shadowOffsetY=5,r.apply(this,arguments),t.restore()}},Chart.defaults.color="#8fa2b3",Chart.defaults.borderColor="rgba(133, 141, 152, 0.1)",t.get(0).getContext("2d")),s=d(t).parent();switch(t.attr("width",d(s).width()),r){case"Line":o=new Chart(i,{type:"line",data:a,options:e});break;case"Doughnut":o=new Chart(i,{type:"doughnut",data:a,options:e});break;case"Pie":o=new Chart(i,{type:"pie",data:a,options:e});break;case"Bar":o=new Chart(i,{type:"bar",data:a,options:e});break;case"Radar":o=new Chart(i,{type:"radar",data:a,options:e});break;case"PolarArea":o=new Chart(i,{data:a,type:"polarArea",options:e})}return o},t.prototype.initCharts=function(){var t;0<d("#high-performing-product").length&&((t=document.getElementById("high-performing-product").getContext("2d").createLinearGradient(0,500,0,150)).addColorStop(0,"#fa5c7c"),t.addColorStop(1,"#727cf5"),t={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Orders",backgroundColor:t,borderColor:t,hoverBackgroundColor:t,hoverBorderColor:t,data:[65,59,80,81,56,89,40,32,65,59,80,81]},{label:"Revenue",backgroundColor:"#91a6bd40",borderColor:"#91a6bd40",hoverBackgroundColor:"#91a6bd40",hoverBorderColor:"#91a6bd40",data:[89,40,32,65,59,80,81,56,89,40,65,59]}]},[].push(this.respChart(d("#high-performing-product"),"Bar",t,{maintainAspectRatio:!1,datasets:{bar:{barPercentage:.7,categoryPercentage:.5}},plugins:{legend:{display:!1}},scales:{y:{grid:{display:!1,color:"#91a6bd40"},stacked:!1,ticks:{stepSize:20}},x:{stacked:!1,grid:{color:"rgba(0,0,0,0.01)"}}}})))},t.prototype.init=function(){var r=this;Chart.defaults.font.family='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',r.charts=this.initCharts(),d(window).on("resize",function(t){d.each(r.charts,function(t,r){try{r.destroy()}catch(t){}}),r.charts=r.initCharts()})},d.Profile=new t,d.Profile.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.Profile.init()}();

View File

@@ -0,0 +1 @@
!function(l){"use strict";function t(){this.$body=l("body"),this.charts=[]}t.prototype.respChart=function(t,a,r,e){var o,s=Chart.controllers.line.prototype.draw,n=(Chart.controllers.line.prototype.draw=function(){s.apply(this,arguments);var t=this.chart.ctx,a=t.stroke;t.stroke=function(){t.save(),t.shadowColor="rgba(0,0,0,0.01)",t.shadowBlur=20,t.shadowOffsetX=0,t.shadowOffsetY=5,a.apply(this,arguments),t.restore()}},Chart.defaults.color="#8fa2b3",Chart.defaults.scale.grid.color="#8391a2",t.get(0).getContext("2d")),i=l(t).parent();switch(t.attr("width",l(i).width()),a){case"Line":o=new Chart(n,{type:"line",data:r,options:e});break;case"Doughnut":o=new Chart(n,{type:"doughnut",data:r,options:e});break;case"Pie":o=new Chart(n,{type:"pie",data:r,options:e});break;case"Bar":o=new Chart(n,{type:"bar",data:r,options:e});break;case"Radar":o=new Chart(n,{type:"radar",data:r,options:e});break;case"PolarArea":o=new Chart(n,{data:r,type:"polarArea",options:e})}return o},t.prototype.initCharts=function(){var t=[];return 0<l("#line-chart-example").length&&t.push(this.respChart(l("#line-chart-example"),"Line",{labels:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],datasets:[{label:"Completed Tasks",backgroundColor:"rgba(10, 207, 151, 0.3)",borderColor:"#0acf97",fill:!0,data:[32,42,42,62,52,75,62]},{label:"Plan Tasks",fill:!0,backgroundColor:"transparent",borderColor:"#727cf5",borderDash:[5,5],data:[42,58,66,93,82,105,92]}]},{maintainAspectRatio:!1,plugins:{filler:{propagate:!1},legend:{display:!1},tooltips:{intersect:!1},hover:{intersect:!0}},tension:.3,scales:{x:{grid:{color:"rgba(0,0,0,0.05)"}},y:{ticks:{stepSize:20},display:!0,borderDash:[5,5],grid:{color:"rgba(0,0,0,0)",fontColor:"#fff"}}}})),t},t.prototype.init=function(){var a=this;Chart.defaults.font.family='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',a.charts=this.initCharts(),l(window).on("resize",function(t){l.each(a.charts,function(t,a){try{a.destroy()}catch(t){}}),a.charts=a.initCharts()})},l.ChartJs=new t,l.ChartJs.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.ChartJs.init()}();

View File

@@ -0,0 +1,9 @@
$(function(){var e=new Gantt("#tasks-gantt",[{id:"1",name:"Draft the new contract document for sales team",start:"2019-07-16",end:"2019-07-20",progress:55},{id:"2",name:"Find out the old contract documents",start:"2019-07-19",end:"2019-07-21",progress:85,dependencies:"1"},{id:"3",name:"Organize meeting with sales associates to understand need in detail",start:"2019-07-21",end:"2019-07-22",progress:80,dependencies:"2"},{id:"4",name:"iOS App home page",start:"2019-07-15",end:"2019-07-17",progress:80},{id:"5",name:"Write a release note",start:"2019-07-18",end:"2019-07-22",progress:65,dependencies:"4"},{id:"6",name:"Setup new sales project",start:"2019-07-20",end:"2019-07-31",progress:15},{id:"7",name:"Invite user to a project",start:"2019-07-25",end:"2019-07-26",progress:99,dependencies:"6"},{id:"8",name:"Coordinate with business development",start:"2019-07-28",end:"2019-07-30",progress:35,dependencies:"7"},{id:"9",name:"Kanban board design",start:"2019-08-01",end:"2019-08-03",progress:25,dependencies:"8"},{id:"10",name:"Enable analytics tracking",start:"2019-08-05",end:"2019-08-07",progress:60,dependencies:"9"}],{view_modes:["Quarter Day","Half Day","Day","Week","Month"],bar_height:20,padding:18,view_mode:"Week",custom_popup_html:function(e){var s=e.end;60<=e.progress||30<=e.progress&&e.progress;return`
<div class="popover fade show bs-popover-right gantt-task-details" role="tooltip">
<div class="arrow"></div><div class="popover-body">
<h5>${e.name}</h5><p class="mb-2">Expected to finish by ${s}</p>
<div class="progress mb-2">
<div class="progress-bar progressCls + '" role="progressbar" style="width: ${e.progress}%;" aria-valuenow="${e.progress}"
aria-valuemin="0" aria-valuemax="100">${e.progress}%</div>
</div></div></div>
`}}),s=($("#modes-filter :input").on("change",function(){e.change_view_mode($(this).val())}),document.getElementById("modes-filter").querySelectorAll(".btn"));s.forEach(function(e){e.addEventListener("click",function(){s.forEach(function(e){e.classList.remove("active")}),e.classList.add("active")})})});

View File

@@ -0,0 +1 @@
var quill=new Quill("#snow-editor",{theme:"snow",modules:{toolbar:[[{font:[]},{size:[]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],[{header:[!1,1,2,3,4,5,6]},"blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["direction",{align:[]}],["link","image","video"],["clean"]]}}),quill=new Quill("#bubble-editor",{theme:"bubble"});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
$(document).ready(function(){"use strict";var l={chart:{type:"line",width:80,height:35,sparkline:{enabled:!0}},series:[],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:["#727cf5"],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}},t=[];$("#products-datatable").DataTable({language:{paginate:{previous:"<i class='mdi mdi-chevron-left'>",next:"<i class='mdi mdi-chevron-right'>"},info:"Showing sellers _START_ to _END_ of _TOTAL_",lengthMenu:'Display <select class=\'form-select form-select-sm ms-1 me-1\'><option value="10">10</option><option value="20">20</option><option value="-1">All</option></select> sellers'},pageLength:10,columns:[{orderable:!1,render:function(e,a,l,t){return e="display"===a?'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>':e},checkboxes:{selectRow:!0,selectAllRender:'<div class="form-check"><input type="checkbox" class="form-check-input dt-checkboxes"><label class="form-check-label">&nbsp;</label></div>'}},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!0},{orderable:!1},{orderable:!1}],select:{style:"multi"},order:[[4,"desc"]],drawCallback:function(){$(".dataTables_paginate > .pagination").addClass("pagination-rounded"),$("#products-datatable_length label").addClass("form-label");for(var e=0;e<t.length;e++)try{t[e].destroy()}catch(e){console.log(e)}t=[],$(".spark-chart").each(function(e){var a=$(this).data().dataset,a=(l.series=[{data:a}],new ApexCharts($(this)[0],l));t.push(a),a.render()})}})});

View File

@@ -0,0 +1 @@
!function(e){"use strict";function i(){}i.prototype.init=function(){new SimpleMDE({element:document.getElementById("simplemde1"),spellChecker:!1,autosave:{enabled:!0,unique_id:"simplemde1"}})},e.SimpleMDEEditor=new i,e.SimpleMDEEditor.Constructor=i}(window.jQuery),function(){"use strict";window.jQuery.SimpleMDEEditor.init()}();

View File

@@ -0,0 +1 @@
function hexToRGB(o,i){var l=parseInt(o.slice(1,3),16),t=parseInt(o.slice(3,5),16),o=parseInt(o.slice(5,7),16);return i?"rgba("+l+", "+t+", "+o+", "+i+")":"rgb("+l+", "+t+", "+o+")"}$(document).ready(function(){function i(){var o=$("#sparkline1").data("colors"),i=o?o.split(","):r.concat();$("#sparkline1").sparkline([0,23,43,35,44,45,56,37,40],{type:"line",width:"100%",height:"165",chartRangeMax:50,lineColor:i[0],fillColor:hexToRGB(i[0],.3),highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)",maxSpotColor:!1,minSpotColor:!1,spotColor:!1,lineWidth:1}),$("#sparkline1").sparkline([25,23,26,24,25,32,30,24,19],{type:"line",width:"100%",height:"165",chartRangeMax:40,lineColor:i[1],fillColor:hexToRGB(i[1],.3),composite:!0,highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)",maxSpotColor:!1,minSpotColor:!1,spotColor:!1,lineWidth:1}),i=(o=$("#sparkline2").data("colors"))?o.split(","):r.concat(),$("#sparkline2").sparkline([3,6,7,8,6,4,7,10,12,7,4,9,12,13,11,12],{type:"bar",height:"165",barWidth:"10",barSpacing:"3",barColor:i}),i=(o=$("#sparkline3").data("colors"))?o.split(","):r.concat(),$("#sparkline3").sparkline([20,40,30,10],{type:"pie",width:"165",height:"165",sliceColors:i}),i=(o=$("#sparkline4").data("colors"))?o.split(","):r.concat(),$("#sparkline4").sparkline([0,23,43,35,44,45,56,37,40],{type:"line",width:"100%",height:"165",chartRangeMax:50,lineColor:i[0],fillColor:"transparent",lineWidth:2,highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)",maxSpotColor:!1,minSpotColor:!1,spotColor:!1}),$("#sparkline4").sparkline([25,23,26,24,25,32,30,24,19],{type:"line",width:"100%",height:"165",chartRangeMax:40,lineColor:i[1],fillColor:"transparent",composite:!0,lineWidth:2,maxSpotColor:!1,minSpotColor:!1,spotColor:!1,highlightLineColor:"rgba(0,0,0,1)",highlightSpotColor:"rgba(0,0,0,1)"}),i=(o=$("#sparkline6").data("colors"))?o.split(","):r.concat(),$("#sparkline6").sparkline([3,6,7,8,6,4,7,10,12,7,4,9,12,13,11,12],{type:"line",width:"100%",height:"165",lineColor:"#e3eaef",lineWidth:2,fillColor:"rgba(227,234,239,0.3)",highlightLineColor:"rgba(0,0,0,.1)",highlightSpotColor:"rgba(0,0,0,.2)"}),$("#sparkline6").sparkline([3,6,7,8,6,4,7,10,12,7,4,9,12,13,11,12],{type:"bar",height:"165",barWidth:"10",barSpacing:"5",composite:!0,barColor:"#6c757d"}),i=["#6c757d"],(o=$("#sparkline7").data("colors"))&&(i=o.split(",")),$("#sparkline7").sparkline([4,6,7,7,4,3,2,1,4,4,5,6,3,4,5,8,7,6,9,3,2,4,1,5,6,4,3,7],{type:"discrete",width:"280",height:"165",lineColor:i})}function l(){function l(){var o,i=(new Date).getTime();t&&t!=i&&(o=Math.round(a/(i-t)*1e3),n.push(o),30<n.length&&n.splice(0,1),a=0,$("#sparkline5").sparkline(n,{tooltipSuffix:" pixels per second",type:"line",width:"100%",height:"165",chartRangeMax:77,maxSpotColor:!1,minSpotColor:!1,spotColor:!1,lineWidth:1,lineColor:"#fa5c7c",fillColor:"rgba(250, 92, 124, 0.3)",highlightLineColor:"rgba(24,147,126,.1)",highlightSpotColor:"rgba(24,147,126,.2)"})),t=i,setTimeout(l,500)}var t,r=-1,e=-1,a=0,n=[];$("html").mousemove(function(o){var i=o.pageX,o=o.pageY;-1<r&&(a+=Math.max(Math.abs(i-r),Math.abs(o-e))),r=i,e=o}),setTimeout(l,500)}var t,r=["#727cf5","#0acf97","#fa5c7c","#ffbc00"];i(),l(),$(window).resize(function(o){clearTimeout(t),t=setTimeout(function(){i(),l()},300)})});

View File

@@ -0,0 +1 @@
var quill=new Quill("#bubble-editor",{theme:"bubble"});

View File

@@ -0,0 +1 @@
$("#timepicker").timepicker({showSeconds:!0,icons:{up:"mdi mdi-chevron-up",down:"mdi mdi-chevron-down"},appendWidgetTo:"#timepicker-input-group1"}),$("#timepicker2").timepicker({showSeconds:!0,showMeridian:!1,icons:{up:"mdi mdi-chevron-up",down:"mdi mdi-chevron-down"},appendWidgetTo:"#timepicker-input-group2"}),$("#timepicker3").timepicker({showSeconds:!0,minuteStep:15,icons:{up:"mdi mdi-chevron-up",down:"mdi mdi-chevron-down"},appendWidgetTo:"#timepicker-input-group3"}),$("#basic-datepicker").flatpickr(),$("#datetime-datepicker").flatpickr({enableTime:!0,dateFormat:"Y-m-d H:i"}),$("#humanfd-datepicker").flatpickr({altInput:!0,altFormat:"F j, Y",dateFormat:"Y-m-d"}),$("#minmax-datepicker").flatpickr({minDate:"2020-01",maxDate:"2020-03"}),$("#disable-datepicker").flatpickr({onReady:function(){this.jumpToDate("2025-01")},disable:["2025-01-10","2025-01-21","2025-01-30",new Date(2025,4,9)],dateFormat:"Y-m-d"}),$("#multiple-datepicker").flatpickr({mode:"multiple",dateFormat:"Y-m-d"}),$("#conjunction-datepicker").flatpickr({mode:"multiple",dateFormat:"Y-m-d",conjunction:" :: "}),$("#range-datepicker").flatpickr({mode:"range"}),$("#inline-datepicker").flatpickr({inline:!0}),$("#basic-timepicker").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i"}),$("#24hours-timepicker").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i",time_24hr:!0}),$("#minmax-timepicker").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i",minDate:"16:00",maxDate:"22:30"}),$("#preloading-timepicker").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i",defaultDate:"01:45"});

View File

@@ -0,0 +1 @@
!function(c){"use strict";function t(){}t.prototype.send=function(t,o,i,e,n,a,s,r){t={heading:t,text:o,position:i,loaderBg:e,icon:n,hideAfter:a=a||3e3,stack:s=s||1};t.showHideTransition=r||"fade",c.toast().reset("all"),c.toast(t)},c.NotificationApp=new t,c.NotificationApp.Constructor=t,c("#toastr-one").on("click",function(t){c.NotificationApp.send("Heads up!","This alert needs your attention, but it is not super important.","top-right","rgba(0,0,0,0.2)","info")}),c("#toastr-two").on("click",function(t){c.NotificationApp.send("Heads up!","Check below fields please.","top-center","rgba(0,0,0,0.2)","warning")}),c("#toastr-three").on("click",function(t){c.NotificationApp.send("Well Done!","You successfully read this important alert message","bottom-right","rgba(0,0,0,0.2)","success")}),c("#toastr-four").on("click",function(t){c.NotificationApp.send("Oh snap!","Change a few things up and try submitting again.","bottom-left","rgba(0,0,0,0.2)","error")}),c("#toastr-five").on("click",function(t){c.NotificationApp.send("How to contribute?",["Fork the repository","Improve/extend the functionality","Create a pull request"],"top-right","rgba(0,0,0,0.2)","info")}),c("#toastr-six").on("click",function(t){c.NotificationApp.send("Can I add <em>icons</em>?","Yes! check this <a href='https://github.com/kamranahmedse/jquery-toast-plugin/commits/master'>update</a>.","top-right","rgba(0,0,0,0.2)","info",!1)}),c("#toastr-seven").on("click",function(t){c.NotificationApp.send("","Set the `hideAfter` property to false and the toast will become sticky.","top-right","rgba(0,0,0,0.2)","success")}),c("#toastr-eight").on("click",function(t){c.NotificationApp.send("","Set the `showHideTransition` property to fade|plain|slide to achieve different transitions.","top-right","rgba(0,0,0,0.2)","info",3e3,1,"fade")})}(window.jQuery);

View File

@@ -0,0 +1 @@
$(document).ready(function(){var o,e=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],e=($("#the-basics").typeahead({hint:!0,highlight:!0,minLength:1},{name:"states",source:(o=e,function(e,a){var t=[];substrRegex=new RegExp(e,"i"),$.each(o,function(e,a){substrRegex.test(a)&&t.push(a)}),a(t)})}),new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,local:e})),e=($("#bloodhound").typeahead({hint:!0,highlight:!0,minLength:1},{name:"states",source:e}),new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,prefetch:"https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/countries.json"})),e=($("#prefetch").typeahead(null,{name:"countries",source:e}),new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,prefetch:"https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/films/post_1960.json",remote:{url:"../plugins/typeahead/data/%QUERY.json",wildcard:"%QUERY"}})),t=($("#remote").typeahead(null,{name:"best-pictures",display:"value",source:e}),new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("team"),queryTokenizer:Bloodhound.tokenizers.whitespace,identify:function(e){return e.team},prefetch:"https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/nfl.json"}));$("#default-suggestions").typeahead({minLength:0,highlight:!0},{name:"nfl-teams",display:"team",source:function(e,a){""===e?a(t.get("Detroit Lions","Green Bay Packers","Chicago Bears")):t.search(e,a)}}),$("#custom-templates").typeahead(null,{name:"best-pictures",display:"value",source:e,templates:{empty:['<div class="typeahead-empty-message">',"Unable to find any Best Picture winners that match the current query","</div>"].join("\n"),suggestion:Handlebars.compile("<div><strong>{{value}}</strong> - {{year}}</div>")}});var e=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("team"),queryTokenizer:Bloodhound.tokenizers.whitespace,prefetch:"https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/nba.json"}),a=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("team"),queryTokenizer:Bloodhound.tokenizers.whitespace,prefetch:"https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/nhl.json"});$("#multiple-datasets").typeahead({highlight:!0},{name:"nba-teams",display:"team",source:e,templates:{header:'<h5 class="league-name">NBA Teams</h5>'}},{name:"nhl-teams",display:"team",source:a,templates:{header:'<h5 class="league-name">NHL Teams</h5>'}})});

View File

@@ -0,0 +1 @@
class VectorMap{initWorldMapMarker(){new jsVectorMap({map:"world",selector:"#world-map-markers",zoomOnScroll:!1,zoomButtons:!0,markersSelectable:!0,markers:[{name:"Greenland",coords:[72,-42]},{name:"Canada",coords:[56.1304,-106.3468]},{name:"Brazil",coords:[-14.235,-51.9253]},{name:"Egypt",coords:[26.8206,30.8025]},{name:"Russia",coords:[61,105]},{name:"China",coords:[35.8617,104.1954]},{name:"United States",coords:[37.0902,-95.7129]},{name:"Norway",coords:[60.472024,8.468946]},{name:"Ukraine",coords:[48.379433,31.16558]}],markerStyle:{initial:{fill:"#3e60d5"},selected:{fill:"#3e60d56e"}},labels:{markers:{render:a=>a.name}}})}initWorldMarkerLine(){new jsVectorMap({map:"world_merc",selector:"#world-map-markers-line",zoomOnScroll:!1,zoomButtons:!1,markers:[{name:"Greenland",coords:[72,-42]},{name:"Canada",coords:[56.1304,-106.3468]},{name:"Brazil",coords:[-14.235,-51.9253]},{name:"Egypt",coords:[26.8206,30.8025]},{name:"Russia",coords:[61,105]},{name:"China",coords:[35.8617,104.1954]},{name:"United States",coords:[37.0902,-95.7129]},{name:"Norway",coords:[60.472024,8.468946]},{name:"Ukraine",coords:[48.379433,31.16558]}],lines:[{from:"Canada",to:"Egypt"},{from:"Russia",to:"Egypt"},{from:"Greenland",to:"Egypt"},{from:"Brazil",to:"Egypt"},{from:"United States",to:"Egypt"},{from:"China",to:"Egypt"},{from:"Norway",to:"Egypt"},{from:"Ukraine",to:"Egypt"}],regionStyle:{initial:{stroke:"#9ca3af",strokeWidth:.25,fill:"#9ca3af69",fillOpacity:1}},markerStyle:{initial:{fill:"#9ca3af"},selected:{fill:"#9ca3af"}},lineStyle:{animation:!0,strokeDasharray:"6 3 6"}})}initIndiaVectorMap(){new jsVectorMap({map:"in_mill",backgroundColor:"transparent",selector:"#india-vector-map",regionStyle:{initial:{fill:"#16a7e9"}}})}initCanadaVectorMap(){new jsVectorMap({map:"canada",selector:"#canada-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#3e60d5"}}})}initRussiaVectorMap(){new jsVectorMap({map:"russia",selector:"#russia-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#5d7186"}}})}initUsVectorMap(){new jsVectorMap({map:"us_aea_en",selector:"#usa-vector-map",regionStyle:{initial:{fill:"#3e60d5"}}})}initIraqVectorMap(){new jsVectorMap({map:"iraq",selector:"#iraq-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#3e60d5"}}})}initSpainVectorMap(){new jsVectorMap({map:"spain",selector:"#spain-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#ffc35a"}}})}init(){this.initWorldMapMarker(),this.initWorldMarkerLine(),this.initIndiaVectorMap(),this.initCanadaVectorMap(),this.initRussiaVectorMap(),this.initUsVectorMap(),this.initIraqVectorMap(),this.initSpainVectorMap()}}document.addEventListener("DOMContentLoaded",function(a){(new VectorMap).init()});

View File

@@ -0,0 +1 @@
Apex.grid={padding:{right:0,left:0}},Apex.dataLabels={enabled:!1};var randomizeArray=function(e){for(var t,r,o=e.slice(),a=o.length;0!==a;)r=Math.floor(Math.random()*a),t=o[--a],o[a]=o[r],o[r]=t;return o},colors=($(document).ready(function(){"use strict";for(var e=[47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46],t=[],r=1;r<=24;r++)t.push("2018-09-"+r);var o=["#3688fc"],a=$("#sales-spark").data("colors"),s=(a&&(o=a.split(",")),{chart:{type:"area",height:172,sparkline:{enabled:!0}},stroke:{width:2,curve:"straight"},fill:{opacity:.2},series:[{name:"Hyper Sales",data:randomizeArray(e)}],xaxis:{type:"datetime"},yaxis:{min:0},colors:o,labels:t,title:{text:"$424,652",offsetX:20,offsetY:20,style:{fontSize:"24px"}},subtitle:{text:"Sales",offsetX:20,offsetY:55,style:{fontSize:"14px"}}}),o=(new ApexCharts(document.querySelector("#sales-spark"),s).render(),["#0acf97"]),s=((a=$("#profit-spark").data("colors"))&&(o=a.split(",")),{chart:{type:"bar",height:172,sparkline:{enabled:!0}},stroke:{width:0,curve:"straight"},fill:{opacity:.5},series:[{name:"Net Profits ",data:randomizeArray(e)}],xaxis:{crosshairs:{width:1}},yaxis:{min:0},colors:o,title:{text:"$135,965",offsetX:20,offsetY:20,style:{fontSize:"24px"}},subtitle:{text:"Profits",offsetX:20,offsetY:55,style:{fontSize:"14px"}}}),o=(new ApexCharts(document.querySelector("#profit-spark"),s).render(),["#734CEA"]),e={chart:{type:"line",height:100,sparkline:{enabled:!0}},series:[{data:[25,66,41,59,25,44,12,36,9,21]}],stroke:{width:4,curve:"smooth"},markers:{size:0},colors:o=(a=$("#spark1").data("colors"))?a.split(","):o},o=["#34bfa3"],s={chart:{type:"bar",height:100,sparkline:{enabled:!0}},series:[{data:[12,14,2,47,32,44,14,55,41,69]}],stroke:{width:3,curve:"smooth"},markers:{size:0},colors:o=(a=$("#spark2").data("colors"))?a.split(","):o},o=["#f4516c"],l={chart:{type:"line",height:100,sparkline:{enabled:!0}},series:[{data:[47,45,74,32,56,31,44,33,45,19]}],stroke:{width:4,curve:"smooth"},markers:{size:0},colors:o=(a=$("#spark3").data("colors"))?a.split(","):o},o=["#00c5dc"],a={chart:{type:"bar",height:100,sparkline:{enabled:!0}},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"55%"}},series:[{data:[15,75,47,65,14,32,19,54,44,61]}],stroke:{width:3,curve:"smooth"},markers:{size:0},colors:o=(a=$("#spark4").data("colors"))?a.split(","):o};new ApexCharts(document.querySelector("#spark1"),e).render(),new ApexCharts(document.querySelector("#spark2"),s).render(),new ApexCharts(document.querySelector("#spark3"),l).render(),new ApexCharts(document.querySelector("#spark4"),a).render()}),["#727cf5"]),dataColors=$("#campaign-sent-chart").data("colors"),options1={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#campaign-sent-chart"),options1).render(),["#727cf5"]),dataColors=$("#new-leads-chart").data("colors"),options2={chart:{type:"line",height:60,sparkline:{enabled:!0}},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:colors=dataColors?dataColors.split(","):colors,tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#new-leads-chart"),options2).render(),["#727cf5"]),dataColors=$("#deals-chart").data("colors"),options3={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[12,14,2,47,42,15,47,75,65,19,14]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}},colors=(new ApexCharts(document.querySelector("#deals-chart"),options3).render(),["#727cf5"]),dataColors=$("#booked-revenue-chart").data("colors"),options4={chart:{type:"bar",height:60,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"60%"}},colors:colors=dataColors?dataColors.split(","):colors,series:[{data:[47,45,74,14,56,74,14,11,7,39,82]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}}};new ApexCharts(document.querySelector("#booked-revenue-chart"),options4).render();

View File

@@ -0,0 +1 @@
!function(a){"use strict";function t(){this.$body=a("body"),this.$chatInput=a(".chat-input"),this.$chatList=a(".conversation-list"),this.$chatSendBtn=a(".chat-send"),this.$chatForm=a("#chat-form")}t.prototype.save=function(){var t=this.$chatInput.val(),i=moment().format("h:mm");return""==t?(this.$chatInput.focus(),!1):(a('<li class="clearfix odd"><div class="chat-avatar"><img src="assets/images/users/avatar-1.jpg" alt="male"><i>'+i+'</i></div><div class="conversation-text"><div class="ctext-wrap"><i>Dominic</i><p>'+t+"</p></div></div></li>").appendTo(".conversation-list"),this.$chatInput.focus(),this.$chatList.animate({scrollTop:this.$chatList.prop("scrollHeight")},1e3),!0)},t.prototype.init=function(){var i=this;i.$chatInput.keypress(function(t){if(13==t.which)return i.save(),!1}),i.$chatForm.on("submit",function(t){return t.preventDefault(),i.save(),i.$chatForm.removeClass("was-validated"),i.$chatInput.val(""),!1})},a.ChatApp=new t,a.ChatApp.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.ChatApp.init()}();

View File

@@ -0,0 +1 @@
!function(r){"use strict";function t(){this.$body=r("body")}t.prototype.init=function(){r('[data-plugin="dragula"]').each(function(){var t=r(this).data("containers"),a=[];if(t)for(var n=0;n<t.length;n++)a.push(r("#"+t[n])[0]);else a=[r(this)[0]];var i=r(this).data("handleclass");i?dragula(a,{moves:function(t,a,n){return n.classList.contains(i)}}):dragula(a)})},r.Dragula=new t,r.Dragula.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.Dragula.init()}();

View File

@@ -0,0 +1 @@
!function(e){"use strict";function t(){this.$body=e("body")}t.prototype.init=function(){Dropzone.autoDiscover=!1,e('[data-plugin="dropzone"]').each(function(){var t=e(this).attr("action"),i=e(this).data("previewsContainer"),t={url:t},i=(i&&(t.previewsContainer=i),e(this).data("uploadPreviewTemplate"));i&&(t.previewTemplate=e(i).html()),e(this).dropzone(t)})},e.FileUpload=new t,e.FileUpload.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.FileUpload.init()}();

View File

@@ -0,0 +1 @@
!function(n){"use strict";function i(){this.$body=n("body")}i.prototype.init=function(){n('[data-plugin="range-slider"]').each(function(){var i=n(this).data();n(this).ionRangeSlider(i)})},n.RangeSlider=new i,n.RangeSlider.Constructor=i}(window.jQuery),function(){"use strict";window.jQuery.RangeSlider.init()}();

View File

@@ -0,0 +1 @@
$("#js-interaction").bind("rated",function(t,e){$("#jsvalue").text("You've rated it: "+e)}),$("#js-interaction").bind("reset",function(){$("#jsvalue").text("Rating reset")}),$("#js-interaction").bind("over",function(t,e){$("#jshover").text("Hovering over: "+e)});

View File

@@ -0,0 +1 @@
!function(t){"use strict";function o(){this.$body=t("body"),this.$todoContainer=t("#todo-container"),this.$todoMessage=t("#todo-message"),this.$todoRemaining=t("#todo-remaining"),this.$todoTotal=t("#todo-total"),this.$archiveBtn=t("#btn-archive"),this.$todoList=t("#todo-list"),this.$todoDonechk=".todo-done",this.$todoForm=t("#todo-form"),this.$todoInput=t("#todo-input-text"),this.$todoBtn=t("#todo-btn-submit"),this.$todoData=[{id:"1",text:"Design One page theme",done:!1},{id:"2",text:"Build a js based app",done:!0},{id:"3",text:"Creating component page",done:!0},{id:"4",text:"Testing??",done:!0},{id:"5",text:"Hehe!! This looks cool!",done:!1},{id:"6",text:"Create new version 3.0",done:!1},{id:"7",text:"Build an angular app",done:!0}],this.$todoCompletedData=[],this.$todoUnCompletedData=[]}o.prototype.markTodo=function(t,o){for(var e=0;e<this.$todoData.length;e++)this.$todoData[e].id==t&&(this.$todoData[e].done=o)},o.prototype.addTodo=function(t){this.$todoData.push({id:this.$todoData.length,text:t,done:!1}),this.generate()},o.prototype.archives=function(){this.$todoUnCompletedData=[];for(var t=0;t<this.$todoData.length;t++){var o=this.$todoData[t];(1==o.done?this.$todoCompletedData:this.$todoUnCompletedData).push(o)}this.$todoData=[],this.$todoData=[].concat(this.$todoUnCompletedData),this.generate()},o.prototype.generate=function(){this.$todoList.html("");for(var t=0,o=0;o<this.$todoData.length;o++){var e=this.$todoData[o];1==e.done?this.$todoList.prepend('<li class="list-group-item border-0 ps-0"><div class="form-check mb-0"><input type="checkbox" class="form-check-input todo-done" id="'+e.id+'" checked><label class="form-check-label" for="'+e.id+'"><s>'+e.text+"</s></label></div></li>"):(t+=1,this.$todoList.prepend('<li class="list-group-item border-0 ps-0"><div class="form-check mb-0"><input type="checkbox" class="form-check-input todo-done" id="'+e.id+'"><label class="form-check-label" for="'+e.id+'">'+e.text+"</label></div></li>"))}this.$todoTotal.text(this.$todoData.length),this.$todoRemaining.text(t)},o.prototype.init=function(){var o=this;this.generate(),this.$archiveBtn.on("click",function(t){return t.preventDefault(),o.archives(),!1}),t(document).on("change",this.$todoDonechk,function(){this.checked?o.markTodo(t(this).attr("id"),!0):o.markTodo(t(this).attr("id"),!1),o.generate()}),this.$todoForm.on("submit",function(t){return t.preventDefault(),""==o.$todoInput.val()||void 0===o.$todoInput.val()||null==o.$todoInput.val()?(o.$todoInput.focus(),!1):(o.addTodo(o.$todoInput.val()),o.$todoForm.removeClass("was-validated"),o.$todoInput.val(""),!0)})},t.TodoApp=new o,t.TodoApp.Constructor=o}(window.jQuery),function(){"use strict";window.jQuery.TodoApp.init()}();

56479
assets/js/vendor.m.js Normal file

File diff suppressed because it is too large Load Diff

4
assets/js/vendor.min.js vendored Normal file

File diff suppressed because one or more lines are too long