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;
|
break;
|
||||||
|
|
||||||
|
case 'debounce':
|
||||||
|
switch ($content) {
|
||||||
|
case 'js':
|
||||||
|
$urls->put($type,'js/debounce.js');
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
case 'highcharts':
|
case 'highcharts':
|
||||||
switch ($content) {
|
switch ($content) {
|
||||||
case 'js':
|
case 'js':
|
||||||
@ -172,13 +180,23 @@ class CustomBladeServiceProvider extends ServiceProvider
|
|||||||
$urls->put($key,'https://code.highcharts.com/modules/drilldown.js');
|
$urls->put($key,'https://code.highcharts.com/modules/drilldown.js');
|
||||||
break;
|
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':
|
case 'heatmap':
|
||||||
$urls->put($key,'https://code.highcharts.com/modules/heatmap.js');
|
$urls->put($key,'https://code.highcharts.com/modules/heatmap.js');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'export':
|
case 'solidguage':
|
||||||
$urls->put($key,'https://code.highcharts.com/modules/exporting.js');
|
$urls->put($key,'https://code.highcharts.com/highcharts-more.js');
|
||||||
$urls->put($key.'data','https://code.highcharts.com/modules/export-data.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;
|
break;
|
||||||
|
|
||||||
case 'theme-dark':
|
case 'theme-dark':
|
||||||
@ -275,6 +293,16 @@ class CustomBladeServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
break;
|
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:
|
default:
|
||||||
throw new \Exception(sprintf('Unknown Expression: [%s]',$expression));
|
throw new \Exception(sprintf('Unknown Expression: [%s]',$expression));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user