Added validation, debounce and highcharts funnel/solidguage
This commit is contained in:
parent
05d3caddf4
commit
9db703d88f
@ -146,6 +146,14 @@ class CustomBladeServiceProvider extends ServiceProvider
|
||||
|
||||
break;
|
||||
|
||||
case 'debounce':
|
||||
switch ($content) {
|
||||
case 'js':
|
||||
$urls->put($type,'js/debounce.js');
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'highcharts':
|
||||
switch ($content) {
|
||||
case 'js':
|
||||
@ -172,13 +180,23 @@ class CustomBladeServiceProvider extends ServiceProvider
|
||||
$urls->put($key,'https://code.highcharts.com/modules/drilldown.js');
|
||||
break;
|
||||
|
||||
case 'export':
|
||||
$urls->put($key,'https://code.highcharts.com/modules/exporting.js');
|
||||
$urls->put($key.'data','https://code.highcharts.com/modules/export-data.js');
|
||||
break;
|
||||
|
||||
case 'funnel':
|
||||
$urls->put($key,'https://code.highcharts.com/modules/funnel.js');
|
||||
break;
|
||||
|
||||
case 'heatmap':
|
||||
$urls->put($key,'https://code.highcharts.com/modules/heatmap.js');
|
||||
break;
|
||||
|
||||
case 'export':
|
||||
$urls->put($key,'https://code.highcharts.com/modules/exporting.js');
|
||||
$urls->put($key.'data','https://code.highcharts.com/modules/export-data.js');
|
||||
case 'solidguage':
|
||||
$urls->put($key,'https://code.highcharts.com/highcharts-more.js');
|
||||
$urls->put($key.'accessiblity','https://code.highcharts.com/modules/accessibility.js');
|
||||
$urls->put($key.'solid-guage','https://code.highcharts.com/modules/solid-gauge.js');
|
||||
break;
|
||||
|
||||
case 'theme-dark':
|
||||
@ -275,6 +293,16 @@ class CustomBladeServiceProvider extends ServiceProvider
|
||||
|
||||
break;
|
||||
|
||||
case 'validation':
|
||||
switch ($content) {
|
||||
case 'js':
|
||||
// Base
|
||||
$urls->put('validate','https://cdn.jsdelivr.net/npm/jquery-validation@1.19.3/dist/jquery.validate.min.js');
|
||||
$urls->put('validate.additional','https://cdn.jsdelivr.net/npm/jquery-validation@1.19.3/dist/additional-methods.min.js');
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new \Exception(sprintf('Unknown Expression: [%s]',$expression));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user