├── LICENSE ├── README.md ├── composer.json ├── config └── lego.php ├── public ├── externals │ ├── bootstrap │ │ ├── css │ │ │ └── bootstrap.min.css │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ └── bootstrap.min.js │ └── jquery │ │ └── jquery.min.js ├── i18n │ ├── datetimepicker │ │ ├── bootstrap-datetimepicker-ar-js.dcfdae7982f2af5fef83.js │ │ ├── bootstrap-datetimepicker-az-js.dde2e4f2c67a4bf260ff.js │ │ ├── bootstrap-datetimepicker-bg-js.661a2e36ac355c3df757.js │ │ ├── bootstrap-datetimepicker-bn-js.8bf386ba7b7e269dbe12.js │ │ ├── bootstrap-datetimepicker-ca-js.a285a89a6b4dff82016a.js │ │ ├── bootstrap-datetimepicker-cs-js.5045a3e0ea2e9704c949.js │ │ ├── bootstrap-datetimepicker-da-js.a4c9a83b4151848e1a5b.js │ │ ├── bootstrap-datetimepicker-de-js.a23bf349d6c355a6a5e0.js │ │ ├── bootstrap-datetimepicker-ee-js.060455247109d0472a6d.js │ │ ├── bootstrap-datetimepicker-el-js.d318e3e7aa37f51d3263.js │ │ ├── bootstrap-datetimepicker-es-js.5a96762643591a4a9685.js │ │ ├── bootstrap-datetimepicker-fi-js.f9d1ed61cc7b58c8d2dc.js │ │ ├── bootstrap-datetimepicker-fr-js.47f19c2f956ddcf837b7.js │ │ ├── bootstrap-datetimepicker-he-js.9bcfbbd36a77ff7bfdc0.js │ │ ├── bootstrap-datetimepicker-hr-js.7e917d03c0076d956943.js │ │ ├── bootstrap-datetimepicker-hu-js.6bb8a63f40f8c83715d4.js │ │ ├── bootstrap-datetimepicker-hy-js.538f2041dd62fa111e45.js │ │ ├── bootstrap-datetimepicker-id-js.2e0bf45b79f31633b963.js │ │ ├── bootstrap-datetimepicker-is-js.d8b4d1df97b634741eb2.js │ │ ├── bootstrap-datetimepicker-it-js.6d677a32c9fc6fb2bdc5.js │ │ ├── bootstrap-datetimepicker-ja-js.3fac121aaaeebb4ae9eb.js │ │ ├── bootstrap-datetimepicker-ka-js.d63e952a54e7841b7de5.js │ │ ├── bootstrap-datetimepicker-ko-js.3c15bee3bca9b33f38e0.js │ │ ├── bootstrap-datetimepicker-lt-js.cc50d21967ba0d011e4e.js │ │ ├── bootstrap-datetimepicker-lv-js.340d613da6da423dc0fd.js │ │ ├── bootstrap-datetimepicker-ms-js.d05067d7ef73ffefa560.js │ │ ├── bootstrap-datetimepicker-nb-js.f226d5122797c297d565.js │ │ ├── bootstrap-datetimepicker-nl-js.a6ec644d45d2e1c17735.js │ │ ├── bootstrap-datetimepicker-no-js.cc73457df1de4f0b86f1.js │ │ ├── bootstrap-datetimepicker-pl-js.e9fe121b0584dc0c2bd5.js │ │ ├── bootstrap-datetimepicker-pt-BR-js.86af93ff0bce41b7d2f1.js │ │ ├── bootstrap-datetimepicker-pt-js.35f07c05116673efe07c.js │ │ ├── bootstrap-datetimepicker-ro-js.508aa52905b33d96f3e4.js │ │ ├── bootstrap-datetimepicker-rs-js.39936008e77cac4c31b0.js │ │ ├── bootstrap-datetimepicker-rs-latin-js.f52086c6bc750a5cc81d.js │ │ ├── bootstrap-datetimepicker-ru-js.6d0263820f4a75a3b101.js │ │ ├── bootstrap-datetimepicker-sk-js.a89c7e8287cfc71e51fc.js │ │ ├── bootstrap-datetimepicker-sl-js.6e8d5f2faedab0e362d8.js │ │ ├── bootstrap-datetimepicker-sv-js.b810972205cc19deb076.js │ │ ├── bootstrap-datetimepicker-sw-js.ed03be04a9b0f2e07f0f.js │ │ ├── bootstrap-datetimepicker-th-js.482c78914f31fd1e93e4.js │ │ ├── bootstrap-datetimepicker-tr-js.c43ccdd7f6ae9de51567.js │ │ ├── bootstrap-datetimepicker-ua-js.cd3f2b4d8f13ef1fee89.js │ │ ├── bootstrap-datetimepicker-uk-js.d20c5536bd1501fa2050.js │ │ ├── bootstrap-datetimepicker-zh-CN-js.56c950f9824976bca47f.js │ │ └── bootstrap-datetimepicker-zh-TW-js.2e3f53033a6fd0949ff0.js │ └── select2 │ │ ├── af-js.ec340a81c959d063f256.js │ │ ├── ar-js.08b200d6b369e306974d.js │ │ ├── az-js.34b9bcc0ed2e38029003.js │ │ ├── bg-js.642b45c4a8dcfc7480ae.js │ │ ├── bn-js.665272c2eea4de274630.js │ │ ├── bs-js.3dea55ae49ef0ac972fc.js │ │ ├── ca-js.f191ead7a673e77b4850.js │ │ ├── cs-js.df09e4ea468d376d5177.js │ │ ├── da-js.fe4142280f95657c2abb.js │ │ ├── de-js.9e40ca4e0eff758b4877.js │ │ ├── dsb-js.bcdeca4ecbe9c2cf192b.js │ │ ├── el-js.3434cd8fd330ee156d69.js │ │ ├── en-js.c197ccae633d5289eb6a.js │ │ ├── es-js.d4820e2271b54c63fdf6.js │ │ ├── et-js.6c384c9dbecbc8db3941.js │ │ ├── eu-js.b2ddbd5e250ede2d91dd.js │ │ ├── fa-js.f6952d8791fab550e2c5.js │ │ ├── fi-js.28356faf7bf513244d60.js │ │ ├── fr-js.9a2040860eacc2a11852.js │ │ ├── gl-js.92101f8474b5bf6ef1d3.js │ │ ├── he-js.1faa5edab40f26526e66.js │ │ ├── hi-js.e56977f18e4d53c32b01.js │ │ ├── hr-js.3a09c631ca1101a1456a.js │ │ ├── hsb-js.fc0e2d86b5ba37120ae8.js │ │ ├── hu-js.24e79d7f4bb6b181502f.js │ │ ├── hy-js.40adff8f65fcb8fea896.js │ │ ├── id-js.5a011b8529732e199ecb.js │ │ ├── is-js.b0843182ee6f822f2d8e.js │ │ ├── it-js.aed18381767c15f0ec7d.js │ │ ├── ja-js.c481b4f321c9724bbc4b.js │ │ ├── ka-js.09595aa0008fa6656b55.js │ │ ├── km-js.8a82232641d82028c95d.js │ │ ├── ko-js.3804b42745d1a88d493a.js │ │ ├── lt-js.3d37c9d61c6b766658a9.js │ │ ├── lv-js.f1d6069bdf4a34488316.js │ │ ├── mk-js.0a62d7332810b1d93ac0.js │ │ ├── ms-js.2809d5c1abc7baebfa3d.js │ │ ├── nb-js.3a3495ff70d079ac8251.js │ │ ├── ne-js.4bb3d241880a6d4f4a32.js │ │ ├── nl-js.86f5791bd70237fc1883.js │ │ ├── pl-js.d54cc1268f667e5369b9.js │ │ ├── ps-js.0f8653383ab8604f97e8.js │ │ ├── pt-BR-js.6abfbf41017bc9a327d8.js │ │ ├── pt-js.4aeb6eb78feeba4a28ac.js │ │ ├── ro-js.9c15263cb9648eeb8743.js │ │ ├── ru-js.0ef805b369eb9534594e.js │ │ ├── sk-js.9ac957e416a992948b59.js │ │ ├── sl-js.7eeebcee33b04ebdb57c.js │ │ ├── sq-js.ccc48ce9478211b2e333.js │ │ ├── sr-Cyrl-js.d07d0d651d29b91befb9.js │ │ ├── sr-js.f9afaa6bd60ca5423c12.js │ │ ├── sv-js.7195fc8876b069dffb71.js │ │ ├── th-js.f5facfa2591bc61192b2.js │ │ ├── tk-js.7ec1db24952095d48676.js │ │ ├── tr-js.8eacacd262330edb6fba.js │ │ ├── uk-js.adc4dba8b84f88253993.js │ │ ├── vi-js.536e87f04bd53b64b279.js │ │ ├── zh-CN-js.66d72310b4f1e1621959.js │ │ └── zh-TW-js.2b463ebd077918f4163f.js ├── index-de98ef1b89f94a44a9d3.js ├── manifest.json ├── skins │ ├── content │ │ ├── dark │ │ │ ├── content.css │ │ │ └── content.min.css │ │ ├── default │ │ │ ├── content.css │ │ │ └── content.min.css │ │ ├── document │ │ │ ├── content.css │ │ │ └── content.min.css │ │ └── writer │ │ │ ├── content.css │ │ │ └── content.min.css │ └── ui │ │ ├── oxide-dark │ │ ├── content.css │ │ ├── content.inline.css │ │ ├── content.inline.min.css │ │ ├── content.min.css │ │ ├── content.mobile.css │ │ ├── content.mobile.min.css │ │ ├── fonts │ │ │ └── tinymce-mobile.woff │ │ ├── skin.css │ │ ├── skin.min.css │ │ ├── skin.mobile.css │ │ └── skin.mobile.min.css │ │ └── oxide │ │ ├── content.css │ │ ├── content.inline.css │ │ ├── content.inline.min.css │ │ ├── content.min.css │ │ ├── content.mobile.css │ │ ├── content.mobile.min.css │ │ ├── fonts │ │ └── tinymce-mobile.woff │ │ ├── skin.css │ │ ├── skin.min.css │ │ ├── skin.mobile.css │ │ └── skin.mobile.min.css ├── ui-bootstrap-jquery-tinymce.4cf7fcbfd22b5ed0165e.js └── vendors~ui-bootstrap-jquery-tinymce.645a523244c51480c5c5.js ├── resources └── views │ ├── commands │ └── ide-helper │ │ └── layout.php │ ├── default │ ├── README.md │ ├── confirm.blade.php │ ├── field │ │ ├── auto-complete.blade.php │ │ ├── cascade-select.blade.php │ │ ├── checkboxes.blade.php │ │ └── range.blade.php │ ├── filter │ │ ├── inline.blade.php │ │ └── rows.blade.php │ ├── form │ │ ├── field.blade.php │ │ ├── horizontal-form-group.blade.php │ │ └── horizontal.blade.php │ ├── grid │ │ ├── batch-action-form.blade.php │ │ ├── layout.blade.php │ │ ├── list-group.blade.php │ │ └── table.blade.php │ ├── group.blade.php │ ├── layout.blade.php │ ├── message.blade.php │ ├── messages.blade.php │ └── snippets │ │ ├── bottom-buttons.blade.php │ │ └── top-buttons.blade.php │ ├── scripts.blade.php │ ├── scripts.template.blade.php │ └── styles.blade.php ├── src └── Lego │ ├── Commands │ └── GenerateIDEHelper.php │ ├── Contracts │ └── TagStyles.php │ ├── Field │ ├── Concerns │ │ ├── ConditionOfGroup.php │ │ ├── FilterOnly.php │ │ ├── HasConfig.php │ │ ├── HasFieldContainer.php │ │ ├── HasLocale.php │ │ ├── HasOptions.php │ │ ├── HasQueryOperator.php │ │ ├── HasScope.php │ │ ├── HasValidation.php │ │ ├── HasValues.php │ │ └── HtmlOperator.php │ ├── Condition.php │ ├── Field.php │ ├── FieldContainer.php │ ├── FieldLoader.php │ ├── FieldNameSlicer.php │ ├── Group.php │ ├── Provider │ │ ├── AutoComplete.php │ │ ├── CascadeSelect.php │ │ ├── Checkboxes.php │ │ ├── Date.php │ │ ├── DateRange.php │ │ ├── Datetime.php │ │ ├── DatetimeRange.php │ │ ├── Hidden.php │ │ ├── JSON.php │ │ ├── Number.php │ │ ├── NumberRange.php │ │ ├── Radios.php │ │ ├── Readonly.php │ │ ├── RichText.php │ │ ├── Select.php │ │ ├── Select2.php │ │ ├── Text.php │ │ ├── Textarea.php │ │ ├── Time.php │ │ └── TimeRange.php │ └── RangeField.php │ ├── Foundation │ ├── Button.php │ ├── Concerns │ │ ├── HasEvents.php │ │ ├── HasHtmlAttributes.php │ │ ├── HasMode.php │ │ ├── InitializeOperator.php │ │ ├── MessageOperator.php │ │ ├── ModeOperator.php │ │ ├── QueryOperators.php │ │ └── RenderStringOperator.php │ ├── Event.php │ ├── Exceptions │ │ ├── InvalidRegisterData.php │ │ ├── LegoException.php │ │ ├── LegoExportException.php │ │ ├── LegoSaveFail.php │ │ └── NotSupportedException.php │ ├── Facades │ │ └── LegoFields.php │ └── Fields.php │ ├── Lego.php │ ├── LegoRegister.php │ ├── LegoServiceProvider.php │ ├── Operator │ ├── Collection │ │ ├── ArrayQuery.php │ │ ├── ArrayStore.php │ │ └── ObjectStore.php │ ├── Elastic │ │ ├── ElasticClient.php │ │ ├── ElasticLengthAwarePaginator.php │ │ └── ElasticQuery.php │ ├── Eloquent │ │ ├── EloquentQuery.php │ │ ├── EloquentStore.php │ │ └── HasRelation.php │ ├── Finder.php │ ├── Operator.php │ ├── Query.php │ ├── Store.php │ └── SuggestResult.php │ ├── Register │ ├── AutoCompleteMatchHandler.php │ ├── Data.php │ ├── FieldData.php │ ├── FieldSelfDefinedValidation.php │ ├── HighPriorityResponse.php │ └── UserDefinedField.php │ ├── Utility │ ├── Excel.php │ ├── HtmlUtility.php │ └── functions.php │ └── Widget │ ├── Concerns │ ├── ButtonLocations.php │ ├── HasBottomButtons.php │ ├── HasButtons.php │ ├── HasFields.php │ ├── HasFormEvents.php │ ├── HasGroups.php │ ├── HasInput.php │ ├── HasPagination.php │ ├── HasQueryHelpers.php │ ├── Operable.php │ └── RequestOperator.php │ ├── Confirm.php │ ├── Filter.php │ ├── Form.php │ ├── Grid │ ├── Batch.php │ ├── Cell.php │ ├── Concerns │ │ ├── HasBatch.php │ │ └── HasCells.php │ ├── FormatTool.php │ ├── Grid.php │ ├── PipeBreakException.php │ ├── PipeHandler.php │ ├── Pipes.php │ ├── Pipes4Datetime.php │ ├── Pipes4Features.php │ └── Pipes4String.php │ └── Widget.php └── yarn.lock /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 蛋壳公寓 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wutongwan/lego", 3 | "description": "Yet another CRUD widgets for Laravel", 4 | "homepage": "https://github.com/wutongwan/laravel-lego", 5 | "license": "MIT", 6 | "keywords": [ 7 | "crud", 8 | "admin", 9 | "widget" 10 | ], 11 | "authors": [ 12 | { 13 | "name": "zhwei", 14 | "email": "zhwei.yes@gmail.com" 15 | } 16 | ], 17 | "require": { 18 | "php": "^7.1", 19 | "ext-json": "*", 20 | "ezyang/htmlpurifier": "^4.13", 21 | "illuminate/support": "^6.0 || ^7.0", 22 | "laravelcollective/html": "^6.0", 23 | "mobiledetect/mobiledetectlib": "^2.8", 24 | "phpoffice/phpspreadsheet": "^1.14" 25 | }, 26 | "require-dev": { 27 | "box/spout": "^2.7", 28 | "fzaninotto/faker": "^1.9", 29 | "laravel/laravel": "@stable", 30 | "ongr/elasticsearch-dsl": "^6.0", 31 | "phpunit/phpunit": "^7.5.15 || ^8.4 || ^9.0" 32 | }, 33 | "autoload": { 34 | "files": [ 35 | "src/Lego/Utility/functions.php" 36 | ], 37 | "psr-4": { 38 | "Lego\\": "src/Lego/" 39 | } 40 | }, 41 | "autoload-dev": { 42 | "psr-4": { 43 | "Lego\\Tests\\": "tests/", 44 | "Lego\\Demo\\": "demo/app" 45 | } 46 | }, 47 | "suggest": { 48 | "ongr/elasticsearch-dsl": "Required to use the ElasticSearch Query." 49 | }, 50 | "extra": { 51 | "laravel": { 52 | "providers": [ 53 | "Lego\\LegoServiceProvider" 54 | ] 55 | } 56 | }, 57 | "config": { 58 | "sort-packages": true 59 | }, 60 | "prefer-stable": true, 61 | "minimum-stability": "stable" 62 | } 63 | -------------------------------------------------------------------------------- /public/externals/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/externals/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/externals/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/externals/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/externals/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/externals/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/externals/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/externals/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ar-js.dcfdae7982f2af5fef83.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{19:function(n,t,i){(function(n){n.fn.datetimepicker.dates.ar={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["أح","إث","ث","أر","خ","ج","س","أح"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",suffix:[],meridiem:[],rtl:!0}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-az-js.dde2e4f2c67a4bf260ff.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{20:function(a,n,r){(function(a){a.fn.datetimepicker.dates.az={days:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə","Bazar"],daysShort:["B","Be","Ça","Ç","Ca","C","Ş","B"],daysMin:["B","Be","Ça","Ç","Ca","C","Ş","B"],months:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],today:"Bugün",suffix:[],meridiem:[]}}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-bg-js.661a2e36ac355c3df757.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{21:function(n,i,o){(function(n){n.fn.datetimepicker.dates.bg={days:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота","Неделя"],daysShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб","Нед"],daysMin:["Н","П","В","С","Ч","П","С","Н"],months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthsShort:["Ян","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Ное","Дек"],today:"днес",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-bn-js.8bf386ba7b7e269dbe12.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{22:function(n,i,o){(function(n){n.fn.datetimepicker.dates.bn={days:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহষ্পতিবার","শুক্রবার","শনিবার","রবিবার"],daysShort:["রবি","সোম","মঙ্গল","বুধ"," বৃহঃ","শুক্র","শনি","রবি"],daysMin:["রবি","সোম","মঙ্গ","বুধ","বৃহ","শুক্র","শনি","রবি"],months:["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","অগাস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"],monthsShort:["জানু","ফেব্রু","মার্চ","এপ্রি","মে","জুন","জুলা","অগা","সেপ্টে","অক্টো","নভে","ডিসে"],today:"আজ",suffix:[],meridiem:["পূর্বাহ্ণ","অপরাহ্ন"]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ca-js.a285a89a6b4dff82016a.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{23:function(e,i,s){(function(e){e.fn.datetimepicker.dates.ca={days:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte","Diumenge"],daysShort:["Diu","Dil","Dmt","Dmc","Dij","Div","Dis","Diu"],daysMin:["dg","dl","dt","dc","dj","dv","ds","dg"],months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],today:"Avui",suffix:[],meridiem:[]}}).call(this,s(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-cs-js.5045a3e0ea2e9704c949.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{24:function(e,t,n){(function(e){e.fn.datetimepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota","Neděle"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob","Ned"],daysMin:["Ne","Po","Út","St","Čt","Pá","So","Ne"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",suffix:[],meridiem:[],weekStart:1,format:"dd.mm.yyyy"}}).call(this,n(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-da-js.a4c9a83b4151848e1a5b.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{25:function(a,n,r){(function(a){a.fn.datetimepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør","Søn"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø","Sø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",suffix:[],meridiem:[]}}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-de-js.a23bf349d6c355a6a5e0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{26:function(e,t,n){(function(e){e.fn.datetimepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",suffix:[],meridiem:[],weekStart:1,format:"dd.mm.yyyy"}}).call(this,n(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ee-js.060455247109d0472a6d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{27:function(e,a,t){(function(e){e.fn.datetimepicker.dates.ee={days:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev","Pühapäev"],daysShort:["P","E","T","K","N","R","L","P"],daysMin:["P","E","T","K","N","R","L","P"],months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthsShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],today:"Täna",suffix:[],meridiem:[],weekStart:1,format:"dd.mm.yyyy hh:ii"}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-el-js.d318e3e7aa37f51d3263.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{28:function(n,i,o){(function(n){n.fn.datetimepicker.dates.el={days:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο","Κυριακή"],daysShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ","Κυρ"],daysMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα","Κυ"],months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μάι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],today:"Σήμερα",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-es-js.5a96762643591a4a9685.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{29:function(o,e,i){(function(o){o.fn.datetimepicker.dates.es={days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],daysShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy",suffix:[],meridiem:[]}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-fi-js.f9d1ed61cc7b58c8d2dc.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{30:function(u,a,i){(function(u){u.fn.datetimepicker.dates.fi={days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai","sunnuntai"],daysShort:["sun","maa","tii","kes","tor","per","lau","sun"],daysMin:["su","ma","ti","ke","to","pe","la","su"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tam","hel","maa","huh","tou","kes","hei","elo","syy","lok","mar","jou"],today:"tänään",suffix:[],meridiem:[]}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-fr-js.47f19c2f956ddcf837b7.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{31:function(e,i,a){(function(e){e.fn.datetimepicker.dates.fr={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],daysMin:["D","L","Ma","Me","J","V","S","D"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fev","Mar","Avr","Mai","Jui","Jul","Aou","Sep","Oct","Nov","Dec"],today:"Aujourd'hui",suffix:[],meridiem:["am","pm"],weekStart:1,format:"dd/mm/yyyy hh:ii"}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-he-js.9bcfbbd36a77ff7bfdc0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{32:function(n,t,i){(function(n){n.fn.datetimepicker.dates.he={days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"],daysShort:["א","ב","ג","ד","ה","ו","ש","א"],daysMin:["א","ב","ג","ד","ה","ו","ש","א"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthsShort:["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],today:"היום",suffix:[],meridiem:[],rtl:!0}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-hr-js.7e917d03c0076d956943.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{33:function(a,e,o){(function(a){a.fn.datetimepicker.dates.hr={days:["Nedjelja","Ponedjelja","Utorak","Srijeda","Četrtak","Petak","Subota","Nedjelja"],daysShort:["Ned","Pon","Uto","Srr","Čet","Pet","Sub","Ned"],daysMin:["Ne","Po","Ut","Sr","Če","Pe","Su","Ne"],months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthsShort:["Sije","Velj","Ožu","Tra","Svi","Lip","Jul","Kol","Ruj","Lis","Stu","Pro"],today:"Danas",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-hu-js.6bb8a63f40f8c83715d4.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{34:function(e,s,t){(function(e){e.fn.datetimepicker.dates.hu={days:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat","Vasárnap"],daysShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo","Vas"],daysMin:["V","H","K","Sze","Cs","P","Szo","V"],months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthsShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Sze","Okt","Nov","Dec"],today:"Ma",suffix:[],meridiem:[],weekStart:1}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-hy-js.538f2041dd62fa111e45.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{35:function(n,i,o){(function(n){n.fn.datetimepicker.dates.hy={days:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ","Կիրակի"],daysShort:["Կիր","Երկ","Երք","Չոր","Հնգ","Ուր","Շաբ","Կիր"],daysMin:["Կի","Եկ","Եք","Չո","Հի","Ու","Շա","Կի"],months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthsShort:["Հնվ","Փետ","Մար","Ապր","Մայ","Հուն","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],today:"Այսօր",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-id-js.2e0bf45b79f31633b963.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{36:function(a,e,i){(function(a){a.fn.datetimepicker.dates.id={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu"],daysShort:["Mng","Sen","Sel","Rab","Kam","Jum","Sab","Mng"],daysMin:["Mg","Sn","Sl","Ra","Ka","Ju","Sa","Mg"],months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ags","Sep","Okt","Nov","Des"],today:"Hari Ini",suffix:[],meridiem:[],weekStart:1,format:"dd/mm/yyyy hh:ii:ss"}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-is-js.d8b4d1df97b634741eb2.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{37:function(a,r,u){(function(a){a.fn.datetimepicker.dates.is={days:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur","Sunnudagur"],daysShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau","Sun"],daysMin:["Su","Má","Þr","Mi","Fi","Fö","La","Su"],months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],today:"Í Dag",suffix:[],meridiem:[]}}).call(this,u(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-it-js.6d677a32c9fc6fb2bdc5.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[19],{38:function(e,i,o){(function(e){e.fn.datetimepicker.dates.it={days:["Domenica","Lunedi","Martedi","Mercoledi","Giovedi","Venerdi","Sabato","Domenica"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab","Dom"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa","Do"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",suffix:[],meridiem:[],weekStart:1,format:"dd/mm/yyyy hh:ii:ss"}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ja-js.3fac121aaaeebb4ae9eb.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[20],{39:function(n,i,o){(function(n){n.fn.datetimepicker.dates.ja={days:["日曜","月曜","火曜","水曜","木曜","金曜","土曜","日曜"],daysShort:["日","月","火","水","木","金","土","日"],daysMin:["日","月","火","水","木","金","土","日"],months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ka-js.d63e952a54e7841b7de5.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[21],{40:function(n,i,o){(function(n){n.fn.datetimepicker.dates.ka={days:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი","კვირა"],daysShort:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ","კვი"],daysMin:["კვ","ორ","სა","ოთ","ხუ","პა","შა","კვ"],months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthsShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],today:"დღეს",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ko-js.3c15bee3bca9b33f38e0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[22],{41:function(n,o,i){(function(n){n.fn.datetimepicker.dates.ko={days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일","일요일"],daysShort:["일","월","화","수","목","금","토","일"],daysMin:["일","월","화","수","목","금","토","일"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],suffix:[],meridiem:["오전","오후"],today:"오늘"}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-lt-js.cc50d21967ba0d011e4e.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[23],{42:function(i,s,a){(function(i){i.fn.datetimepicker.dates.lt={days:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis","Sekmadienis"],daysShort:["S","Pr","A","T","K","Pn","Š","S"],daysMin:["Sk","Pr","An","Tr","Ke","Pn","Št","Sk"],months:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthsShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],today:"Šiandien",suffix:[],meridiem:[],weekStart:1}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-lv-js.340d613da6da423dc0fd.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[24],{43:function(e,i,t){(function(e){e.fn.datetimepicker.dates.lv={days:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena","Svētdiena"],daysShort:["Sv","P","O","T","C","Pk","S","Sv"],daysMin:["Sv","Pr","Ot","Tr","Ce","Pk","St","Sv"],months:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec."],today:"Šodien",suffix:[],meridiem:[],weekStart:1}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ms-js.d05067d7ef73ffefa560.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[25],{44:function(a,e,i){(function(a){a.fn.datetimepicker.dates.ms={days:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu","Ahad"],daysShort:["Aha","Isn","Sel","Rab","Kha","Jum","Sab","Aha"],daysMin:["Ah","Is","Se","Ra","Kh","Ju","Sa","Ah"],months:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],today:"Hari Ini",suffix:[],meridiem:[]}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-nb-js.f226d5122797c297d565.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[26],{45:function(a,n,r){(function(a){a.fn.datetimepicker.dates.nb={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør","Søn"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø","Sø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I Dag",suffix:[],meridiem:[]}}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-nl-js.a6ec644d45d2e1c17735.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[27],{46:function(a,e,o){(function(a){a.fn.datetimepicker.dates.nl={days:["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],daysShort:["Zo","Ma","Di","Wo","Do","Vr","Za","Zo"],daysMin:["Zo","Ma","Di","Wo","Do","Vr","Za","Zo"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Vandaag",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-no-js.cc73457df1de4f0b86f1.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[28],{47:function(a,n,r){(function(a){a.fn.datetimepicker.dates.no={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør","Søn"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø","Sø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I Dag",suffix:[],meridiem:[]}}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-pl-js.e9fe121b0584dc0c2bd5.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[29],{48:function(i,e,t){(function(i){i.fn.datetimepicker.dates.pl={days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota","Niedziela"],daysShort:["Nie","Pn","Wt","Śr","Czw","Pt","So","Nie"],daysMin:["N","Pn","Wt","Śr","Cz","Pt","So","N"],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthsShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],today:"Dzisiaj",suffix:[],meridiem:[],weekStart:1}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-pt-BR-js.86af93ff0bce41b7d2f1.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[30],{49:function(o,e,a){(function(o){o.fn.datetimepicker.dates["pt-BR"]={format:"dd/mm/yyyy",days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa","Do"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",suffix:[],meridiem:[]}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-pt-js.35f07c05116673efe07c.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[31],{50:function(o,e,a){(function(o){o.fn.datetimepicker.dates.pt={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa","Do"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],suffix:[],meridiem:[],today:"Hoje"}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ro-js.508aa52905b33d96f3e4.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[32],{51:function(i,e,u){(function(i){i.fn.datetimepicker.dates.ro={days:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă","Duminică"],daysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm","Dum"],daysMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ","Du"],months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthsShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],today:"Astăzi",suffix:[],meridiem:[],weekStart:1}}).call(this,u(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-rs-js.39936008e77cac4c31b0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[33],{53:function(n,s,i){(function(n){n.fn.datetimepicker.dates.rs={days:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота","Недеља"],daysShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб","Нед"],daysMin:["Н","По","У","Ср","Ч","Пе","Су","Н"],months:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthsShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],today:"Данас",suffix:[],meridiem:[]}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-rs-latin-js.f52086c6bc750a5cc81d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[34],{52:function(e,a,t){(function(e){e.fn.datetimepicker.dates.rs={days:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota","Nedelja"],daysShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub","Ned"],daysMin:["N","Po","U","Sr","Č","Pe","Su","N"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",suffix:[],meridiem:[]}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ru-js.6d0263820f4a75a3b101.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[35],{54:function(n,i,o){(function(n){n.fn.datetimepicker.dates.ru={days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"],daysShort:["Вск","Пнд","Втр","Срд","Чтв","Птн","Суб","Вск"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб","Вс"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-sk-js.a89c7e8287cfc71e51fc.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[36],{55:function(e,t,o){(function(e){e.fn.datetimepicker.dates.sk={days:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota","Nedeľa"],daysShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob","Ned"],daysMin:["Ne","Po","Ut","St","Št","Pi","So","Ne"],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],today:"Dnes",suffix:[],meridiem:[],weekStart:1,format:"dd.mm.yyyy"}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-sl-js.6e8d5f2faedab0e362d8.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[37],{56:function(e,o,a){(function(e){e.fn.datetimepicker.dates.sl={days:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota","Nedelja"],daysShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob","Ned"],daysMin:["Ne","Po","To","Sr","Če","Pe","So","Ne"],months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danes",suffix:[],meridiem:[]}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-sv-js.b810972205cc19deb076.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[38],{57:function(a,n,e){(function(a){a.fn.datetimepicker.dates.sv={days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],daysShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör","Sön"],daysMin:["Sö","Må","Ti","On","To","Fr","Lö","Sö"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",suffix:[],meridiem:[]}}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-sw-js.ed03be04a9b0f2e07f0f.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[39],{58:function(a,i,e){(function(a){a.fn.datetimepicker.dates.sw={days:["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi","Jumapili"],daysShort:["J2","J3","J4","J5","Alh","Ij","J1","J2"],daysMin:["2","3","4","5","A","I","1","2"],months:["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],monthsShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Des"],today:"Leo",suffix:[],meridiem:[]}}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-th-js.482c78914f31fd1e93e4.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[40],{59:function(n,t,i){(function(n){n.fn.datetimepicker.dates.th={days:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"],daysShort:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],daysMin:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthsShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],today:"วันนี้",suffix:[],meridiem:[]}}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-tr-js.c43ccdd7f6ae9de51567.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[41],{60:function(a,s,t){(function(a){a.fn.datetimepicker.dates.tr={days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi","Pazar"],daysShort:["Pz","Pzt","Sal","Çrş","Prş","Cu","Cts","Pz"],daysMin:["Pz","Pzt","Sa","Çr","Pr","Cu","Ct","Pz"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthsShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],today:"Bugün",suffix:[],meridiem:[]}}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-ua-js.cd3f2b4d8f13ef1fee89.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[42],{61:function(t,n,a){(function(t){t.fn.datetimepicker.dates.ua={days:["Неділя","Понеділок","Вівторок","Середа","Четверг","П'ятниця","Субота","Неділя"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб","Нед"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб","Нд"],months:["Cічень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Квт","Трв","Чер","Лип","Сер","Вер","Жов","Лис","Грд"],today:"Сьогодні",weekStart:1}}).call(this,a(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-uk-js.d20c5536bd1501fa2050.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[43],{62:function(n,i,o){(function(n){n.fn.datetimepicker.dates.uk={days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота","Неділя"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб","Нед"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб","Нд"],months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],today:"Сьогодні",suffix:[],meridiem:[]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-zh-CN-js.56c950f9824976bca47f.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[44],{63:function(n,i,o){(function(n){n.fn.datetimepicker.dates["zh-CN"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日"],daysShort:["周日","周一","周二","周三","周四","周五","周六","周日"],daysMin:["日","一","二","三","四","五","六","日"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],today:"今天",suffix:[],meridiem:["上午","下午"]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/datetimepicker/bootstrap-datetimepicker-zh-TW-js.2e3f53033a6fd0949ff0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[45],{64:function(n,i,o){(function(n){n.fn.datetimepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日"],daysShort:["周日","周一","周二","周三","周四","周五","周六","周日"],daysMin:["日","一","二","三","四","五","六","日"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],today:"今天",suffix:[],meridiem:["上午","下午"]}}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/af-js.ec340a81c959d063f256.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[46],{65:function(e,n,t){(function(e){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var n=e.fn.select2.amd;n.define("select2/i18n/af",[],(function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Verwyders asseblief "+n+" character";return 1!=n&&(t+="s"),t},inputTooShort:function(e){return"Voer asseblief "+(e.minimum-e.input.length)+" of meer karakters"},loadingMore:function(){return"Meer resultate word gelaai…"},maximumSelected:function(e){var n="Kies asseblief net "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besig…"},removeAllItems:function(){return"Verwyder alle items"}}})),n.define,n.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ar-js.08b200d6b369e306974d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[47],{66:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ar",[],(function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(n){return"الرجاء حذف "+(n.input.length-n.maximum)+" عناصر"},inputTooShort:function(n){return"الرجاء إضافة "+(n.minimum-n.input.length)+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(n){return"تستطيع إختيار "+n.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"},removeAllItems:function(){return"قم بإزالة كل العناصر"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/az-js.34b9bcc0ed2e38029003.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[48],{67:function(n,i,e){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var i=n.fn.select2.amd;i.define("select2/i18n/az",[],(function(){return{inputTooLong:function(n){return n.input.length-n.maximum+" simvol silin"},inputTooShort:function(n){return n.minimum-n.input.length+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(n){return"Sadəcə "+n.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"},removeAllItems:function(){return"Bütün elementləri sil"}}})),i.define,i.require}()}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/bg-js.642b45c4a8dcfc7480ae.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[49],{68:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/bg",[],(function(){return{inputTooLong:function(n){var e=n.input.length-n.maximum,t="Моля въведете с "+e+" по-малко символ";return e>1&&(t+="a"),t},inputTooShort:function(n){var e=n.minimum-n.input.length,t="Моля въведете още "+e+" символ";return e>1&&(t+="a"),t},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(n){var e="Можете да направите до "+n.maximum+" ";return n.maximum>1?e+="избора":e+="избор",e},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"},removeAllItems:function(){return"Премахнете всички елементи"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/bn-js.665272c2eea4de274630.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[50],{69:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/bn",[],(function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(n){var e=n.input.length-n.maximum,i="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।";return 1!=e&&(i="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।"),i},inputTooShort:function(n){return n.minimum-n.input.length+" টি অক্ষর অথবা অধিক অক্ষর লিখুন।"},loadingMore:function(){return"আরো ফলাফল লোড হচ্ছে ..."},maximumSelected:function(n){var e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।";return 1!=n.maximum&&(e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।"),e},noResults:function(){return"কোন ফলাফল পাওয়া যায়নি।"},searching:function(){return"অনুসন্ধান করা হচ্ছে ..."}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/bs-js.3dea55ae49ef0ac972fc.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[51],{70:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/bs",[],(function(){function n(n,e,t,i){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?t:i}return{errorLoading:function(){return"Preuzimanje nije uspijelo."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Obrišite "+t+" simbol"+n(t,"","a","a")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ukucajte bar još "+t+" simbol"+n(t,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(e){return"Možete izabrati samo "+e.maximum+" stavk"+n(e.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Uklonite sve stavke"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ca-js.f191ead7a673e77b4850.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[52],{71:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ca",[],(function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(n){var e=n.input.length-n.maximum;return"Si us plau, elimina "+e+" car"+(1==e?"àcter":"àcters")},inputTooShort:function(n){var e=n.minimum-n.input.length;return"Si us plau, introdueix "+e+" car"+(1==e?"àcter":"àcters")},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(n){var e="Només es pot seleccionar "+n.maximum+" element";return 1!=n.maximum&&(e+="s"),e},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"},removeAllItems:function(){return"Treu tots els elements"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/cs-js.df09e4ea468d376d5177.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[53],{72:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/cs",[],(function(){function n(n,e){switch(n){case 2:return e?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(e){var t=e.input.length-e.maximum;return 1==t?"Prosím, zadejte o jeden znak méně.":t<=4?"Prosím, zadejte o "+n(t,!0)+" znaky méně.":"Prosím, zadejte o "+t+" znaků méně."},inputTooShort:function(e){var t=e.minimum-e.input.length;return 1==t?"Prosím, zadejte ještě jeden znak.":t<=4?"Prosím, zadejte ještě další "+n(t,!0)+" znaky.":"Prosím, zadejte ještě dalších "+t+" znaků."},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(e){var t=e.maximum;return 1==t?"Můžete zvolit jen jednu položku.":t<=4?"Můžete zvolit maximálně "+n(t,!1)+" položky.":"Můžete zvolit maximálně "+t+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"Vyhledávání…"},removeAllItems:function(){return"Odstraňte všechny položky"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/da-js.fe4142280f95657c2abb.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[54],{73:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/da",[],(function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(n){return"Angiv venligst "+(n.input.length-n.maximum)+" tegn mindre"},inputTooShort:function(n){return"Angiv venligst "+(n.minimum-n.input.length)+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(n){var e="Du kan kun vælge "+n.maximum+" emne";return 1!=n.maximum&&(e+="r"),e},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/de-js.9e40ca4e0eff758b4877.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[55],{74:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/de",[],(function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(n){return"Bitte "+(n.input.length-n.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(n){return"Bitte "+(n.minimum-n.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(n){var e="Sie können nur "+n.maximum+" Element";return 1!=n.maximum&&(e+="e"),e+" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/dsb-js.bcdeca4ecbe9c2cf192b.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[56],{75:function(n,e,u){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/dsb",[],(function(){var n=["znamuško","znamušce","znamuška","znamuškow"],e=["zapisk","zapiska","zapiski","zapiskow"],u=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njejsu se dali zacytaś."},inputTooLong:function(e){var i=e.input.length-e.maximum;return"Pšosym lašuj "+i+" "+u(i,n)},inputTooShort:function(e){var i=e.minimum-e.input.length;return"Pšosym zapódaj nanejmjenjej "+i+" "+u(i,n)},loadingMore:function(){return"Dalšne wuslědki se zacytaju…"},maximumSelected:function(n){return"Móžoš jano "+n.maximum+" "+u(n.maximum,e)+"wubraś."},noResults:function(){return"Žedne wuslědki namakane"},searching:function(){return"Pyta se…"},removeAllItems:function(){return"Remove all items"}}})),e.define,e.require}()}).call(this,u(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/el-js.3434cd8fd330ee156d69.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[57],{76:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/el",[],(function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(n){var e=n.input.length-n.maximum,t="Παρακαλώ διαγράψτε "+e+" χαρακτήρ";return 1==e&&(t+="α"),1!=e&&(t+="ες"),t},inputTooShort:function(n){return"Παρακαλώ συμπληρώστε "+(n.minimum-n.input.length)+" ή περισσότερους χαρακτήρες"},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(n){var e="Μπορείτε να επιλέξετε μόνο "+n.maximum+" επιλογ";return 1==n.maximum&&(e+="ή"),1!=n.maximum&&(e+="ές"),e},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"},removeAllItems:function(){return"Καταργήστε όλα τα στοιχεία"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/en-js.c197ccae633d5289eb6a.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[58],{77:function(e,n,t){(function(e){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var n=e.fn.select2.amd;n.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Please delete "+n+" character";return 1!=n&&(t+="s"),t},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var n="You can only select "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),n.define,n.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/es-js.d4820e2271b54c63fdf6.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[59],{78:function(n,e,r){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/es",[],(function(){return{errorLoading:function(){return"No se pudieron cargar los resultados"},inputTooLong:function(n){var e=n.input.length-n.maximum;return"Por favor, elimine "+e+" car"+(1==e?"ácter":"acteres")},inputTooShort:function(n){var e=n.minimum-n.input.length;return"Por favor, introduzca "+e+" car"+(1==e?"ácter":"acteres")},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(n){var e="Sólo puede seleccionar "+n.maximum+" elemento";return 1!=n.maximum&&(e+="s"),e},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Eliminar todos los elementos"}}})),e.define,e.require}()}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/et-js.6c384c9dbecbc8db3941.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[60],{79:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/et",[],(function(){return{inputTooLong:function(n){var e=n.input.length-n.maximum,t="Sisesta "+e+" täht";return 1!=e&&(t+="e"),t+" vähem"},inputTooShort:function(n){var e=n.minimum-n.input.length,t="Sisesta "+e+" täht";return 1!=e&&(t+="e"),t+" rohkem"},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(n){var e="Saad vaid "+n.maximum+" tulemus";return 1==n.maximum?e+="e":e+="t",e+" valida"},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"},removeAllItems:function(){return"Eemalda kõik esemed"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/eu-js.b2ddbd5e250ede2d91dd.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[61],{80:function(e,n,t){(function(e){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var n=e.fn.select2.amd;n.define("select2/i18n/eu",[],(function(){return{inputTooLong:function(e){var n=e.input.length-e.maximum,t="Idatzi ";return(t+=1==n?"karaktere bat":n+" karaktere")+" gutxiago"},inputTooShort:function(e){var n=e.minimum-e.input.length,t="Idatzi ";return(t+=1==n?"karaktere bat":n+" karaktere")+" gehiago"},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return 1===e.maximum?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"},removeAllItems:function(){return"Kendu elementu guztiak"}}})),n.define,n.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/fa-js.f6952d8791fab550e2c5.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[62],{81:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/fa",[],(function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(n){return"لطفاً "+(n.input.length-n.maximum)+" کاراکتر را حذف نمایید"},inputTooShort:function(n){return"لطفاً تعداد "+(n.minimum-n.input.length)+" کاراکتر یا بیشتر وارد نمایید"},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(n){return"شما تنها می‌توانید "+n.maximum+" آیتم را انتخاب نمایید"},noResults:function(){return"هیچ نتیجه‌ای یافت نشد"},searching:function(){return"در حال جستجو..."},removeAllItems:function(){return"همه موارد را حذف کنید"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/fi-js.28356faf7bf513244d60.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[63],{82:function(n,t,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var t=n.fn.select2.amd;t.define("select2/i18n/fi",[],(function(){return{errorLoading:function(){return"Tuloksia ei saatu ladattua."},inputTooLong:function(n){return"Ole hyvä ja anna "+(n.input.length-n.maximum)+" merkkiä vähemmän"},inputTooShort:function(n){return"Ole hyvä ja anna "+(n.minimum-n.input.length)+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(n){return"Voit valita ainoastaan "+n.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){return"Haetaan…"},removeAllItems:function(){return"Poista kaikki kohteet"}}})),t.define,t.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/fr-js.9a2040860eacc2a11852.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[64],{83:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/fr",[],(function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(n){var e=n.input.length-n.maximum;return"Supprimez "+e+" caractère"+(e>1?"s":"")},inputTooShort:function(n){var e=n.minimum-n.input.length;return"Saisissez au moins "+e+" caractère"+(e>1?"s":"")},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(n){return"Vous pouvez seulement sélectionner "+n.maximum+" élément"+(n.maximum>1?"s":"")},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"},removeAllItems:function(){return"Supprimer tous les éléments"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/gl-js.92101f8474b5bf6ef1d3.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[65],{84:function(n,e,o){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/gl",[],(function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLong:function(n){var e=n.input.length-n.maximum;return 1===e?"Elimine un carácter":"Elimine "+e+" caracteres"},inputTooShort:function(n){var e=n.minimum-n.input.length;return 1===e?"Engada un carácter":"Engada "+e+" caracteres"},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(n){return 1===n.maximum?"Só pode seleccionar un elemento":"Só pode seleccionar "+n.maximum+" elementos"},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Elimina todos os elementos"}}})),e.define,e.require}()}).call(this,o(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/he-js.1faa5edab40f26526e66.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[66],{85:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/he",[],(function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(n){var e=n.input.length-n.maximum;return"נא למחוק "+(1===e?"תו אחד":e+" תווים")},inputTooShort:function(n){var e=n.minimum-n.input.length,t="נא להכניס ";return(t+=1===e?"תו אחד":e+" תווים")+" או יותר"},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(n){var e="באפשרותך לבחור עד ";return 1===n.maximum?e+="פריט אחד":e+=n.maximum+" פריטים",e},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"},removeAllItems:function(){return"הסר את כל הפריטים"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/hi-js.e56977f18e4d53c32b01.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[67],{86:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/hi",[],(function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(n){var e=n.input.length-n.maximum,t=e+" अक्षर को हटा दें";return e>1&&(t=e+" अक्षरों को हटा दें "),t},inputTooShort:function(n){return"कृपया "+(n.minimum-n.input.length)+" या अधिक अक्षर दर्ज करें"},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(n){return"आप केवल "+n.maximum+" आइटम का चयन कर सकते हैं"},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."},removeAllItems:function(){return"सभी वस्तुओं को हटा दें"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/hr-js.3a09c631ca1101a1456a.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[68],{87:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/hr",[],(function(){function n(n){var e=" "+n+" znak";return n%10<5&&n%10>0&&(n%100<5||n%100>19)?n%10>1&&(e+="a"):e+="ova",e}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(e){return"Unesite "+n(e.input.length-e.maximum)},inputTooShort:function(e){return"Unesite još "+n(e.minimum-e.input.length)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(n){return"Maksimalan broj odabranih stavki je "+n.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Ukloni sve stavke"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/hsb-js.fc0e2d86b5ba37120ae8.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[69],{88:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/hsb",[],(function(){var n=["znamješko","znamješce","znamješka","znamješkow"],e=["zapisk","zapiskaj","zapiski","zapiskow"],i=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njedachu so začitać."},inputTooLong:function(e){var a=e.input.length-e.maximum;return"Prošu zhašej "+a+" "+i(a,n)},inputTooShort:function(e){var a=e.minimum-e.input.length;return"Prošu zapodaj znajmjeńša "+a+" "+i(a,n)},loadingMore:function(){return"Dalše wuslědki so začitaja…"},maximumSelected:function(n){return"Móžeš jenož "+n.maximum+" "+i(n.maximum,e)+"wubrać"},noResults:function(){return"Žane wuslědki namakane"},searching:function(){return"Pyta so…"},removeAllItems:function(){return"Remove all items"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/hu-js.24e79d7f4bb6b181502f.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[70],{89:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/hu",[],(function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(n){return"Túl hosszú. "+(n.input.length-n.maximum)+" karakterrel több, mint kellene."},inputTooShort:function(n){return"Túl rövid. Még "+(n.minimum-n.input.length)+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(n){return"Csak "+n.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"},removeAllItems:function(){return"Távolítson el minden elemet"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/hy-js.40adff8f65fcb8fea896.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[71],{90:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/hy",[],(function(){return{errorLoading:function(){return"Արդյունքները հնարավոր չէ բեռնել։"},inputTooLong:function(n){return"Խնդրում ենք հեռացնել "+(n.input.length-n.maximum)+" նշան"},inputTooShort:function(n){return"Խնդրում ենք մուտքագրել "+(n.minimum-n.input.length)+" կամ ավել նշաններ"},loadingMore:function(){return"Բեռնվում են նոր արդյունքներ․․․"},maximumSelected:function(n){return"Դուք կարող եք ընտրել առավելագույնը "+n.maximum+" կետ"},noResults:function(){return"Արդյունքներ չեն գտնվել"},searching:function(){return"Որոնում․․․"},removeAllItems:function(){return"Հեռացնել բոլոր տարրերը"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/id-js.5a011b8529732e199ecb.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[72],{91:function(n,i,e){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var i=n.fn.select2.amd;i.define("select2/i18n/id",[],(function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(n){return"Hapuskan "+(n.input.length-n.maximum)+" huruf"},inputTooShort:function(n){return"Masukkan "+(n.minimum-n.input.length)+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(n){return"Anda hanya dapat memilih "+n.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Hapus semua item"}}})),i.define,i.require}()}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/is-js.b0843182ee6f822f2d8e.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[73],{92:function(n,t,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var t=n.fn.select2.amd;t.define("select2/i18n/is",[],(function(){return{inputTooLong:function(n){var t=n.input.length-n.maximum,i="Vinsamlegast styttið texta um "+t+" staf";return t<=1?i:i+"i"},inputTooShort:function(n){var t=n.minimum-n.input.length,i="Vinsamlegast skrifið "+t+" staf";return t>1&&(i+="i"),i+" í viðbót"},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(n){return"Þú getur aðeins valið "+n.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"},removeAllItems:function(){return"Fjarlægðu öll atriði"}}})),t.define,t.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/it-js.aed18381767c15f0ec7d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[74],{93:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/it",[],(function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(n){var e=n.input.length-n.maximum;return"Per favore cancella "+e+" caratter"+(1!==e?"i":"e")},inputTooShort:function(n){return"Per favore inserisci "+(n.minimum-n.input.length)+" o più caratteri"},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(n){var e="Puoi selezionare solo "+n.maximum+" element";return 1!==n.maximum?e+="i":e+="o",e},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"},removeAllItems:function(){return"Rimuovi tutti gli oggetti"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ja-js.c481b4f321c9724bbc4b.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[75],{94:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ja",[],(function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(n){return n.input.length-n.maximum+" 文字を削除してください"},inputTooShort:function(n){return"少なくとも "+(n.minimum-n.input.length)+" 文字を入力してください"},loadingMore:function(){return"読み込み中…"},maximumSelected:function(n){return n.maximum+" 件しか選択できません"},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"},removeAllItems:function(){return"すべてのアイテムを削除"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ka-js.09595aa0008fa6656b55.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[76],{95:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ka",[],(function(){return{errorLoading:function(){return"მონაცემების ჩატვირთვა შეუძლებელია."},inputTooLong:function(n){return"გთხოვთ აკრიფეთ "+(n.input.length-n.maximum)+" სიმბოლოთი ნაკლები"},inputTooShort:function(n){return"გთხოვთ აკრიფეთ "+(n.minimum-n.input.length)+" სიმბოლო ან მეტი"},loadingMore:function(){return"მონაცემების ჩატვირთვა…"},maximumSelected:function(n){return"თქვენ შეგიძლიათ აირჩიოთ არაუმეტეს "+n.maximum+" ელემენტი"},noResults:function(){return"რეზულტატი არ მოიძებნა"},searching:function(){return"ძიება…"},removeAllItems:function(){return"ამოიღე ყველა ელემენტი"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/km-js.8a82232641d82028c95d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[77],{96:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/km",[],(function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(n){return"សូមលុបចេញ "+(n.input.length-n.maximum)+" អក្សរ"},inputTooShort:function(n){return"សូមបញ្ចូល"+(n.minimum-n.input.length)+" អក្សរ រឺ ច្រើនជាងនេះ"},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(n){return"អ្នកអាចជ្រើសរើសបានតែ "+n.maximum+" ជម្រើសប៉ុណ្ណោះ"},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."},removeAllItems:function(){return"លុបធាតុទាំងអស់"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ko-js.3804b42745d1a88d493a.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[78],{97:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ko",[],(function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(n){return"너무 깁니다. "+(n.input.length-n.maximum)+" 글자 지워주세요."},inputTooShort:function(n){return"너무 짧습니다. "+(n.minimum-n.input.length)+" 글자 더 입력해주세요."},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(n){return"최대 "+n.maximum+"개까지만 선택 가능합니다."},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"},removeAllItems:function(){return"모든 항목 삭제"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/lt-js.3d37c9d61c6b766658a9.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[79],{98:function(n,i,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var i=n.fn.select2.amd;i.define("select2/i18n/lt",[],(function(){function n(n,i,t,e){return n%10==1&&(n%100<11||n%100>19)?i:n%10>=2&&n%10<=9&&(n%100<11||n%100>19)?t:e}return{inputTooLong:function(i){var t=i.input.length-i.maximum;return"Pašalinkite "+t+" simbol"+n(t,"į","ius","ių")},inputTooShort:function(i){var t=i.minimum-i.input.length;return"Įrašykite dar "+t+" simbol"+n(t,"į","ius","ių")},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(i){return"Jūs galite pasirinkti tik "+i.maximum+" element"+n(i.maximum,"ą","us","ų")},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"},removeAllItems:function(){return"Pašalinti visus elementus"}}})),i.define,i.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/lv-js.f1d6069bdf4a34488316.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[80],{99:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/lv",[],(function(){function n(n,e,i,u){return 11===n?e:n%10==1?i:u}return{inputTooLong:function(e){var i=e.input.length-e.maximum,u="Lūdzu ievadiet par "+i;return(u+=" simbol"+n(i,"iem","u","iem"))+" mazāk"},inputTooShort:function(e){var i=e.minimum-e.input.length;return"Lūdzu ievadiet vēl "+i+" simbol"+n(i,"us","u","us")},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(e){return"Jūs varat izvēlēties ne vairāk kā "+e.maximum+" element"+n(e.maximum,"us","u","us")},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"},removeAllItems:function(){return"Noņemt visus vienumus"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/mk-js.0a62d7332810b1d93ac0.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[81],{100:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/mk",[],(function(){return{inputTooLong:function(n){var e=(n.input.length,n.maximum,"Ве молиме внесете "+n.maximum+" помалку карактер");return 1!==n.maximum&&(e+="и"),e},inputTooShort:function(n){var e=(n.minimum,n.input.length,"Ве молиме внесете уште "+n.maximum+" карактер");return 1!==n.maximum&&(e+="и"),e},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(n){var e="Можете да изберете само "+n.maximum+" ставк";return 1===n.maximum?e+="а":e+="и",e},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"},removeAllItems:function(){return"Отстрани ги сите предмети"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ms-js.2809d5c1abc7baebfa3d.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[82],{101:function(n,a,e){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var a=n.fn.select2.amd;a.define("select2/i18n/ms",[],(function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(n){return"Sila hapuskan "+(n.input.length-n.maximum)+" aksara"},inputTooShort:function(n){return"Sila masukkan "+(n.minimum-n.input.length)+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(n){return"Anda hanya boleh memilih "+n.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Keluarkan semua item"}}})),a.define,a.require}()}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/nb-js.3a3495ff70d079ac8251.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[83],{102:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/nb",[],(function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(n){return"Vennligst fjern "+(n.input.length-n.maximum)+" tegn"},inputTooShort:function(n){return"Vennligst skriv inn "+(n.minimum-n.input.length)+" tegn til"},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(n){return"Du kan velge maks "+n.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"},removeAllItems:function(){return"Fjern alle elementer"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ne-js.4bb3d241880a6d4f4a32.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[84],{103:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ne",[],(function(){return{errorLoading:function(){return"नतिजाहरु देखाउन सकिएन।"},inputTooLong:function(n){var e=n.input.length-n.maximum,i="कृपया "+e+" अक्षर मेटाउनुहोस्।";return 1!=e&&(i+="कृपया "+e+" अक्षरहरु मेटाउनुहोस्।"),i},inputTooShort:function(n){return"कृपया बाँकी रहेका "+(n.minimum-n.input.length)+" वा अरु धेरै अक्षरहरु भर्नुहोस्।"},loadingMore:function(){return"अरु नतिजाहरु भरिँदैछन् …"},maximumSelected:function(n){var e="तँपाई "+n.maximum+" वस्तु मात्र छान्न पाउँनुहुन्छ।";return 1!=n.maximum&&(e="तँपाई "+n.maximum+" वस्तुहरु मात्र छान्न पाउँनुहुन्छ।"),e},noResults:function(){return"कुनै पनि नतिजा भेटिएन।"},searching:function(){return"खोजि हुँदैछ…"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/nl-js.86f5791bd70237fc1883.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[85],{104:function(e,n,t){(function(e){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var n=e.fn.select2.amd;n.define("select2/i18n/nl",[],(function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){return"Gelieve "+(e.input.length-e.maximum)+" karakters te verwijderen"},inputTooShort:function(e){return"Gelieve "+(e.minimum-e.input.length)+" of meer karakters in te voeren"},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var n="Er "+(1==e.maximum?"kan":"kunnen")+" maar "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n+" worden geselecteerd"},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"},removeAllItems:function(){return"Verwijder alle items"}}})),n.define,n.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/pl-js.d54cc1268f667e5369b9.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[86],{105:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/pl",[],(function(){var n=["znak","znaki","znaków"],e=["element","elementy","elementów"],i=function(n,e){return 1===n?e[0]:n>1&&n<=4?e[1]:n>=5?e[2]:void 0};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Usuń "+t+" "+i(t,n)},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Podaj przynajmniej "+t+" "+i(t,n)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(n){return"Możesz zaznaczyć tylko "+n.maximum+" "+i(n.maximum,e)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"},removeAllItems:function(){return"Usuń wszystkie przedmioty"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ps-js.0f8653383ab8604f97e8.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[87],{106:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ps",[],(function(){return{errorLoading:function(){return"پايلي نه سي ترلاسه کېدای"},inputTooLong:function(n){var e=n.input.length-n.maximum,t="د مهربانۍ لمخي "+e+" توری ړنګ کړئ";return 1!=e&&(t=t.replace("توری","توري")),t},inputTooShort:function(n){return"لږ تر لږه "+(n.minimum-n.input.length)+" يا ډېر توري وليکئ"},loadingMore:function(){return"نوري پايلي ترلاسه کيږي..."},maximumSelected:function(n){var e="تاسو يوازي "+n.maximum+" قلم په نښه کولای سی";return 1!=n.maximum&&(e=e.replace("قلم","قلمونه")),e},noResults:function(){return"پايلي و نه موندل سوې"},searching:function(){return"لټول کيږي..."},removeAllItems:function(){return"ټول توکي لرې کړئ"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/pt-BR-js.6abfbf41017bc9a327d8.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[88],{107:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/pt-BR",[],(function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(n){var e=n.input.length-n.maximum,t="Apague "+e+" caracter";return 1!=e&&(t+="es"),t},inputTooShort:function(n){return"Digite "+(n.minimum-n.input.length)+" ou mais caracteres"},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(n){var e="Você só pode selecionar "+n.maximum+" ite";return 1==n.maximum?e+="m":e+="ns",e},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Remover todos os itens"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/pt-js.4aeb6eb78feeba4a28ac.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[89],{108:function(n,e,r){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/pt",[],(function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(n){var e=n.input.length-n.maximum;return"Por favor apague "+e+" "+(1!=e?"caracteres":"caractere")},inputTooShort:function(n){return"Introduza "+(n.minimum-n.input.length)+" ou mais caracteres"},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(n){return"Apenas pode seleccionar "+n.maximum+" "+(1!=n.maximum?"itens":"item")},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"},removeAllItems:function(){return"Remover todos os itens"}}})),e.define,e.require}()}).call(this,r(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ro-js.9c15263cb9648eeb8743.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[90],{109:function(e,n,t){(function(e){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var n=e.fn.select2.amd;n.define("select2/i18n/ro",[],(function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Vă rugăm să ștergeți"+n+" caracter";return 1!==n&&(t+="e"),t},inputTooShort:function(e){return"Vă rugăm să introduceți "+(e.minimum-e.input.length)+" sau mai multe caractere"},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var n="Aveți voie să selectați cel mult "+e.maximum;return n+=" element",1!==e.maximum&&(n+="e"),n},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"},removeAllItems:function(){return"Eliminați toate elementele"}}})),n.define,n.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/ru-js.0ef805b369eb9534594e.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[91],{110:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/ru",[],(function(){function n(n,e,t,u){return n%10<5&&n%10>0&&n%100<5||n%100>20?n%10>1?t:e:u}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(e){var t=e.input.length-e.maximum,u="Пожалуйста, введите на "+t+" символ";return(u+=n(t,"","a","ов"))+" меньше"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Пожалуйста, введите ещё хотя бы "+t+" символ"+n(t,"","a","ов")},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(e){return"Вы можете выбрать не более "+e.maximum+" элемент"+n(e.maximum,"","a","ов")},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"},removeAllItems:function(){return"Удалить все элементы"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sk-js.9ac957e416a992948b59.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[92],{111:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sk",[],(function(){var n={2:function(n){return n?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{errorLoading:function(){return"Výsledky sa nepodarilo načítať."},inputTooLong:function(e){var t=e.input.length-e.maximum;return 1==t?"Prosím, zadajte o jeden znak menej":t>=2&&t<=4?"Prosím, zadajte o "+n[t](!0)+" znaky menej":"Prosím, zadajte o "+t+" znakov menej"},inputTooShort:function(e){var t=e.minimum-e.input.length;return 1==t?"Prosím, zadajte ešte jeden znak":t<=4?"Prosím, zadajte ešte ďalšie "+n[t](!0)+" znaky":"Prosím, zadajte ešte ďalších "+t+" znakov"},loadingMore:function(){return"Načítanie ďalších výsledkov…"},maximumSelected:function(e){return 1==e.maximum?"Môžete zvoliť len jednu položku":e.maximum>=2&&e.maximum<=4?"Môžete zvoliť najviac "+n[e.maximum](!1)+" položky":"Môžete zvoliť najviac "+e.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"},removeAllItems:function(){return"Odstráňte všetky položky"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sl-js.7eeebcee33b04ebdb57c.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[93],{112:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sl",[],(function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTooLong:function(n){var e=n.input.length-n.maximum,i="Prosim zbrišite "+e+" znak";return 2==e?i+="a":1!=e&&(i+="e"),i},inputTooShort:function(n){var e=n.minimum-n.input.length,i="Prosim vpišite še "+e+" znak";return 2==e?i+="a":1!=e&&(i+="e"),i},loadingMore:function(){return"Nalagam več zadetkov…"},maximumSelected:function(n){var e="Označite lahko največ "+n.maximum+" predmet";return 2==n.maximum?e+="a":1!=n.maximum&&(e+="e"),e},noResults:function(){return"Ni zadetkov."},searching:function(){return"Iščem…"},removeAllItems:function(){return"Odstranite vse elemente"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sq-js.ccc48ce9478211b2e333.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[94],{113:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sq",[],(function(){return{errorLoading:function(){return"Rezultatet nuk mund të ngarkoheshin."},inputTooLong:function(n){var e=n.input.length-n.maximum,t="Të lutem fshi "+e+" karakter";return 1!=e&&(t+="e"),t},inputTooShort:function(n){return"Të lutem shkruaj "+(n.minimum-n.input.length)+" ose më shumë karaktere"},loadingMore:function(){return"Duke ngarkuar më shumë rezultate…"},maximumSelected:function(n){var e="Mund të zgjedhësh vetëm "+n.maximum+" element";return 1!=n.maximum&&(e+="e"),e},noResults:function(){return"Nuk u gjet asnjë rezultat"},searching:function(){return"Duke kërkuar…"},removeAllItems:function(){return"Hiq të gjitha sendet"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sr-Cyrl-js.d07d0d651d29b91befb9.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[95],{114:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sr-Cyrl",[],(function(){function n(n,e,t,u){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?t:u}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Обришите "+t+" симбол"+n(t,"","а","а")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Укуцајте бар још "+t+" симбол"+n(t,"","а","а")},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(e){return"Можете изабрати само "+e.maximum+" ставк"+n(e.maximum,"у","е","и")},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"},removeAllItems:function(){return"Уклоните све ставке"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sr-js.f9afaa6bd60ca5423c12.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[96],{115:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sr",[],(function(){function n(n,e,t,i){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?t:i}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Obrišite "+t+" simbol"+n(t,"","a","a")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ukucajte bar još "+t+" simbol"+n(t,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(e){return"Možete izabrati samo "+e.maximum+" stavk"+n(e.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Уклоните све ставке"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/sv-js.7195fc8876b069dffb71.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[97],{116:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/sv",[],(function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(n){return"Vänligen sudda ut "+(n.input.length-n.maximum)+" tecken"},inputTooShort:function(n){return"Vänligen skriv in "+(n.minimum-n.input.length)+" eller fler tecken"},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(n){return"Du kan max välja "+n.maximum+" element"},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"},removeAllItems:function(){return"Ta bort alla objekt"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/th-js.f5facfa2591bc61192b2.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[98],{117:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/th",[],(function(){return{errorLoading:function(){return"ไม่สามารถค้นข้อมูลได้"},inputTooLong:function(n){return"โปรดลบออก "+(n.input.length-n.maximum)+" ตัวอักษร"},inputTooShort:function(n){return"โปรดพิมพ์เพิ่มอีก "+(n.minimum-n.input.length)+" ตัวอักษร"},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(n){return"คุณสามารถเลือกได้ไม่เกิน "+n.maximum+" รายการ"},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"},removeAllItems:function(){return"ลบรายการทั้งหมด"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/tk-js.7ec1db24952095d48676.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[99],{118:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/tk",[],(function(){return{errorLoading:function(){return"Netije ýüklenmedi."},inputTooLong:function(n){return n.input.length-n.maximum+" harp bozuň."},inputTooShort:function(n){return"Ýene-de iň az "+(n.minimum-n.input.length)+" harp ýazyň."},loadingMore:function(){return"Köpräk netije görkezilýär…"},maximumSelected:function(n){return"Diňe "+n.maximum+" sanysyny saýlaň."},noResults:function(){return"Netije tapylmady."},searching:function(){return"Gözlenýär…"},removeAllItems:function(){return"Remove all items"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/tr-js.8eacacd262330edb6fba.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[100],{119:function(n,e,i){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/tr",[],(function(){return{errorLoading:function(){return"Sonuç yüklenemedi"},inputTooLong:function(n){return n.input.length-n.maximum+" karakter daha girmelisiniz"},inputTooShort:function(n){return"En az "+(n.minimum-n.input.length)+" karakter daha girmelisiniz"},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(n){return"Sadece "+n.maximum+" seçim yapabilirsiniz"},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"},removeAllItems:function(){return"Tüm öğeleri kaldır"}}})),e.define,e.require}()}).call(this,i(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/uk-js.adc4dba8b84f88253993.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[101],{120:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/uk",[],(function(){function n(n,e,t,u){return n%100>10&&n%100<15?u:n%10==1?e:n%10>1&&n%10<5?t:u}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(e){return"Будь ласка, видаліть "+(e.input.length-e.maximum)+" "+n(e.maximum,"літеру","літери","літер")},inputTooShort:function(n){return"Будь ласка, введіть "+(n.minimum-n.input.length)+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(e){return"Ви можете вибрати лише "+e.maximum+" "+n(e.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"},removeAllItems:function(){return"Видалити всі елементи"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/vi-js.536e87f04bd53b64b279.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[102],{121:function(n,t,e){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var t=n.fn.select2.amd;t.define("select2/i18n/vi",[],(function(){return{inputTooLong:function(n){return"Vui lòng xóa bớt "+(n.input.length-n.maximum)+" ký tự"},inputTooShort:function(n){return"Vui lòng nhập thêm từ "+(n.minimum-n.input.length)+" ký tự trở lên"},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(n){return"Chỉ có thể chọn được "+n.maximum+" lựa chọn"},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"},removeAllItems:function(){return"Xóa tất cả các mục"}}})),t.define,t.require}()}).call(this,e(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/zh-CN-js.66d72310b4f1e1621959.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[103],{122:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/zh-CN",[],(function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(n){return"请删除"+(n.input.length-n.maximum)+"个字符"},inputTooShort:function(n){return"请再输入至少"+(n.minimum-n.input.length)+"个字符"},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(n){return"最多只能选择"+n.maximum+"个项目"},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"},removeAllItems:function(){return"删除所有项目"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/i18n/select2/zh-TW-js.2b463ebd077918f4163f.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[104],{123:function(n,e,t){(function(n){/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | !function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var e=n.fn.select2.amd;e.define("select2/i18n/zh-TW",[],(function(){return{inputTooLong:function(n){return"請刪掉"+(n.input.length-n.maximum)+"個字元"},inputTooShort:function(n){return"請再輸入"+(n.minimum-n.input.length)+"個字元"},loadingMore:function(){return"載入中…"},maximumSelected:function(n){return"你只能選擇最多"+n.maximum+"項"},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"},removeAllItems:function(){return"刪除所有項目"}}})),e.define,e.require}()}).call(this,t(1))}}]); -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "index.js": "/packages/wutongwan/lego/index-de98ef1b89f94a44a9d3.js" 3 | } -------------------------------------------------------------------------------- /public/skins/content/dark/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | background-color: #2f3742; 9 | color: #dfe0e4; 10 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 11 | line-height: 1.4; 12 | margin: 1rem; 13 | } 14 | a { 15 | color: #4099ff; 16 | } 17 | table { 18 | border-collapse: collapse; 19 | } 20 | table th, 21 | table td { 22 | border: 1px solid #6d737b; 23 | padding: 0.4rem; 24 | } 25 | figure { 26 | display: table; 27 | margin: 1rem auto; 28 | } 29 | figure figcaption { 30 | color: #8a8f97; 31 | display: block; 32 | margin-top: 0.25rem; 33 | text-align: center; 34 | } 35 | hr { 36 | border-color: #6d737b; 37 | border-style: solid; 38 | border-width: 1px 0 0 0; 39 | } 40 | code { 41 | background-color: #6d737b; 42 | border-radius: 3px; 43 | padding: 0.1rem 0.2rem; 44 | } 45 | /* Make text in selected cells in tables dark and readable */ 46 | td[data-mce-selected], 47 | th[data-mce-selected] { 48 | color: #333; 49 | } 50 | .mce-content-body:not([dir=rtl]) blockquote { 51 | border-left: 2px solid #6d737b; 52 | margin-left: 1.5rem; 53 | padding-left: 1rem; 54 | } 55 | .mce-content-body[dir=rtl] blockquote { 56 | border-right: 2px solid #6d737b; 57 | margin-right: 1.5rem; 58 | padding-right: 1rem; 59 | } 60 | -------------------------------------------------------------------------------- /public/skins/content/dark/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table td,table th{border:1px solid #6d737b;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}td[data-mce-selected],th[data-mce-selected]{color:#333}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/skins/content/default/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 9 | line-height: 1.4; 10 | margin: 1rem; 11 | } 12 | table { 13 | border-collapse: collapse; 14 | } 15 | table th, 16 | table td { 17 | border: 1px solid #ccc; 18 | padding: 0.4rem; 19 | } 20 | figure { 21 | display: table; 22 | margin: 1rem auto; 23 | } 24 | figure figcaption { 25 | color: #999; 26 | display: block; 27 | margin-top: 0.25rem; 28 | text-align: center; 29 | } 30 | hr { 31 | border-color: #ccc; 32 | border-style: solid; 33 | border-width: 1px 0 0 0; 34 | } 35 | code { 36 | background-color: #e8e8e8; 37 | border-radius: 3px; 38 | padding: 0.1rem 0.2rem; 39 | } 40 | .mce-content-body:not([dir=rtl]) blockquote { 41 | border-left: 2px solid #ccc; 42 | margin-left: 1.5rem; 43 | padding-left: 1rem; 44 | } 45 | .mce-content-body[dir=rtl] blockquote { 46 | border-right: 2px solid #ccc; 47 | margin-right: 1.5rem; 48 | padding-right: 1rem; 49 | } 50 | -------------------------------------------------------------------------------- /public/skins/content/default/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/skins/content/document/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | @media screen { 8 | html { 9 | background: #f4f4f4; 10 | min-height: 100%; 11 | } 12 | } 13 | body { 14 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 15 | } 16 | @media screen { 17 | body { 18 | background-color: #fff; 19 | box-shadow: 0 0 4px rgba(0, 0, 0, 0.15); 20 | box-sizing: border-box; 21 | margin: 1rem auto 0; 22 | max-width: 820px; 23 | min-height: calc(100vh - 1rem); 24 | padding: 4rem 6rem 6rem 6rem; 25 | } 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | table th, 31 | table td { 32 | border: 1px solid #ccc; 33 | padding: 0.4rem; 34 | } 35 | figure figcaption { 36 | color: #999; 37 | margin-top: 0.25rem; 38 | text-align: center; 39 | } 40 | hr { 41 | border-color: #ccc; 42 | border-style: solid; 43 | border-width: 1px 0 0 0; 44 | } 45 | .mce-content-body:not([dir=rtl]) blockquote { 46 | border-left: 2px solid #ccc; 47 | margin-left: 1.5rem; 48 | padding-left: 1rem; 49 | } 50 | .mce-content-body[dir=rtl] blockquote { 51 | border-right: 2px solid #ccc; 52 | margin-right: 1.5rem; 53 | padding-right: 1rem; 54 | } 55 | -------------------------------------------------------------------------------- /public/skins/content/document/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | @media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/skins/content/writer/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 9 | line-height: 1.4; 10 | margin: 1rem auto; 11 | max-width: 900px; 12 | } 13 | table { 14 | border-collapse: collapse; 15 | } 16 | table th, 17 | table td { 18 | border: 1px solid #ccc; 19 | padding: 0.4rem; 20 | } 21 | figure { 22 | display: table; 23 | margin: 1rem auto; 24 | } 25 | figure figcaption { 26 | color: #999; 27 | display: block; 28 | margin-top: 0.25rem; 29 | text-align: center; 30 | } 31 | hr { 32 | border-color: #ccc; 33 | border-style: solid; 34 | border-width: 1px 0 0 0; 35 | } 36 | code { 37 | background-color: #e8e8e8; 38 | border-radius: 3px; 39 | padding: 0.1rem 0.2rem; 40 | } 41 | .mce-content-body:not([dir=rtl]) blockquote { 42 | border-left: 2px solid #ccc; 43 | margin-left: 1.5rem; 44 | padding-left: 1rem; 45 | } 46 | .mce-content-body[dir=rtl] blockquote { 47 | border-right: 2px solid #ccc; 48 | margin-right: 1.5rem; 49 | padding-right: 1rem; 50 | } 51 | -------------------------------------------------------------------------------- /public/skins/content/writer/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/skins/ui/oxide-dark/content.mobile.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { 8 | /* Note: this file is used inside the content, so isn't part of theming */ 9 | background-color: green; 10 | display: inline-block; 11 | opacity: 0.5; 12 | position: absolute; 13 | } 14 | body { 15 | -webkit-text-size-adjust: none; 16 | } 17 | body img { 18 | /* this is related to the content margin */ 19 | max-width: 96vw; 20 | } 21 | body table img { 22 | max-width: 95%; 23 | } 24 | body { 25 | font-family: sans-serif; 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | -------------------------------------------------------------------------------- /public/skins/ui/oxide-dark/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} 8 | -------------------------------------------------------------------------------- /public/skins/ui/oxide-dark/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/skins/ui/oxide-dark/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /public/skins/ui/oxide/content.mobile.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { 8 | /* Note: this file is used inside the content, so isn't part of theming */ 9 | background-color: green; 10 | display: inline-block; 11 | opacity: 0.5; 12 | position: absolute; 13 | } 14 | body { 15 | -webkit-text-size-adjust: none; 16 | } 17 | body img { 18 | /* this is related to the content margin */ 19 | max-width: 96vw; 20 | } 21 | body table img { 22 | max-width: 95%; 23 | } 24 | body { 25 | font-family: sans-serif; 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | -------------------------------------------------------------------------------- /public/skins/ui/oxide/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} 8 | -------------------------------------------------------------------------------- /public/skins/ui/oxide/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wutongwan/laravel-lego/8ee5801fe4582628b3f7502bf11bcb0cd03abaf2/public/skins/ui/oxide/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /public/ui-bootstrap-jquery-tinymce.4cf7fcbfd22b5ed0165e.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[106],{134:function(n,i,t){"use strict";t.r(i),t.d(i,"default",(function(){return o}));var u=t(125),e=t.n(u);t(126),t(128),t(130),t(132);function o(n){e.a.init({selector:n,menubar:!1,plugins:[]})}}}]); -------------------------------------------------------------------------------- /resources/views/commands/ide-helper/layout.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * Lego IDE Helper file. 5 | */ 6 | 7 | 13 | 14 | namespace Lego\Widget\Concerns { 15 | 16 | /** 17 | * Field 相关逻辑 18 | * ** Magic Add ** 19 | $class) { ?> 20 | * @method \ add(string $fieldName, $fieldDescription = null) 21 | 22 | * 23 | * @see \ 24 | 25 | */ 26 | trait 27 | 28 | { 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /resources/views/default/README.md: -------------------------------------------------------------------------------- 1 | # Bootstrap Views -------------------------------------------------------------------------------- /resources/views/default/confirm.blade.php: -------------------------------------------------------------------------------- 1 | @extends('lego::default.layout') 2 | 3 | @section('__lego-simple-title') 4 | {{ $message }} 5 | @stop 6 | 7 | @section('__lego-simple-body') 8 | 18 | 19 |
20 |

{{ $message }}

21 |

22 | 确认 25 | {{-- 确认按钮之所以默认 disabled 是为了防止通过禁用 JS 跳过等待时间 --}} 26 | 取消 27 |

28 |
29 | @stop 30 | -------------------------------------------------------------------------------- /resources/views/default/field/auto-complete.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 23 | -------------------------------------------------------------------------------- /resources/views/default/field/cascade-select.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /resources/views/default/field/checkboxes.blade.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | @forelse($field->getOptions() as $value => $label) 4 |
5 | 14 |
15 | @empty 16 | 无选项 17 | @endforelse 18 |
19 | -------------------------------------------------------------------------------- /resources/views/default/field/range.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {{ $field->getLower()->toHtmlString() }} 3 | 4 | {{ $field->getUpper()->toHtmlString() }} 5 |
6 | -------------------------------------------------------------------------------- /resources/views/default/filter/inline.blade.php: -------------------------------------------------------------------------------- 1 | @include('lego::default.snippets.top-buttons', ['widget' => $filter]) 2 | 3 | 4 |
7 | @foreach($filter->fields() as $field) 8 |
9 | 10 | {{ $field->toHtmlString() }} 11 |
12 | @endforeach 13 | 14 |
15 | @foreach($filter->getBottomButtons() as $button) 16 | {!! $button !!} 17 | @endforeach 18 |
19 |
20 | 21 | @include('lego::default.snippets.bottom-buttons', ['widget' => $filter]) 22 | -------------------------------------------------------------------------------- /resources/views/default/filter/rows.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | @include('lego::default.filter.inline', ['filter' => $filter, '__gridSystem' => true]) 4 | -------------------------------------------------------------------------------- /resources/views/default/form/field.blade.php: -------------------------------------------------------------------------------- 1 | {!! $field !!} 2 | 3 | @if($field->messages()->any()) 4 | @foreach($field->messages()->all() as $message) 5 |

{!! $message !!}

6 | @endforeach 7 | @endif 8 | @if($field->errors()->any()) 9 | @foreach($field->errors()->all() as $error) 10 |

11 | 12 | {!! $error !!} 13 |

14 | @endforeach 15 | @endif 16 | -------------------------------------------------------------------------------- /resources/views/default/form/horizontal-form-group.blade.php: -------------------------------------------------------------------------------- 1 | errors()->any()) { 4 | $field->getContainer()->setAttribute('class', 'has-error'); 5 | } 6 | ?> 7 |
getContainer()->getAttributesString() !!}> 8 | 14 |
15 | @include('lego::default.form.field', ['field' => $field]) 16 |
17 |
18 | -------------------------------------------------------------------------------- /resources/views/default/form/horizontal.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | @include('lego::default.snippets.top-buttons', ['widget' => $form]) 4 | @include('lego::default.messages', ['object' => $form]) 5 | 6 |
8 | @foreach($form->fields() as $field) 9 | @include('lego::default.form.horizontal-form-group', ['field' => $field]) 10 | @endforeach 11 | 12 | @if($form->isEditable()) 13 | {{ csrf_field() }} 14 | 15 |
16 |
17 | @foreach($form->getBottomButtons() as $button) 18 | {!! $button !!} 19 | @endforeach 20 |
21 |
22 | @endif 23 |
24 | 25 | @include('lego::default.snippets.bottom-buttons', ['widget' => $form]) 26 | 27 | {{-- 动态输入组 --}} 28 |
29 | @foreach($form->groups() as $group) 30 | 31 | @if($group->getCondition()) 32 |
33 | @foreach($group->fields() as $target) 34 |
41 | @endforeach 42 |
43 | @endif 44 | @endforeach 45 | -------------------------------------------------------------------------------- /resources/views/default/grid/batch-action-form.blade.php: -------------------------------------------------------------------------------- 1 | @extends('lego::default.layout') 2 | 3 | @section('__lego-simple-title') 4 | {{ $action->name() }} 5 | @endsection 6 | 7 | @section('__lego-simple-body') 8 | {!! $form->render() !!} 9 | @endsection 10 | -------------------------------------------------------------------------------- /resources/views/default/grid/list-group.blade.php: -------------------------------------------------------------------------------- 1 | @extends('lego::default.grid.layout') 2 | 3 | 7 | 8 | @section('grid-body') 9 | 10 |
11 | 29 |
30 | @stop 31 | -------------------------------------------------------------------------------- /resources/views/default/grid/table.blade.php: -------------------------------------------------------------------------------- 1 | @extends('lego::default.grid.layout') 2 | 3 | 7 | 8 | @section('grid-body') 9 |
10 | 11 | 12 | 13 | @foreach($grid->cells() as $cell) 14 | 15 | @endforeach 16 | 17 | @foreach($grid->paginator() as $row) 18 | 19 | 23 | @foreach($grid->cells() as $cell) 24 | 25 | @endforeach 26 | 27 | @endforeach 28 |
#{{ $cell->description() }}
20 | 22 | {{ $cell->fill($row)->value() }}
29 |
30 | @stop 31 | -------------------------------------------------------------------------------- /resources/views/default/group.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | @foreach($group->fields() as $field) 4 | @include('lego::default.form.horizontal-form-group') 5 | @endforeach 6 | -------------------------------------------------------------------------------- /resources/views/default/layout.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | @yield('__lego-simple-title') 9 | 10 | @include('lego::styles', ['legoInternalView' => true]) 11 | 12 | 13 | 14 |
15 |
16 |
17 | @yield('__lego-simple-body') 18 |
19 |
20 |
21 | 22 | @include('lego::scripts', ['legoInternalView' => true]) 23 | 24 | 25 | -------------------------------------------------------------------------------- /resources/views/default/message.blade.php: -------------------------------------------------------------------------------- 1 | @extends('lego::default.layout') 2 | 3 | @section('__lego-simple-title') 4 | {{ $message }} 5 | @endsection 6 | 7 | 8 | 9 | @section('__lego-simple-body') 10 | 21 | 22 |
23 |

24 | {{ $message }} 25 |

26 |

27 | 28 | 29 | 返回上一页面 30 | 31 |

32 |
33 | @endsection 34 | -------------------------------------------------------------------------------- /resources/views/default/messages.blade.php: -------------------------------------------------------------------------------- 1 | {{-- 信息展示控件 2 | 3 | Params: $object, object with trait \Lego\Helper\MessageOperator 4 | --}} 5 | 6 | @if($object->errors()->any()) 7 |
8 | 13 |
14 | @endif 15 | 16 | @if($object->messages()->any()) 17 |
18 | 23 |
24 | @endif 25 | -------------------------------------------------------------------------------- /resources/views/default/snippets/bottom-buttons.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | @foreach($widget->getButtons('left-bottom') as $button) 4 | {!! $button !!} 5 | @endforeach 6 |
7 | 8 |
9 | @foreach($widget->getButtons('right-bottom') as $button) 10 | {!! $button !!} 11 | @endforeach 12 |
13 |
-------------------------------------------------------------------------------- /resources/views/default/snippets/top-buttons.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | @foreach($widget->getButtons('left-top') as $button) 4 | {!! $button !!} 5 | @endforeach 6 |
7 | 8 |
9 | @foreach($widget->getButtons('right-top') as $button) 10 | {!! $button !!} 11 | @endforeach 12 |
13 |
14 | -------------------------------------------------------------------------------- /resources/views/scripts.blade.php: -------------------------------------------------------------------------------- 1 | {{-- Generated: 此文件基于同目录 `scripts.template.blade.php` 生成得来,请勿手动修改 --}} 2 | @if(config('lego.assets.global.jQuery') || isset($legoInternalView)) 3 | 4 | @endif 5 | @if(config('lego.assets.global.bootstrap') || isset($legoInternalView)) 6 | 7 | @endif 8 | 9 | 10 | @stack('lego-scripts') 11 | -------------------------------------------------------------------------------- /resources/views/scripts.template.blade.php: -------------------------------------------------------------------------------- 1 | @if(config('lego.assets.global.jQuery') || isset($legoInternalView)) 2 | 3 | @endif 4 | @if(config('lego.assets.global.bootstrap') || isset($legoInternalView)) 5 | 6 | @endif 7 | {{-- webpack scripts --}} 8 | 9 | @stack('lego-scripts') 10 | -------------------------------------------------------------------------------- /resources/views/styles.blade.php: -------------------------------------------------------------------------------- 1 | @if(config('lego.assets.global.bootstrap') || isset($legoInternalView)) 2 | 3 | @endif 4 | -------------------------------------------------------------------------------- /src/Lego/Commands/GenerateIDEHelper.php: -------------------------------------------------------------------------------- 1 | line('Does not exists user defined fields'); 28 | if (is_file($path)) { 29 | unlink($path); 30 | } 31 | 32 | return; 33 | } 34 | 35 | $content = view('lego::commands.ide-helper.layout')->with('fields', $fields); 36 | file_put_contents($path, $content); 37 | $this->line("Lego IDE Helper file `{$path}` done."); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Lego/Contracts/TagStyles.php: -------------------------------------------------------------------------------- 1 | fields[$field]; 15 | $this->condition = new Condition($field, $operator, $expected); 16 | 17 | return $this; 18 | } 19 | 20 | /** 21 | * @return Condition 22 | */ 23 | public function getCondition() 24 | { 25 | return $this->condition; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Lego/Field/Concerns/FilterOnly.php: -------------------------------------------------------------------------------- 1 | container = new FieldContainer(); 20 | $this->container->setAttribute('class', ['lego-field-container', 'form-group']); 21 | } 22 | 23 | public function container($attributeOrAttributes, $value = null) 24 | { 25 | $this->container->setAttribute($attributeOrAttributes, $value); 26 | 27 | return $this; 28 | } 29 | 30 | public function containerAttributes() 31 | { 32 | return $this->getContainer()->getFlattenAttributes(); 33 | } 34 | 35 | public function getContainer() 36 | { 37 | return $this->container; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Lego/Field/Concerns/HasLocale.php: -------------------------------------------------------------------------------- 1 | locale(App::getLocale()); // set field's locale. 17 | } 18 | 19 | public function locale($locale) 20 | { 21 | $this->locale = $locale; 22 | 23 | return $this; 24 | } 25 | 26 | public function getLocale() 27 | { 28 | return $this->locale; 29 | } 30 | 31 | public function isLocale($locale) 32 | { 33 | return $this->locale === $locale; 34 | } 35 | 36 | protected function localeIsNotEn() 37 | { 38 | return !$this->isLocale('en'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/Lego/Field/Concerns/HasOptions.php: -------------------------------------------------------------------------------- 1 | 'Active', 'disabled' => 'Disabled']). 11 | * 12 | * @param array $options 13 | * 14 | * @return $this 15 | */ 16 | public function options($options) 17 | { 18 | $this->options = func_num_args() > 1 ? func_get_args() : (array) $options; 19 | 20 | return $this; 21 | } 22 | 23 | /** 24 | * values([1, 2, 3]) === options([1 => 1, 2 => 2, 3 => 3]) 25 | * values(1, 2, 3) === options([1 => 1, 2 => 2, 3 => 3]). 26 | * 27 | * @param array|mixed $values 28 | * 29 | * @return $this 30 | */ 31 | public function values($values) 32 | { 33 | $values = func_num_args() > 1 ? func_get_args() : (array) $values; 34 | $this->options = array_combine($values, $values); 35 | 36 | return $this; 37 | } 38 | 39 | public function getOptions() 40 | { 41 | return $this->options; 42 | } 43 | 44 | /** 45 | * 在 Select 控件中,选项有可能是嵌套数组,所以有此函数. 46 | */ 47 | public function getOptionLabelByValue($value) 48 | { 49 | return $this->getNestedLabel($this->options, $value); 50 | } 51 | 52 | private function getNestedLabel(array $options, $target) 53 | { 54 | foreach ($options as $key => $label) { 55 | if (is_array($label)) { 56 | return $this->getNestedLabel($label, $target); 57 | } 58 | 59 | if ($key === $target) { 60 | return $label; 61 | } 62 | } 63 | 64 | return null; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Lego/Field/Concerns/HasScope.php: -------------------------------------------------------------------------------- 1 | addSelect('floor', 'Floor')->values(['low', 'high']); 28 | * 29 | * - $scope is string 30 | * $field->scope('height'); 31 | * => call model method `scopeHeight($value)` 32 | * => $value could be `low` or `high` 33 | * 34 | * - $scope is Closure 35 | * $field->scope(function (Query $filter, $value) { 36 | * if ($value == 'low') { 37 | * return $filter->whereLte('floor', 10); 38 | * } else { 39 | * return $filter->whereGt('floor', 10); 40 | * } 41 | * }); 42 | * 43 | * @param string|\Closure $scope 44 | * 45 | * @throws \Lego\Foundation\Exceptions\LegoException 46 | * 47 | * @return $this 48 | */ 49 | public function scope($scope = null) 50 | { 51 | lego_assert(is_null($scope) || is_string($scope) || $scope instanceof \Closure, 'illegal $scope'); 52 | 53 | $this->scope = $scope ?: $this->name(); 54 | 55 | return $this; 56 | } 57 | 58 | public function callScope(Query $query) 59 | { 60 | if (is_string($this->scope)) { 61 | $query->whereScope($this->scope, $this->getNewValue()); 62 | } else { 63 | call_user_func_array($this->scope, [$query, $this->getNewValue()]); 64 | } 65 | 66 | return $query; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/Lego/Field/Concerns/HtmlOperator.php: -------------------------------------------------------------------------------- 1 | elementName = str_replace(['.', ':'], '_', $this->name()); 25 | } 26 | 27 | public function elementId() 28 | { 29 | return 'lego-' . $this->elementName; 30 | } 31 | 32 | public function elementName() 33 | { 34 | return $this->elementNamePrefix . $this->elementName; 35 | } 36 | 37 | public function setElementNamePrefix($prefix) 38 | { 39 | $this->elementNamePrefix = $prefix; 40 | 41 | return $this; 42 | } 43 | 44 | public function getInputType() 45 | { 46 | return $this->inputType; 47 | } 48 | 49 | /** 50 | * 设置 Field 的 html 属性. 51 | */ 52 | public function attr($attributeOrAttributes, $value = null) 53 | { 54 | return $this->setAttribute($attributeOrAttributes, $value); 55 | } 56 | 57 | public function placeholder($placeholder = null) 58 | { 59 | return $this->setAttribute('placeholder', $placeholder); 60 | } 61 | 62 | public function getPlaceholder($default = null) 63 | { 64 | return $this->getAttributeString('placeholder', $default); 65 | } 66 | 67 | public function note($message) 68 | { 69 | return $this->hint($message); 70 | } 71 | 72 | public function hint($message) 73 | { 74 | /* @var Field $this */ 75 | $this->messages()->add('note', $message); 76 | 77 | return $this; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/Lego/Field/Condition.php: -------------------------------------------------------------------------------- 1 | field = $field; 16 | $this->operator = $operator; 17 | $this->expected = $expected; 18 | } 19 | 20 | public function field() 21 | { 22 | return $this->field; 23 | } 24 | 25 | public function operator() 26 | { 27 | return $this->operator; 28 | } 29 | 30 | public function expected() 31 | { 32 | return $this->expected; 33 | } 34 | 35 | public function pass() 36 | { 37 | $actual = $this->field->getNewValue(); 38 | $expected = $this->expected; 39 | 40 | switch ($this->operator) { 41 | case '=': 42 | case '==': 43 | case '===': 44 | return $actual === $expected; 45 | case '!=': 46 | case '!==': 47 | return $actual !== $expected; 48 | case '>': 49 | return $actual > $expected; 50 | case '>=': 51 | return $actual >= $expected; 52 | case '<': 53 | return $actual < $expected; 54 | case '<=': 55 | return $actual <= $expected; 56 | case 'in': 57 | return in_array($actual, $expected); 58 | default: 59 | throw new LegoException("Unsupported operator `{$this->operator}`"); 60 | } 61 | } 62 | 63 | public function fail() 64 | { 65 | return !$this->pass(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/Lego/Field/FieldContainer.php: -------------------------------------------------------------------------------- 1 | hide = boolval($condition); 20 | 21 | return $this; 22 | } 23 | 24 | public function isHide() 25 | { 26 | return $this->hide; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Lego/Field/FieldLoader.php: -------------------------------------------------------------------------------- 1 | addBuildInFields(); 40 | UserDefinedField::registerFromConfiguration(); 41 | 42 | foreach (UserDefinedField::list() as $name => $field) { 43 | $this->fields[$name] = $field; 44 | } 45 | } 46 | 47 | private function addBuildInFields() 48 | { 49 | foreach ($this->buildInFields as $field) { 50 | $this->fields[class_basename($field)] = $field; 51 | } 52 | } 53 | 54 | public function get($name) 55 | { 56 | return $this->fields[$name]; 57 | } 58 | 59 | public function all() 60 | { 61 | return $this->fields; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/Lego/Field/FieldNameSlicer.php: -------------------------------------------------------------------------------- 1 | fields = $fields; 21 | $this->name = $name; 22 | } 23 | 24 | public function name() 25 | { 26 | return $this->name; 27 | } 28 | 29 | public function fieldNames() 30 | { 31 | return $this->fieldNames; 32 | } 33 | 34 | public function fields() 35 | { 36 | return $this->fields 37 | ->filter(function (Field $field) { 38 | return isset($this->fieldNames[$field->name()]); 39 | }); 40 | } 41 | 42 | public function add($field) 43 | { 44 | if (is_array($field)) { 45 | return $this->addMany($field); 46 | } 47 | 48 | if (func_num_args() > 1) { 49 | return $this->addMany(func_get_args()); 50 | } 51 | 52 | if ($field instanceof Field) { 53 | $this->fieldNames[$field->name()] = $field->name(); 54 | } else { 55 | $this->fieldNames[$field] = $field; 56 | } 57 | 58 | return $this; 59 | } 60 | 61 | public function addMany($fields) 62 | { 63 | foreach ($fields as $field) { 64 | $this->add($field); 65 | } 66 | 67 | return $this; 68 | } 69 | 70 | public function readonly($condition = true) 71 | { 72 | return $condition ? $this->callFieldsMethod('readonly') : $this; 73 | } 74 | 75 | public function required($condition = true) 76 | { 77 | return $condition ? $this->callFieldsMethod('required') : $this; 78 | } 79 | 80 | private function callFieldsMethod($method, $params = []) 81 | { 82 | $this->fields()->each(function (Field $field) use ($method, $params) { 83 | call_user_func_array([$field, $method], $params); 84 | }); 85 | 86 | return $this; 87 | } 88 | 89 | public function __toString() 90 | { 91 | return view('lego::default.group', ['group' => $this])->render(); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/CascadeSelect.php: -------------------------------------------------------------------------------- 1 | depend = $field; 25 | $this->match = $match; 26 | $this->remote = lego_register( 27 | HighPriorityResponse::class, 28 | function () { 29 | $depend = Request::query(CascadeSelect::DEPEND_QUERY_KEY); 30 | 31 | return $this->getOptionsFromMatch($depend); 32 | }, 33 | md5($this->name()) 34 | )->url(); 35 | $this->remote = $this->remote . '&' . self::DEPEND_QUERY_KEY . '='; 36 | 37 | return $this; 38 | } 39 | 40 | private function getOptionsFromMatch($depend) 41 | { 42 | $options = call_user_func_array($this->match, [$depend]); 43 | 44 | return (new Collection($options))->toArray(); 45 | } 46 | 47 | public function getDependField() 48 | { 49 | return $this->depend; 50 | } 51 | 52 | public function getRemote() 53 | { 54 | return $this->remote; 55 | } 56 | 57 | public function getFEOptions() 58 | { 59 | if ($value = $this->depend->getNewValue()) { 60 | $this->options($this->getOptionsFromMatch($value)); 61 | } 62 | 63 | return [ 64 | 'id' => $this->elementId(), 65 | 'selected' => $this->takeInputValue(), 66 | 'options' => $this->getOptions(), 67 | 'depend' => $this->getDependField()->elementId(), 68 | 'remote' => $this->getRemote(), 69 | ]; 70 | } 71 | 72 | protected function renderEditable() 73 | { 74 | return view('lego::default.field.cascade-select', ['field' => $this]); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Checkboxes.php: -------------------------------------------------------------------------------- 1 | separator = $glue; 27 | 28 | return $this; 29 | } 30 | 31 | protected function initialize() 32 | { 33 | if ($separator = $this->config('separator')) { 34 | $this->separator = $separator; 35 | } 36 | } 37 | 38 | protected function renderReadonly() 39 | { 40 | $labels = array_filter( 41 | array_map( 42 | function ($value) { 43 | return isset($this->options[$value]) ? $this->options[$value] : null; 44 | }, 45 | $this->takeShowValue() 46 | ) 47 | ); 48 | 49 | return HtmlFacade::ul($labels); 50 | } 51 | 52 | public function isChecked($value) 53 | { 54 | return in_array($value, $this->takeInputValue()); 55 | } 56 | 57 | protected function mutateSavingValue($value) 58 | { 59 | return join($this->separator, $value ?: []); 60 | } 61 | 62 | protected function mutateTakingValue($value) 63 | { 64 | return is_array($value) ? $value : explode($this->separator, $value); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Date.php: -------------------------------------------------------------------------------- 1 | getContainer()->setAttribute('class', 'hide'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/JSON.php: -------------------------------------------------------------------------------- 1 | jsonPath) > 0, 'JSON field `name` example: `array:key:sub-key:...`'); 15 | $this->jsonKey = join('.', $this->jsonPath); 16 | } 17 | 18 | protected function mutateTakingValue($json) 19 | { 20 | return $this->decode($json) ?: $this->getDefaultValue(); 21 | } 22 | 23 | protected function decode($json) 24 | { 25 | if (is_string($json)) { 26 | $data = json_decode($json, JSON_OBJECT_AS_ARRAY); 27 | 28 | return is_null($data) ? $json : $data; 29 | } 30 | 31 | return $json; 32 | } 33 | 34 | protected function encode($data) 35 | { 36 | return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Number.php: -------------------------------------------------------------------------------- 1 | attr('step', 1); 16 | $this->rule('numeric'); 17 | } 18 | 19 | /** 20 | * Html Attributes. 21 | * 22 | * @see http://www.w3schools.com/html/html_form_input_types.asp 23 | */ 24 | public function min($value) 25 | { 26 | $this->attr('min', $value); 27 | 28 | return $this->rule('min:' . $value); 29 | } 30 | 31 | public function max($value) 32 | { 33 | $this->attr('max', $value); 34 | 35 | return $this->rule('max:' . $value); 36 | } 37 | 38 | public function step($value) 39 | { 40 | $this->attr('step', $value); 41 | 42 | return $this; 43 | } 44 | 45 | /** 46 | * 渲染当前对象 47 | * 48 | * @return string 49 | */ 50 | public function render() 51 | { 52 | return $this->renderByMode(); 53 | } 54 | 55 | protected function renderEditable() 56 | { 57 | // iOS number field not supported float input. 58 | $this->inputType = is_integer($this->getAttribute('step')) ? 'number' : 'text'; 59 | 60 | return parent::renderEditable(); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/NumberRange.php: -------------------------------------------------------------------------------- 1 | view('lego::default.field.checkboxes'); 17 | } 18 | 19 | protected function renderReadonly() 20 | { 21 | $key = $this->takeShowValue(); 22 | 23 | return isset($this->options[$key]) ? $this->options[$key] : $key; 24 | } 25 | 26 | public function isChecked($value) 27 | { 28 | return $this->takeInputValue() == $value; 29 | } 30 | 31 | public function getInputName() 32 | { 33 | return $this->elementName(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Readonly.php: -------------------------------------------------------------------------------- 1 | readonly(); 18 | 19 | $this->readonlyValue = $this->description(); 20 | $this->description = $this->column(); 21 | } 22 | 23 | public function description() 24 | { 25 | return $this->description; 26 | } 27 | 28 | /** 29 | * 渲染当前对象 30 | * 31 | * @return string 32 | */ 33 | public function render() 34 | { 35 | $this->setDisplayValue($this->readonlyValue); 36 | 37 | return parent::renderReadonly(); 38 | } 39 | 40 | public function syncValueToStore() 41 | { 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/RichText.php: -------------------------------------------------------------------------------- 1 | takeShowValue()); 15 | } 16 | 17 | protected function renderEditable() 18 | { 19 | $this->setAttribute(['class' => 'lego-field-tinymce']); 20 | return HtmlUtility::tag('textarea', $this->takeInputValue(), $this->getAttributes()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Select.php: -------------------------------------------------------------------------------- 1 | validator(function ($value) { 21 | return !$this->validateOption || !$this->isRequired() || $this->deepInArray($value, $this->getOptions()) 22 | ? null : '非法选项'; 23 | }); 24 | } 25 | 26 | public function disableValidateOption() 27 | { 28 | $this->validateOption = false; 29 | 30 | return $this; 31 | } 32 | 33 | protected function deepInArray($value, array $array) 34 | { 35 | foreach ($array as $key => $item) { 36 | if (is_array($item) && $this->deepInArray($value, $item)) { 37 | return true; 38 | } elseif ($value == $key) { 39 | return true; 40 | } 41 | } 42 | 43 | return false; 44 | } 45 | 46 | protected function renderReadonly() 47 | { 48 | $content = $this->getOptionLabelByValue($this->takeShowValue()); 49 | 50 | return HtmlFacade::tag('p', (string) $content, [ 51 | 'id' => $this->elementId(), 52 | 'class' => 'form-control-static', 53 | ]); 54 | } 55 | 56 | protected function renderEditable() 57 | { 58 | if (!isset($this->options[null]) && is_null($this->getPlaceholder())) { 59 | $this->placeholder($this->description()); 60 | } 61 | 62 | $attributes = $this->getFlattenAttributes(); 63 | if ($this->getPlaceholder() === false) { 64 | unset($attributes['placeholder']); 65 | } 66 | 67 | return FormFacade::select( 68 | $this->elementName(), 69 | $this->getOptions(), 70 | $this->takeInputValue(), 71 | $attributes 72 | ); 73 | } 74 | 75 | public function placeholder($placeholder = null) 76 | { 77 | return parent::placeholder($placeholder ? "* {$placeholder} *" : $placeholder); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Select2.php: -------------------------------------------------------------------------------- 1 | setAttribute([ 13 | 'class' => 'lego-field-select2', 14 | 'data-placeholder' => $this->getPlaceholder(), 15 | 'data-language' => $this->getLocale(), 16 | 'data-allow-clear' => $this->isRequired() ? 'false' : 'true', 17 | ]); 18 | 19 | return parent::renderEditable(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Text.php: -------------------------------------------------------------------------------- 1 | renderByMode(); 15 | } 16 | 17 | protected function renderEditable() 18 | { 19 | return HtmlUtility::input( 20 | $this->getInputType(), 21 | $this->elementName(), 22 | $this->takeInputValue(), 23 | $this->getFlattenAttributes() 24 | ); 25 | } 26 | 27 | /** 28 | * 数据处理逻辑. 29 | */ 30 | public function process() 31 | { 32 | parent::process(); 33 | 34 | $this->setAttribute([ 35 | 'type' => $this->getInputType(), 36 | 'value' => $this->takeInputValue(), 37 | ]); 38 | 39 | if ($this->isDisabled()) { 40 | $this->setAttribute('disabled', 'disabled'); 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Textarea.php: -------------------------------------------------------------------------------- 1 | attr([ 12 | 'cols' => 50, 13 | 'rows' => 10, 14 | ]); 15 | } 16 | 17 | public function cols($cols) 18 | { 19 | return $this->attr('cols', $cols); 20 | } 21 | 22 | public function getCols() 23 | { 24 | return $this->getAttribute('cols'); 25 | } 26 | 27 | public function rows($rows) 28 | { 29 | return $this->attr('rows', $rows); 30 | } 31 | 32 | public function getRows() 33 | { 34 | return $this->getAttribute('rows'); 35 | } 36 | 37 | protected function renderEditable() 38 | { 39 | return FormFacade::textarea( 40 | $this->elementName(), 41 | $this->takeInputValue(), 42 | $this->getFlattenAttributes() 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/Time.php: -------------------------------------------------------------------------------- 1 | removeRule('date'); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Lego/Field/Provider/TimeRange.php: -------------------------------------------------------------------------------- 1 | events = new Event(); 17 | } 18 | 19 | public function getEvents() 20 | { 21 | return $this->events; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Lego/Foundation/Concerns/HasMode.php: -------------------------------------------------------------------------------- 1 | listTraits() as $trait) { 18 | $method = 'initialize' . class_basename($trait); 19 | if (method_exists($this, $method)) { 20 | call_user_func_array([$this, $method], []); 21 | } 22 | } 23 | 24 | // 初始化自身 25 | $this->initialize(); 26 | } 27 | 28 | /** 29 | * 列出当前类所有引入的 trait. 30 | * 31 | * laravel class_uses_recursive 输出的顺序并不是引入的顺序,不符合预期 32 | * 33 | * @return array 34 | */ 35 | protected function listTraits() 36 | { 37 | $result = []; 38 | 39 | $classes = array_reverse(class_parents(static::class)) + [static::class]; 40 | foreach ($classes as $class) { 41 | $result += trait_uses_recursive($class); 42 | } 43 | 44 | return array_unique($result); 45 | } 46 | 47 | /** 48 | * 初始化对象 49 | */ 50 | protected function initialize() 51 | { 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/Lego/Foundation/Concerns/MessageOperator.php: -------------------------------------------------------------------------------- 1 | messages = new MessageBag(); 26 | $this->errors = new MessageBag(); 27 | } 28 | 29 | public function messages() : MessageBag 30 | { 31 | return $this->messages; 32 | } 33 | 34 | public function errors() : MessageBag 35 | { 36 | return $this->errors; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Lego/Foundation/Concerns/QueryOperators.php: -------------------------------------------------------------------------------- 1 | '; 9 | const QUERY_GTE = '>='; 10 | const QUERY_LT = '<'; 11 | const QUERY_LTE = '<='; 12 | const QUERY_CONTAINS = 'contains'; 13 | const QUERY_STARTS_WITH = 'starts_with'; 14 | const QUERY_ENDS_WITH = 'ends_with'; 15 | } 16 | -------------------------------------------------------------------------------- /src/Lego/Foundation/Concerns/RenderStringOperator.php: -------------------------------------------------------------------------------- 1 | render(); 24 | } 25 | 26 | /** 27 | * 渲染为 HtmlString 对象, 在 view 中显示时可以直接打印, 无需关闭转义. 28 | * 29 | * @return HtmlString 30 | */ 31 | final public function toHtmlString() 32 | { 33 | return new HtmlString($this->__toString()); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Lego/Foundation/Exceptions/InvalidRegisterData.php: -------------------------------------------------------------------------------- 1 | get($name); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Lego/Lego.php: -------------------------------------------------------------------------------- 1 | response(); 35 | } 36 | 37 | public static function message($message, $level = 'default') 38 | { 39 | return view('lego::default.message', compact('message', 'level')); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/Lego/LegoRegister.php: -------------------------------------------------------------------------------- 1 | afterRegistered(); 34 | 35 | return $instance; 36 | } 37 | 38 | /** 39 | * 获取特定注册项. 40 | */ 41 | public static function get($dataClass, $tag, $default = null) 42 | { 43 | return Arr::get(self::$registered, "{$dataClass}.{$tag}", $default); 44 | } 45 | 46 | public static function getDefault($dataClass) 47 | { 48 | return self::get($dataClass, self::DEFAULT_TAG); 49 | } 50 | 51 | public static function getAll($dataClass, $default = null) 52 | { 53 | return Arr::get(self::$registered, $dataClass, $default); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/Lego/LegoServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('lego-fields', FieldLoader::class); 23 | } 24 | 25 | public function boot() 26 | { 27 | if ($this->app->runningInConsole()) { 28 | $this->commands([GenerateIDEHelper::class]); 29 | } 30 | 31 | $this->publishConfigs(); 32 | $this->publishAssets(); 33 | 34 | // views 35 | $this->loadViewsFrom($this->path('resources/views'), 'lego'); 36 | 37 | } 38 | 39 | private function publishAssets() 40 | { 41 | $this->publishes( 42 | [$this->path('public/') => public_path('packages/wutongwan/lego')], 43 | 'lego-assets' 44 | ); 45 | } 46 | 47 | private function publishConfigs() 48 | { 49 | $config = $this->path('config/lego.php'); 50 | $this->publishes([$config => config_path('lego.php')], 'config'); 51 | $this->mergeConfigFrom($config, 'lego'); 52 | } 53 | 54 | private function path($path = '') 55 | { 56 | return __DIR__ . '/../../' . $path; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/Lego/Operator/Collection/ArrayStore.php: -------------------------------------------------------------------------------- 1 | data, $attribute, $default); 19 | } 20 | 21 | public function set($attribute, $value) 22 | { 23 | Arr::set($this->data, $attribute, $value); 24 | } 25 | 26 | public function save($options = []) 27 | { 28 | return true; 29 | } 30 | 31 | /** 32 | * Get the instance as an array. 33 | * 34 | * @return array 35 | */ 36 | public function toArray() 37 | { 38 | return (array) $this->data; 39 | } 40 | 41 | public function getAssociated($attribute) 42 | { 43 | return null; 44 | } 45 | 46 | public function associate($attribute, $id) 47 | { 48 | } 49 | 50 | public function dissociate($attribute) 51 | { 52 | } 53 | 54 | public function getAttached($attribute): Collection 55 | { 56 | return new Collection(); 57 | } 58 | 59 | public function attach($attribute, array $ids, array $attributes = []) 60 | { 61 | } 62 | 63 | public function detach($attribute, array $ids) 64 | { 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Lego/Operator/Collection/ObjectStore.php: -------------------------------------------------------------------------------- 1 | data, $attribute, $default); 18 | } 19 | 20 | public function set($attribute, $value) 21 | { 22 | data_set($this->data, $attribute, $value); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Lego/Operator/Elastic/ElasticClient.php: -------------------------------------------------------------------------------- 1 | hosts = $hosts; 27 | $this->index = $index; 28 | $this->type = $type; 29 | } 30 | 31 | /** 32 | * @return string 33 | */ 34 | public function getIndex(): string 35 | { 36 | return $this->index; 37 | } 38 | 39 | /** 40 | * @param string $index 41 | */ 42 | public function setIndex(string $index) 43 | { 44 | $this->index = $index; 45 | } 46 | 47 | /** 48 | * @return string|null 49 | */ 50 | public function getType() 51 | { 52 | return $this->type; 53 | } 54 | 55 | /** 56 | * @param string|null $type 57 | */ 58 | public function setType(string $type) 59 | { 60 | $this->type = $type; 61 | } 62 | 63 | protected $connection; 64 | 65 | public function connection() 66 | { 67 | if (!$this->connection) { 68 | $this->connection = ClientBuilder::fromConfig([ 69 | 'hosts' => $this->hosts 70 | ]); 71 | } 72 | return $this->connection; 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/Lego/Operator/Elastic/ElasticLengthAwarePaginator.php: -------------------------------------------------------------------------------- 1 | lastPage = $lastPage; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Lego/Operator/Eloquent/HasRelation.php: -------------------------------------------------------------------------------- 1 | newQuery()->getRelation($relation); 22 | if ($relation) { 23 | $model = $relation->getRelated(); 24 | } 25 | } 26 | 27 | return $relation; 28 | } 29 | 30 | protected function getModel() 31 | { 32 | if ($this->data instanceof Model) { 33 | return $this->data; 34 | } 35 | 36 | if ($this->data instanceof EloquentQueryBuilder) { 37 | return $this->data->getModel(); 38 | } 39 | 40 | return null; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/Lego/Operator/Operator.php: -------------------------------------------------------------------------------- 1 | data = $data; 29 | 30 | $this->initialize(); 31 | } 32 | 33 | protected function initialize() 34 | { 35 | } 36 | 37 | public function getOriginalData() 38 | { 39 | return $this->data; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/Lego/Operator/SuggestResult.php: -------------------------------------------------------------------------------- 1 | all(); 24 | } 25 | 26 | $this->totalCount = $totalCount ?: count($items); 27 | 28 | if (0 === count($items)) { 29 | return; 30 | } 31 | 32 | if (Arr::isAssoc($items)) { 33 | // kv 数组 34 | foreach ($items as $value => $label) { 35 | $this->items[] = compact('value', 'label'); 36 | } 37 | } elseif (is_scalar($items[0])) { 38 | // 标量数组 39 | $this->items = array_map(function ($item) { 40 | return ['value' => $item, 'label' => $item]; 41 | }, $items); 42 | } else { 43 | // 数组数组 44 | $this->items = array_map(function ($item) { 45 | if (isset($item['id']) && isset($item['text'])) { 46 | return ['value' => $item['id'], 'label' => $item['text']]; 47 | } 48 | 49 | return ['value' => $item['value'], 'label' => $item['label']]; 50 | }, $items); 51 | } 52 | 53 | $this->totalCount = $totalCount ?: count($this->items); 54 | } 55 | 56 | public function toArray() 57 | { 58 | return [ 59 | 'total_count' => $this->totalCount, 60 | 'items' => $this->items, 61 | ]; 62 | } 63 | 64 | public function jsonSerialize() 65 | { 66 | return $this->toArray(); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/Lego/Register/AutoCompleteMatchHandler.php: -------------------------------------------------------------------------------- 1 | response = lego_register( 31 | HighPriorityResponse::class, 32 | function () { 33 | $items = call_user_func_array($this->data(), [Request::get(self::KEYWORD_KEY), Request::all()]); 34 | 35 | return self::result($items); 36 | }, 37 | $this->tag 38 | ); 39 | } 40 | 41 | public function remote() 42 | { 43 | return $this->response->url(); 44 | } 45 | 46 | /** 47 | * 自动补全结果的构建函数. 48 | * 49 | * @param array $items [ ['id' => 1, 'text' => 'Some Text', ...], ... ] 50 | * 51 | * @return array 52 | */ 53 | private static function result($items) 54 | { 55 | if ($items instanceof SuggestResult) { 56 | return $items->toArray(); 57 | } 58 | 59 | $sr = new SuggestResult($items); 60 | 61 | return $sr->toArray(); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/Lego/Register/Data.php: -------------------------------------------------------------------------------- 1 | validate($data); 24 | 25 | $this->tag = $tag; 26 | $this->data = $data; 27 | } 28 | 29 | public function data($default = null) 30 | { 31 | return is_null($this->data) ? $default : $this->data; 32 | } 33 | 34 | /** 35 | * 校验注册的数据是否合法, 不合法时抛出异常. 36 | * 37 | * @param $data 38 | */ 39 | abstract protected function validate($data); 40 | 41 | /** 42 | * 注册完成后的回调. 43 | */ 44 | public function afterRegistered() 45 | { 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/Lego/Register/FieldData.php: -------------------------------------------------------------------------------- 1 | tag) === false) { 23 | $query[self::REQUEST_PARAM] = "{$path}+{$this->tag}"; 24 | } 25 | } else { 26 | $query[self::REQUEST_PARAM] = $this->tag; 27 | } 28 | 29 | return Request::fullUrlWithQuery($query); 30 | } 31 | 32 | protected static $tree = []; 33 | protected static $current; 34 | 35 | public static function getResponse($path = null) 36 | { 37 | $path = $path ?: Request::get(self::REQUEST_PARAM); 38 | if (!$path) { 39 | return null; 40 | } 41 | 42 | $path = str_replace('+', '.', $path); 43 | Arr::set(self::$tree, $path, []); 44 | $step = Arr::first(array_keys(Arr::get(self::$tree, self::$current))); 45 | if (!$data = LegoRegister::get(self::class, $step)) { 46 | return null; 47 | } 48 | 49 | self::$current = self::$current ? (self::$current . '.' . $step) : $step; 50 | 51 | return call_user_func($data); 52 | } 53 | 54 | public static function exit() 55 | { 56 | return Request::fullUrlWithQuery([self::REQUEST_PARAM => null]); 57 | } 58 | 59 | public static function register($name, \Closure $closure, $appendQuery = []) 60 | { 61 | return lego_register(self::class, $closure, md5($name))->url($appendQuery); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/Lego/Register/UserDefinedField.php: -------------------------------------------------------------------------------- 1 | tag === LegoRegister::DEFAULT_TAG) { 26 | lego_register(self::class, $this->data, class_basename($this->data)); 27 | } 28 | } 29 | 30 | /** 31 | * list user defined fields. 32 | * 33 | * @return array 34 | */ 35 | public static function list() 36 | { 37 | $fields = LegoRegister::getAll(self::class, []); 38 | unset($fields[LegoRegister::DEFAULT_TAG]); 39 | 40 | return $fields; 41 | } 42 | 43 | private static $registered = false; 44 | 45 | public static function registerFromConfiguration() 46 | { 47 | if (self::$registered) { 48 | return; 49 | } 50 | 51 | foreach (config('lego.user-defined-fields') as $field) { 52 | lego_register(UserDefinedField::class, $field); 53 | } 54 | 55 | self::$registered = true; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /src/Lego/Utility/Excel.php: -------------------------------------------------------------------------------- 1 | 'zhwei', 'city' => 'beijing'], 21 | * ['name' => 'tom', 'city' => 'shanghai'], 22 | * ... 23 | * ] 24 | * 25 | * @param string $filename 26 | * @param array $rows 27 | * 28 | * @throws LegoExportException 29 | */ 30 | public static function downloadFromArray(string $filename, array $rows) 31 | { 32 | if ($rows && !isset($rows[0])) { 33 | throw new LegoExportException('$rows can not be key-value array.'); 34 | } 35 | 36 | $spreadSheet = new Spreadsheet(); 37 | $worksheet = $spreadSheet->getActiveSheet(); 38 | 39 | // write header 40 | $headers = array_keys($rows[0]); 41 | for ($i = 1; $i <= count($headers); $i++) { 42 | $worksheet->setCellValueByColumnAndRow($i, 1, $headers[$i - 1]); 43 | } 44 | 45 | // write body 46 | foreach ($rows as $rowIdx => $row) { 47 | foreach ($headers as $columnIdx => $header) { 48 | $worksheet->setCellValueByColumnAndRow($columnIdx + 1, $rowIdx + 2, $row[$header] ?? null); 49 | } 50 | } 51 | 52 | $xlsx = new Xlsx($spreadSheet); 53 | $xlsx->save('php://output'); 54 | } 55 | 56 | /** 57 | * output to php://output. 58 | * 59 | * @param $excel 60 | * 61 | * @throws LegoExportException 62 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception 63 | */ 64 | public static function download($excel) 65 | { 66 | if ($excel instanceof IWriter) { 67 | $excel->save('php://output'); 68 | 69 | return; 70 | } 71 | 72 | throw new LegoExportException('Unsupported excel object'); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/Lego/Utility/functions.php: -------------------------------------------------------------------------------- 1 | bottomLocation; 23 | 24 | return $locations; 25 | } 26 | 27 | public function getBottomButtons() 28 | { 29 | return $this->getButtons($this->bottomLocation); 30 | } 31 | 32 | protected function initializeHasBottomButtons() 33 | { 34 | /** 35 | * Add submit button. 36 | * 37 | * @var Button 38 | */ 39 | $btn = $this->addButton($this->bottomLocation, $this->submitButtonKey); 40 | $btn->bootstrapStyle('primary') 41 | ->text('提交') 42 | ->attribute('type', 'submit') 43 | ->preventRepeatClick(); 44 | } 45 | 46 | /** 47 | * Add reset Button. 48 | */ 49 | protected function addBottomResetButton() 50 | { 51 | /** @var Button $btn */ 52 | $btn = $this->addButton($this->bottomLocation, $this->resetButtonKey, URL::current()); 53 | $btn->text('清空'); 54 | } 55 | 56 | /** 57 | * Set submit button text. 58 | * 59 | * @param string $submitText 60 | * 61 | * @return $this 62 | */ 63 | public function submitText(string $submitText) 64 | { 65 | /** @var Button $btn */ 66 | $btn = $this->getButton($this->bottomLocation, $this->submitButtonKey); 67 | $btn->text($submitText); 68 | 69 | return $this; 70 | } 71 | 72 | /** 73 | * Set reset button text. 74 | * 75 | * @param string $resetText 76 | * 77 | * @return $this 78 | */ 79 | public function resetText(string $resetText) 80 | { 81 | /** @var Button $btn */ 82 | $btn = $this->getButton($this->bottomLocation, $this->resetButtonKey); 83 | $btn->text($resetText); 84 | 85 | return $this; 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/HasButtons.php: -------------------------------------------------------------------------------- 1 | buttonLocations() as $location) { 22 | $this->buttons[$location] = []; 23 | 24 | self::macro( 25 | 'add' . ucfirst(Str::camel($location)) . 'Button', 26 | function () use ($location) { 27 | $args = func_get_args(); 28 | array_unshift($args, $location); 29 | 30 | return $this->addButton(...$args); 31 | } 32 | ); 33 | } 34 | } 35 | 36 | public function getButtons($location) 37 | { 38 | return $this->buttons[$location]; 39 | } 40 | 41 | /** 42 | * 根据位置和按钮文本获取按钮实例. 43 | * 44 | * 注意:此处 text 是添加按钮时提供的 text , 45 | * 如果 addButton 之后通过 ->text() 重新修改了按钮文本, 46 | * 此处仍只能使用最初的文本获取 47 | * 48 | * @param $location 49 | * @param $text 50 | * 51 | * @return Button 52 | */ 53 | public function getButton($location, $text) 54 | { 55 | return $this->getButtons($location)[$text]; 56 | } 57 | 58 | public function addButton($location, $text, $url = null, $id = null): Button 59 | { 60 | $button = new Button($text, $url, $id); 61 | $this->buttons[$location][$text] = $button; 62 | $button->bootstrapStyle('default'); 63 | 64 | return $button; 65 | } 66 | 67 | public function removeButton($location, $text) 68 | { 69 | unset($this->buttons[$location][$text]); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/HasFormEvents.php: -------------------------------------------------------------------------------- 1 | events->register('saving', null, $closure); 18 | 19 | return $this; 20 | } 21 | 22 | public function saved(\Closure $closure) 23 | { 24 | $this->events->register('saved', null, $closure); 25 | 26 | return $this; 27 | } 28 | 29 | protected function fireEvent($event) 30 | { 31 | $this->events->fire($event, [$this->data, $this]); 32 | 33 | return $this; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/HasInput.php: -------------------------------------------------------------------------------- 1 | userCustomInput ?: $this->getDefaultInput(); 19 | 20 | return $key ? $array[$key] ?? $default : $array; 21 | } 22 | 23 | public function withInput(array $input) 24 | { 25 | $this->userCustomInput = $input; 26 | 27 | return $this; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/HasQueryHelpers.php: -------------------------------------------------------------------------------- 1 | query->with($relations); 14 | 15 | return $this; 16 | } 17 | 18 | public function limit($limit) 19 | { 20 | $this->query->limit($limit); 21 | 22 | return $this; 23 | } 24 | 25 | public function orderBy($column, bool $desc = false) 26 | { 27 | $this->query->orderBy($column, $desc); 28 | 29 | return $this; 30 | } 31 | 32 | public function orderByDesc($column) 33 | { 34 | return $this->orderBy($column, true); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/Operable.php: -------------------------------------------------------------------------------- 1 | data = $data->getOriginalData(); 30 | $this->store = $data; 31 | $this->query = Finder::createQuery($this->data); 32 | } elseif ($data instanceof Query) { 33 | $this->data = $data->getOriginalData(); 34 | $this->store = Finder::createStore($this->data); 35 | $this->query = $data; 36 | } else { 37 | $this->data = $data; 38 | $this->query = Finder::createQuery($data); 39 | $this->store = Finder::createStore($data); 40 | } 41 | } 42 | 43 | public function getStore() 44 | { 45 | return $this->store; 46 | } 47 | 48 | public function getQuery() 49 | { 50 | return $this->query; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/Lego/Widget/Concerns/RequestOperator.php: -------------------------------------------------------------------------------- 1 | getQuery(), $primaryKey ?: $this->batchIdName); 19 | $this->batches[$name] = $batch; 20 | 21 | if ($action) { 22 | $batch->action($action); 23 | } 24 | 25 | return $batch; 26 | } 27 | 28 | public function batches() 29 | { 30 | return $this->batches; 31 | } 32 | 33 | public function batch($name) 34 | { 35 | return $this->batches[$name]; 36 | } 37 | 38 | /** 39 | * 设置每条数据的标记字段名. 40 | * 41 | * @param string $keyName 42 | * 43 | * @return $this 44 | */ 45 | public function setBatchIdName(string $keyName) 46 | { 47 | $this->batchIdName = $keyName; 48 | 49 | return $this; 50 | } 51 | 52 | /** 53 | * 每条数据的标记字段名. 54 | * 55 | * @return string 56 | */ 57 | public function getBatchIdName() 58 | { 59 | return $this->batchIdName; 60 | } 61 | 62 | /** 63 | * 获取批处理 id 列表. 64 | * 65 | * @return array 66 | */ 67 | public function pluckBatchIds(): array 68 | { 69 | $ids = []; 70 | 71 | /** @var Store $store */ 72 | foreach ($this->paginator() as $store) { 73 | $ids[] = $store->get($this->batchIdName); 74 | } 75 | 76 | return $ids; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/Concerns/HasCells.php: -------------------------------------------------------------------------------- 1 | __once_after ?: $this->__after) { 19 | $idx = array_search($after, array_keys($this->cells)) + 1; 20 | $this->cells = array_slice($this->cells, 0, $idx, true) 21 | + [$name => $cell] 22 | + array_slice($this->cells, $idx, count($this->cells) - $idx); 23 | $this->__once_after = null; 24 | } else { 25 | $this->cells[$name] = $cell; 26 | } 27 | 28 | return $cell; 29 | } 30 | 31 | private $__after = null; 32 | private $__once_after = null; 33 | 34 | public function after($name, \Closure $callback = null) 35 | { 36 | if (!isset($this->cells[$name])) { 37 | throw new LegoException("Can not found cell `{$name}`"); 38 | } 39 | 40 | if ($callback) { 41 | $this->__after = $name; 42 | call_user_func($callback, $this); 43 | $this->__after = null; 44 | } else { 45 | $this->__once_after = $name; 46 | } 47 | 48 | return $this; 49 | } 50 | 51 | /** 52 | * remove cell from grid. 53 | */ 54 | public function remove($names) 55 | { 56 | $names = is_array($names) ? $names : func_get_args(); 57 | foreach ($names as $name) { 58 | unset($this->cells[$name]); 59 | } 60 | 61 | return $this; 62 | } 63 | 64 | /** 65 | * @return Cell[] 66 | */ 67 | public function cells() 68 | { 69 | return $this->cells; 70 | } 71 | 72 | public function cell($name) 73 | { 74 | return $this->cells[$name]; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/FormatTool.php: -------------------------------------------------------------------------------- 1 | '', 14 | 'open' => false, 15 | 'variable' => '', 16 | ]; 17 | $result = array_reduce( 18 | mb_str_split($format), 19 | function ($carry, $char) use ($value, $store, $format) { 20 | switch (true) { 21 | case $char === '{': 22 | if ($carry['open'] === true) { 23 | throw new LegoException("Not support nested format: $format"); 24 | } 25 | $carry['open'] = true; 26 | break; 27 | 28 | case ($char === '}') && ($carry['open'] === true): 29 | $carry['output'] .= ($carry['variable'] === '' ? $value : $store->get($carry['variable'])); 30 | $carry['open'] = false; 31 | $carry['variable'] = ''; 32 | break; 33 | 34 | case $carry['open'] === true: 35 | $carry['variable'] .= $char; 36 | break; 37 | 38 | default: 39 | $carry['output'] .= $char; 40 | } 41 | 42 | return $carry; 43 | }, 44 | $initial 45 | ); 46 | 47 | return $result['output']; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/PipeBreakException.php: -------------------------------------------------------------------------------- 1 | value = $value; 14 | parent::__construct(); 15 | } 16 | 17 | /** 18 | * @return mixed 19 | */ 20 | public function getValue() 21 | { 22 | return $this->value; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/Pipes.php: -------------------------------------------------------------------------------- 1 | value = $value; 17 | $this->data = $data; 18 | $this->cell = $cell; 19 | } 20 | 21 | protected function value() 22 | { 23 | return $this->value; 24 | } 25 | 26 | protected function data() 27 | { 28 | return $this->data; 29 | } 30 | 31 | protected function cell() 32 | { 33 | return $this->cell; 34 | } 35 | 36 | /** 37 | * @throws PipeBreakException 38 | */ 39 | protected function break($value = null) 40 | { 41 | throw new PipeBreakException(is_null($value) ? $this->value() : $value); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/Pipes4Datetime.php: -------------------------------------------------------------------------------- 1 | handleDateFormat('Y-m-d'); 10 | } 11 | 12 | public function handleDatetime() 13 | { 14 | return $this->handleDateFormat('Y-m-d H:i:s'); 15 | } 16 | 17 | public function handleTime() 18 | { 19 | return $this->handleDateFormat('H:i:s'); 20 | } 21 | 22 | public function handleDateFormat($format) 23 | { 24 | $time = $this->value(); 25 | 26 | if (is_int($time)) { 27 | return date($format, $time); 28 | } 29 | 30 | if (is_string($time)) { 31 | return date($format, strtotime($time)); 32 | } 33 | 34 | if ($time instanceof \DateTime) { 35 | return $time->format($format); 36 | } 37 | 38 | return null; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/Pipes4Features.php: -------------------------------------------------------------------------------- 1 | value(), $format, $this->cell()->store()); 12 | } 13 | 14 | public function handleLink($url, $openInNewTab = false) 15 | { 16 | return sprintf( 17 | '%s', 18 | $this->handleFormat($url), 19 | $openInNewTab ? '_blank' : '_self', 20 | $this->value() 21 | ); 22 | } 23 | 24 | public function handleTag(array $mappings) 25 | { 26 | $selected = null; 27 | $value = $this->value(); 28 | foreach ($mappings as $pattern => $style) { 29 | if (Str::is($pattern, $value)) { 30 | $selected = $style; 31 | break; 32 | } 33 | } 34 | if ($selected) { 35 | $value = sprintf('%s', $selected, $value); 36 | } 37 | return $value; 38 | } 39 | 40 | public function handleIf($attribute) 41 | { 42 | if ($this->cell()->store()->get($attribute)) { 43 | return $this->value(); 44 | } 45 | $this->break(); 46 | } 47 | 48 | public function ifNot($attribute) 49 | { 50 | if (!$this->cell()->store()->get($attribute)) { 51 | return $this->value(); 52 | } 53 | $this->break(); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/Lego/Widget/Grid/Pipes4String.php: -------------------------------------------------------------------------------- 1 | value()); 12 | } 13 | 14 | public function handleStrip() 15 | { 16 | return strip_tags($this->value()); 17 | } 18 | 19 | public function handleLimit($limit = 100) 20 | { 21 | return Str::limit($this->value(), $limit); 22 | } 23 | } 24 | --------------------------------------------------------------------------------