-
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.
- Loading branch information
1 parent
26f8206
commit 3d32cb5
Showing
9 changed files
with
1,043 additions
and
80 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace sandritsch91\yii2\flatpickr; | ||
|
||
class FlatpickrCssAsset extends FlatpickrJsAsset | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $js = []; | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $css = [ | ||
'flatpickr.css' | ||
]; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace sandritsch91\yii2\flatpickr; | ||
|
||
class FlatpickrCustomAsset extends \yii\web\AssetBundle | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $sourcePath = '@sandritsch91/yii2/flatpickr/assets'; | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $css = [ | ||
'css/custom.css' | ||
]; | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $publishOptions = [ | ||
'forceCopy' => YII_DEBUG | ||
]; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
|
||
namespace sandritsch91\yii2\flatpickr; | ||
|
||
use yii\web\AssetBundle; | ||
|
||
class FlatpickrJsAsset extends AssetBundle | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $sourcePath = '@npm/flatpickr/dist'; | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $js = [ | ||
'flatpickr.js', | ||
'plugins/confirmDate/confirmDate.js', | ||
'plugins/labelPlugin/labelPlugin.js', | ||
'plugins/monthSelect/index.js', | ||
'plugins/weekSelect/weekSelect.js', | ||
'plugins/minMaxTimePlugin.js', | ||
'plugins/momentPlugin.js', | ||
'plugins/rangePlugin.js', | ||
'plugins/scrollPlugin.js', | ||
]; | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $css = [ | ||
'plugins/confirmDate/confirmDate.css', | ||
'plugins/monthSelect/style.css', | ||
]; | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $publishOptions = [ | ||
'forceCopy' => YII_DEBUG | ||
]; | ||
} |
Oops, something went wrong.