Remove magicsuggest from api then add it to vendor

This commit is contained in:
Hadi Nategh 2018-06-21 13:39:00 +02:00
parent d432ef7f84
commit 14bbfe9dfa
17 changed files with 184 additions and 2168 deletions

View File

@ -148,7 +148,7 @@ module.exports = function (grunt) {
"api/js/etemplate/et2_widget_styles.js",
"api/js/etemplate/et2_widget_link.js",
"api/js/etemplate/et2_widget_selectAccount.js",
"api/js/jquery/magicsuggest/magicsuggest.js",
"vendor/egroupware/magicsuggest/magicsuggest.js",
"api/js/etemplate/et2_widget_taglist.js",
"api/js/etemplate/et2_extension_customfields.js",
"api/js/etemplate/et2_dataview_interfaces.js",
@ -283,7 +283,7 @@ module.exports = function (grunt) {
"pixelegg/css/pixelegg.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -299,7 +299,7 @@ module.exports = function (grunt) {
"pixelegg/css/mobile.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -315,7 +315,7 @@ module.exports = function (grunt) {
"pixelegg/mobile/fw_mobile.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -331,7 +331,7 @@ module.exports = function (grunt) {
"pixelegg/css/Standard.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -347,7 +347,7 @@ module.exports = function (grunt) {
"pixelegg/css/Compact.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -363,7 +363,7 @@ module.exports = function (grunt) {
"pixelegg/css/Traditional.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -383,7 +383,7 @@ module.exports = function (grunt) {
"jdots/css/high-contrast.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -403,7 +403,7 @@ module.exports = function (grunt) {
"jdots/css/jdots.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
@ -422,7 +422,7 @@ module.exports = function (grunt) {
"jdots/css/orange-green.min.css": [
"api/js/jquery/chosen/chosen.css",
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
"api/js/jquery/magicsuggest/magicsuggest.css",
"vendor/egroupware/magicsuggest/magicsuggest.css",
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
"api/js/jquery/jquery-ui-timepicker-addon.css",
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",

View File

@ -12,7 +12,7 @@
/*egw:uses
et2_core_inputWidget;
/api/js/jquery/magicsuggest/magicsuggest.js;
/vendor/egroupware/magicsuggest/magicsuggest.js;
*/
/**
@ -127,6 +127,12 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
type: "integer",
default: 3,
description: "minimum number of characters before expanding the combo"
},
editModeEnabled: {
name: "Enable edit mode for tags",
type: "boolean",
"default": true,
description: "Allow to modify a tag by clicking on edit icon. It only can be enabled if only allowFreeEntries is true."
}
},
@ -243,7 +249,8 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
highlight: false, // otherwise renderer have to return strings
selectFirst: true,
groupBy: this.options.groupBy && typeof this.options.groupBy == 'string' ? this.options.groupBy : null,
minChars: parseInt(this.options.minChars) ? parseInt(this.options.minChars) : 0
minChars: parseInt(this.options.minChars) ? parseInt(this.options.minChars) : 0,
editModeEnabled: this.options.editModeEnabled
}, this.lib_options);
if(this.options.height) {

View File

@ -1,102 +0,0 @@
MagicSuggest v1.3
--------------------------
Check out full documentation and examples here: http://nicolasbize.github.com/magicsuggest/
Milestone change log:
v1.3.1 BugFixing again! (Minor Tagged Milestone - August 17th, 2013)
====================================================================
- (fix) enable after disable now works (credits to amanokerim - https://github.com/amanokerim)
- (fix) trigger icon now takes full height (credits to DioVayne - https://github.com/DioVayne)
- (fix) clear now compatible with isSilent (credits to Coywolf - https://github.com/Coywolf)
- (fix) groupBy was broken by 1.3.0
- (fea) compatibility with latest jQuery 1.10.2 (credits to RafaelMalgor - https://github.com/RafaelMalgor)
- (fea) resulted JSON objects can now have a custom result property resultsField (credits to RafaelMalgor - https://github.com/RafaelMalgor)
v1.3.0 Some more features and bugfixing (Minor Tagged Milestone - May 25th, 2013)
=================================================================================
- (fea) combo component can now be fetched through the same div element (credits to meghuizen - https://github.com/meghuizen)
- (fix) CSS bug with 1.2.7+ with triggerHidden (credits to ScullWM - https://github.com/ScullWM)
- (fix) container would always render with 1 row even though a bunch of data was loaded (credits to travishaagen - https://github.com/travishaagen)
- (fea) added minimum jQuery version to work in docs (credits to rajeshmeniya - https://github.com/rajeshmeniya)
- (fix) input was not correctly enabled / disabled (credits to zerekw - https://github.com/zerekw)
- (fea) added getName and setName to easily fetch/set form name of component (credits to jbmoens - https://github.com/jbmoens)
- (fix) when a value is specified in the DOM original element, it is passed correctly to MS. (credits to jbmoens - https://github.com/jbmoens)
- (fix) input space now always uses the remaining space as this leads to less issues.
- (fea) combo has now more logic when used for a single selection combo box.
- (fix) space taken for single selection on a small combo remains on one line. (credits to ScullWM - https://github.com/ScullWM)
- (fea) multiple items can now be selected through the Ctrl key (credits to meghuizen - https://github.com/meghuizen)
- (fea) trigger icon now uses pure CSS (credits to meghuizen - https://github.com/meghuizen)
- (fea) cfg(data) can now take a function as parameter (credits to meghuizen - https://github.com/meghuizen)
- (fea) cfg(data) can take a json object whose data items are within the results property
- (fix) CSS has been fixed so it behaves correctly within a bootstrap modal (credits to daenuprobst - https://github.com/daenuprobst)
- (fea) suggestion rendering optimized by reducing draw calls to one. (credits to meghuizen - https://github.com/meghuizen)
- (fix) tags can now longer be removed when the combo is disabled (credits to grena - https://github.com/grena)
- (fix) setting data was only going through visible set of suggestions (credits to grena - https://github.com/grena)
- (fix) missing semi-colons, went through full jslint (credits to grena - https://github.com/grena)
- (fix) suggestions were not appearing when maxSuggestions was set to 10. (credits to zerekw - https://github.com/zerekw and plasmaxy - https://github.com/plasmaxy)
- (fix) the clear function was broken (credits to travishaagen - https://github.com/travishaagen)
- (fea) the component's config can now be setup entirely from the DOM container element.
- (fea) added a silent mode to selection changing methods in order to know if it was user-triggered or not. (credits to travishaagen - https://github.com/travishaagen)
- (fea) added a setData(object) method to fill the combo after it has been rendered (credits to travishaagen - https://github.com/travishaagen)
- (fix) ajax query was sent twice when the user was typing faster than the typeDelay (credits to arvenom - https://github.com/arvenom)
- (fix) highlighting the search results was also highlighting html tags when using custom rendering (credits to pstuart2 - https://github.com/pstuart2)
- (fea) added cfg(strictSuggest) so that user can choose how the suggestions will be made
- (fea) added cfg(toggleOnClick) so that the user can expand/close the combo by clicking on it (credits to psulek - https://github.com/psulek)
- (fix) empty suggestion text was wrongly triggered when performing initial ajax call (credits to curtgrimes - https://github.com/curtgrimes)
- (fea) added cfg(selectionRenderer) (credits to pstuart2 - https://github.com/pstuart2)
- (fix) empty text class was not triggered properly (credits to jods4 - https://github.com/jods4)
- (fix) IE8 compatibility (credits to Airborn22 - https://github.com/Airborn22)
- (fea) MagicSuggest can now be rendered from a select dom component. (credits to Yogu - https://github.com/Yogu)
- (fea) on blur now automatically adds the typed text to the selection if free entries are allowed (credits to Airborn22 - https://github.com/Airborn22)
- (fea) new public method empty() which will clear the user text.
- (fix) make sure combo is filled prior to triggering load event
- (fea) renamed some events for better readability
v1.2.0 Standardization on jQuery plugins (Minor Tagged Milestone - Mar. 4th 2013)
=================================================================================
- (fix) fixed disabled behaviour when one could still edit the emptyText
- (fix) collapse method would throw an error
- (cfg) typeDelay: Amount (in ms) between keyboard registers (credits to jayesbee - https://github.com/jayesbee)
- (fea) standardized on jQuery plugin (credits to jayesbee - https://github.com/jayesbee)
- (fea) added documentation examples
- (cfg) name: name used for magicsuggest as a form element (credits to iambibhas - https://github.com/iambibhas)
- (fix) start up rendering when value rendered as text
- (cfg) dataParams: additional parameters for ajax request (credits to jayesbee - https://github.com/jayesbee)
- (fix) other rendering issues with inner text
v1.1.0 Various enhancements and bug fixing (Minor Tagged Milestone - Feb. 19th 2013)
====================================================================================
- (fea) close cross style now blends in a bit more
- (fea) escape now collapses the combo (without loosing focus)
- (fix) can't enter entries made out of space
- (cfg) noSuggestionText: text displayed when there are no suggestions from given data
- (cfg) minCharsRenderer: allows to customize message when not enough characters are entered to trigger a search
- (cfg) maxEntryRenderer: allows to customize message when too many characters have been entered
- (cfg) maxEntryLength: amount of characters to limit user input
- (cfg) style: custom style applied to the main container
- (cfg) infoMsgCls: custom class to apply to the helper
- (fea) new helper message on upper right to inform on the component status
- (cfg) id: allows to give the component a custom ID
- (cfg) inputCfg : allows additional parameters passed out to the INPUT tag. Enables usage of AngularJS's custom tags for ex.
- (cfg) renderer : allows custom rendering within the combo.
- (cfg) groupBy : allows grouping within the combo box listing.
- (fix) blur event now registers correctly when selecting an element from the combo
- (fix) flicker in IE when hovering trigger
- (cfg) strictSuggest : set how suggestions will be proposed
- (fix) maxResults is now correctly interpreted
- (fix) maxSelection is now correctly interpreted
- (cfg) method : set the ajax method, default to 'POST'
- (fea) ajax request can now interpret multiple results from server base.
- (fix) bug where the blur event would be triggered when clicking upon the page
- (cfg) required : triggers invalid / valid events when not filled
- (fea) validation through isValid() method
v1.0. initial component release
===============================
- choose to allow free entries or not
- keyboard management
- theme ability
- static and dynamic data processing
- positionning

View File

@ -1,109 +0,0 @@
MagicSuggest v2.0.0
--------------------------
MagicSuggest has a new home here: http://nicolasbize.com/magicsuggest/
It includes a great new API documentation, examples, tutorials and more!
Milestone change log:
MagicSuggest v.2.0.0
====================
- New home at http://nicolasbize.com/magicsuggest/ to run dynamic examples that gh-pages couldn't handle
- Now runs with Bootstrap 3 (required)
- Responsive design
- No more intrusive loading
v1.3.1 BugFixing again! (Minor Tagged Milestone - August 17th, 2013)
====================================================================
- (fix) enable after disable now works (credits to amanokerim - https://github.com/amanokerim)
- (fix) trigger icon now takes full height (credits to DioVayne - https://github.com/DioVayne)
- (fix) clear now compatible with isSilent (credits to Coywolf - https://github.com/Coywolf)
- (fix) groupBy was broken by 1.3.0
- (fea) compatibility with latest jQuery 1.10.2 (credits to RafaelMalgor - https://github.com/RafaelMalgor)
- (fea) resulted JSON objects can now have a custom result property resultsField (credits to RafaelMalgor - https://github.com/RafaelMalgor)
v1.3.0 Some more features and bugfixing (Minor Tagged Milestone - May 25th, 2013)
=================================================================================
- (fea) combo component can now be fetched through the same div element (credits to meghuizen - https://github.com/meghuizen)
- (fix) CSS bug with 1.2.7+ with triggerHidden (credits to ScullWM - https://github.com/ScullWM)
- (fix) container would always render with 1 row even though a bunch of data was loaded (credits to travishaagen - https://github.com/travishaagen)
- (fea) added minimum jQuery version to work in docs (credits to rajeshmeniya - https://github.com/rajeshmeniya)
- (fix) input was not correctly enabled / disabled (credits to zerekw - https://github.com/zerekw)
- (fea) added getName and setName to easily fetch/set form name of component (credits to jbmoens - https://github.com/jbmoens)
- (fix) when a value is specified in the DOM original element, it is passed correctly to MS. (credits to jbmoens - https://github.com/jbmoens)
- (fix) input space now always uses the remaining space as this leads to less issues.
- (fea) combo has now more logic when used for a single selection combo box.
- (fix) space taken for single selection on a small combo remains on one line. (credits to ScullWM - https://github.com/ScullWM)
- (fea) multiple items can now be selected through the Ctrl key (credits to meghuizen - https://github.com/meghuizen)
- (fea) trigger icon now uses pure CSS (credits to meghuizen - https://github.com/meghuizen)
- (fea) cfg(data) can now take a function as parameter (credits to meghuizen - https://github.com/meghuizen)
- (fea) cfg(data) can take a json object whose data items are within the results property
- (fix) CSS has been fixed so it behaves correctly within a bootstrap modal (credits to daenuprobst - https://github.com/daenuprobst)
- (fea) suggestion rendering optimized by reducing draw calls to one. (credits to meghuizen - https://github.com/meghuizen)
- (fix) tags can now longer be removed when the combo is disabled (credits to grena - https://github.com/grena)
- (fix) setting data was only going through visible set of suggestions (credits to grena - https://github.com/grena)
- (fix) missing semi-colons, went through full jslint (credits to grena - https://github.com/grena)
- (fix) suggestions were not appearing when maxSuggestions was set to 10. (credits to zerekw - https://github.com/zerekw and plasmaxy - https://github.com/plasmaxy)
- (fix) the clear function was broken (credits to travishaagen - https://github.com/travishaagen)
- (fea) the component's config can now be setup entirely from the DOM container element.
- (fea) added a silent mode to selection changing methods in order to know if it was user-triggered or not. (credits to travishaagen - https://github.com/travishaagen)
- (fea) added a setData(object) method to fill the combo after it has been rendered (credits to travishaagen - https://github.com/travishaagen)
- (fix) ajax query was sent twice when the user was typing faster than the typeDelay (credits to arvenom - https://github.com/arvenom)
- (fix) highlighting the search results was also highlighting html tags when using custom rendering (credits to pstuart2 - https://github.com/pstuart2)
- (fea) added cfg(strictSuggest) so that user can choose how the suggestions will be made
- (fea) added cfg(toggleOnClick) so that the user can expand/close the combo by clicking on it (credits to psulek - https://github.com/psulek)
- (fix) empty suggestion text was wrongly triggered when performing initial ajax call (credits to curtgrimes - https://github.com/curtgrimes)
- (fea) added cfg(selectionRenderer) (credits to pstuart2 - https://github.com/pstuart2)
- (fix) empty text class was not triggered properly (credits to jods4 - https://github.com/jods4)
- (fix) IE8 compatibility (credits to Airborn22 - https://github.com/Airborn22)
- (fea) MagicSuggest can now be rendered from a select dom component. (credits to Yogu - https://github.com/Yogu)
- (fea) on blur now automatically adds the typed text to the selection if free entries are allowed (credits to Airborn22 - https://github.com/Airborn22)
- (fea) new public method empty() which will clear the user text.
- (fix) make sure combo is filled prior to triggering load event
- (fea) renamed some events for better readability
v1.2.0 Standardization on jQuery plugins (Minor Tagged Milestone - Mar. 4th 2013)
=================================================================================
- (fix) fixed disabled behaviour when one could still edit the emptyText
- (fix) collapse method would throw an error
- (cfg) typeDelay: Amount (in ms) between keyboard registers (credits to jayesbee - https://github.com/jayesbee)
- (fea) standardized on jQuery plugin (credits to jayesbee - https://github.com/jayesbee)
- (fea) added documentation examples
- (cfg) name: name used for magicsuggest as a form element (credits to iambibhas - https://github.com/iambibhas)
- (fix) start up rendering when value rendered as text
- (cfg) dataParams: additional parameters for ajax request (credits to jayesbee - https://github.com/jayesbee)
- (fix) other rendering issues with inner text
v1.1.0 Various enhancements and bug fixing (Minor Tagged Milestone - Feb. 19th 2013)
====================================================================================
- (fea) close cross style now blends in a bit more
- (fea) escape now collapses the combo (without loosing focus)
- (fix) can't enter entries made out of space
- (cfg) noSuggestionText: text displayed when there are no suggestions from given data
- (cfg) minCharsRenderer: allows to customize message when not enough characters are entered to trigger a search
- (cfg) maxEntryRenderer: allows to customize message when too many characters have been entered
- (cfg) maxEntryLength: amount of characters to limit user input
- (cfg) style: custom style applied to the main container
- (cfg) infoMsgCls: custom class to apply to the helper
- (fea) new helper message on upper right to inform on the component status
- (cfg) id: allows to give the component a custom ID
- (cfg) inputCfg : allows additional parameters passed out to the INPUT tag. Enables usage of AngularJS's custom tags for ex.
- (cfg) renderer : allows custom rendering within the combo.
- (cfg) groupBy : allows grouping within the combo box listing.
- (fix) blur event now registers correctly when selecting an element from the combo
- (fix) flicker in IE when hovering trigger
- (cfg) strictSuggest : set how suggestions will be proposed
- (fix) maxResults is now correctly interpreted
- (fix) maxSelection is now correctly interpreted
- (cfg) method : set the ajax method, default to 'POST'
- (fea) ajax request can now interpret multiple results from server base.
- (fix) bug where the blur event would be triggered when clicking upon the page
- (cfg) required : triggers invalid / valid events when not filled
- (fea) validation through isValid() method
v1.0. initial component release
===============================
- choose to allow free entries or not
- keyboard management
- theme ability
- static and dynamic data processing
- positionning

View File

@ -1,9 +0,0 @@
{
"name": "magicsuggest",
"version": "2.1.4",
"main": ["magicsuggest.js", "magicsuggest.css"],
"dependencies": {
"bootstrap": "~3",
"jquery": ">= 1.8.3"
}
}

View File

@ -1,22 +0,0 @@
{
"name": "nicolasbize/magicsuggest",
"description": "MagicSuggest is a multiple selection auto suggest combo box for Bootstrap 3.",
"version": "2.1.4",
"type": "component",
"homepage": "http://nicolasbize.com/magicsuggest",
"license": "MIT",
"require": {
"components/bootstrap": ">=3.0.0",
"components/jquery": ">=1.8.3"
},
"extra": {
"component": {
"scripts": [
"magicsuggest.js"
],
"files": [
"magicsuggest.css"
]
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,263 +0,0 @@
/**
* Multiple Selection Component for Bootstrap
* Check nicolasbize.github.io/magicsuggest/ for latest updates.
*
* Author: Nicolas Bize
* Created: Feb 8th 2013
* Last Updated: Oct 16th 2014
* Version: 2.1.4
* Licence: MagicSuggest is licenced under MIT licence (http://opensource.org/licenses/MIT)
*/
.ms-ctn{
position: relative;
padding: 5px 12px;
height: auto;
}
.ms-inv{
border: 1px solid #CC0000;
}
.ms-ctn-readonly{
cursor: pointer;
}
.ms-ctn-disabled{
cursor: not-allowed;
background-color: #eeeeee;
}
.ms-ctn-bootstrap-focus,
.ms-ctn-bootstrap-focus .ms-res-ctn{
border-color: rgba(82, 168, 236, 0.8) !important;
/* IE6-9 */
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.ms-ctn-focus{
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.ms-ctn input{
border: 0;
box-shadow: none;
-webkit-transition: none;
outline: none;
display: block;
padding: 0;
line-height: 1.42857143;
margin: 1px 0;
width: 100%;
}
.ms-ctn .ms-sel-ctn input{
float: left;
}
.ms-ctn-disabled input{
cursor: not-allowed;
background-color: #eeeeee;
}
.ms-ctn .ms-input-readonly{
cursor: pointer;
}
.ms-ctn .ms-empty-text{
color: #DDD;
}
.ms-ctn input:focus{
border: 0;
box-shadow: none;
-webkit-transition: none;
background: #FFF;
}
.ms-ctn input::-ms-clear {
width: 0;
height: 0;
}
.ms-ctn .ms-trigger{
top: 0;
width: 25px;
height:100%;
position:absolute;
right:0;
background: transparent;
border-left: 1px solid #CCC;
cursor: pointer;
}
.ms-ctn .ms-trigger .ms-trigger-ico {
display: inline-block;
width: 0;
height: 0;
vertical-align: top;
border-top: 4px solid #333;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
margin-left: 8px;
margin-top: 15px;
}
.ms-ctn .ms-trigger:hover{
background-color: #e6e6e6;
}
.ms-ctn .ms-trigger:hover .ms-trigger-ico{
background-position: 0 -4px;
}
.ms-ctn-disabled .ms-trigger{
cursor: not-allowed;
background-color: #eeeeee;
}
.ms-ctn-bootstrap-focus{
border-bottom: 1px solid #CCC;
}
.ms-res-ctn{
width: 100%;
display: block;
overflow-y: auto;
}
.ms-res-ctn .ms-res-group{
line-height: 23px;
text-align: left;
padding: 2px 5px;
font-weight: bold;
border-bottom: 1px dotted #CCC;
border-top: 1px solid #CCC;
background: #f3edff;
color: #333;
}
.ms-res-ctn .ms-res-item{
line-height: 25px;
text-align: left;
padding: 2px 5px;
color: #666;
cursor: pointer;
}
.ms-res-ctn .ms-res-item-grouped{
padding-left: 15px;
}
.ms-res-ctn .ms-res-odd{
background: #FAFAFA;
}
.ms-res-ctn .ms-res-item-active{
background-color: #F5F5F5;
}
.ms-res-ctn .ms-res-item-disabled{
color: #CCC;
cursor: default;
}
.ms-sel-ctn{
overflow: auto;
line-height: 18px;
padding-right: 25px;
}
.ms-no-trigger .ms-sel-ctn{
padding-right: 0;
}
/** Outer and global tags **/
.ms-sel-ctn .ms-sel-item{
background: #F3F3F3;
color: #999;
float: left;
font-size: 12px;
padding: 3px 5px;
border-radius: 3px;
border: 1px solid #DDD;
margin: 3px 0px 1px 0;
}
.ms-sel-ctn .ms-sel-invalid{
border-color: rgb(248, 165, 165) !important;
background: #FDF2F2 !important;
}
.ms-sel-ctn .ms-sel-item:hover{
border: 1px solid #BBB;
}
/** For inner tags **/
.ms-ctn .ms-sel-item{
background: #F3F3F3;
color: #999;
float: left;
font-size: 12px;
padding: 0 5px;
border-radius: 3px;
border: 1px solid #DDD;
margin: 1px 5px 1px 0;
}
.ms-ctn .ms-sel-item:hover{
border: 1px solid transparent;
}
.ms-ctn-focus .ms-sel-item:hover{
border: 1px solid #BBB;
}
.ms-sel-ctn .ms-sel-text{
background: #FFF;
color: #666;
padding-right: 0;
margin-left: 0;
font-size: 14px;
font-weight: normal;
}
.ms-as-string .ms-sel-text{
border-color: transparent;
}
.ms-res-ctn .ms-res-item em{
font-style: normal;
background: #565656;
color: #FFF;
}
.ms-sel-ctn .ms-sel-text:hover{
background: #FFF;
}
.ms-sel-ctn .ms-sel-item-active{
border: 1px solid red;
background: #757575;
}
.ms-stacked .ms-sel-item{
float: inherit;
}
.ms-sel-ctn .ms-sel-item .ms-close-btn{
width: 7px;
cursor: pointer;
height: 7px;
float: right;
margin: 6px 2px 0 10px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAOCAYAAADjXQYbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAG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kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABSSURBVHjahI7BCQAwCAOTzpThHMHh3Kl9CVos9XckFwQAuPtGuWTWwMwaczKzyHsqg6+5JqMJr28BABHRwmTWQFJjTmYWOU1L4tdck9GE17dnALGAS+kAR/u2AAAAAElFTkSuQmCC);
background-position: 0 -7px;
}
.ms-sel-ctn .ms-sel-item .ms-close-btn:hover{
background-position: 0 0;
}
.ms-helper{
color: #AAA;
font-size: 10px;
position: absolute;
top: -17px;
right: 0;
}
.ms-ctn.input-lg .ms-trigger .ms-trigger-ico {
margin-top: 17px
}
.ms-ctn.input-sm .ms-trigger .ms-trigger-ico {
margin-top: 13px
}
.ms-ctn.input-lg .ms-sel-ctn .ms-sel-item {
padding-top: 2px;
padding-bottom: 3px;
}
.ms-ctn.input-sm .ms-sel-ctn {
line-height: 15px;
}
.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item {
padding-top: 1px;
padding-bottom: 1px;
margin-top:0;
margin-bottom: 0;
}
.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item .ms-close-btn {
margin-top: 4px;
}
.ms-ctn .ms-sel-ctn {
margin-left: -7px;
}
.ms-ctn .ms-trigger:hover {
width:24px;
right: 1px;
border-radius: 0 3px 3px 0;
}

View File

@ -1,36 +0,0 @@
{
"name": "magicsuggest",
"title": "MagicSuggest",
"description": "MagicSuggest is a multiple selection auto suggest combo box for Bootstrap 3.",
"keywords": [
"select",
"suggest",
"autocomplete",
"typeahead",
"dropdown",
"multiselect",
"tag",
"tagging",
"bootstrap",
"combobox"
],
"version": "2.1.4",
"author": {
"name": "Nicolas Bize",
"url": "https://github.com/nicolasbize"
},
"licenses": [
{
"type": "MIT",
"url": "http://nicolasbize.com/magicsuggest/licence.html"
}
],
"bugs": "https://github.com/nicolasbize/magicsuggest/issues",
"homepage": "http://nicolasbize.com/magicsuggest/",
"docs": "http://nicolasbize.com/magicsuggest/doc.html",
"download": "https://github.com/nicolasbize/magicsuggest/releases",
"dependencies": {
"jquery": ">=1.8.3",
"bootstrap": ">=3.0.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
* Magic suggest / tag list widget
*/
/* These imports processed by framework */
/*@import url("../../js/jquery/magicsuggest/magicsuggest.css");*/
/*@import url("../../../vendor/egroupware/magicsuggest/magicsuggest.css");*/
/*@import url("../../js/jquery/jpicker/css/jPicker-1.1.6.min.css");*/
/*@import url("../../js/jquery/jquery-ui-timepicker-addon.css");*/
/*@import url("../../js/jquery/blueimp/css/blueimp-gallery.min.css");*/
@ -1000,6 +1000,16 @@ ul.et2_link_string {
background-repeat: no-repeat;
margin: 2px -16px 0 10px;
}
.et2_taglist div.ms-sel-ctn .ms-edit-btn,
.et2_taglist div.ms-sel-ctn .ms-check-btn{
width: 10px;
height: 10px;
background-position: 0px -10px;
background-size: cover;
background-repeat: no-repeat;
margin: 2px 10px 0 2px;
}
.et2_taglist div.ms-sel-ctn span.ms-check-btn {margin: 2px 10px 0 10px;}
.et2_taglist .ms-res-ctn {
position:absolute;
background: #FFF;

View File

@ -36,7 +36,8 @@
"npm-asset/as-jqplot" : "1.0.*",
"npm-asset/gridster":"0.5.*",
"adldap2/adldap2": "=4.0.4",
"egroupware/ckeditor": "^4"
"egroupware/ckeditor": "^4",
"egroupware/magicsuggest": "^2.1"
},
"require-dev": {
}

150
composer.lock generated
View File

@ -4,7 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "881022c01663ee3c186a83514fabe1c2",
"hash": "84b694bd9f6a9580e983b49e7ca2d4d5",
"content-hash": "82677726f3064e3f1ecadf479a569d3f",
"packages": [
{
"name": "adldap2/adldap2",
@ -54,7 +55,7 @@
"ldap",
"windows"
],
"time": "2016-07-14T18:11:24+00:00"
"time": "2016-07-14 18:11:24"
},
{
"name": "bower-asset/cropper",
@ -216,6 +217,110 @@
"bower-asset-ignore": []
}
},
{
"name": "components/bootstrap",
"version": "4.1.1",
"source": {
"type": "git",
"url": "https://github.com/components/bootstrap.git",
"reference": "6c183f17f5d8fbfb38af412c5e0a52135f7d01c9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/components/bootstrap/zipball/6c183f17f5d8fbfb38af412c5e0a52135f7d01c9",
"reference": "6c183f17f5d8fbfb38af412c5e0a52135f7d01c9",
"shasum": ""
},
"require": {
"components/jquery": ">=2"
},
"type": "component",
"extra": {
"component": {
"scripts": [
"js/bootstrap.js"
],
"files": [
"js/*.js",
"css/*.css",
"css/*.map"
],
"shim": {
"deps": [
"jquery"
]
}
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jacob Thornton",
"email": "jacobthornton@gmail.com"
},
{
"name": "Mark Otto",
"email": "markdotto@gmail.com"
}
],
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"homepage": "http://getbootstrap.com",
"keywords": [
"css",
"framework",
"front-end",
"mobile-first",
"responsive",
"sass",
"web"
],
"time": "2018-05-06 21:06:16"
},
{
"name": "components/jquery",
"version": "3.3.1",
"source": {
"type": "git",
"url": "https://github.com/components/jquery.git",
"reference": "459648cda77875519c5da3ae1dd0ed5d170aa649"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/components/jquery/zipball/459648cda77875519c5da3ae1dd0ed5d170aa649",
"reference": "459648cda77875519c5da3ae1dd0ed5d170aa649",
"shasum": ""
},
"type": "component",
"extra": {
"component": {
"scripts": [
"jquery.js"
],
"files": [
"jquery.min.js",
"jquery.min.map",
"jquery.slim.js",
"jquery.slim.min.js",
"jquery.slim.min.map"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "JS Foundation and other contributors"
}
],
"description": "jQuery JavaScript Library",
"homepage": "http://jquery.com",
"time": "2018-03-04 13:23:48"
},
{
"name": "egroupware/ckeditor",
"version": "v4.9.2",
@ -250,6 +355,43 @@
"homepage": "https://github.com/EGroupware/ckeditor",
"time": "2018-05-08 13:42:32"
},
{
"name": "egroupware/magicsuggest",
"version": "2.1.5",
"source": {
"type": "git",
"url": "https://github.com/EGroupware/magicsuggest.git",
"reference": "2818189cd8ae69b1ab6dccd5d4516ffa19b92e55"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/EGroupware/magicsuggest/zipball/2818189cd8ae69b1ab6dccd5d4516ffa19b92e55",
"reference": "2818189cd8ae69b1ab6dccd5d4516ffa19b92e55",
"shasum": ""
},
"require": {
"components/bootstrap": ">=3.0.0",
"components/jquery": ">=1.8.3"
},
"type": "component",
"extra": {
"component": {
"scripts": [
"magicsuggest.js"
],
"files": [
"magicsuggest.css"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Compiled version of magicsuggest customized for EGroupware project.",
"homepage": "https://github.com/EGroupware/magicsuggest",
"time": "2018-06-21 10:14:03"
},
{
"name": "fxp/composer-asset-plugin",
"version": "v1.2.2",
@ -1569,9 +1711,7 @@
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"php": 15
},
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {

View File

@ -1155,7 +1155,9 @@ body {
#mail-compose .mailComposeHeaders span.ms-close-btn,
#mail-compose .mailComposeHeadersSection span.ms-close-btn,
#mail-compose .mailComposeHeaders span.ms-edit-btn,
#mail-compose .mailComposeHeadersSection span.ms-edit-btn {
#mail-compose .mailComposeHeadersSection span.ms-edit-btn,
#mail-compose .mailComposeHeaders span.ms-check-btn,
#mail-compose .mailComposeHeadersSection span.ms-check-btn {
padding-right: 0px;
}
#mail-compose .mailComposeHeaders div,

View File

@ -1143,7 +1143,9 @@ body {
#mail-compose .mailComposeHeaders span.ms-close-btn,
#mail-compose .mailComposeHeadersSection span.ms-close-btn,
#mail-compose .mailComposeHeaders span.ms-edit-btn,
#mail-compose .mailComposeHeadersSection span.ms-edit-btn {
#mail-compose .mailComposeHeadersSection span.ms-edit-btn,
#mail-compose .mailComposeHeaders span.ms-check-btn,
#mail-compose .mailComposeHeadersSection span.ms-check-btn {
padding-right: 0px;
}
#mail-compose .mailComposeHeaders div,

View File

@ -244,7 +244,7 @@ body {
padding-right: 5px;
}
span.ms-close-btn, span.ms-edit-btn {
span.ms-close-btn, span.ms-edit-btn, span.ms-check-btn {
padding-right: 0px;
}