├── .php_cs ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── composer.json └── src ├── Editable.php ├── EditableAction.php ├── EditableAddressAsset.php ├── EditableBootstrapAsset.php ├── EditableComboDateAsset.php ├── EditableDatePickerAsset.php ├── EditableDateTimePickerAsset.php ├── EditableSelect2Asset.php ├── EditableWysiHtml5Asset.php ├── Select2Asset.php └── assets ├── address ├── bootstrap-editable-address.css └── bootstrap-editable-address.js ├── combodate ├── bootstrap-editable-combodate.js └── vendor │ ├── combodate.js │ └── moment-with-langs.min.js ├── datepicker ├── bootstrap-editable-datepicker.js └── vendor │ ├── css │ ├── datepicker.css │ └── datepicker3.css │ └── js │ ├── bootstrap-datepicker.js │ └── locales │ ├── bootstrap-datepicker.ar.js │ ├── bootstrap-datepicker.az.js │ ├── bootstrap-datepicker.bg.js │ ├── bootstrap-datepicker.ca.js │ ├── bootstrap-datepicker.cs.js │ ├── bootstrap-datepicker.cy.js │ ├── bootstrap-datepicker.da.js │ ├── bootstrap-datepicker.de.js │ ├── bootstrap-datepicker.el.js │ ├── bootstrap-datepicker.es.js │ ├── bootstrap-datepicker.et.js │ ├── bootstrap-datepicker.fa.js │ ├── bootstrap-datepicker.fi.js │ ├── bootstrap-datepicker.fr.js │ ├── bootstrap-datepicker.gl.js │ ├── bootstrap-datepicker.he.js │ ├── bootstrap-datepicker.hr.js │ ├── bootstrap-datepicker.hu.js │ ├── bootstrap-datepicker.id.js │ ├── bootstrap-datepicker.is.js │ ├── bootstrap-datepicker.it.js │ ├── bootstrap-datepicker.ja.js │ ├── bootstrap-datepicker.ka.js │ ├── bootstrap-datepicker.kk.js │ ├── bootstrap-datepicker.kr.js │ ├── bootstrap-datepicker.lt.js │ ├── bootstrap-datepicker.lv.js │ ├── bootstrap-datepicker.mk.js │ ├── bootstrap-datepicker.ms.js │ ├── bootstrap-datepicker.nb.js │ ├── bootstrap-datepicker.nl-BE.js │ ├── bootstrap-datepicker.nl.js │ ├── bootstrap-datepicker.no.js │ ├── bootstrap-datepicker.pl.js │ ├── bootstrap-datepicker.pt-BR.js │ ├── bootstrap-datepicker.pt.js │ ├── bootstrap-datepicker.ro.js │ ├── bootstrap-datepicker.rs-latin.js │ ├── bootstrap-datepicker.rs.js │ ├── bootstrap-datepicker.ru.js │ ├── bootstrap-datepicker.sk.js │ ├── bootstrap-datepicker.sl.js │ ├── bootstrap-datepicker.sq.js │ ├── bootstrap-datepicker.sv.js │ ├── bootstrap-datepicker.sw.js │ ├── bootstrap-datepicker.th.js │ ├── bootstrap-datepicker.tr.js │ ├── bootstrap-datepicker.ua.js │ ├── bootstrap-datepicker.vi.js │ ├── bootstrap-datepicker.zh-CN.js │ └── bootstrap-datepicker.zh-TW.js ├── datetimepicker ├── bootstrap-editable-datetimepicker.js └── vendor │ ├── css │ ├── bootstrap-datetimepicker.css │ └── bootstrap-datetimepicker.min.css │ └── js │ ├── bootstrap-datetimepicker.js │ ├── bootstrap-datetimepicker.min.js │ └── locales │ ├── bootstrap-datetimepicker.ar.js │ ├── bootstrap-datetimepicker.bg.js │ ├── bootstrap-datetimepicker.ca.js │ ├── bootstrap-datetimepicker.cs.js │ ├── bootstrap-datetimepicker.da.js │ ├── bootstrap-datetimepicker.de.js │ ├── bootstrap-datetimepicker.ee.js │ ├── bootstrap-datetimepicker.el.js │ ├── bootstrap-datetimepicker.es.js │ ├── bootstrap-datetimepicker.fi.js │ ├── bootstrap-datetimepicker.fr.js │ ├── bootstrap-datetimepicker.he.js │ ├── bootstrap-datetimepicker.hr.js │ ├── bootstrap-datetimepicker.hu.js │ ├── bootstrap-datetimepicker.id.js │ ├── bootstrap-datetimepicker.is.js │ ├── bootstrap-datetimepicker.it.js │ ├── bootstrap-datetimepicker.ja.js │ ├── bootstrap-datetimepicker.kr.js │ ├── bootstrap-datetimepicker.lt.js │ ├── bootstrap-datetimepicker.lv.js │ ├── bootstrap-datetimepicker.ms.js │ ├── bootstrap-datetimepicker.nb.js │ ├── bootstrap-datetimepicker.nl.js │ ├── bootstrap-datetimepicker.no.js │ ├── bootstrap-datetimepicker.pl.js │ ├── bootstrap-datetimepicker.pt-BR.js │ ├── bootstrap-datetimepicker.pt.js │ ├── bootstrap-datetimepicker.ro.js │ ├── bootstrap-datetimepicker.rs-latin.js │ ├── bootstrap-datetimepicker.rs.js │ ├── bootstrap-datetimepicker.ru.js │ ├── bootstrap-datetimepicker.sk.js │ ├── bootstrap-datetimepicker.sl.js │ ├── bootstrap-datetimepicker.sv.js │ ├── bootstrap-datetimepicker.sw.js │ ├── bootstrap-datetimepicker.th.js │ ├── bootstrap-datetimepicker.tr.js │ ├── bootstrap-datetimepicker.ua.js │ ├── bootstrap-datetimepicker.uk.js │ ├── bootstrap-datetimepicker.zh-CN.js │ └── bootstrap-datetimepicker.zh-TW.js ├── editable ├── css │ └── bootstrap-editable.css ├── img │ ├── clear.png │ └── loading.gif └── js │ └── bootstrap-editable.js ├── select2 └── bootstrap-editable-select2.js └── wysihtml5 ├── bootstrap-editable-wysihtml5.js └── vendor ├── bootstrap3-wysihtml5.all.min.js ├── bootstrap3-wysihtml5.css ├── bootstrap3-wysihtml5.min.css ├── locales ├── bootstrap-wysihtml5.ar-AR.js ├── bootstrap-wysihtml5.bg-BG.js ├── bootstrap-wysihtml5.ca-CT.js ├── bootstrap-wysihtml5.cs-CZ.js ├── bootstrap-wysihtml5.da-DK.js ├── bootstrap-wysihtml5.de-DE.js ├── bootstrap-wysihtml5.el-GR.js ├── bootstrap-wysihtml5.en-US.js ├── bootstrap-wysihtml5.es-AR.js ├── bootstrap-wysihtml5.es-ES.js ├── bootstrap-wysihtml5.fr-FR.js ├── bootstrap-wysihtml5.hr-HR.js ├── bootstrap-wysihtml5.hu-HU.js ├── bootstrap-wysihtml5.il-HE.js ├── bootstrap-wysihtml5.it-IT.js ├── bootstrap-wysihtml5.ja-JP.js ├── bootstrap-wysihtml5.ko-KR.js ├── bootstrap-wysihtml5.lt-LT.js ├── bootstrap-wysihtml5.mo-MD.js ├── bootstrap-wysihtml5.nb-NB.js ├── bootstrap-wysihtml5.nl-NL.js ├── bootstrap-wysihtml5.pl-PL.js ├── bootstrap-wysihtml5.pt-BR.js ├── bootstrap-wysihtml5.ru-RU.js ├── bootstrap-wysihtml5.sk-SK.js ├── bootstrap-wysihtml5.sv-SE.js ├── bootstrap-wysihtml5.tr-TR.js ├── bootstrap-wysihtml5.ua-UA.js ├── bootstrap-wysihtml5.zh-CN.js └── bootstrap-wysihtml5.zh-TW.js ├── wysihtml5-0.3.0.js └── wysihtml5-0.3.0.min.js /.php_cs: -------------------------------------------------------------------------------- 1 | in(__DIR__) 4 | ; 5 | 6 | return PhpCsFixer\Config::create() 7 | ->setRiskyAllowed(true) 8 | ->setRules(array( 9 | '@PSR2' => true, 10 | 'array_syntax' => array('syntax' => 'short'), 11 | 'combine_consecutive_unsets' => true, 12 | // 'header_comment' => array('header' => $header), 13 | 'no_extra_consecutive_blank_lines' => array( 14 | 'break', 15 | 'continue', 16 | 'extra', 17 | 'return', 18 | 'throw', 19 | 'use', 20 | 'parenthesis_brace_block', 21 | 'square_brace_block', 22 | 'curly_brace_block' 23 | ), 24 | 'no_useless_else' => true, 25 | 'no_useless_return' => true, 26 | 'ordered_class_elements' => true, 27 | 'ordered_imports' => true, 28 | 'phpdoc_add_missing_param_annotation' => true, 29 | 'psr4' => true, 30 | 'strict_comparison' => true, 31 | )) 32 | ->setFinder($finder) 33 | ; 34 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Contributions are **welcome** and will be fully **credited**. 4 | 5 | We accept contributions via Pull Requests on [Github](https://github.com/2amigos/yii2-editable-widget). 6 | 7 | 8 | ## Pull Requests 9 | 10 | - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). 11 | 12 | - **Add tests!** - Your patch won't be accepted if it doesn't have tests. 13 | 14 | - **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. 15 | 16 | - **Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option. 17 | 18 | - **Create feature branches** - Don't ask us to pull from your master branch. 19 | 20 | - **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. 21 | 22 | - **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting. 23 | 24 | 25 | ## Running Tests 26 | 27 | ``` bash 28 | $ phpunit 29 | ``` 30 | 31 | 32 | **Happy coding**! 33 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # The BSD License (BSD) 2 | 3 | Copyright (c) 2013-2017, 2amigOS! Consulting Group LLC. 4 | 5 | > Redistribution and use in source and binary forms, with or without modification, 6 | > are permitted provided that the following conditions are met: 7 | > 8 | > Redistributions of source code must retain the above copyright notice, this 9 | > list of conditions and the following disclaimer. 10 | > 11 | > Redistributions in binary form must reproduce the above copyright notice, this 12 | > list of conditions and the following disclaimer in the documentation and/or 13 | > other materials provided with the distribution. 14 | > 15 | > Neither the name of 2amigOS! Consulting Group, LLC. nor the names of its 16 | > contributors may be used to endorse or promote products derived from 17 | > this software without specific prior written permission. 18 | > 19 | >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 20 | >ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 21 | >WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22 | >DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 23 | >ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 24 | >(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 | >LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 26 | >ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | >(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | >SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | X-Editable Widget for Yii2 2 | ========================== 3 | 4 | [![Latest Version](https://img.shields.io/github/tag/2amigos/yii2-editable-widget.svg?style=flat-square&label=release)](https://github.com/2amigos/yii2-editable-widget/tags) 5 | [![Software License](https://img.shields.io/badge/license-BSD-brightgreen.svg?style=flat-square)](LICENSE.md) 6 | [![Build Status](https://img.shields.io/travis/2amigos/yii2-editable-widget/master.svg?style=flat-square)](https://travis-ci.org/2amigos/yii2-editable-widget) 7 | [![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/2amigos/yii2-editable-widget.svg?style=flat-square)](https://scrutinizer-ci.com/g/2amigos/yii2-editable-widget/code-structure) 8 | [![Quality Score](https://img.shields.io/scrutinizer/g/2amigos/yii2-editable-widget.svg?style=flat-square)](https://scrutinizer-ci.com/g/2amigos/yii2-editable-widget) 9 | [![Total Downloads](https://img.shields.io/packagist/dt/2amigos/yii2-editable-widget.svg?style=flat-square)](https://packagist.org/packages/2amigos/yii2-editable-widget) 10 | 11 | Renders a [X-Editable Input](http://vitalets.github.io/x-editable/index.html) allowing to use the amazing inline capabilities of [X-Editable Plugin](http://vitalets.github.io/x-editable/index.html). 12 | 13 | Important Note 14 | -------------- 15 | We decided to port only the Bootstrap 3 capabilities of [X-Editable Plugin](http://vitalets.github.io/x-editable/index.html) due to the requirements of our projects. We have done quite a lot of work: 16 | 17 | - The original library has been modified to port it to Yii2. Plugins that we thought didn't belong to the core, we extracted them and implemented them as separated external input types (address, combodate, datepicker, datetimepicker, select2 and wysihtml5 plugins). We thought that separating external types will help everybody to isolate problems and be able to improve the library much better. 18 | - Plugins have been all updated to their latest versions 19 | - Fixed datepicker and datetimepicker types to work with Bootstrap 3 20 | - Refactored widget code to make it easier to understand 21 | - We have not included **EditableColumn**, **EditableListView**, or **EditableDetailView** because we believe they correspond to a different package. They will be developed independently. 22 | 23 | So, if you have issues to fix, please remember, **THIS IS NOT** an exact copy of X-Editable, this is a Bootstrap 3 enhanced X-Editable plugin ported to Yii2. 24 | 25 | We welcome everybody to improve this library with their amazing Pull Requests :) and we hope that this will increase the productivity of your Yii2 experience. 26 | 27 | So keep this in mind: 28 | 29 | - Widget is based on [X-Editable](http://vitalets.github.io/x-editable/) not on [X-Editable for Yii](http://x-editable.demopage.ru/) 30 | - It does not work with JQuery UI or as plain JQuery, just Bootstrap and latest version only (not 2.3.2 sorry) 31 | - If you wish to help improve the library do it, but do not update the library thinking this is the same as X-Editable source, it has been modified. 32 | - The supported types are: 33 | - text 34 | - textarea 35 | - select 36 | - date 37 | - datetime 38 | - combodate 39 | - html5 types 40 | - checklist 41 | - wysihtml5 42 | - select2 43 | - No typeaheadJs - ready for the challenge? 44 | 45 | 46 | Installation 47 | ------------ 48 | The preferred way to install this extension is through [composer](http://getcomposer.org/download/). 49 | 50 | Either run 51 | 52 | ``` 53 | composer require 2amigos/yii2-editable-widget:~1.0 54 | ``` 55 | or add 56 | 57 | ```json 58 | "2amigos/yii2-editable-widget" : "~1.0" 59 | ``` 60 | 61 | to the require section of your application's `composer.json` file. 62 | 63 | 64 | Usage 65 | ----- 66 | There is an amazing site made by [Vitaliy Potapov](https://github.com/vitalets) which shows how to configure the widget. We are not going to explain how to use each one of the again and we encourage you to visit [the documentation section of the plugin's site](http://vitalets.github.io/x-editable/docs.html) 67 | 68 | ``` 69 | 74 | 75 | $model, 77 | 'attribute' => 'created_at', 78 | 'url' => 'site/test', 79 | 'type' => 'datetime', 80 | 'mode' => 'pop', 81 | 'clientOptions' => [ 82 | 'placement' => 'right', 83 | 'format' => 'yyyy-mm-dd hh:ii', 84 | 'viewformat' => 'dd/mm/yyyy hh:ii', 85 | 'datetimepicker' => [ 86 | 'orientation' => 'top auto' 87 | ] 88 | ] 89 | ]);?> 90 | 94 | 'country_code', 96 | 'value' => '', 97 | 'url' => 'site/test', 98 | 'type' => 'select2', 99 | 'mode' => 'pop', 100 | 'clientOptions' => [ 101 | 'pk' => 2, 102 | 'placement' => 'right', 103 | 'select2' => [ 104 | 'width' => '124px' 105 | ], 106 | 'source' => [ 107 | ['id' => 'gb', 'text' => 'Great Britain'], 108 | ['id' => 'es', 'text' => 'Spain'], 109 | ], 110 | ] 111 | ]);?> 112 | 113 | 118 | field($model, 'address')->widget(Editable::className(), [ 119 | 'url' => 'site/test', 120 | 'type' => 'address' 121 | ]);?> 122 | 123 | field($model, 'created_at')->widget(Editable::className(), [ 126 | 'url' => 'site/test', 127 | 'type' => 'datetime', 128 | 'mode' => 'pop', 129 | 'clientOptions' => [ 130 | 'placement' => 'right', 131 | 'format' => 'yyyy-mm-dd hh:ii', 132 | 'viewformat' => 'dd/mm/yyyy hh:ii', 133 | 'datepicker' => [ 134 | 'orientation' => 'top auto' 135 | ] 136 | ] 137 | ]);?> 138 | ``` 139 | 140 | Testing 141 | ------- 142 | 143 | To test the extension, is better to clone this repository on your computer. After, go to the extensions folder and do 144 | the following (assuming you have `composer` installed on your computer): 145 | 146 | ```bash 147 | $ composer install --no-interaction --prefer-source --dev 148 | ``` 149 | Once all required libraries are installed then do: 150 | 151 | ```bash 152 | $ vendor/bin/phpunit 153 | ``` 154 | 155 | 156 | Further Information 157 | ------------------- 158 | Please, check the [X-Editable Plugin](http://vitalets.github.io/x-editable/index.html) documentation for further 159 | information about its configuration options. 160 | 161 | Contributing 162 | ------------ 163 | 164 | Please see [CONTRIBUTING](CONTRIBUTING.md) for details. 165 | 166 | Credits 167 | ------- 168 | 169 | - [Antonio Ramirez](https://github.com/tonydspaniard) 170 | - [All Contributors](../../contributors) 171 | 172 | License 173 | ------- 174 | 175 | The BSD License (BSD). Please see [License File](LICENSE.md) for more information. 176 | 177 | 178 | > [![2amigOS!](http://www.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0.png)](http://www.2amigos.us) 179 | Custom Software | Web & Mobile Software Development 180 | [www.2amigos.us](http://www.2amigos.us) 181 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "2amigos/yii2-editable-widget", 3 | "description": "X-Editable widget for Yii2.", 4 | "type": "yii2-extension", 5 | "keywords": [ 6 | "2amigos", 7 | "yii", 8 | "yii2", 9 | "yii 2", 10 | "extension", 11 | "widget", 12 | "x-editable" 13 | ], 14 | "homepage": "http://yiiwheels.com/extension/editable-widget", 15 | "license": "BSD-3-Clause", 16 | "authors": [ 17 | { 18 | "name": "2amigOS! Consulting Group", 19 | "email": "hola@2amigos.us", 20 | "homepage": "http://2amigos.us", 21 | "role": "Developer" 22 | } 23 | ], 24 | "support": { 25 | "issues": "https://github.com/2amigos/yii2-editable-widget/issues", 26 | "source": "https://github.com/2amigos/yii2-editable-widget" 27 | }, 28 | "require": { 29 | "yiisoft/yii2": "~2.0.5", 30 | "yiisoft/yii2-bootstrap": "~2.0.0", 31 | "bower-asset/select2": "~4.0" 32 | }, 33 | "require-dev": { 34 | "phpunit/phpunit": "4.*", 35 | "friendsofphp/php-cs-fixer": "^2.0", 36 | "scrutinizer/ocular": "~1.1" 37 | }, 38 | "autoload": { 39 | "psr-4": { 40 | "dosamigos\\editable\\": "src" 41 | } 42 | }, 43 | "extra": { 44 | "branch-alias": { 45 | "dev-master": "1.0-dev" 46 | }, 47 | "asset-installer-paths": { 48 | "bower-asset-library": "vendor/bower" 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/Editable.php: -------------------------------------------------------------------------------- 1 | 23 | * @link http://www.ramirezcobos.com/ 24 | * @link http://www.2amigos.us/ 25 | * @package dosamigos\editable 26 | */ 27 | class Editable extends InputWidget 28 | { 29 | /** 30 | * @var string the type of input. Type of input. 31 | */ 32 | public $type = 'text'; 33 | /** 34 | * @var string the Mode of editable, can be popup or inline. 35 | */ 36 | public $mode = 'inline'; 37 | /** 38 | * @var string optional input id 39 | */ 40 | public $id; 41 | /** 42 | * @var string placement of bootstrap popover 43 | */ 44 | public $placement = 'top'; 45 | /** 46 | * @var string|array Url for submit, e.g. '/post'. If function - it will be called instead of ajax. Function should 47 | * return deferred object to run fail/done callbacks. 48 | * 49 | * ``` 50 | * url: function(params) { 51 | * var d = new $.Deferred; 52 | * if(params.value === 'abc') { 53 | * return d.reject('error message'); //returning error via deferred object 54 | * } else { 55 | * //async saving data in js model 56 | * someModel.asyncSaveMethod({ 57 | * ..., 58 | * success: function(){ 59 | * d.resolve(); 60 | * } 61 | * }); 62 | * return d.promise(); 63 | * } 64 | * } 65 | * ``` 66 | */ 67 | public $url; 68 | /** 69 | * @var array the options for the X-editable.js plugin. 70 | * Please refer to the X-editable.js plugin web page for possible options. 71 | * @see http://vitalets.github.io/x-editable/docs.html#editable 72 | */ 73 | public $clientOptions = []; 74 | /** 75 | * @var array the event handlers for the X-editable.js plugin. 76 | * Please refer to the X-editable.js plugin web page for possible options. 77 | * @see http://vitalets.github.io/x-editable/docs.html#editable 78 | */ 79 | public $clientEvents = []; 80 | 81 | /** 82 | * Initializes the widget. 83 | * This method will register the bootstrap asset bundle. If you override this method, 84 | * make sure you call the parent implementation first. 85 | */ 86 | public function init() 87 | { 88 | if ($this->url === null) { 89 | throw new InvalidConfigException("'Url' property must be specified."); 90 | } 91 | if (!isset($this->options['id'])) { 92 | $this->options['id'] = $this->getId(); 93 | } 94 | parent::init(); 95 | } 96 | 97 | /** 98 | * @inheritdoc 99 | */ 100 | public function run() 101 | { 102 | $value = $this->value; 103 | if ($this->hasModel() && $value === null) { 104 | $show = Html::getAttributeValue($this->model, $this->attribute); 105 | } elseif (is_callable($value)) { 106 | $show = call_user_func($value, $this->model); 107 | } else { 108 | $show = $value; 109 | } 110 | 111 | echo Html::a($show, null, $this->options); 112 | 113 | $this->registerClientScript(); 114 | } 115 | 116 | /** 117 | * Registers X-Editable plugin and the related events 118 | */ 119 | protected function registerClientScript() 120 | { 121 | $view = $this->getView(); 122 | $language = ArrayHelper::getValue($this->clientOptions, 'language'); 123 | 124 | switch ($this->type) { 125 | case 'address': 126 | EditableAddressAsset::register($view); 127 | break; 128 | case 'combodate': 129 | EditableComboDateAsset::register($view); 130 | break; 131 | case 'date': 132 | if ($language) { 133 | EditableDatePickerAsset::register( 134 | $view 135 | )->js[] = 'vendor/js/locales/bootstrap-datetimepicker.' . $language . '.js'; 136 | } else { 137 | EditableDatePickerAsset::register($view); 138 | } 139 | break; 140 | case 'datetime': 141 | if ($language) { 142 | EditableDateTimePickerAsset::register( 143 | $view 144 | )->js[] = 'vendor/js/locales/bootstrap-datetimepicker.' . $language . '.js'; 145 | } else { 146 | EditableDateTimePickerAsset::register($view); 147 | } 148 | break; 149 | case 'select2': 150 | EditableSelect2Asset::register($view); 151 | break; 152 | case 'wysihtml5': 153 | $language = $language ?: 'en-US'; 154 | EditableWysiHtml5Asset::register( 155 | $view 156 | )->js[] = 'vendor/locales/bootstrap-wysihtml5.' . $language . '.js'; 157 | break; 158 | default: 159 | EditableBootstrapAsset::register($view); 160 | } 161 | 162 | $id = ArrayHelper::remove($this->clientOptions, 'selector', '#' . $this->options['id']); 163 | 164 | // Escape meta-characters in element Id 165 | // http://api.jquery.com/category/selectors/ 166 | // This actually only needs to be done for dots, since Html::getInputId 167 | // will enforce word-only characters. 168 | $id = preg_replace('/([.])/', '\\\\\\\$1', $id); 169 | 170 | $this->clientOptions['url'] = $this->url instanceof JsExpression ? $this->url : Url::toRoute($this->url); 171 | $this->clientOptions['type'] = $this->type; 172 | $this->clientOptions['mode'] = $this->mode; 173 | $this->clientOptions['name'] = $this->attribute ?: $this->name; 174 | $this->clientOptions['placement'] = $this->placement; 175 | $pk = ArrayHelper::getValue( 176 | $this->clientOptions, 177 | 'pk', 178 | $this->hasActiveRecord() ? $this->model->getPrimaryKey() : null 179 | ); 180 | $this->clientOptions['pk'] = base64_encode(serialize($pk)); 181 | if ($this->hasActiveRecord() && $this->model->isNewRecord) { 182 | $this->clientOptions['send'] = 'always'; // send to server without pk 183 | } 184 | 185 | $options = Json::encode($this->clientOptions); 186 | $js = "jQuery('$id').editable($options);"; 187 | $view->registerJs($js); 188 | 189 | if (!empty($this->clientEvents)) { 190 | $js = []; 191 | foreach ($this->clientEvents as $event => $handler) { 192 | $js[] = "jQuery('$id').on('$event', $handler);"; 193 | } 194 | $view->registerJs(implode("\n", $js)); 195 | } 196 | } 197 | 198 | /** 199 | * To ensure that `getPrimaryKey()` and `getIsNewRecord()` methods are implemented in model. 200 | * You can override this method if your model in not instance of `ActiveRecord` but simulates its behavior with these methods. 201 | * @return bool 202 | */ 203 | protected function hasActiveRecord() 204 | { 205 | return $this->hasModel() && $this->model instanceof ActiveRecordInterface; 206 | } 207 | } 208 | -------------------------------------------------------------------------------- /src/EditableAction.php: -------------------------------------------------------------------------------- 1 | 18 | * @link http://www.ramirezcobos.com/ 19 | * @link http://www.2amigos.us/ 20 | * @package dosamigos\editable 21 | */ 22 | class EditableAction extends Action 23 | { 24 | /** 25 | * @var string the class name to handle 26 | */ 27 | public $modelClass; 28 | /** 29 | * @var string the scenario to be used (optional) 30 | */ 31 | public $scenario; 32 | /** 33 | * @var \Closure a function to be called previous saving model. The anonymous function is preferable to have the 34 | * model passed by reference. This is useful when we need to set model with extra data previous update. 35 | */ 36 | public $preProcess; 37 | /** 38 | * @var bool whether to create a model if a primary key parameter was not found. 39 | */ 40 | public $forceCreate = true; 41 | 42 | /** 43 | * @inheritdoc 44 | * @throws \yii\base\InvalidConfigException 45 | */ 46 | public function init() 47 | { 48 | if ($this->modelClass === null) { 49 | throw new InvalidConfigException("'modelClass' cannot be empty."); 50 | } 51 | } 52 | 53 | /** 54 | * Runs the action 55 | * @return bool 56 | * @throws BadRequestHttpException 57 | */ 58 | public function run() 59 | { 60 | $class = $this->modelClass; 61 | $pk = Yii::$app->request->post('pk'); 62 | $pk = unserialize(base64_decode($pk)); 63 | $attribute = Yii::$app->request->post('name'); 64 | $value = Yii::$app->request->post('value'); 65 | if ($attribute === null) { 66 | throw new BadRequestHttpException("'name' parameter cannot be empty."); 67 | } 68 | if ($value === null) { 69 | throw new BadRequestHttpException("'value' parameter cannot be empty."); 70 | } 71 | /** @var \yii\db\ActiveRecord $model */ 72 | $model = $class::findOne($pk); 73 | if (!$model) { 74 | if ($this->forceCreate) { // only useful for models with one editable attribute or no validations 75 | $model = new $class; 76 | } else { 77 | throw new BadRequestHttpException('Entity not found by primary key ' . $pk); 78 | } 79 | } 80 | // do we have a preProcess function 81 | if ($this->preProcess && is_callable($this->preProcess, true)) { 82 | call_user_func($this->preProcess, $model); 83 | } 84 | if ($this->scenario !== null) { 85 | $model->setScenario($this->scenario); 86 | } 87 | $model->setAttributes([ 88 | $attribute => $value 89 | ]); 90 | 91 | if ($model->validate([$attribute])) { 92 | // no need to specify which attributes as Yii2 handles that via [[BaseActiveRecord::getDirtyAttributes]] 93 | return $model->save(false); 94 | } 95 | throw new BadRequestHttpException($model->getFirstError($attribute)); 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /src/EditableAddressAsset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class EditableAddressAsset extends AssetBundle 20 | { 21 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/address'; 22 | 23 | public $css = [ 24 | 'bootstrap-editable-address.css' 25 | ]; 26 | 27 | public $js = [ 28 | 'bootstrap-editable-address.js' 29 | ]; 30 | 31 | public $depends = [ 32 | 'dosamigos\editable\EditableBootstrapAsset' 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /src/EditableBootstrapAsset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class EditableBootstrapAsset extends AssetBundle 20 | { 21 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/editable'; 22 | 23 | public $css = [ 24 | 'css/bootstrap-editable.css' 25 | ]; 26 | 27 | public $js = [ 28 | 'js/bootstrap-editable.js' 29 | ]; 30 | 31 | public $depends = [ 32 | 'yii\web\YiiAsset', 33 | 'yii\bootstrap\BootstrapPluginAsset', 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /src/EditableComboDateAsset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class EditableDatePickerAsset extends AssetBundle 20 | { 21 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/datepicker'; 22 | 23 | public $css = [ 24 | 'vendor/css/datepicker3.css' 25 | ]; 26 | 27 | public $js = [ 28 | 'vendor/js/bootstrap-datepicker.js', 29 | 'bootstrap-editable-datepicker.js' 30 | ]; 31 | 32 | public $depends = [ 33 | 'dosamigos\editable\EditableBootstrapAsset' 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /src/EditableDateTimePickerAsset.php: -------------------------------------------------------------------------------- 1 | 16 | * @link http://www.ramirezcobos.com/ 17 | * @link http://www.2amigos.us/ 18 | * @package dosamigos\editable 19 | */ 20 | class EditableDateTimePickerAsset extends AssetBundle 21 | { 22 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/datetimepicker'; 23 | 24 | public $css = [ 25 | 'vendor/css/bootstrap-datetimepicker.css', 26 | 27 | ]; 28 | public $js = [ 29 | 'vendor/js/bootstrap-datetimepicker.js', 30 | 'bootstrap-editable-datetimepicker.js' 31 | ]; 32 | 33 | public $depends = [ 34 | 'dosamigos\editable\EditableBootstrapAsset', 35 | 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /src/EditableSelect2Asset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class EditableSelect2Asset extends AssetBundle 20 | { 21 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/select2'; 22 | 23 | public $js = [ 24 | 'bootstrap-editable-select2.js' 25 | ]; 26 | 27 | public $depends = [ 28 | 'dosamigos\editable\EditableBootstrapAsset', 29 | 'dosamigos\editable\Select2Asset', 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /src/EditableWysiHtml5Asset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class EditableWysiHtml5Asset extends AssetBundle 20 | { 21 | public $sourcePath = '@vendor/2amigos/yii2-editable-widget/src/assets/wysihtml5'; 22 | 23 | public $css = [ 24 | 'vendor/bootstrap3-wysihtml5.css' 25 | ]; 26 | 27 | public $js = [ 28 | 'vendor/wysihtml5-0.3.0.js', 29 | 'vendor/bootstrap3-wysihtml5.all.min.js', 30 | 'bootstrap-editable-wysihtml5.js' 31 | ]; 32 | 33 | public $depends = [ 34 | 'dosamigos\editable\EditableBootstrapAsset' 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /src/Select2Asset.php: -------------------------------------------------------------------------------- 1 | 15 | * @link http://www.ramirezcobos.com/ 16 | * @link http://www.2amigos.us/ 17 | * @package dosamigos\editable 18 | */ 19 | class Select2Asset extends AssetBundle 20 | { 21 | public $sourcePath = '@bower/select2/dist'; 22 | 23 | public $css = [ 24 | 'css/select2.css' 25 | ]; 26 | 27 | public $js = [ 28 | 'js/select2.full.js' 29 | ]; 30 | } 31 | -------------------------------------------------------------------------------- /src/assets/address/bootstrap-editable-address.css: -------------------------------------------------------------------------------- 1 | .editable-address { 2 | display: block; 3 | margin-bottom: 5px; 4 | } 5 | 6 | .editable-address span { 7 | width: 70px; 8 | display: inline-block; 9 | } -------------------------------------------------------------------------------- /src/assets/address/bootstrap-editable-address.js: -------------------------------------------------------------------------------- 1 | /** 2 | Address editable input. 3 | Internally value stored as {city: "Moscow", street: "Lenina", building: "15"} 4 | 5 | @class address 6 | @extends abstractinput 7 | @final 8 | @example 9 | awesome 10 | 23 | **/ 24 | (function ($) { 25 | "use strict"; 26 | 27 | var Address = function (options) { 28 | this.init('address', options, Address.defaults); 29 | }; 30 | 31 | //inherit from Abstract input 32 | $.fn.editableutils.inherit(Address, $.fn.editabletypes.abstractinput); 33 | 34 | $.extend(Address.prototype, { 35 | /** 36 | Renders input from tpl 37 | 38 | @method render() 39 | **/ 40 | render: function () { 41 | this.$input = this.$tpl.find('input'); 42 | }, 43 | 44 | /** 45 | Default method to show value in element. Can be overwritten by display option. 46 | 47 | @method value2html(value, element) 48 | **/ 49 | value2html: function (value, element) { 50 | if (!value) { 51 | $(element).empty(); 52 | return; 53 | } 54 | var html = $('
').text(value.city).html() + ', ' + $('
').text(value.street).html() + ' st., bld. ' + $('
').text(value.building).html(); 55 | $(element).html(html); 56 | }, 57 | 58 | /** 59 | Gets value from element's html 60 | 61 | @method html2value(html) 62 | **/ 63 | html2value: function (html) { 64 | /* 65 | you may write parsing method to get value by element's html 66 | e.g. "Moscow, st. Lenina, bld. 15" => {city: "Moscow", street: "Lenina", building: "15"} 67 | but for complex structures it's not recommended. 68 | Better set value directly via javascript, e.g. 69 | editable({ 70 | value: { 71 | city: "Moscow", 72 | street: "Lenina", 73 | building: "15" 74 | } 75 | }); 76 | */ 77 | return null; 78 | }, 79 | 80 | /** 81 | Converts value to string. 82 | It is used in internal comparing (not for sending to server). 83 | 84 | @method value2str(value) 85 | **/ 86 | value2str: function (value) { 87 | var str = ''; 88 | if (value) { 89 | for (var k in value) { 90 | str = str + k + ':' + value[k] + ';'; 91 | } 92 | } 93 | return str; 94 | }, 95 | 96 | /* 97 | Converts string to value. Used for reading value from 'data-value' attribute. 98 | 99 | @method str2value(str) 100 | */ 101 | str2value: function (str) { 102 | /* 103 | this is mainly for parsing value defined in data-value attribute. 104 | If you will always set value by javascript, no need to overwrite it 105 | */ 106 | return str; 107 | }, 108 | 109 | /** 110 | Sets value of input. 111 | 112 | @method value2input(value) 113 | @param {mixed} value 114 | **/ 115 | value2input: function (value) { 116 | if (!value) { 117 | return; 118 | } 119 | this.$input.filter('[name="city"]').val(value.city); 120 | this.$input.filter('[name="street"]').val(value.street); 121 | this.$input.filter('[name="building"]').val(value.building); 122 | }, 123 | 124 | /** 125 | Returns value of input. 126 | 127 | @method input2value() 128 | **/ 129 | input2value: function () { 130 | return { 131 | city: this.$input.filter('[name="city"]').val(), 132 | street: this.$input.filter('[name="street"]').val(), 133 | building: this.$input.filter('[name="building"]').val() 134 | }; 135 | }, 136 | 137 | /** 138 | Activates input: sets focus on the first field. 139 | 140 | @method activate() 141 | **/ 142 | activate: function () { 143 | this.$input.filter('[name="city"]').focus(); 144 | }, 145 | 146 | /** 147 | Attaches handler to submit form in case of 'showbuttons=false' mode 148 | 149 | @method autosubmit() 150 | **/ 151 | autosubmit: function () { 152 | this.$input.keydown(function (e) { 153 | if (e.which === 13) { 154 | $(this).closest('form').submit(); 155 | } 156 | }); 157 | } 158 | }); 159 | 160 | Address.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { 161 | tpl: '
' + 162 | '
' + 163 | '
', 164 | 165 | inputclass: '' 166 | }); 167 | 168 | $.fn.editabletypes.address = Address; 169 | 170 | }(window.jQuery)); -------------------------------------------------------------------------------- /src/assets/combodate/bootstrap-editable-combodate.js: -------------------------------------------------------------------------------- 1 | /** 2 | Combodate input - dropdown date and time picker. 3 | Based on [combodate](http://vitalets.github.com/combodate) plugin (included). To use it you should manually include [momentjs](http://momentjs.com). 4 | 5 | 6 | 7 | Allows to input: 8 | 9 | * only date 10 | * only time 11 | * both date and time 12 | 13 | Please note, that format is taken from momentjs and **not compatible** with bootstrap-datepicker / jquery UI datepicker. 14 | Internally value stored as `momentjs` object. 15 | 16 | @class combodate 17 | @extends abstractinput 18 | @final 19 | @since 1.4.0 20 | @example 21 | 22 | 37 | **/ 38 | 39 | /*global moment*/ 40 | 41 | (function ($) { 42 | "use strict"; 43 | 44 | var Constructor = function (options) { 45 | this.init('combodate', options, Constructor.defaults); 46 | 47 | //by default viewformat equals to format 48 | if (!this.options.viewformat) { 49 | this.options.viewformat = this.options.format; 50 | } 51 | 52 | //try parse combodate config defined as json string in data-combodate 53 | options.combodate = $.fn.editableutils.tryParseJson(options.combodate, true); 54 | 55 | //overriding combodate config (as by default jQuery extend() is not recursive) 56 | this.options.combodate = $.extend({}, Constructor.defaults.combodate, options.combodate, { 57 | format: this.options.format, 58 | template: this.options.template 59 | }); 60 | }; 61 | 62 | $.fn.editableutils.inherit(Constructor, $.fn.editabletypes.abstractinput); 63 | 64 | $.extend(Constructor.prototype, { 65 | render: function () { 66 | this.$input.combodate(this.options.combodate); 67 | 68 | if ($.fn.editableform.engine === 'bs3') { 69 | this.$input.siblings().find('select').addClass('form-control'); 70 | } 71 | 72 | if (this.options.inputclass) { 73 | this.$input.siblings().find('select').addClass(this.options.inputclass); 74 | } 75 | //"clear" link 76 | /* 77 | if(this.options.clear) { 78 | this.$clear = $('').html(this.options.clear).click($.proxy(function(e){ 79 | e.preventDefault(); 80 | e.stopPropagation(); 81 | this.clear(); 82 | }, this)); 83 | 84 | this.$tpl.parent().append($('
').append(this.$clear)); 85 | } 86 | */ 87 | }, 88 | 89 | value2html: function (value, element) { 90 | var text = value ? value.format(this.options.viewformat) : ''; 91 | //$(element).text(text); 92 | Constructor.superclass.value2html.call(this, text, element); 93 | }, 94 | 95 | html2value: function (html) { 96 | return html ? moment(html, this.options.viewformat) : null; 97 | }, 98 | 99 | value2str: function (value) { 100 | return value ? value.format(this.options.format) : ''; 101 | }, 102 | 103 | str2value: function (str) { 104 | return str ? moment(str, this.options.format) : null; 105 | }, 106 | 107 | value2submit: function (value) { 108 | return this.value2str(value); 109 | }, 110 | 111 | value2input: function (value) { 112 | this.$input.combodate('setValue', value); 113 | }, 114 | 115 | input2value: function () { 116 | return this.$input.combodate('getValue', null); 117 | }, 118 | 119 | activate: function () { 120 | this.$input.siblings('.combodate').find('select').eq(0).focus(); 121 | }, 122 | 123 | /* 124 | clear: function() { 125 | this.$input.data('datepicker').date = null; 126 | this.$input.find('.active').removeClass('active'); 127 | }, 128 | */ 129 | 130 | autosubmit: function () { 131 | 132 | } 133 | 134 | }); 135 | 136 | Constructor.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { 137 | /** 138 | @property tpl 139 | @default 140 | **/ 141 | tpl: '', 142 | /** 143 | @property inputclass 144 | @default null 145 | **/ 146 | inputclass: null, 147 | /** 148 | Format used for sending value to server. Also applied when converting date from data-value attribute.
149 | See list of tokens in [momentjs docs](http://momentjs.com/docs/#/parsing/string-format) 150 | 151 | @property format 152 | @type string 153 | @default YYYY-MM-DD 154 | **/ 155 | format: 'YYYY-MM-DD', 156 | /** 157 | Format used for displaying date. Also applied when converting date from element's text on init. 158 | If not specified equals to `format`. 159 | 160 | @property viewformat 161 | @type string 162 | @default null 163 | **/ 164 | viewformat: null, 165 | /** 166 | Template used for displaying dropdowns. 167 | 168 | @property template 169 | @type string 170 | @default D / MMM / YYYY 171 | **/ 172 | template: 'D / MMM / YYYY', 173 | /** 174 | Configuration of combodate. 175 | Full list of options: http://vitalets.github.com/combodate/#docs 176 | 177 | @property combodate 178 | @type object 179 | @default null 180 | **/ 181 | combodate: null 182 | 183 | /* 184 | (not implemented yet) 185 | Text shown as clear date button. 186 | If false clear button will not be rendered. 187 | 188 | @property clear 189 | @type boolean|string 190 | @default 'x clear' 191 | */ 192 | //clear: '× clear' 193 | }); 194 | 195 | $.fn.editabletypes.combodate = Constructor; 196 | 197 | }(window.jQuery)); -------------------------------------------------------------------------------- /src/assets/datepicker/bootstrap-editable-datepicker.js: -------------------------------------------------------------------------------- 1 | /** 2 | Bootstrap-datepicker. 3 | Description and examples: https://github.com/eternicode/bootstrap-datepicker. 4 | For **i18n** you should include js file from here: https://github.com/eternicode/bootstrap-datepicker/tree/master/js/locales 5 | and set `language` option. 6 | Since 1.4.0 date has different appearance in **popup** and **inline** modes. 7 | 8 | @class date 9 | @extends abstractinput 10 | @final 11 | @example 12 | 15/05/1984 13 | 25 | **/ 26 | (function ($) { 27 | "use strict"; 28 | 29 | //store bootstrap-datepicker as bdateicker to exclude conflict with jQuery UI one 30 | $.fn.bdatepicker = $.fn.datepicker.noConflict(); 31 | if (!$.fn.datepicker) { //if there were no other datepickers, keep also original name 32 | $.fn.datepicker = $.fn.bdatepicker; 33 | } 34 | 35 | var Date = function (options) { 36 | this.init('date', options, Date.defaults); 37 | this.initPicker(options, Date.defaults); 38 | }; 39 | 40 | $.fn.editableutils.inherit(Date, $.fn.editabletypes.abstractinput); 41 | 42 | $.extend(Date.prototype, { 43 | dateValue: null, 44 | initPicker: function (options, defaults) { 45 | //'format' is set directly from settings or data-* attributes 46 | 47 | //by default viewformat equals to format 48 | if (!this.options.viewformat) { 49 | this.options.viewformat = this.options.format; 50 | } 51 | 52 | //try parse datepicker config defined as json string in data-datepicker 53 | options.datepicker = $.fn.editableutils.tryParseJson(options.datepicker, true); 54 | 55 | //overriding datepicker config (as by default jQuery extend() is not recursive) 56 | //since 1.4 datepicker internally uses viewformat instead of format. Format is for submit only 57 | this.options.datepicker = $.extend({}, defaults.datepicker, options.datepicker, { 58 | format: this.options.viewformat 59 | }); 60 | 61 | //language 62 | this.options.datepicker.language = this.options.datepicker.language || 'en'; 63 | 64 | //store DPglobal 65 | this.dpg = $.fn.bdatepicker.DPGlobal; 66 | 67 | //store parsed formats 68 | this.parsedFormat = this.dpg.parseFormat(this.options.format); 69 | this.parsedViewFormat = this.dpg.parseFormat(this.options.viewformat); 70 | }, 71 | 72 | render: function () { 73 | var self = this; 74 | this.$input.bdatepicker(this.options.datepicker).off('changeDate').on('changeDate', function (e) { 75 | self.dateValue = e.format(0); 76 | }); 77 | 78 | //"clear" link 79 | if (this.options.clear) { 80 | this.$clear = $('').html(this.options.clear).click($.proxy(function (e) { 81 | e.preventDefault(); 82 | e.stopPropagation(); 83 | this.clear(); 84 | }, this)); 85 | 86 | this.$tpl.parent().append($('
').append(this.$clear)); 87 | } 88 | }, 89 | 90 | value2html: function (value, element) { 91 | var text = value ? this.dpg.formatDate(value, this.parsedViewFormat, this.options.datepicker.language) : ''; 92 | Date.superclass.value2html.call(this, text, element); 93 | }, 94 | 95 | html2value: function (html) { 96 | return this.parseDate(html, this.parsedViewFormat); 97 | }, 98 | 99 | value2str: function (value) { 100 | return value ? this.dpg.formatDate(value, this.parsedFormat, this.options.datepicker.language) : ''; 101 | }, 102 | 103 | str2value: function (str) { 104 | return this.parseDate(str, this.parsedFormat); 105 | }, 106 | 107 | value2submit: function (value) { 108 | return this.value2str(value); 109 | }, 110 | 111 | value2input: function (value) { 112 | this.$input.bdatepicker('update', value); 113 | }, 114 | 115 | input2value: function () { 116 | return this.$input.bdatepicker('getDates')[0]; 117 | }, 118 | 119 | activate: function () { 120 | }, 121 | 122 | clear: function () { 123 | this.$input.bdatepicker('update', null); 124 | this.$input.data('datepicker').date = null; 125 | this.$input.find('.active').removeClass('active'); 126 | if (!this.options.showbuttons) { 127 | this.$input.closest('form').submit(); 128 | } 129 | }, 130 | 131 | autosubmit: function () { 132 | this.$input.on('mouseup', '.day', function (e) { 133 | if ($(e.currentTarget).is('.old') || $(e.currentTarget).is('.new')) { 134 | return; 135 | } 136 | var $form = $(this).closest('form'); 137 | setTimeout(function () { 138 | $form.submit(); 139 | }, 200); 140 | }); 141 | //changedate is not suitable as it triggered when showing datepicker. see #149 142 | /* 143 | this.$input.on('changeDate', function(e){ 144 | var $form = $(this).closest('form'); 145 | setTimeout(function() { 146 | $form.submit(); 147 | }, 200); 148 | }); 149 | */ 150 | }, 151 | 152 | /* 153 | For incorrect date bootstrap-datepicker returns current date that is not suitable 154 | for datefield. 155 | This function returns null for incorrect date. 156 | */ 157 | parseDate: function (str, format) { 158 | var date = null, formattedBack; 159 | if (str) { 160 | date = this.dpg.parseDate(str, format, this.options.datepicker.language); 161 | if (typeof str === 'string') { 162 | formattedBack = this.dpg.formatDate(date, format, this.options.datepicker.language); 163 | if (str !== formattedBack) { 164 | date = null; 165 | } 166 | } 167 | } 168 | return date; 169 | } 170 | 171 | }); 172 | 173 | Date.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { 174 | /** 175 | @property tpl 176 | @default
177 | **/ 178 | tpl: '
', 179 | /** 180 | @property inputclass 181 | @default null 182 | **/ 183 | inputclass: null, 184 | /** 185 | Format used for sending value to server. Also applied when converting date from data-value attribute.
186 | Possible tokens are: d, dd, m, mm, yy, yyyy 187 | 188 | @property format 189 | @type string 190 | @default yyyy-mm-dd 191 | **/ 192 | format: 'yyyy-mm-dd', 193 | /** 194 | Format used for displaying date. Also applied when converting date from element's text on init. 195 | If not specified equals to format 196 | 197 | @property viewformat 198 | @type string 199 | @default null 200 | **/ 201 | viewformat: null, 202 | /** 203 | Configuration of datepicker. 204 | Full list of options: http://bootstrap-datepicker.readthedocs.org/en/latest/options.html 205 | 206 | @property datepicker 207 | @type object 208 | @default { 209 | weekStart: 0, 210 | startView: 0, 211 | minViewMode: 0, 212 | autoclose: false 213 | } 214 | **/ 215 | datepicker: { 216 | weekStart: 0, 217 | startView: 0, 218 | minViewMode: 0, 219 | autoclose: false 220 | }, 221 | /** 222 | Text shown as clear date button. 223 | If false clear button will not be rendered. 224 | 225 | @property clear 226 | @type boolean|string 227 | @default 'x clear' 228 | **/ 229 | clear: '× clear' 230 | }); 231 | 232 | $.fn.editabletypes.date = Date; 233 | 234 | }(window.jQuery)); 235 | 236 | /** 237 | Bootstrap datefield input - modification for inline mode. 238 | Shows normal and binds popup datepicker. 239 | Automatically shown in inline mode. 240 | 241 | @class datefield 242 | @extends date 243 | 244 | @since 1.4.0 245 | **/ 246 | (function ($) { 247 | "use strict"; 248 | 249 | var DateField = function (options) { 250 | this.init('datefield', options, DateField.defaults); 251 | this.initPicker(options, DateField.defaults); 252 | }; 253 | 254 | $.fn.editableutils.inherit(DateField, $.fn.editabletypes.date); 255 | 256 | $.extend(DateField.prototype, { 257 | render: function () { 258 | 259 | this.$input = this.$tpl.find('input'); 260 | this.setClass(); 261 | this.setAttr('placeholder'); 262 | 263 | //bootstrap-datepicker is set `bdateicker` to exclude conflict with jQuery UI one. (in date.js) 264 | this.$tpl.bdatepicker(this.options.datepicker); 265 | 266 | //need to disable original event handlers 267 | this.$input.off('focus keydown'); 268 | 269 | //update value of datepicker 270 | this.$input.keyup($.proxy(function () { 271 | this.$tpl.removeData('date'); 272 | this.$tpl.bdatepicker('update'); 273 | }, this)); 274 | 275 | }, 276 | 277 | value2input: function (value) { 278 | this.$input.val(value ? this.dpg.formatDate(value, this.parsedViewFormat, this.options.datepicker.language) : ''); 279 | this.$tpl.bdatepicker('update'); 280 | }, 281 | 282 | input2value: function () { 283 | return this.html2value(this.$input.val()); 284 | }, 285 | 286 | activate: function () { 287 | $.fn.editabletypes.text.prototype.activate.call(this); 288 | }, 289 | 290 | autosubmit: function () { 291 | //reset autosubmit to empty 292 | } 293 | }); 294 | 295 | DateField.defaults = $.extend({}, $.fn.editabletypes.date.defaults, { 296 | /** 297 | @property tpl 298 | **/ 299 | tpl: '
', 300 | /** 301 | @property inputclass 302 | @default 'input-small' 303 | **/ 304 | inputclass: 'input-small', 305 | 306 | /* datepicker config */ 307 | datepicker: { 308 | weekStart: 0, 309 | startView: 0, 310 | minViewMode: 0, 311 | autoclose: true 312 | } 313 | }); 314 | 315 | $.fn.editabletypes.datefield = DateField; 316 | 317 | }(window.jQuery)); 318 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ar.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Arabic translation for bootstrap-datepicker 3 | * Mohammed Alshehri 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ar'] = { 7 | days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"], 8 | daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"], 9 | daysMin: ["ح", "ن", "ث", "ع", "خ", "ج", "س", "ح"], 10 | months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], 11 | monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], 12 | today: "هذا اليوم", 13 | rtl: true 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.az.js: -------------------------------------------------------------------------------- 1 | // Azerbaijani 2 | ;(function($){ 3 | $.fn.datepicker.dates['az'] = { 4 | days: ["Bazar", "Bazar ertəsi", "Çərşənbə axşamı", "Çərşənbə", "Cümə axşamı", "Cümə", "Şənbə", "Bazar"], 5 | daysShort: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."], 6 | daysMin: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."], 7 | months: ["Yanvar", "Fevral", "Mart", "Aprel", "May", "İyun", "İyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"], 8 | monthsShort: ["Yan", "Fev", "Mar", "Apr", "May", "İyun", "İyul", "Avq", "Sen", "Okt", "Noy", "Dek"], 9 | today: "Bu gün", 10 | weekStart: 1 11 | }; 12 | }(jQuery)); 13 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.bg.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bulgarian translation for bootstrap-datepicker 3 | * Apostol Apostolov 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['bg'] = { 7 | days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"], 8 | daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"], 9 | daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"], 10 | months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], 11 | monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"], 12 | today: "днес" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ca.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Catalan translation for bootstrap-datepicker 3 | * J. Garcia 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ca'] = { 7 | days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"], 8 | daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"], 9 | daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"], 10 | months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"], 12 | today: "Avui" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.cs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Czech translation for bootstrap-datepicker 3 | * Matěj Koubík 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['cs'] = { 8 | days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"], 9 | daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"], 11 | months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"], 12 | monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"], 13 | today: "Dnes" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.cy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Welsh translation for bootstrap-datepicker 3 | * S. Morris 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['cy'] = { 7 | days: ["Sul", "Llun", "Mawrth", "Mercher", "Iau", "Gwener", "Sadwrn", "Sul"], 8 | daysShort: ["Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad", "Sul"], 9 | daysMin: ["Su", "Ll", "Ma", "Me", "Ia", "Gwe", "Sa", "Su"], 10 | months: ["Ionawr", "Chewfror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorfennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"], 11 | monthsShort: ["Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rha"], 12 | today: "Heddiw" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.da.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Danish translation for bootstrap-datepicker 3 | * Christian Pedersen 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['da'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "I Dag", 13 | clear: "Nulstil" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.de.js: -------------------------------------------------------------------------------- 1 | /** 2 | * German translation for bootstrap-datepicker 3 | * Sam Zurcher 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['de'] = { 7 | days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], 8 | daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"], 9 | daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], 10 | months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], 11 | monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], 12 | today: "Heute", 13 | clear: "Löschen", 14 | weekStart: 1, 15 | format: "dd.mm.yyyy" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.el.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Greek translation for bootstrap-datepicker 3 | */ 4 | ;(function($){ 5 | $.fn.datepicker.dates['el'] = { 6 | days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"], 7 | daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"], 8 | daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"], 9 | months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"], 10 | monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], 11 | today: "Σήμερα" 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.es.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish translation for bootstrap-datepicker 3 | * Bruno Bonamin 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['es'] = { 7 | days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"], 10 | months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], 11 | monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], 12 | today: "Hoy" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.et.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Estonian translation for bootstrap-datepicker 3 | * Ando Roots 4 | * Fixes by Illimar Tambek < 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['et'] = { 8 | days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"], 9 | daysShort: ["Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup", "Pühap"], 10 | daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"], 11 | months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"], 12 | monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"], 13 | today: "Täna", 14 | clear: "Tühjenda", 15 | weekStart: 1, 16 | format: "dd.mm.yyyy" 17 | }; 18 | }(jQuery)); 19 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.fa.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Persian translation for bootstrap-datepicker 3 | * Mostafa Rokooie 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['fa'] = { 7 | days: ["یک‌شنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه", "شنبه", "یک‌شنبه"], 8 | daysShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه", "یک"], 9 | daysMin: ["ی", "د", "س", "چ", "پ", "ج", "ش", "ی"], 10 | months: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"], 11 | monthsShort: ["ژان", "فور", "مار", "آور", "مه", "ژون", "ژوی", "اوت", "سپت", "اکت", "نوا", "دسا"], 12 | today: "امروز", 13 | clear: "پاک کن", 14 | weekStart: 1, 15 | format: "yyyy/mm/dd" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.fi.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Finnish translation for bootstrap-datepicker 3 | * Jaakko Salonen 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['fi'] = { 7 | days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"], 8 | daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"], 9 | daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"], 10 | months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], 11 | monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"], 12 | today: "tänään", 13 | weekStart: 1, 14 | format: "d.m.yyyy" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.fr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * French translation for bootstrap-datepicker 3 | * Nico Mollet 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['fr'] = { 7 | days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"], 8 | daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"], 9 | daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"], 10 | months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], 11 | monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"], 12 | today: "Aujourd'hui", 13 | clear: "Effacer", 14 | weekStart: 1, 15 | format: "dd/mm/yyyy" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.gl.js: -------------------------------------------------------------------------------- 1 | ;(function($){ 2 | $.fn.datepicker.dates['gl'] = { 3 | days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado", "Domingo"], 4 | daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb", "Dom"], 5 | daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", "Do"], 6 | months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"], 7 | monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"], 8 | today: "Hoxe", 9 | clear: "Limpar" 10 | }; 11 | }(jQuery)); 12 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.he.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hebrew translation for bootstrap-datepicker 3 | * Sagie Maoz 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['he'] = { 7 | days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"], 8 | daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 9 | daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 10 | months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"], 11 | monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"], 12 | today: "היום", 13 | rtl: true 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.hr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Croatian localisation 3 | */ 4 | ;(function($){ 5 | $.fn.datepicker.dates['hr'] = { 6 | days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota", "Nedjelja"], 7 | daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub", "Ned"], 8 | daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"], 9 | months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"], 10 | monthsShort: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"], 11 | today: "Danas" 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.hu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hungarian translation for bootstrap-datepicker 3 | * Sotus László 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['hu'] = { 7 | days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"], 8 | daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"], 9 | daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"], 10 | months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"], 12 | today: "Ma", 13 | weekStart: 1, 14 | format: "yyyy.mm.dd" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.id.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bahasa translation for bootstrap-datepicker 3 | * Azwar Akbar 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['id'] = { 7 | days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"], 8 | daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"], 9 | daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"], 10 | months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"], 12 | today: "Hari Ini", 13 | clear: "Kosongkan" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.is.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Icelandic translation for bootstrap-datepicker 3 | * Hinrik Örn Sigurðsson 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['is'] = { 7 | days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"], 8 | daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"], 9 | daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"], 10 | months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"], 12 | today: "Í Dag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.it.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Italian translation for bootstrap-datepicker 3 | * Enrico Rubboli 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['it'] = { 7 | days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"], 10 | months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], 12 | today: "Oggi", 13 | clear: "Cancella", 14 | weekStart: 1, 15 | format: "dd/mm/yyyy" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ja.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Japanese translation for bootstrap-datepicker 3 | * Norio Suzuki 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ja'] = { 7 | days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"], 8 | daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"], 9 | daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"], 10 | months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 11 | monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 12 | today: "今日", 13 | format: "yyyy/mm/dd" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ka.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Georgian translation for bootstrap-datepicker 3 | * Levan Melikishvili 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ka'] = { 7 | days: ["კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი", "კვირა"], 8 | daysShort: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ", "კვი"], 9 | daysMin: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა", "კვ"], 10 | months: ["იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომები", "ნოემბერი", "დეკემბერი"], 11 | monthsShort: ["იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ"], 12 | today: "დღეს", 13 | clear: "გასუფთავება", 14 | weekStart: 1, 15 | format: "dd.mm.yyyy" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.kk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Kazakh translation for bootstrap-datepicker 3 | * Yerzhan Tolekov 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['kk'] = { 7 | days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі", "Жексенбі"], 8 | daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен", "Жек"], 9 | daysMin: ["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн", "Жк"], 10 | months: ["Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан"], 11 | monthsShort: ["Қаң", "Ақп", "Нау", "Сәу", "Мамыр", "Мау", "Шлд", "Тмз", "Қыр", "Қзн", "Қар", "Жел"], 12 | today: "Бүгін", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.kr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Korean translation for bootstrap-datepicker 3 | * Gu Youn 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['kr'] = { 7 | days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"], 8 | daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"], 9 | daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"], 10 | months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], 11 | monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"] 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.lt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lithuanian translation for bootstrap-datepicker 3 | * Šarūnas Gliebus 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datepicker.dates['lt'] = { 8 | days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"], 9 | daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"], 10 | daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"], 11 | months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"], 12 | monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"], 13 | today: "Šiandien", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.lv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Latvian translation for bootstrap-datepicker 3 | * Artis Avotins 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datepicker.dates['lv'] = { 8 | days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"], 9 | daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"], 10 | daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se", "Sv"], 11 | months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"], 13 | today: "Šodien", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.mk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Macedonian translation for bootstrap-datepicker 3 | * Marko Aleksic 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['mk'] = { 7 | days: ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота", "Недела"], 8 | daysShort: ["Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб", "Нед"], 9 | daysMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са", "Не"], 10 | months: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"], 11 | monthsShort: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"], 12 | today: "Денес", 13 | format: "dd.mm.yyyy" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Malay translation for bootstrap-datepicker 3 | * Ateman Faiz 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ms'] = { 7 | days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"], 8 | daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"], 9 | daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"], 10 | months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"], 12 | today: "Hari Ini" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.nb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian (bokmål) translation for bootstrap-datepicker 3 | * Fredrik Sundmyhr 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['nb'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], 12 | today: "I Dag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.nl-BE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Belgium-Dutch translation for bootstrap-datepicker 3 | * Julien Poulin 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['nl-BE'] = { 7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], 8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Vandaag", 13 | clear: "Leegmaken", 14 | weekStart: 1, 15 | format: "dd/mm/yyyy" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.nl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch translation for bootstrap-datepicker 3 | * Reinier Goltstein 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['nl'] = { 7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], 8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Vandaag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.no.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian translation for bootstrap-datepicker 3 | **/ 4 | ;(function($){ 5 | $.fn.datepicker.dates['no'] = { 6 | days: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], 7 | daysShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], 8 | daysMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], 9 | months: ['Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'], 10 | monthsShort: ['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'], 11 | today: 'I dag', 12 | clear: 'Nullstill', 13 | weekStart: 1, 14 | format: 'dd.mm.yyyy' 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.pl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Polish translation for bootstrap-datepicker 3 | * Robert 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['pl'] = { 7 | days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"], 8 | daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"], 9 | daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"], 10 | months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], 11 | monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"], 12 | today: "Dzisiaj", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Brazilian translation for bootstrap-datepicker 3 | * Cauan Cabral 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['pt-BR'] = { 7 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 8 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 9 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 10 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 11 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], 12 | today: "Hoje", 13 | clear: "Limpar" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.pt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Portuguese translation for bootstrap-datepicker 3 | * Original code: Cauan Cabral 4 | * Tiago Melo 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['pt'] = { 8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], 13 | today: "Hoje", 14 | clear: "Limpar" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ro.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Romanian translation for bootstrap-datepicker 3 | * Cristian Vasile 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ro'] = { 7 | days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"], 8 | daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"], 9 | daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"], 10 | months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], 11 | monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"], 12 | today: "Astăzi", 13 | clear: "Șterge", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.rs-latin.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian latin translation for bootstrap-datepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['rs-latin'] = { 7 | days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"], 9 | daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"], 10 | months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danas" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.rs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian cyrillic translation for bootstrap-datepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['rs'] = { 7 | days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"], 8 | daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"], 9 | daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"], 10 | months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"], 11 | monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"], 12 | today: "Данас" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Russian translation for bootstrap-datepicker 3 | * Victor Taranenko 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ru'] = { 7 | days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], 8 | daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"], 9 | daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], 10 | months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], 11 | monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], 12 | today: "Сегодня", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.sk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovak translation for bootstrap-datepicker 3 | * Marek Lichtner 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates["sk"] = { 8 | days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"], 9 | daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"], 11 | months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"], 13 | today: "Dnes" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.sl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovene translation for bootstrap-datepicker 3 | * Gregor Rudolf 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['sl'] = { 7 | days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"], 9 | daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"], 10 | months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danes" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.sq.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Albanian translation for bootstrap-datepicker 3 | * Tomor Pupovci 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['sq'] = { 7 | days: ["E Diel", "E Hënë", "E martē", "E mërkurë", "E Enjte", "E Premte", "E Shtunë", "E Diel"], 8 | daysShort: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Shtu", "Die"], 9 | daysMin: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sht", "Di"], 10 | months: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"], 11 | monthsShort: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Korr", "Gu", "Sht", "Tet", "Nën", "Dhjet"], 12 | today: "Sot" 13 | }; 14 | }(jQuery)); 15 | 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.sv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swedish translation for bootstrap-datepicker 3 | * Patrik Ragnarsson 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['sv'] = { 7 | days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"], 8 | daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"], 9 | daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"], 10 | months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Idag", 13 | format: "yyyy-mm-dd", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.sw.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swahili translation for bootstrap-datepicker 3 | * Edwin Mugendi 4 | * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['sw'] = { 8 | days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"], 9 | daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"], 10 | daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"], 11 | months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"], 12 | monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"], 13 | today: "Leo" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.th.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Thai translation for bootstrap-datepicker 3 | * Suchau Jiraprapot 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['th'] = { 7 | days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"], 8 | daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 9 | daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 10 | months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"], 11 | monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."], 12 | today: "วันนี้" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.tr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Turkish translation for bootstrap-datepicker 3 | * Serkan Algur 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['tr'] = { 7 | days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"], 8 | daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"], 9 | daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"], 10 | months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], 11 | monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"], 12 | today: "Bugün", 13 | format: "dd.mm.yyyy" 14 | }; 15 | }(jQuery)); 16 | 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.ua.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ukrainian translation for bootstrap-datepicker 3 | * Igor Polynets 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ua'] = { 7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятница", "Субота", "Неділя"], 8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"], 9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"], 10 | months: ["Cічень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"], 11 | monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], 12 | today: "Сьогодні", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.vi.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Vietnamese translation for bootstrap-datepicker 3 | * An Vo 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['vi'] = { 7 | days: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"], 8 | daysShort: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7", "CN"], 9 | daysMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"], 10 | months: ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"], 11 | monthsShort: ["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"], 12 | today: "Hôm nay", 13 | clear: "Xóa", 14 | format: "dd/mm/yyyy" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今日", 13 | format: "yyyy年mm月dd日", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datepicker/vendor/js/locales/bootstrap-datepicker.zh-TW.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Traditional Chinese translation for bootstrap-datepicker 3 | * Rung-Sheng Jang 4 | * FrankWu Fix more appropriate use of Traditional Chinese habit 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['zh-TW'] = { 8 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 9 | daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六", "週日"], 10 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 11 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 13 | today: "今天", 14 | format: "yyyy年mm月dd日", 15 | weekStart: 1 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/bootstrap-editable-datetimepicker.js: -------------------------------------------------------------------------------- 1 | /** 2 | Bootstrap-datetimepicker. 3 | Based on [smalot bootstrap-datetimepicker plugin](https://github.com/smalot/bootstrap-datetimepicker). 4 | Before usage you should manually include dependent js and css: 5 | 6 | 7 | 8 | 9 | For **i18n** you should include js file from here: https://github.com/smalot/bootstrap-datetimepicker/tree/master/js/locales 10 | and set `language` option. 11 | 12 | @class datetime 13 | @extends abstractinput 14 | @final 15 | @since 1.4.4 16 | @example 17 | 15/03/2013 12:45 18 | 30 | **/ 31 | (function ($) { 32 | "use strict"; 33 | 34 | var DateTime = function (options) { 35 | this.init('datetime', options, DateTime.defaults); 36 | this.initPicker(options, DateTime.defaults); 37 | }; 38 | 39 | $.fn.editableutils.inherit(DateTime, $.fn.editabletypes.abstractinput); 40 | 41 | $.extend(DateTime.prototype, { 42 | initPicker: function (options, defaults) { 43 | //'format' is set directly from settings or data-* attributes 44 | 45 | //by default viewformat equals to format 46 | if (!this.options.viewformat) { 47 | this.options.viewformat = this.options.format; 48 | } 49 | 50 | //try parse datetimepicker config defined as json string in data-datetimepicker 51 | options.datetimepicker = $.fn.editableutils.tryParseJson(options.datetimepicker, true); 52 | 53 | //overriding datetimepicker config (as by default jQuery extend() is not recursive) 54 | //since 1.4 datetimepicker internally uses viewformat instead of format. Format is for submit only 55 | this.options.datetimepicker = $.extend({}, defaults.datetimepicker, options.datetimepicker, { 56 | format: this.options.viewformat 57 | }); 58 | 59 | //language 60 | this.options.datetimepicker.language = this.options.datetimepicker.language || 'en'; 61 | 62 | //store DPglobal 63 | this.dpg = $.fn.datetimepicker.DPGlobal; 64 | 65 | //store parsed formats 66 | this.parsedFormat = this.dpg.parseFormat(this.options.format, this.options.formatType); 67 | this.parsedViewFormat = this.dpg.parseFormat(this.options.viewformat, this.options.formatType); 68 | }, 69 | 70 | render: function () { 71 | this.$input.datetimepicker(this.options.datetimepicker); 72 | 73 | //adjust container position when viewMode changes 74 | //see https://github.com/smalot/bootstrap-datetimepicker/pull/80 75 | this.$input.on('changeMode', function (e) { 76 | var f = $(this).closest('form').parent(); 77 | //timeout here, otherwise container changes position before form has new size 78 | setTimeout(function () { 79 | f.triggerHandler('resize'); 80 | }, 0); 81 | }); 82 | 83 | //"clear" link 84 | if (this.options.clear) { 85 | this.$clear = $('').html(this.options.clear).click($.proxy(function (e) { 86 | e.preventDefault(); 87 | e.stopPropagation(); 88 | this.clear(); 89 | }, this)); 90 | 91 | this.$tpl.parent().append($('
').append(this.$clear)); 92 | } 93 | }, 94 | 95 | value2html: function (value, element) { 96 | //formatDate works with UTCDate! 97 | var text = value ? this.dpg.formatDate(this.toUTC(value), this.parsedViewFormat, this.options.datetimepicker.language, this.options.formatType) : ''; 98 | if (element) { 99 | DateTime.superclass.value2html.call(this, text, element); 100 | } else { 101 | return text; 102 | } 103 | }, 104 | 105 | html2value: function (html) { 106 | //parseDate return utc date! 107 | var value = this.parseDate(html, this.parsedViewFormat); 108 | return value ? this.fromUTC(value) : null; 109 | }, 110 | 111 | value2str: function (value) { 112 | //formatDate works with UTCDate! 113 | return value ? this.dpg.formatDate(this.toUTC(value), this.parsedFormat, this.options.datetimepicker.language, this.options.formatType) : ''; 114 | }, 115 | 116 | str2value: function (str) { 117 | //parseDate return utc date! 118 | var value = this.parseDate(str, this.parsedFormat); 119 | return value ? this.fromUTC(value) : null; 120 | }, 121 | 122 | value2submit: function (value) { 123 | return this.value2str(value); 124 | }, 125 | 126 | value2input: function (value) { 127 | if (value) { 128 | this.$input.data('datetimepicker').setDate(value); 129 | } 130 | }, 131 | 132 | input2value: function () { 133 | //date may be cleared, in that case getDate() triggers error 134 | var dt = this.$input.data('datetimepicker'); 135 | return dt.date ? dt.getDate() : null; 136 | }, 137 | 138 | activate: function () { 139 | }, 140 | 141 | clear: function () { 142 | this.$input.data('datetimepicker').date = null; 143 | this.$input.find('.active').removeClass('active'); 144 | if (!this.options.showbuttons) { 145 | this.$input.closest('form').submit(); 146 | } 147 | }, 148 | 149 | autosubmit: function () { 150 | this.$input.on('mouseup', '.minute', function (e) { 151 | var $form = $(this).closest('form'); 152 | setTimeout(function () { 153 | $form.submit(); 154 | }, 200); 155 | }); 156 | }, 157 | 158 | //convert date from local to utc 159 | toUTC: function (value) { 160 | return value ? new Date(value.valueOf() - value.getTimezoneOffset() * 60000) : value; 161 | }, 162 | 163 | //convert date from utc to local 164 | fromUTC: function (value) { 165 | return value ? new Date(value.valueOf() + value.getTimezoneOffset() * 60000) : value; 166 | }, 167 | 168 | /* 169 | For incorrect date bootstrap-datetimepicker returns current date that is not suitable 170 | for datetimefield. 171 | This function returns null for incorrect date. 172 | */ 173 | parseDate: function (str, format) { 174 | var date = null, formattedBack; 175 | if (str) { 176 | date = this.dpg.parseDate(str, format, this.options.datetimepicker.language, this.options.formatType); 177 | if (typeof str === 'string') { 178 | formattedBack = this.dpg.formatDate(date, format, this.options.datetimepicker.language, this.options.formatType); 179 | if (str !== formattedBack) { 180 | date = null; 181 | } 182 | } 183 | } 184 | return date; 185 | } 186 | 187 | }); 188 | 189 | DateTime.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { 190 | /** 191 | @property tpl 192 | @default
193 | **/ 194 | tpl: '
', 195 | /** 196 | @property inputclass 197 | @default null 198 | **/ 199 | inputclass: null, 200 | /** 201 | Format used for sending value to server. Also applied when converting date from data-value attribute.
202 | Possible tokens are: d, dd, m, mm, yy, yyyy, h, i 203 | 204 | @property format 205 | @type string 206 | @default yyyy-mm-dd hh:ii 207 | **/ 208 | format: 'yyyy-mm-dd hh:ii', 209 | formatType: 'standard', 210 | /** 211 | Format used for displaying date. Also applied when converting date from element's text on init. 212 | If not specified equals to format 213 | 214 | @property viewformat 215 | @type string 216 | @default null 217 | **/ 218 | viewformat: null, 219 | /** 220 | Configuration of datetimepicker. 221 | Full list of options: https://github.com/smalot/bootstrap-datetimepicker 222 | 223 | @property datetimepicker 224 | @type object 225 | @default { } 226 | **/ 227 | datetimepicker: { 228 | todayHighlight: false, 229 | autoclose: false 230 | }, 231 | /** 232 | Text shown as clear date button. 233 | If false clear button will not be rendered. 234 | 235 | @property clear 236 | @type boolean|string 237 | @default 'x clear' 238 | **/ 239 | clear: '× clear' 240 | }); 241 | 242 | $.fn.editabletypes.datetime = DateTime; 243 | 244 | }(window.jQuery)); 245 | /** 246 | Bootstrap datetimefield input - datetime input for inline mode. 247 | Shows normal and binds popup datetimepicker. 248 | Automatically shown in inline mode. 249 | 250 | @class datetimefield 251 | @extends datetime 252 | 253 | **/ 254 | (function ($) { 255 | "use strict"; 256 | 257 | var DateTimeField = function (options) { 258 | this.init('datetimefield', options, DateTimeField.defaults); 259 | this.initPicker(options, DateTimeField.defaults); 260 | }; 261 | 262 | $.fn.editableutils.inherit(DateTimeField, $.fn.editabletypes.datetime); 263 | 264 | $.extend(DateTimeField.prototype, { 265 | render: function () { 266 | this.$input = this.$tpl.find('input'); 267 | this.setClass(); 268 | this.setAttr('placeholder'); 269 | 270 | this.$tpl.datetimepicker(this.options.datetimepicker); 271 | 272 | //need to disable original event handlers 273 | this.$input.off('focus keydown'); 274 | 275 | //update value of datepicker 276 | this.$input.keyup($.proxy(function () { 277 | this.$tpl.removeData('date'); 278 | this.$tpl.datetimepicker('update'); 279 | }, this)); 280 | 281 | }, 282 | 283 | value2input: function (value) { 284 | this.$input.val(this.value2html(value)); 285 | this.$tpl.datetimepicker('update'); 286 | }, 287 | 288 | input2value: function () { 289 | return this.html2value(this.$input.val()); 290 | }, 291 | 292 | activate: function () { 293 | $.fn.editabletypes.text.prototype.activate.call(this); 294 | }, 295 | 296 | autosubmit: function () { 297 | //reset autosubmit to empty 298 | } 299 | }); 300 | 301 | DateTimeField.defaults = $.extend({}, $.fn.editabletypes.datetime.defaults, { 302 | /** 303 | @property tpl 304 | **/ 305 | tpl: '
', 306 | /** 307 | @property inputclass 308 | @default 'input-medium' 309 | **/ 310 | inputclass: 'input-medium', 311 | 312 | /* datetimepicker config */ 313 | datetimepicker: { 314 | todayHighlight: false, 315 | autoclose: true 316 | } 317 | }); 318 | 319 | $.fn.editabletypes.datetimefield = DateTimeField; 320 | 321 | }(window.jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/css/bootstrap-datetimepicker.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Datetimepicker for Bootstrap 3 | * 4 | * Copyright 2012 Stefan Petre 5 | * Improvements by Andrew Rowls 6 | * Licensed under the Apache License v2.0 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | */.datetimepicker{padding:4px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;direction:ltr}.datetimepicker-inline{width:220px}.datetimepicker.datetimepicker-rtl{direction:rtl}.datetimepicker.datetimepicker-rtl table tr td span{float:right}.datetimepicker-dropdown,.datetimepicker-dropdown-left{top:0;left:0}[class*=" datetimepicker-dropdown"]:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute}[class*=" datetimepicker-dropdown"]:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute}[class*=" datetimepicker-dropdown-top"]:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0}[class*=" datetimepicker-dropdown-top"]:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;border-bottom:0}.datetimepicker-dropdown-bottom-left:before{top:-7px;right:6px}.datetimepicker-dropdown-bottom-left:after{top:-6px;right:7px}.datetimepicker-dropdown-bottom-right:before{top:-7px;left:6px}.datetimepicker-dropdown-bottom-right:after{top:-6px;left:7px}.datetimepicker-dropdown-top-left:before{bottom:-7px;right:6px}.datetimepicker-dropdown-top-left:after{bottom:-6px;right:7px}.datetimepicker-dropdown-top-right:before{bottom:-7px;left:6px}.datetimepicker-dropdown-top-right:after{bottom:-6px;left:7px}.datetimepicker>div{display:none}.datetimepicker.minutes div.datetimepicker-minutes{display:block}.datetimepicker.hours div.datetimepicker-hours{display:block}.datetimepicker.days div.datetimepicker-days{display:block}.datetimepicker.months div.datetimepicker-months{display:block}.datetimepicker.years div.datetimepicker-years{display:block}.datetimepicker table{margin:0}.datetimepicker td,.datetimepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0}.table-striped .datetimepicker table tr td,.table-striped .datetimepicker table tr th{background-color:transparent}.datetimepicker table tr td.minute:hover{background:#eee;cursor:pointer}.datetimepicker table tr td.hour:hover{background:#eee;cursor:pointer}.datetimepicker table tr td.day:hover{background:#eee;cursor:pointer}.datetimepicker table tr td.old,.datetimepicker table tr td.new{color:#999}.datetimepicker table tr td.disabled,.datetimepicker table tr td.disabled:hover{background:0;color:#999;cursor:default}.datetimepicker table tr td.today,.datetimepicker table tr td.today:hover,.datetimepicker table tr td.today.disabled,.datetimepicker table tr td.today.disabled:hover{background-color:#fde19a;background-image:-moz-linear-gradient(top,#fdd49a,#fdf59a);background-image:-ms-linear-gradient(top,#fdd49a,#fdf59a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fdd49a),to(#fdf59a));background-image:-webkit-linear-gradient(top,#fdd49a,#fdf59a);background-image:-o-linear-gradient(top,#fdd49a,#fdf59a);background-image:linear-gradient(top,#fdd49a,#fdf59a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a',endColorstr='#fdf59a',GradientType=0);border-color:#fdf59a #fdf59a #fbed50;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.datetimepicker table tr td.today:hover,.datetimepicker table tr td.today:hover:hover,.datetimepicker table tr td.today.disabled:hover,.datetimepicker table tr td.today.disabled:hover:hover,.datetimepicker table tr td.today:active,.datetimepicker table tr td.today:hover:active,.datetimepicker table tr td.today.disabled:active,.datetimepicker table tr td.today.disabled:hover:active,.datetimepicker table tr td.today.active,.datetimepicker table tr td.today:hover.active,.datetimepicker table tr td.today.disabled.active,.datetimepicker table tr td.today.disabled:hover.active,.datetimepicker table tr td.today.disabled,.datetimepicker table tr td.today:hover.disabled,.datetimepicker table tr td.today.disabled.disabled,.datetimepicker table tr td.today.disabled:hover.disabled,.datetimepicker table tr td.today[disabled],.datetimepicker table tr td.today:hover[disabled],.datetimepicker table tr td.today.disabled[disabled],.datetimepicker table tr td.today.disabled:hover[disabled]{background-color:#fdf59a}.datetimepicker table tr td.today:active,.datetimepicker table tr td.today:hover:active,.datetimepicker table tr td.today.disabled:active,.datetimepicker table tr td.today.disabled:hover:active,.datetimepicker table tr td.today.active,.datetimepicker table tr td.today:hover.active,.datetimepicker table tr td.today.disabled.active,.datetimepicker table tr td.today.disabled:hover.active{background-color:#fbf069}.datetimepicker table tr td.active,.datetimepicker table tr td.active:hover,.datetimepicker table tr td.active.disabled,.datetimepicker table tr td.active.disabled:hover{background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-ms-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(top,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc',endColorstr='#0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.datetimepicker table tr td.active:hover,.datetimepicker table tr td.active:hover:hover,.datetimepicker table tr td.active.disabled:hover,.datetimepicker table tr td.active.disabled:hover:hover,.datetimepicker table tr td.active:active,.datetimepicker table tr td.active:hover:active,.datetimepicker table tr td.active.disabled:active,.datetimepicker table tr td.active.disabled:hover:active,.datetimepicker table tr td.active.active,.datetimepicker table tr td.active:hover.active,.datetimepicker table tr td.active.disabled.active,.datetimepicker table tr td.active.disabled:hover.active,.datetimepicker table tr td.active.disabled,.datetimepicker table tr td.active:hover.disabled,.datetimepicker table tr td.active.disabled.disabled,.datetimepicker table tr td.active.disabled:hover.disabled,.datetimepicker table tr td.active[disabled],.datetimepicker table tr td.active:hover[disabled],.datetimepicker table tr td.active.disabled[disabled],.datetimepicker table tr td.active.disabled:hover[disabled]{background-color:#04c}.datetimepicker table tr td.active:active,.datetimepicker table tr td.active:hover:active,.datetimepicker table tr td.active.disabled:active,.datetimepicker table tr td.active.disabled:hover:active,.datetimepicker table tr td.active.active,.datetimepicker table tr td.active:hover.active,.datetimepicker table tr td.active.disabled.active,.datetimepicker table tr td.active.disabled:hover.active{background-color:#039}.datetimepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.datetimepicker .datetimepicker-hours span{height:26px;line-height:26px}.datetimepicker .datetimepicker-hours table tr td span.hour_am,.datetimepicker .datetimepicker-hours table tr td span.hour_pm{width:14.6%}.datetimepicker .datetimepicker-hours fieldset legend,.datetimepicker .datetimepicker-minutes fieldset legend{margin-bottom:inherit;line-height:30px}.datetimepicker .datetimepicker-minutes span{height:26px;line-height:26px}.datetimepicker table tr td span:hover{background:#eee}.datetimepicker table tr td span.disabled,.datetimepicker table tr td span.disabled:hover{background:0;color:#999;cursor:default}.datetimepicker table tr td span.active,.datetimepicker table tr td span.active:hover,.datetimepicker table tr td span.active.disabled,.datetimepicker table tr td span.active.disabled:hover{background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-ms-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(top,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc',endColorstr='#0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.datetimepicker table tr td span.active:hover,.datetimepicker table tr td span.active:hover:hover,.datetimepicker table tr td span.active.disabled:hover,.datetimepicker table tr td span.active.disabled:hover:hover,.datetimepicker table tr td span.active:active,.datetimepicker table tr td span.active:hover:active,.datetimepicker table tr td span.active.disabled:active,.datetimepicker table tr td span.active.disabled:hover:active,.datetimepicker table tr td span.active.active,.datetimepicker table tr td span.active:hover.active,.datetimepicker table tr td span.active.disabled.active,.datetimepicker table tr td span.active.disabled:hover.active,.datetimepicker table tr td span.active.disabled,.datetimepicker table tr td span.active:hover.disabled,.datetimepicker table tr td span.active.disabled.disabled,.datetimepicker table tr td span.active.disabled:hover.disabled,.datetimepicker table tr td span.active[disabled],.datetimepicker table tr td span.active:hover[disabled],.datetimepicker table tr td span.active.disabled[disabled],.datetimepicker table tr td span.active.disabled:hover[disabled]{background-color:#04c}.datetimepicker table tr td span.active:active,.datetimepicker table tr td span.active:hover:active,.datetimepicker table tr td span.active.disabled:active,.datetimepicker table tr td span.active.disabled:hover:active,.datetimepicker table tr td span.active.active,.datetimepicker table tr td span.active:hover.active,.datetimepicker table tr td span.active.disabled.active,.datetimepicker table tr td span.active.disabled:hover.active{background-color:#039}.datetimepicker table tr td span.old{color:#999}.datetimepicker th.switch{width:145px}.datetimepicker thead tr:first-child th,.datetimepicker tfoot tr:first-child th{cursor:pointer}.datetimepicker thead tr:first-child th:hover,.datetimepicker tfoot tr:first-child th:hover{background:#eee}.input-append.date .add-on i,.input-prepend.date .add-on i,.input-group.date .input-group-addon span{cursor:pointer;width:14px;height:14px} -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ar.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Arabic translation for bootstrap-datetimepicker 3 | * Ala' Mohammad 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ar'] = { 7 | days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"], 8 | daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"], 9 | daysMin: ["أح", "إث", "ث", "أر", "خ", "ج", "س", "أح"], 10 | months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], 11 | monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], 12 | today: "هذا اليوم", 13 | suffix: [], 14 | meridiem: [], 15 | rtl: true 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.bg.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bulgarian translation for bootstrap-datetimepicker 3 | * Apostol Apostolov 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['bg'] = { 7 | days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"], 8 | daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"], 9 | daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"], 10 | months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], 11 | monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"], 12 | today: "днес", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ca.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Catalan translation for bootstrap-datetimepicker 3 | * J. Garcia 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ca'] = { 7 | days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"], 8 | daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"], 9 | daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"], 10 | months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"], 12 | today: "Avui", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.cs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Czech translation for bootstrap-datetimepicker 3 | * Matěj Koubík 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['cs'] = { 8 | days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"], 9 | daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"], 11 | months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"], 12 | monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"], 13 | today: "Dnes", 14 | suffix: [], 15 | meridiem: [] 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.da.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Danish translation for bootstrap-datetimepicker 3 | * Christian Pedersen 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['da'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "I Dag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.de.js: -------------------------------------------------------------------------------- 1 | /** 2 | * German translation for bootstrap-datetimepicker 3 | * Sam Zurcher 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['de'] = { 7 | days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], 8 | daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"], 9 | daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], 10 | months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], 11 | monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], 12 | today: "Heute", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1, 16 | format: "dd.mm.yyyy" 17 | }; 18 | }(jQuery)); 19 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ee.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Estonian translation for bootstrap-datetimepicker 3 | * Rene Korss 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ee'] = { 7 | days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"], 8 | daysShort: ["P", "E", "T", "K", "N", "R", "L", "P"], 9 | daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"], 10 | months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"], 11 | monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"], 12 | today: "Täna", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1, 16 | format: "dd.mm.yyyy hh:ii" 17 | }; 18 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.el.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Greek translation for bootstrap-datetimepicker 3 | */ 4 | ;(function($){ 5 | $.fn.datetimepicker.dates['el'] = { 6 | days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"], 7 | daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"], 8 | daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"], 9 | months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"], 10 | monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], 11 | today: "Σήμερα", 12 | suffix: [], 13 | meridiem: [] 14 | }; 15 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.es.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish translation for bootstrap-datetimepicker 3 | * Bruno Bonamin 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['es'] = { 7 | days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"], 10 | months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], 11 | monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], 12 | today: "Hoy", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.fi.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Finnish translation for bootstrap-datetimepicker 3 | * Jaakko Salonen 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['fi'] = { 7 | days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"], 8 | daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"], 9 | daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"], 10 | months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], 11 | monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"], 12 | today: "tänään", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.fr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * French translation for bootstrap-datetimepicker 3 | * Nico Mollet 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['fr'] = { 7 | days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"], 8 | daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"], 9 | daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"], 10 | months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], 11 | monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"], 12 | today: "Aujourd'hui", 13 | suffix: [], 14 | meridiem: ["am", "pm"], 15 | weekStart: 1, 16 | format: "dd/mm/yyyy" 17 | }; 18 | }(jQuery)); 19 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.he.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hebrew translation for bootstrap-datetimepicker 3 | * Sagie Maoz 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['he'] = { 7 | days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"], 8 | daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 9 | daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 10 | months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"], 11 | monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"], 12 | today: "היום", 13 | suffix: [], 14 | meridiem: [], 15 | rtl: true 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.hr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Croatian localisation 3 | */ 4 | ;(function($){ 5 | $.fn.datetimepicker.dates['hr'] = { 6 | days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"], 7 | daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"], 8 | daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"], 9 | months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"], 10 | monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"], 11 | today: "Danas", 12 | suffix: [], 13 | meridiem: [] 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.hu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hungarian translation for bootstrap-datetimepicker 3 | * darevish 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['hu'] = { 7 | days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"], 8 | daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"], 9 | daysMin: ["V", "H", "K", "Sze", "Cs", "P", "Szo", "V"], 10 | months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"], 12 | today: "Ma", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.id.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bahasa translation for bootstrap-datetimepicker 3 | * Azwar Akbar 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['id'] = { 7 | days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"], 8 | daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"], 9 | daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"], 10 | months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"], 12 | suffix: [], 13 | meridiem: [] 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.is.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Icelandic translation for bootstrap-datetimepicker 3 | * Hinrik Örn Sigurðsson 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['is'] = { 7 | days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"], 8 | daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"], 9 | daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"], 10 | months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"], 12 | today: "Í Dag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.it.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Italian translation for bootstrap-datetimepicker 3 | * Enrico Rubboli 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['it'] = { 7 | days: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domenica"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"], 10 | months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], 12 | today: "Oggi", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1, 16 | format: "dd/mm/yyyy hh:ii:ss" 17 | }; 18 | }(jQuery)); 19 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ja.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Japanese translation for bootstrap-datetimepicker 3 | * Norio Suzuki 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ja'] = { 7 | days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"], 8 | daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"], 9 | daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"], 10 | months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 11 | monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 12 | today: "今日", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.kr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Korean translation for bootstrap-datetimepicker 3 | * Gu Youn 4 | * Baekjoon Choi 5 | */ 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['kr'] = { 8 | days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"], 9 | daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"], 10 | daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"], 11 | months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], 12 | monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], 13 | suffix: [], 14 | meridiem: ["오전", "오후"], 15 | today: "오늘", 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.lt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lithuanian translation for bootstrap-datetimepicker 3 | * Šarūnas Gliebus 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['lt'] = { 8 | days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"], 9 | daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"], 10 | daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"], 11 | months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"], 12 | monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"], 13 | today: "Šiandien", 14 | suffix: [], 15 | meridiem: [], 16 | weekStart: 1 17 | }; 18 | }(jQuery)); 19 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.lv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Latvian translation for bootstrap-datetimepicker 3 | * Artis Avotins 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['lv'] = { 8 | days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"], 9 | daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"], 10 | daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"], 11 | months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."], 13 | today: "Šodien", 14 | suffix: [], 15 | meridiem: [], 16 | weekStart: 1 17 | }; 18 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Malay translation for bootstrap-datetimepicker 3 | * Ateman Faiz 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ms'] = { 7 | days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"], 8 | daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"], 9 | daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"], 10 | months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"], 12 | today: "Hari Ini", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.nb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian (bokmål) translation for bootstrap-datetimepicker 3 | * Fredrik Sundmyhr 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['nb'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], 12 | today: "I Dag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.nl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch translation for bootstrap-datetimepicker 3 | * Reinier Goltstein 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['nl'] = { 7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], 8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Vandaag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.no.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian translation for bootstrap-datetimepicker 3 | * Rune Warhuus 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['no'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], 12 | today: "I Dag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.pl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Polish translation for bootstrap-datetimepicker 3 | * Robert 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['pl'] = { 7 | days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"], 8 | daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"], 9 | daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"], 10 | months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], 11 | monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"], 12 | today: "Dzisiaj", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Brazilian translation for bootstrap-datetimepicker 3 | * Cauan Cabral 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['pt-BR'] = { 7 | format: 'dd/mm/yyyy', 8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], 13 | today: "Hoje", 14 | suffix: [], 15 | meridiem: [] 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.pt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Portuguese translation for bootstrap-datetimepicker 3 | * Original code: Cauan Cabral 4 | * Tiago Melo 5 | */ 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['pt'] = { 8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], 13 | suffix: [], 14 | meridiem: ["am","pm"], 15 | today: "Hoje" 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ro.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Romanian translation for bootstrap-datetimepicker 3 | * Cristian Vasile 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ro'] = { 7 | days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"], 8 | daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"], 9 | daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"], 10 | months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], 11 | monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"], 12 | today: "Astăzi", 13 | suffix: [], 14 | meridiem: [], 15 | weekStart: 1 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.rs-latin.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian latin translation for bootstrap-datetimepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['rs'] = { 7 | days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"], 9 | daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"], 10 | months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danas", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.rs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian cyrillic translation for bootstrap-datetimepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['rs'] = { 7 | days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"], 8 | daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"], 9 | daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"], 10 | months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"], 11 | monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"], 12 | today: "Данас", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Russian translation for bootstrap-datetimepicker 3 | * Victor Taranenko 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ru'] = { 7 | days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], 8 | daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"], 9 | daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], 10 | months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], 11 | monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], 12 | today: "Сегодня", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.sk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovak translation for bootstrap-datetimepicker 3 | * Marek Lichtner 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datetimepicker.dates["sk"] = { 8 | days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"], 9 | daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"], 11 | months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"], 13 | today: "Dnes", 14 | suffix: [], 15 | meridiem: [] 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.sl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovene translation for bootstrap-datetimepicker 3 | * Gregor Rudolf 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['sl'] = { 7 | days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"], 9 | daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"], 10 | months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danes", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.sv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swedish translation for bootstrap-datetimepicker 3 | * Patrik Ragnarsson 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['sv'] = { 7 | days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"], 8 | daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"], 9 | daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"], 10 | months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "I Dag", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.sw.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swahili translation for bootstrap-datetimepicker 3 | * Edwin Mugendi 4 | * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku 5 | */ 6 | ;(function($){ 7 | $.fn.datetimepicker.dates['sw'] = { 8 | days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"], 9 | daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"], 10 | daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"], 11 | months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"], 12 | monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"], 13 | today: "Leo", 14 | suffix: [], 15 | meridiem: [] 16 | }; 17 | }(jQuery)); 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.th.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Thai translation for bootstrap-datetimepicker 3 | * Suchau Jiraprapot 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['th'] = { 7 | days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"], 8 | daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 9 | daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 10 | months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"], 11 | monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."], 12 | today: "วันนี้", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.tr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Turkish translation for bootstrap-datetimepicker 3 | * Serkan Algur 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['tr'] = { 7 | days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"], 8 | daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"], 9 | daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"], 10 | months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], 11 | monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"], 12 | today: "Bugün", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | 18 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.ua.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ukrainian translation for bootstrap-datepicker 3 | * Igor Polynets 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['ua'] = { 7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четверг", "П'ятниця", "Субота", "Неділя"], 8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"], 9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"], 10 | months: ["Cічень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"], 11 | monthsShort: ["Січ", "Лют", "Бер", "Квт", "Трв", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Грд"], 12 | today: "Сьогодні", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.uk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ukrainian translation for bootstrap-datetimepicker 3 | * Andrey Vityuk 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['uk'] = { 7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"], 8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"], 9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"], 10 | months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"], 11 | monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], 12 | today: "Сьогодні", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datetimepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今日", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/datetimepicker/vendor/js/locales/bootstrap-datetimepicker.zh-TW.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Traditional Chinese translation for bootstrap-datetimepicker 3 | * Rung-Sheng Jang 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['zh-TW'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今天", 13 | suffix: [], 14 | meridiem: ["上午", "下午"] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/assets/editable/css/bootstrap-editable.css: -------------------------------------------------------------------------------- 1 | /*! X-editable - v1.5.1 2 | * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery 3 | * http://github.com/vitalets/x-editable 4 | * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ 5 | .editableform { 6 | margin-bottom: 0; /* overwrites bootstrap margin */ 7 | } 8 | 9 | .editableform .control-group { 10 | margin-bottom: 0; /* overwrites bootstrap margin */ 11 | white-space: nowrap; /* prevent wrapping buttons on new line */ 12 | line-height: 20px; /* overwriting bootstrap line-height. See #133 */ 13 | } 14 | 15 | /* 16 | BS3 width:1005 for inputs breaks editable form in popup 17 | See: https://github.com/vitalets/x-editable/issues/393 18 | */ 19 | .editableform .form-control { 20 | width: auto; 21 | } 22 | 23 | .editable-buttons { 24 | display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ 25 | vertical-align: top; 26 | margin-left: 7px; 27 | /* inline-block emulation for IE7*/ 28 | zoom: 1; 29 | *display: inline; 30 | } 31 | 32 | .editable-buttons.editable-buttons-bottom { 33 | display: block; 34 | margin-top: 7px; 35 | margin-left: 0; 36 | } 37 | 38 | .editable-input { 39 | vertical-align: top; 40 | display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ 41 | width: auto; /* bootstrap-responsive has width: 100% that breakes layout */ 42 | white-space: normal; /* reset white-space decalred in parent*/ 43 | /* display-inline emulation for IE7*/ 44 | zoom: 1; 45 | *display: inline; 46 | } 47 | 48 | .editable-buttons .editable-cancel { 49 | margin-left: 7px; 50 | } 51 | 52 | /*for jquery-ui buttons need set height to look more pretty*/ 53 | .editable-buttons button.ui-button-icon-only { 54 | height: 24px; 55 | width: 30px; 56 | } 57 | 58 | .editableform-loading { 59 | background: url('../img/loading.gif') center center no-repeat; 60 | height: 25px; 61 | width: auto; 62 | min-width: 25px; 63 | } 64 | 65 | .editable-inline .editableform-loading { 66 | background-position: left 5px; 67 | } 68 | 69 | .editable-error-block { 70 | max-width: 300px; 71 | margin: 5px 0 0 0; 72 | width: auto; 73 | white-space: normal; 74 | } 75 | 76 | /*add padding for jquery ui*/ 77 | .editable-error-block.ui-state-error { 78 | padding: 3px; 79 | } 80 | 81 | .editable-error { 82 | color: red; 83 | } 84 | 85 | /* ---- For specific types ---- */ 86 | 87 | .editableform .editable-date { 88 | padding: 0; 89 | margin: 0; 90 | float: left; 91 | } 92 | 93 | /* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */ 94 | .editable-inline .add-on .icon-th { 95 | margin-top: 3px; 96 | margin-left: 1px; 97 | } 98 | 99 | /* checklist vertical alignment */ 100 | .editable-checklist label input[type="checkbox"], 101 | .editable-checklist label span { 102 | vertical-align: middle; 103 | margin: 0; 104 | } 105 | 106 | .editable-checklist label { 107 | white-space: nowrap; 108 | } 109 | 110 | /* set exact width of textarea to fit buttons toolbar */ 111 | .editable-wysihtml5 { 112 | width: 566px; 113 | height: 250px; 114 | } 115 | 116 | /* clear button shown as link in date inputs */ 117 | .editable-clear { 118 | clear: both; 119 | font-size: 0.9em; 120 | text-decoration: none; 121 | text-align: right; 122 | } 123 | 124 | /* IOS-style clear button for text inputs */ 125 | .editable-clear-x { 126 | background: url('../img/clear.png') center center no-repeat; 127 | display: block; 128 | width: 13px; 129 | height: 13px; 130 | position: absolute; 131 | opacity: 0.6; 132 | z-index: 100; 133 | 134 | top: 50%; 135 | right: 6px; 136 | margin-top: -6px; 137 | 138 | } 139 | 140 | .editable-clear-x:hover { 141 | opacity: 1; 142 | } 143 | 144 | .editable-pre-wrapped { 145 | white-space: pre-wrap; 146 | } 147 | 148 | .editable-container.editable-popup { 149 | max-width: none !important; /* without this rule poshytip/tooltip does not stretch */ 150 | } 151 | 152 | .editable-container.popover { 153 | width: auto; /* without this rule popover does not stretch */ 154 | } 155 | 156 | .editable-container.editable-inline { 157 | display: inline-block; 158 | vertical-align: middle; 159 | width: auto; 160 | /* inline-block emulation for IE7*/ 161 | zoom: 1; 162 | *display: inline; 163 | } 164 | 165 | .editable-container.ui-widget { 166 | font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */ 167 | z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */ 168 | } 169 | 170 | .editable-click, 171 | a.editable-click, 172 | a.editable-click:hover { 173 | text-decoration: none; 174 | border-bottom: dashed 1px #0088cc; 175 | } 176 | 177 | .editable-click.editable-disabled, 178 | a.editable-click.editable-disabled, 179 | a.editable-click.editable-disabled:hover { 180 | color: #585858; 181 | cursor: default; 182 | border-bottom: none; 183 | } 184 | 185 | .editable-empty, .editable-empty:hover, .editable-empty:focus { 186 | font-style: italic; 187 | color: #DD1144; 188 | /* border-bottom: none; */ 189 | text-decoration: none; 190 | } 191 | 192 | .editable-unsaved { 193 | font-weight: bold; 194 | } 195 | 196 | .editable-unsaved:after { 197 | /* content: '*'*/ 198 | } 199 | 200 | .editable-bg-transition { 201 | -webkit-transition: background-color 1400ms ease-out; 202 | -moz-transition: background-color 1400ms ease-out; 203 | -o-transition: background-color 1400ms ease-out; 204 | -ms-transition: background-color 1400ms ease-out; 205 | transition: background-color 1400ms ease-out; 206 | } 207 | 208 | /*see https://github.com/vitalets/x-editable/issues/139 */ 209 | .form-horizontal .editable { 210 | padding-top: 5px; 211 | display: inline-block; 212 | } -------------------------------------------------------------------------------- /src/assets/editable/img/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2amigos/yii2-editable-widget/8de9559b20ed6a4af8a6cdd47bfa32b4f20c7bab/src/assets/editable/img/clear.png -------------------------------------------------------------------------------- /src/assets/editable/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2amigos/yii2-editable-widget/8de9559b20ed6a4af8a6cdd47bfa32b4f20c7bab/src/assets/editable/img/loading.gif -------------------------------------------------------------------------------- /src/assets/wysihtml5/bootstrap-editable-wysihtml5.js: -------------------------------------------------------------------------------- 1 | /** 2 | Bootstrap wysihtml5 editor. Based on [bootstrap-wysihtml5](https://github.com/jhollingworth/bootstrap-wysihtml5). 3 | You should include **manually** distributives of `wysihtml5` and `bootstrap-wysihtml5`: 4 | 5 | 6 | 7 | 8 | 9 | And also include `wysihtml5.js` from `inputs-ext` directory of x-editable: 10 | 11 | 12 | 13 | **Note:** It's better to use fresh bootstrap-wysihtml5 from it's [master branch](https://github.com/jhollingworth/bootstrap-wysihtml5/tree/master/src) as there is update for correct image insertion. 14 | 15 | @class wysihtml5 16 | @extends abstractinput 17 | @final 18 | @since 1.4.0 19 | @example 20 |

awesome

comment!
21 | 29 | **/ 30 | (function ($) { 31 | "use strict"; 32 | 33 | var Wysihtml5 = function (options) { 34 | this.init('wysihtml5', options, Wysihtml5.defaults); 35 | 36 | //extend wysihtml5 manually as $.extend not recursive 37 | this.options.wysihtml5 = $.extend({}, Wysihtml5.defaults.wysihtml5, options.wysihtml5); 38 | }; 39 | 40 | $.fn.editableutils.inherit(Wysihtml5, $.fn.editabletypes.abstractinput); 41 | 42 | $.extend(Wysihtml5.prototype, { 43 | render: function () { 44 | var deferred = $.Deferred(), 45 | msieOld; 46 | 47 | //generate unique id as it required for wysihtml5 48 | this.$input.attr('id', 'textarea_'+(new Date()).getTime()); 49 | 50 | this.setClass(); 51 | this.setAttr('placeholder'); 52 | 53 | //resolve deffered when widget loaded 54 | $.extend(this.options.wysihtml5, { 55 | events: { 56 | load: function() { 57 | deferred.resolve(); 58 | } 59 | } 60 | }); 61 | console.log(this.options.wysihtml5); 62 | this.$input.wysihtml5(this.options.wysihtml5); 63 | 64 | /* 65 | In IE8 wysihtml5 iframe stays on the same line with buttons toolbar (inside popover). 66 | The only solution I found is to add
. If you fine better way, please send PR. 67 | */ 68 | msieOld = /msie\s*(8|7|6)/.test(navigator.userAgent.toLowerCase()); 69 | if(msieOld) { 70 | this.$input.before('

'); 71 | } 72 | 73 | return deferred.promise(); 74 | }, 75 | 76 | value2html: function(value, element) { 77 | $(element).html(value); 78 | }, 79 | 80 | html2value: function(html) { 81 | return html; 82 | }, 83 | 84 | value2input: function(value) { 85 | this.$input.data("wysihtml5").editor.setValue(value, true); 86 | }, 87 | 88 | activate: function() { 89 | this.$input.data("wysihtml5").editor.focus(); 90 | }, 91 | 92 | isEmpty: function($element) { 93 | if($.trim($element.html()) === '') { 94 | return true; 95 | } else if($.trim($element.text()) !== '') { 96 | return false; 97 | } else { 98 | //e.g. '', '
', '

' 99 | return !$element.height() || !$element.width(); 100 | } 101 | } 102 | }); 103 | 104 | Wysihtml5.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { 105 | /** 106 | @property tpl 107 | @default 108 | **/ 109 | tpl:'', 110 | /** 111 | @property inputclass 112 | @default editable-wysihtml5 113 | **/ 114 | inputclass: 'editable-wysihtml5', 115 | /** 116 | Placeholder attribute of input. Shown when input is empty. 117 | 118 | @property placeholder 119 | @type string 120 | @default null 121 | **/ 122 | placeholder: null, 123 | /** 124 | Wysihtml5 default options. 125 | See https://github.com/jhollingworth/bootstrap-wysihtml5#options 126 | 127 | @property wysihtml5 128 | @type object 129 | @default {stylesheets: false} 130 | **/ 131 | wysihtml5: { 132 | // stylesheets: false //see https://github.com/jhollingworth/bootstrap-wysihtml5/issues/183 133 | } 134 | }); 135 | 136 | $.fn.editabletypes.wysihtml5 = Wysihtml5; 137 | 138 | }(window.jQuery)); 139 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/bootstrap3-wysihtml5.css: -------------------------------------------------------------------------------- 1 | ul.wysihtml5-toolbar { 2 | margin: 0; 3 | padding: 0; 4 | display: block; 5 | } 6 | 7 | ul.wysihtml5-toolbar::after { 8 | clear: both; 9 | display: table; 10 | content: ""; 11 | } 12 | 13 | ul.wysihtml5-toolbar > li { 14 | float: left; 15 | display: list-item; 16 | list-style: none; 17 | margin: 0 5px 10px 0; 18 | } 19 | 20 | ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] { 21 | font-weight: bold; 22 | } 23 | 24 | ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] { 25 | font-style: italic; 26 | } 27 | 28 | ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] { 29 | text-decoration: underline; 30 | } 31 | 32 | ul.wysihtml5-toolbar a.btn.wysihtml5-command-active { 33 | background-image: none; 34 | -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); 35 | -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); 36 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); 37 | background-color: #E6E6E6; 38 | background-color: #D9D9D9; 39 | outline: 0; 40 | } 41 | 42 | ul.wysihtml5-commands-disabled .dropdown-menu { 43 | display: none !important; 44 | } 45 | 46 | ul.wysihtml5-toolbar div.wysihtml5-colors { 47 | display:block; 48 | width: 50px; 49 | height: 20px; 50 | margin-top: 2px; 51 | margin-left: 5px; 52 | position: absolute; 53 | pointer-events: none; 54 | } 55 | 56 | ul.wysihtml5-toolbar a.wysihtml5-colors-title { 57 | padding-left: 70px; 58 | } 59 | 60 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] { 61 | background: black !important; 62 | } 63 | 64 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] { 65 | background: silver !important; 66 | } 67 | 68 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] { 69 | background: gray !important; 70 | } 71 | 72 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] { 73 | background: maroon !important; 74 | } 75 | 76 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] { 77 | background: red !important; 78 | } 79 | 80 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] { 81 | background: purple !important; 82 | } 83 | 84 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] { 85 | background: green !important; 86 | } 87 | 88 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] { 89 | background: olive !important; 90 | } 91 | 92 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] { 93 | background: navy !important; 94 | } 95 | 96 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] { 97 | background: blue !important; 98 | } 99 | 100 | ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] { 101 | background: orange !important; 102 | } 103 | 104 | .glyphicon-quote:before { 105 | content: "\201C"; 106 | font-family: Georgia, serif; 107 | font-size: 50px; 108 | position: absolute; 109 | top: -4px; 110 | left: -3px; 111 | max-height: 100%; 112 | } 113 | 114 | .glyphicon-quote:after { 115 | content: "\0000a0"; 116 | } -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/bootstrap3-wysihtml5.min.css: -------------------------------------------------------------------------------- 1 | /*! bootstrap3-wysihtml5-bower 2014-02-28 */ 2 | 3 | ul.wysihtml5-toolbar{margin:0;padding:0;display:block}ul.wysihtml5-toolbar::after{clear:both;display:table;content:""}ul.wysihtml5-toolbar>li{float:left;display:list-item;list-style:none;margin:0 5px 10px 0}ul.wysihtml5-toolbar a[data-wysihtml5-command=bold]{font-weight:700}ul.wysihtml5-toolbar a[data-wysihtml5-command=italic]{font-style:italic}ul.wysihtml5-toolbar a[data-wysihtml5-command=underline]{text-decoration:underline}ul.wysihtml5-toolbar a.btn.wysihtml5-command-active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);background-color:#E6E6E6;background-color:#D9D9D9;outline:0}ul.wysihtml5-commands-disabled .dropdown-menu{display:none!important}ul.wysihtml5-toolbar div.wysihtml5-colors{display:block;width:50px;height:20px;margin-top:2px;margin-left:5px;position:absolute;pointer-events:none}ul.wysihtml5-toolbar a.wysihtml5-colors-title{padding-left:70px}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=black]{background:#000!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=silver]{background:silver!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=gray]{background:gray!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=maroon]{background:maroon!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=red]{background:red!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=purple]{background:purple!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=green]{background:green!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=olive]{background:olive!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=navy]{background:navy!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=blue]{background:#00f!important}ul.wysihtml5-toolbar div[data-wysihtml5-command-value=orange]{background:orange!important}.glyphicon-quote:before{content:"\201C";font-family:Georgia,serif;font-size:50px;position:absolute;top:-4px;left:-3px;max-height:100%}.glyphicon-quote:after{content:"\0000a0"} -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ar-AR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Arabic translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["mo-MD"] = { 6 | font_styles: { 7 | normal: "نص عادي", 8 | h1: "عنوان رئيسي 1", 9 | h2: "عنوان رئيسي 2", 10 | h3: "عنوان رئيسي 3", 11 | h4: "عنوان رئيسي 4", 12 | h5: "عنوان رئيسي 5", 13 | h6: "عنوان رئيسي 6" 14 | }, 15 | emphasis: { 16 | bold: "عريض", 17 | italic: "مائل", 18 | underline: "تحته خط" 19 | }, 20 | lists: { 21 | unordered: "قائمة منقطة", 22 | ordered: "قائمة مرقمة", 23 | outdent: "محاذاه للخارج", 24 | indent: "محاذاه للداخل" 25 | }, 26 | link: { 27 | insert: "إضافة رابط", 28 | cancel: "إلغاء" 29 | }, 30 | image: { 31 | insert: "إضافة صورة", 32 | cancel: "إلغاء" 33 | }, 34 | html: { 35 | edit: "تعديل HTML" 36 | }, 37 | 38 | colours: { 39 | black: "أسود", 40 | silver: "فضي", 41 | gray: "رمادي", 42 | maroon: "بني", 43 | red: "أحمر", 44 | purple: "بنفسجي", 45 | green: "أخضر", 46 | olive: "زيتوني", 47 | navy: "أزرق قاتم", 48 | blue: "أزرق نيلي", 49 | orange: "برتقالي" 50 | } 51 | }; 52 | }(jQuery)); 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.bg-BG.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bulgarian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["bg-BG"] = { 6 | font_styles: { 7 | normal: "Нормален текст", 8 | h1: "Заглавие 1", 9 | h2: "Заглавие 2", 10 | h3: "Заглавие 3", 11 | h4: "Заглавие 4", 12 | h5: "Заглавие 5", 13 | h6: "Заглавие 6" 14 | }, 15 | emphasis: { 16 | bold: "Удебелен", 17 | italic: "Курсив", 18 | underline: "Подчертан" 19 | }, 20 | lists: { 21 | unordered: "Неподреден списък", 22 | ordered: "Подреден списък", 23 | outdent: "Намали отстояние", 24 | indent: "Увеличи отстояние" 25 | }, 26 | link: { 27 | insert: "Вмъкни връзка", 28 | cancel: "Отмени" 29 | }, 30 | image: { 31 | insert: "Вмъкни картинка", 32 | cancel: "Отмени" 33 | }, 34 | html: { 35 | edit: "Редакртирай HTML" 36 | }, 37 | colours: { 38 | black: "Черен", 39 | silver: "Сребърен", 40 | gray: "Сив", 41 | maroon: "Коричневый", 42 | red: "Червен", 43 | purple: "Виолетов", 44 | green: "Зелен", 45 | olive: "Маслинен", 46 | navy: "Морско син", 47 | blue: "Син", 48 | orange: "Оранжев" 49 | } 50 | }; 51 | }(jQuery)); 52 | 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ca-CT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Catalan translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ca-CT"] = { 6 | font_styles: { 7 | normal: "Text normal", 8 | h1: "Títol 1", 9 | h2: "Títol 2", 10 | h3: "Títol 3", 11 | h4: "Títol 4", 12 | h5: "Títol 5", 13 | h6: "Títol 6" 14 | }, 15 | emphasis: { 16 | bold: "Negreta", 17 | italic: "Cursiva", 18 | underline: "Subratllat" 19 | }, 20 | lists: { 21 | unordered: "Llista desordenada", 22 | ordered: "Llista ordenada", 23 | outdent: "Esborrar tabulació", 24 | indent: "Afegir tabulació" 25 | }, 26 | link: { 27 | insert: "Afegir enllaç", 28 | cancel: "Cancelar" 29 | }, 30 | image: { 31 | insert: "Afegir imatge", 32 | cancel: "Cancelar" 33 | }, 34 | html: { 35 | edit: "Editar HTML" 36 | }, 37 | colours: { 38 | black: "Negre", 39 | silver: "Plata", 40 | gray: "Gris", 41 | maroon: "Marró", 42 | red: "Vermell", 43 | purple: "Porpre", 44 | green: "Verd", 45 | olive: "Oliva", 46 | navy: "Blau marí", 47 | blue: "Blau", 48 | orange: "Taronja" 49 | } 50 | }; 51 | }(jQuery)); 52 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.cs-CZ.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Czech translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["cs-CZ"] = { 6 | font_styles: { 7 | normal: "Normální text", 8 | h1: "Nadpis úrovně 1", 9 | h2: "Nadpis úrovně 2", 10 | h3: "Nadpis úrovně 3", 11 | h4: "Nadpis úrovně 4", 12 | h5: "Nadpis úrovně 5", 13 | h6: "Nadpis úrovně 6" 14 | }, 15 | emphasis: { 16 | bold: "Tučné", 17 | italic: "Kurzíva", 18 | underline: "Podtržení" 19 | }, 20 | lists: { 21 | unordered: "Seznam s odrážkami", 22 | ordered: "Číslovaný seznam", 23 | outdent: "Zvětšit odsazení", 24 | indent: "Zmenšit odsazení" 25 | }, 26 | link: { 27 | insert: "Vložit odkaz", 28 | cancel: "Zrušit" 29 | }, 30 | image: { 31 | insert: "Vložit obrázek", 32 | cancel: "Zrušit" 33 | }, 34 | html: { 35 | edit: "Upravit HTML" 36 | }, 37 | colours: { 38 | black: "Černá", 39 | silver: "Stříbrná", 40 | gray: "Šedá", 41 | maroon: "Vínová", 42 | red: "Červená", 43 | purple: "Fialová", 44 | green: "Zelená", 45 | olive: "Olivová", 46 | navy: "Tmavomodrá", 47 | blue: "Modrá", 48 | orange: "Oranžová" 49 | } 50 | }; 51 | }(jQuery)); 52 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.da-DK.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Danish translations 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["da-DK"] = { 6 | font_styles: { 7 | normal: "Normal tekst", 8 | h1: "Overskrift 1", 9 | h2: "Overskrift 2", 10 | h3: "Overskrift 3", 11 | h4: "Overskrift 4", 12 | h5: "Overskrift 5", 13 | h6: "Overskrift 6" 14 | }, 15 | emphasis: { 16 | bold: "Fed", 17 | italic: "Kursiv", 18 | underline: "Understreget" 19 | }, 20 | lists: { 21 | unordered: "Uordnet liste", 22 | ordered: "Ordnet liste", 23 | outdent: "Udryk", 24 | indent: "Indryk" 25 | }, 26 | link: { 27 | insert: "Indsæt Link", 28 | cancel: "Annuler" 29 | }, 30 | image: { 31 | insert: "Indsæt billede", 32 | cancel: "Annuler" 33 | }, 34 | html: { 35 | edit: "Rediger HTML" 36 | }, 37 | colours: { 38 | black: "Sort", 39 | silver: "Sølv", 40 | gray: "Grå", 41 | maroon: "Mørkerød", 42 | red: "Rød", 43 | purple: "Lilla", 44 | green: "Grøn", 45 | olive: "Lysegrøn", 46 | navy: "Mørkeblå", 47 | blue: "Blå", 48 | orange: "Orange" 49 | } 50 | }; 51 | }(jQuery)); 52 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.de-DE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * German translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["de-DE"] = { 6 | font_styles: { 7 | normal: "Normaler Text", 8 | h1: "Überschrift 1", 9 | h2: "Überschrift 2", 10 | h3: "Überschrift 3", 11 | h4: "Überschrift 4", 12 | h5: "Überschrift 5", 13 | h6: "Überschrift 6" 14 | }, 15 | emphasis: { 16 | bold: "Fett", 17 | italic: "Kursiv", 18 | underline: "Unterstrichen" 19 | }, 20 | lists: { 21 | unordered: "Ungeordnete Liste", 22 | ordered: "Geordnete Liste", 23 | outdent: "Einzug verkleinern", 24 | indent: "Einzug vergrößern" 25 | }, 26 | link: { 27 | insert: "Link einfügen", 28 | cancel: "Abbrechen", 29 | target: "Link in neuen Fenster öffnen" 30 | }, 31 | image: { 32 | insert: "Bild einfügen", 33 | cancel: "Abbrechen" 34 | }, 35 | html: { 36 | edit: "HTML bearbeiten" 37 | }, 38 | colours: { 39 | black: "Schwarz", 40 | silver: "Silber", 41 | gray: "Grau", 42 | maroon: "Kastanienbraun", 43 | red: "Rot", 44 | purple: "Violett", 45 | green: "Grün", 46 | olive: "Olivgrün", 47 | navy: "Marineblau", 48 | blue: "Blau", 49 | orange: "Orange" 50 | } 51 | }; 52 | }(jQuery)); 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.el-GR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Greek translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["el-GR"] = { 6 | font_styles: { 7 | normal: "Απλό κείμενο", 8 | h1: "Κεφαλίδα 1", 9 | h2: "Κεφαλίδα 2", 10 | h3: "Κεφαλίδα 3" 11 | }, 12 | emphasis: { 13 | bold: "B", 14 | italic: "I", 15 | underline: "U" 16 | }, 17 | lists: { 18 | unordered: "Λίστα με κουκκίδες", 19 | ordered: "Αριθμημένη λίστα", 20 | outdent: "Μείωση εσοχής", 21 | indent: "Αύξηση εσοχής" 22 | }, 23 | link: { 24 | insert: "Εισαγωγή Συνδέσμου", 25 | cancel: "Άκυρο" 26 | }, 27 | image: { 28 | insert: "Εισαγωγή Εικόνας", 29 | cancel: "Άκυρο" 30 | }, 31 | html: { 32 | edit: "Επεξεργασία HTML" 33 | }, 34 | colours: { 35 | black: "Μαύρο", 36 | silver: "Ασημί", 37 | gray: "Γκρι", 38 | maroon: "Καφέ", 39 | red: "Κόκκινο", 40 | purple: "Μωβ", 41 | green: "Πράσινο", 42 | olive: "Λαδί", 43 | navy: "Βαθύ Μπλε", 44 | blue: "Μπλε", 45 | orange: "Πορτοκαλί" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.en-US.js: -------------------------------------------------------------------------------- 1 | /** 2 | * English translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale.en = $.fn.wysihtml5.locale['en-US'] = { 6 | font_styles: { 7 | normal: 'Normal text', 8 | h1: 'Heading 1', 9 | h2: 'Heading 2', 10 | h3: 'Heading 3', 11 | h4: 'Heading 4', 12 | h5: 'Heading 5', 13 | h6: 'Heading 6' 14 | }, 15 | emphasis: { 16 | bold: 'Bold', 17 | italic: 'Italic', 18 | underline: 'Underline', 19 | small: 'Small' 20 | }, 21 | lists: { 22 | unordered: 'Unordered list', 23 | ordered: 'Ordered list', 24 | outdent: 'Outdent', 25 | indent: 'Indent' 26 | }, 27 | link: { 28 | insert: 'Insert link', 29 | cancel: 'Cancel', 30 | target: 'Open link in new window' 31 | }, 32 | image: { 33 | insert: 'Insert image', 34 | cancel: 'Cancel' 35 | }, 36 | html: { 37 | edit: 'Edit HTML' 38 | }, 39 | colours: { 40 | black: 'Black', 41 | silver: 'Silver', 42 | gray: 'Grey', 43 | maroon: 'Maroon', 44 | red: 'Red', 45 | purple: 'Purple', 46 | green: 'Green', 47 | olive: 'Olive', 48 | navy: 'Navy', 49 | blue: 'Blue', 50 | orange: 'Orange' 51 | } 52 | }; 53 | }(jQuery)); 54 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.es-AR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish Argenina translation for bootstrap-wysihtml5 3 | */ 4 | 5 | (function($){ 6 | $.fn.wysihtml5.locale["es-AR"] = { 7 | font_styles: { 8 | normal: "Texto normal", 9 | h1: "Título 1", 10 | h2: "Título 2", 11 | h3: "Título 3", 12 | h4: "Título 4", 13 | h5: "Título 5", 14 | h6: "Título 6" 15 | }, 16 | emphasis: { 17 | bold: "Negrita", 18 | italic: "Itálica", 19 | underline: "Subrayado" 20 | }, 21 | lists: { 22 | ordered: "Lista ordenada", 23 | unordered: "Lista desordenada", 24 | indent: "Agregar sangría", 25 | outdent: "Eliminar sangría" 26 | }, 27 | link: { 28 | insert: "Insertar enlace", 29 | cancel: "Cancelar", 30 | target: "Abrir enlace en una ventana nueva" 31 | }, 32 | image: { 33 | insert: "Insertar imagen", 34 | cancel: "Cancelar" 35 | }, 36 | html: { 37 | edit: "Editar HTML" 38 | }, 39 | colours: { 40 | black: "Negro", 41 | silver: "Plata", 42 | gray: "Gris", 43 | maroon: "Marrón", 44 | red: "Rojo", 45 | purple: "Púrpura", 46 | green: "Verde", 47 | olive: "Oliva", 48 | navy: "Azul Marino", 49 | blue: "Azul", 50 | orange: "Naranja" 51 | } 52 | }; 53 | }(jQuery)); 54 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.es-ES.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["es-ES"] = { 6 | font_styles: { 7 | normal: "Texto normal", 8 | h1: "Título 1", 9 | h2: "Título 2", 10 | h3: "Título 3", 11 | h4: "Título 4", 12 | h5: "Título 5", 13 | h6: "Título 6" 14 | }, 15 | emphasis: { 16 | bold: "Negrita", 17 | italic: "Itálica", 18 | underline: "Subrayado" 19 | }, 20 | lists: { 21 | unordered: "Lista desordenada", 22 | ordered: "Lista ordenada", 23 | outdent: "Eliminar sangría", 24 | indent: "Agregar sangría" 25 | }, 26 | link: { 27 | insert: "Insertar enlace", 28 | cancel: "Cancelar", 29 | target: "Abrir enlace en una ventana nueva" 30 | }, 31 | image: { 32 | insert: "Insertar imagen", 33 | cancel: "Cancelar" 34 | }, 35 | html: { 36 | edit: "Editar HTML" 37 | }, 38 | colours: { 39 | black: "Negro", 40 | silver: "Plata", 41 | gray: "Gris", 42 | maroon: "Marrón", 43 | red: "Rojo", 44 | purple: "Púrpura", 45 | green: "Verde", 46 | olive: "Oliva", 47 | navy: "Azul Marino", 48 | blue: "Azul", 49 | orange: "Naranja" 50 | } 51 | }; 52 | }(jQuery)); 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.fr-FR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * French translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["fr-FR"] = { 6 | font_styles: { 7 | normal: "Texte normal", 8 | h1: "Titre 1", 9 | h2: "Titre 2", 10 | h3: "Titre 3", 11 | h4: "Titre 4", 12 | h5: "Titre 5", 13 | h6: "Titre 6" 14 | }, 15 | emphasis: { 16 | bold: "Gras", 17 | italic: "Italique", 18 | underline: "Souligné", 19 | small: "Petit" 20 | }, 21 | lists: { 22 | unordered: "Liste à puces", 23 | ordered: "Liste numérotée", 24 | outdent: "Diminuer le retrait", 25 | indent: "Augmenter le retrait" 26 | }, 27 | link: { 28 | target: "Ouvrir le lien dans une nouvelle fenêtre", 29 | insert: "Insérer un lien", 30 | cancel: "Annuler" 31 | }, 32 | image: { 33 | insert: "Insérer une image", 34 | cancel: "Annuler" 35 | }, 36 | html: { 37 | edit: "Editer en HTML" 38 | }, 39 | colours: { 40 | black: "Noir", 41 | silver: "Gris clair", 42 | gray: "Gris", 43 | maroon: "Marron", 44 | red: "Rouge", 45 | purple: "Pourpre", 46 | green: "Vert", 47 | olive: "Olive", 48 | navy: "Bleu marine", 49 | blue: "Bleu", 50 | orange: "Orange" 51 | } 52 | }; 53 | }(jQuery)); 54 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.hr-HR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Croatian localisation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["hr-HR"] = { 6 | font_styles: { 7 | normal: "Normalan tekst", 8 | h1: "Naslov 1", 9 | h2: "Naslov 2", 10 | h3: "Naslov 3" 11 | }, 12 | emphasis: { 13 | bold: "Podebljano", 14 | italic: "Nakrivljeno", 15 | underline: "Podcrtano" 16 | }, 17 | lists: { 18 | unordered: "Nesortirana lista", 19 | ordered: "Sortirana lista", 20 | outdent: "Izdubi", 21 | indent: "Udubi" 22 | }, 23 | link: { 24 | insert: "Umetni poveznicu", 25 | cancel: "Otkaži" 26 | }, 27 | image: { 28 | insert: "Umetni sliku", 29 | cancel: "Otkaži" 30 | }, 31 | html: { 32 | edit: "Izmjeni HTML" 33 | }, 34 | colours: { 35 | black: "Crna", 36 | silver: "Srebrna", 37 | gray: "Siva", 38 | maroon: "Kestenjasta", 39 | red: "Crvena", 40 | purple: "Ljubičasta", 41 | green: "Zelena", 42 | olive: "Maslinasta", 43 | navy: "Mornarska", 44 | blue: "Plava", 45 | orange: "Narandžasta" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.hu-HU.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hungarian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["hu-HU"] = { 6 | font_styles: { 7 | normal: "Szövegtörzs", 8 | h1: "Főcím", 9 | h2: "Alcím", 10 | h3: "Harmadrangú alcím", 11 | h4: "Negyedrangú alcím", 12 | h5: "Ötödrangú alcím", 13 | h6: "Hatodrangú alcím" 14 | }, 15 | emphasis: { 16 | bold: "Vastag", 17 | italic: "Dölt", 18 | underline: "Aláhúzott" 19 | }, 20 | lists: { 21 | unordered: "Pontozott lista", 22 | ordered: "Számozott lista", 23 | outdent: "Behúzás növelése", 24 | indent: "Behúzás csökkentése" 25 | }, 26 | link: { 27 | insert: "Hivatkozás beszúrása", 28 | cancel: "Mégsem", 29 | target: "Hivatkozás megnyitása új ablakban" 30 | }, 31 | image: { 32 | insert: "Kép beszúrása", 33 | cancel: "Mégsem" 34 | }, 35 | html: { 36 | edit: "HTML szerkesztése" 37 | }, 38 | colours: { 39 | black: "Fekete", 40 | silver: "Ezüst", 41 | gray: "Szürke", 42 | maroon: "Gesztenyebarna", 43 | red: "Piros", 44 | purple: "Lila", 45 | green: "Zöld", 46 | olive: "Olajzöld", 47 | navy: "Tengerkék", 48 | blue: "Kék", 49 | orange: "Narancs" 50 | } 51 | }; 52 | }(jQuery)); 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.il-HE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hebrew translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["il-HE"] = { 6 | font_styles: { 7 | normal: "רגיל", 8 | h1: "כותרת 1", 9 | h2: "כותרת 2", 10 | h3: "כותרת 3", 11 | h4: "כותרת 4", 12 | h5: "כותרת 5", 13 | h6: "כותרת 6" 14 | }, 15 | emphasis: { 16 | bold: "מודגש", 17 | italic: "טקסט נטוי", 18 | underline: "קו תחתון", 19 | small: "קטן" 20 | }, 21 | lists: { 22 | unordered: "רשימה עם תבליטים", 23 | ordered: "רשימה ממוספרת", 24 | outdent: "הקטן כניסה", 25 | indent: "הגדל כניסה", 26 | indered: "הגדל כניסה" 27 | }, 28 | link: { 29 | insert: "הכנס קישור", 30 | cancel: "בטל קישור" 31 | }, 32 | image: { 33 | insert: "הוסף תמונה", 34 | cancel: "בטל" 35 | }, 36 | html: { 37 | edit: "עורך HTML" 38 | }, 39 | colours: { 40 | black: "שחור", 41 | silver: "כסף", 42 | gray: "אפור", 43 | maroon: "חום", 44 | red: "אדום", 45 | purple: "סגול", 46 | green: "ירוק", 47 | olive: "ירוק זית", 48 | navy: "כחול צי", 49 | blue: "כחול", 50 | orange: "כתום" 51 | } 52 | }; 53 | }(jQuery)); 54 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.it-IT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Italian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["it-IT"] = { 6 | font_styles: { 7 | normal: "Testo normale", 8 | h1: "Titolo 1", 9 | h2: "Titolo 2" 10 | }, 11 | emphasis: { 12 | bold: "Grassetto", 13 | italic: "Corsivo", 14 | underline: "Sottolineato" 15 | }, 16 | lists: { 17 | unordered: "Lista non ordinata", 18 | ordered: "Lista ordinata", 19 | outdent: "Elimina rientro", 20 | indent: "Aggiungi rientro" 21 | }, 22 | link: { 23 | insert: "Inserisci link", 24 | cancel: "Annulla" 25 | }, 26 | image: { 27 | insert: "Inserisci immagine", 28 | cancel: "Annulla" 29 | }, 30 | html: { 31 | edit: "Modifica HTML" 32 | }, 33 | colours: { 34 | black: "Nero", 35 | silver: "Argento", 36 | gray: "Grigio", 37 | maroon: "Marrone", 38 | red: "Rosso", 39 | purple: "Viola", 40 | green: "Verde", 41 | olive: "Oliva", 42 | navy: "Blu Marino", 43 | blue: "Blu", 44 | orange: "Arancio" 45 | } 46 | }; 47 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ja-JP.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Japanese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ja-JP"] = { 6 | font_styles: { 7 | normal: "通常の文字", 8 | h1: "見出し1", 9 | h2: "見出し2", 10 | h3: "見出し3" 11 | }, 12 | emphasis: { 13 | bold: "太字", 14 | italic: "斜体", 15 | underline: "下線" 16 | }, 17 | lists: { 18 | unordered: "点字リスト", 19 | ordered: "数字リスト", 20 | outdent: "左寄せ", 21 | indent: "右寄せ" 22 | }, 23 | link: { 24 | insert: "リンクの挿入", 25 | cancel: "キャンセル" 26 | }, 27 | image: { 28 | insert: "画像の挿入", 29 | cancel: "キャンセル" 30 | }, 31 | html: { 32 | edit: "HTMLを編集" 33 | }, 34 | colours: { 35 | black: "黒色", 36 | silver: "シルバー", 37 | gray: "グレー", 38 | maroon: "栗色", 39 | red: "赤色", 40 | purple: "紫色", 41 | green: "緑色", 42 | olive: "オリーブ", 43 | navy: "ネイビー", 44 | blue: "青色", 45 | orange: "オレンジ" 46 | } 47 | 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ko-KR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Korean translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ko-KR"] = { 6 | font_styles: { 7 | normal: "일반", 8 | h1: "헤드라인 1", 9 | h2: "헤드라인 2", 10 | h3: "헤드라인 3" 11 | }, 12 | emphasis: { 13 | bold: "굵게", 14 | italic: "기울게", 15 | underline: "밑줄" 16 | }, 17 | lists: { 18 | unordered: "기호목록", 19 | ordered: "숫자목록", 20 | outdent: "내어쓰기", 21 | indent: "들여쓰기" 22 | }, 23 | link: { 24 | insert: "링크 삽입", 25 | cancel: "취소" 26 | }, 27 | image: { 28 | insert: "이미지 삽입", 29 | cancel: "취소" 30 | }, 31 | html: { 32 | edit: "HTML 편집" 33 | }, 34 | colours: { 35 | black: "검은색", 36 | silver: "은색", 37 | gray: "회색", 38 | maroon: "고동색", 39 | red: "빨간색", 40 | purple: "보라색", 41 | green: "초록색", 42 | olive: "올리브", 43 | navy: "네이비", 44 | blue: "파란색", 45 | orange: "주황색" 46 | } 47 | 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.lt-LT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lithuanian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["lt-LT"] = { 6 | font_styles: { 7 | normal: "Normalus", 8 | h1: "Antraštė 1", 9 | h2: "Antraštė 2", 10 | h3: "Antraštė 3" 11 | }, 12 | emphasis: { 13 | bold: "Pastorintas", 14 | italic: "Kursyvas", 15 | underline: "Pabrauktas" 16 | }, 17 | lists: { 18 | unordered: "Suženklintas sąrašas", 19 | ordered: "Numeruotas sąrašas", 20 | outdent: "Padidinti įtrauką", 21 | indent: "Sumažinti įtrauką" 22 | }, 23 | link: { 24 | insert: "Įterpti nuorodą", 25 | cancel: "Atšaukti" 26 | }, 27 | image: { 28 | insert: "Įterpti atvaizdą", 29 | cancel: "Atšaukti" 30 | }, 31 | html: { 32 | edit: "Redaguoti HTML" 33 | }, 34 | colours: { 35 | black: "Juoda", 36 | silver: "Sidabrinė", 37 | gray: "Pilka", 38 | maroon: "Kaštoninė", 39 | red: "Raudona", 40 | purple: "Violetinė", 41 | green: "Žalia", 42 | olive: "Gelsvai žalia", 43 | navy: "Tamsiai mėlyna", 44 | blue: "Mėlyna", 45 | orange: "Oranžinė" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.mo-MD.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Moldavian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["mo-MD"] = { 6 | font_styles: { 7 | normal: "Normal", 8 | h1: "Titlu 1", 9 | h2: "Titlu 2" 10 | }, 11 | emphasis: { 12 | bold: "Bold", 13 | italic: "Cursiv", 14 | underline: "Accentuat" 15 | }, 16 | lists: { 17 | unordered: "Neordonata", 18 | ordered: "Ordonata", 19 | outdent: "Margine", 20 | indent: "zimțuire" 21 | }, 22 | link: { 23 | insert: "Indroduce link-ul", 24 | cancel: "Anula" 25 | }, 26 | image: { 27 | insert: "Insera imagina", 28 | cancel: "Anula" 29 | }, 30 | html: { 31 | edit: "Editare HTML" 32 | }, 33 | 34 | colours: { 35 | black: "Negru", 36 | silver: "Argint", 37 | gray: "Gri", 38 | maroon: "Castaniu", 39 | red: "Roșu", 40 | purple: "Violet", 41 | green: "Verde", 42 | olive: "Oliv", 43 | navy: "Marin", 44 | blue: "Albastru", 45 | orange: "Portocaliu" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.nb-NB.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["nb-NB"] = { 6 | font_styles: { 7 | normal: "Normal tekst", 8 | h1: "Tittel 1", 9 | h2: "Tittel 2", 10 | h3: "Tittel 3" 11 | }, 12 | emphasis: { 13 | bold: "Fet", 14 | italic: "Kursiv", 15 | underline: "Understrekning" 16 | }, 17 | lists: { 18 | unordered: "Usortert", 19 | ordered: "Sortert", 20 | outdent: "Detabuler", 21 | indent: "Tabuler", 22 | indered: "Tabuler" 23 | }, 24 | link: { 25 | insert: "Sett inn lenke", 26 | cancel: "Avbryt" 27 | }, 28 | image: { 29 | insert: "Sett inn bilde", 30 | cancel: "Avbryt" 31 | }, 32 | html: { 33 | edit: "Rediger HTML" 34 | }, 35 | colours: { 36 | black: "Svart", 37 | silver: "Sølv", 38 | gray: "Grå", 39 | maroon: "Brun", 40 | red: "Rød", 41 | purple: "Lilla", 42 | green: "Grønn", 43 | olive: "Oliven", 44 | navy: "Marineblå", 45 | blue: "Blå", 46 | orange: "Oransj" 47 | } 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.nl-NL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["nl-NL"] = { 6 | font_styles: { 7 | normal: "Normale Tekst", 8 | h1: "Kop 1", 9 | h2: "Kop 2", 10 | h3: "Kop 3" 11 | }, 12 | emphasis: { 13 | bold: "Vet", 14 | italic: "Cursief", 15 | underline: "Onderstrepen" 16 | }, 17 | lists: { 18 | unordered: "Ongeordende lijst", 19 | ordered: "Geordende lijst", 20 | outdent: "Inspringen verkleinen", 21 | indent: "Inspringen vergroten" 22 | }, 23 | link: { 24 | insert: "Link invoegen", 25 | cancel: "Annuleren" 26 | }, 27 | image: { 28 | insert: "Afbeelding invoegen", 29 | cancel: "Annuleren" 30 | }, 31 | html: { 32 | edit: "HTML bewerken" 33 | }, 34 | colours: { 35 | black: "Zwart", 36 | silver: "Zilver", 37 | gray: "Grijs", 38 | maroon: "Kastanjebruin", 39 | red: "Rood", 40 | purple: "Paars", 41 | green: "Groen", 42 | olive: "Olijfgroen", 43 | navy: "Donkerblauw", 44 | blue: "Blauw", 45 | orange: "Oranje" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.pl-PL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Polish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["pl-PL"] = { 6 | font_styles: { 7 | normal: "Tekst podstawowy", 8 | h1: "Nagłówek 1", 9 | h2: "Nagłówek 2", 10 | h3: "Nagłówek 3", 11 | h4: "Nagłówek 4", 12 | h5: "Nagłówek 5", 13 | h6: "Nagłówek 6" 14 | }, 15 | emphasis: { 16 | bold: "Pogrubienie", 17 | italic: "Kursywa", 18 | underline: "Podkreślenie" 19 | }, 20 | lists: { 21 | unordered: "Lista wypunktowana", 22 | ordered: "Lista numerowana", 23 | outdent: "Zmniejsz wcięcie", 24 | indent: "Zwiększ wcięcie" 25 | }, 26 | link: { 27 | insert: "Wstaw odnośnik", 28 | cancel: "Anuluj", 29 | target: "Otwórz odnośnik w nowym oknie" 30 | }, 31 | image: { 32 | insert: "Wstaw obrazek", 33 | cancel: "Anuluj" 34 | }, 35 | html: { 36 | edit: "Edycja HTML" 37 | }, 38 | colours: { 39 | black: "Czarny", 40 | silver: "Srebrny", 41 | gray: "Szary", 42 | maroon: "Kasztanowy", 43 | red: "Czerwony", 44 | purple: "Fioletowy", 45 | green: "Zielony", 46 | olive: "Oliwkowy", 47 | navy: "Granatowy", 48 | blue: "Niebieski", 49 | orange: "Pomarańczowy" 50 | } 51 | }; 52 | }(jQuery)); 53 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Brazilian portuguese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["pt-BR"] = { 6 | font_styles: { 7 | normal: "Texto normal", 8 | h1: "Título 1", 9 | h2: "Título 2", 10 | h3: "Título 3", 11 | h4: "Título 4", 12 | h5: "Título 5", 13 | h6: "Título 6" 14 | }, 15 | emphasis: { 16 | bold: "Negrito", 17 | italic: "Itálico", 18 | underline: "Sublinhado", 19 | small: "Pequeno" 20 | }, 21 | lists: { 22 | unordered: "Lista", 23 | ordered: "Lista numerada", 24 | outdent: "Remover indentação", 25 | indent: "Indentar" 26 | }, 27 | link: { 28 | insert: "Inserir link", 29 | cancel: "Cancelar", 30 | target: "Abrir link em um nova janela" 31 | }, 32 | image: { 33 | insert: "Inserir imagem", 34 | cancel: "Cancelar" 35 | }, 36 | html: { 37 | edit: "Editar HTML" 38 | }, 39 | colours: { 40 | black: "Preto", 41 | silver: "Prata", 42 | gray: "Cinza", 43 | maroon: "Marrom", 44 | red: "Vermelho", 45 | purple: "Roxo", 46 | green: "Verde", 47 | olive: "Oliva", 48 | navy: "Marinho", 49 | blue: "Azul", 50 | orange: "Laranja" 51 | } 52 | }; 53 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ru-RU.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Russian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ru-RU"] = { 6 | font_styles: { 7 | normal: "Обычный текст", 8 | h1: "Заголовок 1", 9 | h2: "Заголовок 2", 10 | h3: "Заголовок 3" 11 | }, 12 | emphasis: { 13 | bold: "Полужирный", 14 | italic: "Курсив", 15 | underline: "Подчёркнутый" 16 | }, 17 | lists: { 18 | unordered: "Маркированный список", 19 | ordered: "Нумерованный список", 20 | outdent: "Уменьшить отступ", 21 | indent: "Увеличить отступ" 22 | }, 23 | link: { 24 | insert: "Вставить ссылку", 25 | cancel: "Отмена" 26 | }, 27 | image: { 28 | insert: "Вставить изображение", 29 | cancel: "Отмена" 30 | }, 31 | html: { 32 | edit: "HTML код" 33 | }, 34 | colours: { 35 | black: "Чёрный", 36 | silver: "Серебряный", 37 | gray: "Серый", 38 | maroon: "Коричневый", 39 | red: "Красный", 40 | purple: "Фиолетовый", 41 | green: "Зелёный", 42 | olive: "Оливковый", 43 | navy: "Тёмно-синий", 44 | blue: "Синий", 45 | orange: "Оранжевый" 46 | } 47 | }; 48 | }(jQuery)); 49 | 50 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.sk-SK.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovak translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["sk-SK"] = { 6 | font_styles: { 7 | normal: "Normálny text", 8 | h1: "Nadpis úrovne 1", 9 | h2: "Nadpis úrovne 2", 10 | h3: "Nadpis úrovne 3" 11 | }, 12 | emphasis: { 13 | bold: "Tučné", 14 | italic: "Kurzíva", 15 | underline: "Podčiarknuté" 16 | }, 17 | lists: { 18 | unordered: "Neusporiadaný zoznam", 19 | ordered: "Číslovaný zoznam", 20 | outdent: "Zväčšiť odsadenie", 21 | indent: "Zmenšiť odsadenie" 22 | }, 23 | link: { 24 | insert: "Vložiť odkaz", 25 | cancel: "Zrušiť" 26 | }, 27 | image: { 28 | insert: "Vložiť obrázok", 29 | cancel: "Zrušiť" 30 | }, 31 | html: { 32 | edit: "Editovať HTML" 33 | }, 34 | colours: { 35 | black: "Čierna", 36 | silver: "Strieborná", 37 | gray: "Šedá", 38 | maroon: "Bordová", 39 | red: "Červená", 40 | purple: "Fialová", 41 | green: "Zelená", 42 | olive: "Olivová", 43 | navy: "Tmavomodrá", 44 | blue: "Modrá", 45 | orange: "Oranžová" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.sv-SE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swedish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["sv-SE"] = { 6 | font_styles: { 7 | normal: "Normal Text", 8 | h1: "Rubrik 1", 9 | h2: "Rubrik 2", 10 | h3: "Rubrik 3" 11 | }, 12 | emphasis: { 13 | bold: "Fet", 14 | italic: "Kursiv", 15 | underline: "Understruken" 16 | }, 17 | lists: { 18 | unordered: "Osorterad lista", 19 | ordered: "Sorterad lista", 20 | outdent: "Minska indrag", 21 | indent: "Öka indrag" 22 | }, 23 | link: { 24 | insert: "Lägg till länk", 25 | cancel: "Avbryt" 26 | }, 27 | image: { 28 | insert: "Lägg till Bild", 29 | cancel: "Avbryt" 30 | }, 31 | html: { 32 | edit: "Redigera HTML" 33 | }, 34 | colours: { 35 | black: "Svart", 36 | silver: "Silver", 37 | gray: "Grå", 38 | maroon: "Kastaniebrun", 39 | red: "Röd", 40 | purple: "Lila", 41 | green: "Grön", 42 | olive: "Olivgrön", 43 | navy: "Marinblå", 44 | blue: "Blå", 45 | orange: "Orange" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.tr-TR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Turkish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["tr-TR"] = { 6 | font_styles: { 7 | normal: "Normal", 8 | h1: "Başlık 1", 9 | h2: "Başlık 2", 10 | h3: "Başlık 3" 11 | }, 12 | emphasis: { 13 | bold: "Kalın", 14 | italic: "İtalik", 15 | underline: "Altı Çizili" 16 | }, 17 | lists: { 18 | unordered: "Sırasız Liste", 19 | ordered: "Sıralı Liste", 20 | outdent: "Girintiyi Azalt", 21 | indent: "Girintiyi Arttır" 22 | }, 23 | link: { 24 | insert: "Ekle", 25 | cancel: "Vazgeç" 26 | }, 27 | image: { 28 | insert: "Ekle", 29 | cancel: "Vazgeç" 30 | }, 31 | html: { 32 | edit: "HTML Göster" 33 | }, 34 | colours: { 35 | black: "Siyah", 36 | silver: "Gümüş", 37 | gray: "Gri", 38 | maroon: "Vişne Çürüğü", 39 | red: "Kırmızı", 40 | purple: "Pembe", 41 | green: "Yeşil", 42 | olive: "Zeytin Yeşili", 43 | navy: "Lacivert", 44 | blue: "Mavi", 45 | orange: "Turuncu" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.ua-UA.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ukrainian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ua-UA"] = { 6 | font_styles: { 7 | normal: "Звичайний текст", 8 | h1: "Заголовок 1", 9 | h2: "Заголовок 2", 10 | h3: "Заголовок 3" 11 | }, 12 | emphasis: { 13 | bold: "Напівжирний", 14 | italic: "Курсив", 15 | underline: "Підкреслений" 16 | }, 17 | lists: { 18 | unordered: "Маркований список", 19 | ordered: "Нумерований список", 20 | outdent: "Зменшити відступ", 21 | indent: "Збільшити відступ" 22 | }, 23 | link: { 24 | insert: "Вставити посилання", 25 | cancel: "Відміна" 26 | }, 27 | image: { 28 | insert: "Вставити зображення", 29 | cancel: "Відміна" 30 | }, 31 | html: { 32 | edit: "HTML код" 33 | }, 34 | colours: { 35 | black: "Чорний", 36 | silver: "Срібний", 37 | gray: "Сірий", 38 | maroon: "Коричневий", 39 | red: "Червоний", 40 | purple: "Фіолетовий", 41 | green: "Зелений", 42 | olive: "Оливковий", 43 | navy: "Темно-синій", 44 | blue: "Синій", 45 | orange: "Помаранчевий" 46 | } 47 | }; 48 | }(jQuery)); 49 | 50 | -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Chinese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["zh-CN"] = { 6 | font_styles: { 7 | normal: "正文", 8 | h1: "标题 1", 9 | h2: "标题 2", 10 | h3: "标题 3", 11 | h4: "标题 4", 12 | h5: "标题 5", 13 | h6: "标题 6" 14 | }, 15 | emphasis: { 16 | bold: "粗体", 17 | italic: "斜体", 18 | underline: "下划线" 19 | }, 20 | lists: { 21 | unordered: "项目符号", 22 | ordered: "编号", 23 | outdent: "减少缩进", 24 | indent: "增加缩进" 25 | }, 26 | link: { 27 | insert: "插入链接", 28 | cancel: "取消", 29 | target: "新窗口打开链接" 30 | }, 31 | image: { 32 | insert: "插入图片", 33 | cancel: "取消" 34 | }, 35 | html: { 36 | edit: "HTML代码" 37 | }, 38 | colours: { 39 | black: "黑色", 40 | silver: "银色", 41 | gray: "灰色", 42 | maroon: "赤红色", 43 | red: "红色", 44 | purple: "紫色", 45 | green: "绿色", 46 | olive: "橄榄色", 47 | navy: "深蓝色", 48 | blue: "蓝色", 49 | orange: "橙色" 50 | } 51 | }; 52 | }(jQuery)); -------------------------------------------------------------------------------- /src/assets/wysihtml5/vendor/locales/bootstrap-wysihtml5.zh-TW.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Chinese Traditional translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["zh-TW"] = { 6 | font_styles: { 7 | normal: "內文", 8 | h1: "標題 1", 9 | h2: "標題 2", 10 | h3: "標題 3", 11 | h3: "標題 4", 12 | h3: "標題 5", 13 | h3: "標題 6" 14 | }, 15 | emphasis: { 16 | bold: "粗體", 17 | italic: "斜體", 18 | underline: "底線" 19 | }, 20 | lists: { 21 | unordered: "項目符號", 22 | ordered: "編號列表", 23 | outdent: "減少縮排", 24 | indent: "增加縮排" 25 | }, 26 | link: { 27 | insert: "插入超連結", 28 | cancel: "取消", 29 | target: "新窗口打開鏈接" 30 | }, 31 | image: { 32 | insert: "插入圖片連結", 33 | cancel: "取消" 34 | }, 35 | html: { 36 | edit: "HTML原始碼" 37 | }, 38 | colours: { 39 | black: "黑色", 40 | silver: "銀色", 41 | gray: "灰色", 42 | maroon: "栗色", 43 | red: "红色", 44 | purple: "紫色", 45 | green: "綠色", 46 | olive: "橄欖色", 47 | navy: "深藍色", 48 | blue: "藍色", 49 | orange: "橙色" 50 | } 51 | }; 52 | }(jQuery)); --------------------------------------------------------------------------------