forked from leandrogehlen/yii2-querybuilder
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add types, remove unneeded depedency solutosoft/yii2-plugin
- Loading branch information
1 parent
fd69fc8
commit f5ccbdb
Showing
5 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,20 @@ | |
|
||
namespace leandrogehlen\querybuilder; | ||
|
||
use yii\base\Widget; | ||
|
||
/** | ||
* QueryBuilder renders a jQuery QueryBuilder component. | ||
* | ||
* @see http://mistic100.github.io/jQuery-QueryBuilder/ | ||
* @author Leandro Gehlen <[email protected]> | ||
*/ | ||
class QueryBuilder extends \soluto\plugin\Widget { | ||
class QueryBuilder extends Widget { | ||
|
||
/** | ||
* @inheridoc | ||
*/ | ||
public $pluginName = 'queryBuilder'; | ||
public string $pluginName = 'queryBuilder'; | ||
|
||
/** | ||
* @return string[] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
* | ||
* @author Leandro Gehlen <[email protected]> | ||
*/ | ||
class QueryBuilderAsset extends AssetBundle { | ||
class QueryBuilderAsset extends AssetBundle | ||
{ | ||
|
||
public $sourcePath = '@npm/jQuery-QueryBuilder/dist'; | ||
|
||
|
@@ -34,5 +35,4 @@ class QueryBuilderAsset extends AssetBundle { | |
'yii\web\JqueryAsset' | ||
]; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters