From 4659e7424c88d660f86f53ec17388077e0b5741e Mon Sep 17 00:00:00 2001 From: "Sergio F. Rodriguez" Date: Mon, 26 Feb 2024 22:58:04 +0100 Subject: [PATCH 1/5] mod - replaced deprecated jquery across the code base. --- magicsuggest.js | 101 ++++++++++++++++++++++++++++-------------------- 1 file changed, 60 insertions(+), 41 deletions(-) diff --git a/magicsuggest.js b/magicsuggest.js index 32b2505..fec176e 100644 --- a/magicsuggest.js +++ b/magicsuggest.js @@ -239,7 +239,7 @@ /** * The name used as a form element. */ - name: null, + name: 'MagicSuggest', /** * The text displayed when there are no suggestions. @@ -380,17 +380,25 @@ */ this.addToSelection = function (items, isSilent) { if (!cfg.maxSelection || _selection.length < cfg.maxSelection) { + + // If the selection is inner and has a value, set the placeholder to an empty string + let valueChanged = false; + + // If the items is not an array, convert it to an array if (!Array.isArray(items)) { items = [items]; } - let valuechanged = false; - items.forEach((json) => { - if (cfg.allowDuplicates || $.inArray(json[cfg.valueField], ms.getValue()) === -1) { - _selection.push(json); - valuechanged = true; + + // Add the items to the selection + items.forEach((selection) => { + if (cfg.allowDuplicates || $.inArray(selection[cfg.valueField], ms.getValue()) === -1) { + _selection.push(selection); + valueChanged = true; } }); - if (valuechanged === true) { + + // If the selection is inner and has a value, set the placeholder to an empty string + if (valueChanged === true) { self._renderSelection(); this.empty(); if (isSilent !== true) { @@ -398,7 +406,14 @@ } } } - this.input.attr('placeholder', (cfg.selectionPosition === 'inner' && this.getValue().length > 0) ? '' : cfg.placeholder); + + // If the selection is inner and has a value, set the placeholder to an empty string + const isInnerSelection = cfg.selectionPosition === 'inner'; + const hasValue = this.getValue().length > 0; + const placeholder = isInnerSelection && hasValue ? '' : cfg.placeholder; + + // Set the placeholder to an empty string if the selection is inner and has a value + this.input.attr('placeholder', placeholder); }; /** @@ -471,7 +486,7 @@ this.isValid = function () { var valid = cfg.required === false || _selection.length > 0; if (cfg.vtype || cfg.vregex) { - _selection.forEach((item) => { + $.each(_selection, function (index, item) { valid = valid && self._validateSingleItem(item[cfg.valueField]); }); } @@ -533,7 +548,7 @@ items = [items]; } var valuechanged = false; - items.forEach((json)=> { + $.each(items, function (index, json) { var i = $.inArray(json[cfg.valueField], ms.getValue()); if (i > -1) { _selection.splice(i, 1); @@ -745,9 +760,9 @@ */ _getEntriesFromStringArray: function (data) { var json = []; - $.each(data, function (index, s) { + $.each(data, function (index, element) { var entry = {}; - entry[cfg.displayField] = entry[cfg.valueField] = $.trim(s); + entry[cfg.displayField] = entry[cfg.valueField] = element.trim(); json.push(entry); }); return json; @@ -895,10 +910,14 @@ style: cfg.style, id: cfg.id }); - ms.container.on('focus', $.proxy(handlers._onFocus, this)); - ms.container.on('blur', $.proxy(handlers._onBlur, this)); - ms.container.on('keydown', $.proxy(handlers._onKeyDown, this)); - ms.container.on('keyup', $.proxy(handlers._onKeyUp, this)); + + ms.container.on('focus', handlers._onFocus.bind(this)); + ms.container.on('blur', handlers._onBlur.bind(this)); + ms.container.on('keydown', handlers._onKeyDown.bind(this)); + ms.container.on('keyup', handlers._onKeyUp.bind(this)); + + + // holds the input field ms.input = $('', $.extend({ @@ -909,8 +928,8 @@ disabled: cfg.disabled }, cfg.inputCfg)); - ms.input.on('focus', $.proxy(handlers._onInputFocus, this)); - ms.input.on('click', $.proxy(handlers._onInputClick, this)); + ms.input.on('focus', handlers._onInputFocus.bind(this)); + ms.input.on('click', handlers._onInputClick.bind(this)); // holds the suggestions. will always be placed on focus ms.combobox = $('
', { @@ -918,8 +937,8 @@ }).height(cfg.maxDropHeight); // bind the onclick and mouseover using delegated events (needs jQuery >= 1.7) - ms.combobox.on('click', 'div.ms-res-item', $.proxy(handlers._onComboItemSelected, this)); - ms.combobox.on('mouseover', 'div.ms-res-item', $.proxy(handlers._onComboItemMouseOver, this)); + ms.combobox.on('click', 'div.ms-res-item', handlers._onComboItemSelected.bind(this)); + ms.combobox.on('mouseover', 'div.ms-res-item', handlers._onComboItemMouseOver.bind(this)); if (cfg.selectionContainer) { ms.selectionContainer = cfg.selectionContainer; @@ -929,7 +948,7 @@ 'class': 'ms-sel-ctn' }); } - ms.selectionContainer.on('click', $.proxy(handlers._onFocus, this)); + ms.selectionContainer.on('click', handlers._onFocus.bind(this)); if (cfg.selectionPosition === 'inner' && !cfg.selectionContainer) { ms.selectionContainer.append(ms.input); @@ -973,11 +992,11 @@ 'class': 'ms-trigger', html: '
' }); - ms.trigger.on('click', $.proxy(handlers._onTriggerClick, this)); + ms.trigger.on('click', handlers._onTriggerClick.bind(this)); ms.container.append(ms.trigger); } - $(window).on('resize', $.proxy(handlers._onWindowResized, this)); + $(window).on('resize', handlers._onWindowResized.bind(this)); // do not perform an initial call if we are using ajax unless we have initial values if (cfg.value !== null || cfg.data !== null) { @@ -1078,7 +1097,7 @@ 'class': 'ms-close-btn' }).data('json', value).prependTo(selectedItemEl); - delItemEl.on('click', $.proxy(handlers._onTagTriggerClick, ref)); + delItemEl.on('click', handlers._onTagTriggerClick.bind(ref)); } } @@ -1153,12 +1172,12 @@ selectedValues = ms.getValue(); // filter the data according to given input if (q.length > 0) { - data.forEach((item) => { - var name = item[cfg.displayField]; + $.each(data, function (index, obj) { + var name = obj[cfg.displayField]; if ((cfg.matchCase === true && name.indexOf(q) > -1) || (cfg.matchCase === false && name.toLowerCase().indexOf(q.toLowerCase()) > -1)) { if (cfg.strictSuggest === false || name.toLowerCase().indexOf(q.toLowerCase()) === 0) { - filtered.push(item); + filtered.push(obj); } } }); @@ -1166,9 +1185,9 @@ filtered = data; } // take out the ones that have already been selected - filtered.forEach((item) => { - if (cfg.allowDuplicates || $.inArray(item[cfg.valueField], selectedValues) === -1) { - newSuggestions.push(item); + $.each(filtered, function (index, obj) { + if (cfg.allowDuplicates || $.inArray(obj[cfg.valueField], selectedValues) === -1) { + newSuggestions.push(obj); } }); // sort the data @@ -1196,19 +1215,19 @@ if (cfg.groupBy !== null) { _groups = {}; - data.forEach((item) => { + $.each(data, function (index, value) { var props = cfg.groupBy.indexOf('.') > -1 ? cfg.groupBy.split('.') : cfg.groupBy; - var prop = item[cfg.groupBy]; + var prop = value[cfg.groupBy]; if (typeof (props) != 'string') { - prop = item; + prop = value; while (props.length > 0) { prop = prop[props.shift()]; } } if (_groups[prop] === undefined) { - _groups[prop] = {title: prop, items: [item]}; + _groups[prop] = {title: prop, items: [value]}; } else { - _groups[prop].items.push(item); + _groups[prop].items.push(value); } }); } @@ -1262,7 +1281,7 @@ _hasFocus = false; if (ms.getRawValue() !== '' && cfg.allowFreeEntries === true) { var obj = {}; - obj[cfg.displayField] = obj[cfg.valueField] = $.trim(ms.getRawValue()); + obj[cfg.displayField] = obj[cfg.valueField] = ms.getRawValue().trim(); ms.addToSelection(obj); } self._renderSelection(); @@ -1420,8 +1439,8 @@ */ _onKeyUp: function (e) { var freeInput = ms.getRawValue(), - inputValid = $.trim(ms.input.val()).length > 0 && - (!cfg.maxEntryLength || $.trim(ms.input.val()).length <= cfg.maxEntryLength), + inputValid = ms.input.val().trim().length > 0 && + (!cfg.maxEntryLength || ms.input.val().trim().length <= cfg.maxEntryLength), selected, obj = {}; @@ -1461,7 +1480,7 @@ } // if no selection or if freetext entered and free entries allowed, add new obj to selection if (inputValid === true && cfg.allowFreeEntries === true) { - obj[cfg.displayField] = obj[cfg.valueField] = $.trim(freeInput); + obj[cfg.displayField] = obj[cfg.valueField] = freeInput.trim(); ms.addToSelection(obj); ms.collapse(); // reset combo suggestions ms.input.trigger('focus'); @@ -1563,7 +1582,7 @@ if (this.nodeName.toLowerCase() === 'select') { // rendering from select options.data = []; options.value = []; - this.children.forEach((child) => { + $.each(this.children, function (index, child) { if (child.nodeName && child.nodeName.toLowerCase() === 'option') { options.data.push({ id: child.value, name: child.text }); if ($(child).attr('selected')) { @@ -1575,7 +1594,7 @@ var def = {}; // set values from DOM container element - this.attributes.forEach((att) => { + $.each(this.attributes, function (i, att) { def[att.name] = att.name === 'value' && att.value !== '' ? JSON.parse(att.value) : att.value; }); From 1f382bb42683a05139291b3d90778f831bf2a34d Mon Sep 17 00:00:00 2001 From: "Sergio F. Rodriguez" Date: Mon, 26 Feb 2024 22:59:08 +0100 Subject: [PATCH 2/5] adding - ignore for test local folders --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3f5b0ad..d201537 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ node_modules /.idea/.gitignore /.idea/modules.xml /.idea/vcs.xml +/ignore/ From 0a3d9c6e9876c9533e242995ddefd06d0cd2252f Mon Sep 17 00:00:00 2001 From: Sergio Rodriguez - *nix Date: Tue, 12 Mar 2024 07:40:58 +0100 Subject: [PATCH 3/5] Delete magicsuggest.min.js deleting out-of-date source --- magicsuggest.min.js | 48 --------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 magicsuggest.min.js diff --git a/magicsuggest.min.js b/magicsuggest.min.js deleted file mode 100644 index c8618f9..0000000 --- a/magicsuggest.min.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - MIT - Multiple Selection Component for Bootstrap - - Author: Nicolas Bize - Maintainer: Sergio F. Rodriguez - Created: Feb 8th 2013 - Last Updated: Feb 15, 2024 - Version: @VERSION@ - Licence: MagicSuggest is licenced under MIT licence (http://opensource.org/licenses/MIT) -*/ -(function(d){var C=function(t,q){var b=this,y=d.extend({},q),a=d.extend(!0,{},{allowFreeEntries:!0,allowDuplicates:!1,ajaxConfig:{},ajaxJSONMode:!1,autoSelect:!0,selectFirst:!1,queryParam:"query",beforeSend:function(){},cls:"",data:null,dataUrlParams:{},disabled:!1,disabledField:null,displayField:"name",tooltipField:"title",editable:!0,expanded:!1,expandOnFocus:!1,groupBy:null,hideTrigger:!1,highlight:!0,id:null,infoMsgCls:"",inputCfg:{},invalidCls:"ms-inv",matchCase:!1,maxDropHeight:290,maxEntryLength:null, -maxEntryRenderer:function(c){return"Please reduce your entry by "+c+" character"+(1=a.minChars||0]+)>)/gi,"")};this.getValue=function(){return d.map(k,function(c){return c[a.valueField]})};this.removeFromSelection=function(c,e){Array.isArray(c)||(c=[c]);var f=!1;c.forEach(function(g){g= -d.inArray(g[a.valueField],b.getValue());-1c&&(c=null);null!==c&&k.length>c&&this.removeFromSelection(k.slice(c));a.maxSelection=c};var k=[],u=0,A,v=!1,w=null,x=[],z=!1,h={_displaySuggestions:function(c){b.combobox.show();b.combobox.empty();var e=0;if(null===w)h._renderComboItems(c),e=u*c.length;else{for(var f in w)e+=1,d("
",{"class":"ms-res-group",html:f}).appendTo(b.combobox),h._renderComboItems(w[f].items,!0);f=b.combobox.find(".ms-res-group").outerHeight();e=null!==f?u*c.length+ -e*f:u*(c.length+e)}e=b.combobox.height()&&e>a.maxDropHeight&&b.combobox.height(a.maxDropHeight);1===c.length&&!0===a.autoSelect&&b.combobox.children().filter(":not(.ms-res-item-disabled):last").addClass("ms-res-item-active");!0===a.selectFirst&&b.combobox.children().filter(":not(.ms-res-item-disabled):first").addClass("ms-res-item-active");0===c.length&&""!==b.getRawValue()&&(e=a.noSuggestionText.replace(/\{\{.*\}\}/,b.input.val()),h._updateHelper(e), -b.collapse());!1===a.allowFreeEntries&&(0===c.length?(d(b.input).addClass(a.invalidCls),b.combobox.hide()):d(b.input).removeClass(a.invalidCls))},_getEntriesFromStringArray:function(c){var e=[];d.each(c,function(f,g){var n={};n[a.displayField]=n[a.valueField]=d.trim(g);e.push(n)});return e},_highlightSuggestion:function(c){var e=b.input.val();d.each("^$*+?.():!|{}[]".split(""),function(f,g){e=e.replace(g,"\\"+g)});return 0===e.length?c:c.replace(new RegExp("("+e+")(?!([^<]+)?>)",!0===a.matchCase? -"g":"gi"),"$1")},_moveSelectedRow:function(c){a.expanded||b.expand();var e=b.combobox.find(".ms-res-item:not(.ms-res-item-disabled)");var f="down"===c?e.eq(0):e.filter(":last");var g=b.combobox.find(".ms-res-item-active:not(.ms-res-item-disabled):first");0b.combobox.height()&&b.combobox.scrollTop(c+ -u)):(f=g.prevAll(".ms-res-item:not(.ms-res-item-disabled)").first(),0===f.length&&(f=e.filter(":last"),b.combobox.scrollTop(u*e.length)),f[0].offsetTop",{"class":"ms-ctn form-control "+(a.resultAsString?"ms-as-string ":"")+a.cls+(d(c).hasClass("input-lg")?" input-lg":"")+(d(c).hasClass("input-sm")?" input-sm":"")+(!0===a.disabled?" ms-ctn-disabled":"")+(!0===a.editable? -"":" ms-ctn-readonly")+(!1===a.hideTrigger?"":" ms-no-trigger"),style:a.style,id:a.id});b.container.on("focus",d.proxy(p._onFocus,this));b.container.on("blur",d.proxy(p._onBlur,this));b.container.on("keydown",d.proxy(p._onKeyDown,this));b.container.on("keyup",d.proxy(p._onKeyUp,this));b.input=d("",d.extend({type:"text","class":!0===a.editable?"":" ms-input-readonly",readonly:!a.editable,placeholder:a.placeholder,disabled:a.disabled},a.inputCfg));b.input.on("focus",d.proxy(p._onInputFocus, -this));b.input.on("click",d.proxy(p._onInputClick,this));b.combobox=d("
",{"class":"ms-res-ctn dropdown-menu"}).height(a.maxDropHeight);b.combobox.on("click","div.ms-res-item",d.proxy(p._onComboItemSelected,this));b.combobox.on("mouseover","div.ms-res-item",d.proxy(p._onComboItemMouseOver,this));a.selectionContainer?(b.selectionContainer=a.selectionContainer,d(b.selectionContainer).addClass("ms-sel-ctn")):b.selectionContainer=d("
",{"class":"ms-sel-ctn"});b.selectionContainer.on("click", -d.proxy(p._onFocus,this));"inner"!==a.selectionPosition||a.selectionContainer?b.container.append(b.input):b.selectionContainer.append(b.input);b.helper=d("",{"class":"ms-helper "+a.infoMsgCls});h._updateHelper();b.container.append(b.helper);d(c).replaceWith(b.container);if(!a.selectionContainer)switch(a.selectionPosition){case "bottom":b.selectionContainer.insertAfter(b.container);!0===a.selectionStacked&&(b.selectionContainer.width(b.container.width()),b.selectionContainer.addClass("ms-stacked")); -break;case "right":b.selectionContainer.insertAfter(b.container);b.container.css("float","left");break;default:b.container.append(b.selectionContainer)}!1===a.hideTrigger&&(b.trigger=d("
",{"class":"ms-trigger",html:'
'}),b.trigger.on("click",d.proxy(p._onTriggerClick,this)),b.container.append(b.trigger));d(window).on("resize",d.proxy(p._onWindowResized,this));if(null!==a.value||null!==a.data)"string"===typeof a.data?(h._asyncValues=a.value,h._processSuggestions()): -(h._processSuggestions(),null!==a.value&&(b.setValue(a.value),h._renderSelection()));d("body").on("click",function(e){var f=d(e.target).attr("class");void 0===f&&(f="");b.container.hasClass("ms-ctn-focus")&&0===b.container.has(e.target).length&&0>f.indexOf("ms-res-item")&&0>f.indexOf("ms-close-btn")&&b.container[0]!==e.target&&p._onBlur()});!0===a.expanded&&(a.expanded=!1,b.expand())},_renderComboItems:function(c,e){var f=this,g="";d.each(c,function(n,l){var m=null!==a.renderer?a.renderer.call(f, -l):l[a.displayField];m=d("
",{"class":"ms-res-item "+(e?"ms-res-item-grouped ":"")+(null!==a.disabledField&&!0===l[a.disabledField]?"ms-res-item-disabled ":"")+(1===n%2&&!0===a.useZebraStyle?"ms-res-odd":""),title:null!==a.tooltipField?l[a.tooltipField]:"",html:!0===a.highlight?h._highlightSuggestion(m):m,"data-json":JSON.stringify(l)});g+=d("
").append(m).html()});b.combobox.append(g);u=b.combobox.find(".ms-res-item:first").outerHeight()},_renderSelection:function(){var c=this,e=0;e=0; -var f=[],g=!0===a.resultAsString&&!v;b.selectionContainer.find(".ms-sel-item").remove();void 0!==b._valueContainer&&b._valueContainer.remove();d.each(k,function(n,l){var m=null!==a.selectionRenderer?a.selectionRenderer.call(c,l):l[a.displayField];var r=h._validateSingleItem(l[a.displayField])?"":" ms-sel-invalid";var B=null!==a.tooltipField?l[a.tooltipField]:"";!0===g?m=d("
",{"class":"ms-sel-item ms-sel-text "+a.selectionCls+r,title:B,html:m+(n===k.length-1?"":a.resultAsStringDelimiter)}).data("json", -l):(m=d("
",{"class":"ms-sel-item "+a.selectionCls+r,title:B,html:m}).data("json",l),!1===a.disabled&&(r=d("",{"class":"ms-close-btn"}).data("json",l).prependTo(m),r.on("click",d.proxy(p._onTagTriggerClick,c))));f.push(m)});b.selectionContainer.prepend(f);b._valueContainer=d("
",{style:"display: none;"});d.each(b.getValue(),function(n,l){d("",{type:"hidden",name:a.name,value:l}).appendTo(b._valueContainer)});b._valueContainer.appendTo(b.selectionContainer);"inner"!==a.selectionPosition|| -a.selectionContainer||(b.input.width(0),e=b.input.offset().left-b.selectionContainer.offset().left,e=b.container.width()-e-42,0>e&&(e=b.container.width()),b.input.width(e));k.length===a.maxSelection?h._updateHelper(a.maxSelectionRenderer.call(this,k.length)):b.helper.hide()},_selectItem:function(c){1===a.maxSelection&&(k=[]);b.addToSelection(c.data("json"));c.removeClass("ms-res-item-active");!1!==a.expandOnFocus&&k.length!==a.maxSelection||b.collapse();v?v&&(a.expandOnFocus||z)&&(h._processSuggestions(), -z&&b.expand()):b.input.trigger("focus")},_sortAndTrim:function(c){var e=b.getRawValue(),f=[],g=[],n=b.getValue();0m[a.sortOrder]?"asc"===a.sortDir?1:-1:0});a.maxSuggestions&&0c.keyCode)17===c.keyCode&&(z=!1);else switch(c.keyCode){case 38:case 40:c.preventDefault(); -break;case 13:case 9:case 188:if(188!==c.keyCode||!0===a.useCommaKey){c.preventDefault();if(!0===a.expanded&&(c=b.combobox.find(".ms-res-item-active:not(.ms-res-item-disabled):first"),0a.maxEntryLength?(h._updateHelper(a.maxEntryRenderer.call(this,e.length-a.maxEntryLength)),!0===a.expanded&&b.collapse()):(b.helper.hide(),a.minChars<=e.length&&(A=setTimeout(function(){!0===a.expanded?h._processSuggestions():b.expand()},a.typeDelay)))}},_onTagTriggerClick:function(c){b.removeFromSelection(d(c.currentTarget).data("json"))},_onTriggerClick:function(){if(!1===b.isDisabled()&&(!0!==a.expandOnFocus||k.length!== -a.maxSelection))if(d(b).trigger("triggerclick",[b]),!0===a.expanded)b.collapse();else{var c=b.getRawValue().length;c>=a.minChars?(b.input.trigger("focus"),b.expand()):h._updateHelper(a.minCharsRenderer.call(this,a.minChars-c))}},_onWindowResized:function(){h._renderSelection()}};null!==t&&h._render(t)};d.fn.magicSuggest=function(t){var q=d(this);if(1===q.length&&q.data("magicSuggest"))return q.data("magicSuggest");q.each(function(b){b=d(this);if(!b.data("magicSuggest")){"select"===this.nodeName.toLowerCase()&& -(t.data=[],t.value=[],this.children.forEach(function(k){k.nodeName&&"option"===k.nodeName.toLowerCase()&&(t.data.push({id:k.value,name:k.text}),d(k).attr("selected")&&t.value.push(k.value))}));var y={};this.attributes.forEach(function(k){y[k.name]="value"===k.name&&""!==k.value?JSON.parse(k.value):k.value});var a=new C(this,d.extend([],d.fn.magicSuggest.defaults,t,y));b.data("magicSuggest",a);a.container.data("magicSuggest",a)}});return 1===q.length?q.data("magicSuggest"):q};d.fn.magicSuggest.defaults= -{}})(jQuery); \ No newline at end of file From 177e308e780b609e5cd1b6a10214a7ba753d59e8 Mon Sep 17 00:00:00 2001 From: Sergio Rodriguez - *nix Date: Tue, 12 Mar 2024 07:41:54 +0100 Subject: [PATCH 4/5] Delete magicsuggest.min.js.map deleting out-of-date code --- magicsuggest.min.js.map | 1 - 1 file changed, 1 deletion(-) delete mode 100644 magicsuggest.min.js.map diff --git a/magicsuggest.min.js.map b/magicsuggest.min.js.map deleted file mode 100644 index 0ce560a..0000000 --- a/magicsuggest.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sourceRoot":"/","sources":["./magicsuggest.js"],"names":["$","MagicSuggest","element","options","_timer","ms","this","conf","extend","cfg","allowFreeEntries","allowDuplicates","ajaxConfig","autoSelect","selectFirst","queryParam","beforeSend","cls","data","dataUrlParams","disabled","disabledField","displayField","tooltipField","editable","expanded","expandOnFocus","groupBy","hideTrigger","highlight","id","infoMsgCls","inputCfg","invalidCls","matchCase","maxDropHeight","maxEntryLength","maxEntryRenderer","v","maxSuggestions","maxSelection","maxSelectionRenderer","method","minChars","minCharsRenderer","mode","name","noSuggestionText","placeholder","renderer","required","resultAsString","resultAsStringDelimiter","resultsField","selectionCls","selectionContainer","selectionPosition","selectionRenderer","selectionStacked","sortDir","sortOrder","strictSuggest","style","toggleOnClick","typeDelay","useTabKey","useCommaKey","useZebraStyle","value","valueField","vregex","vtype","_selection","addToSelection","items","isSilent","valuechanged","length","Array","isArray","each","index","json","inArray","getValue","push","self","_renderSelection","empty","trigger","getSelection","input","attr","clear","removeFromSelection","slice","collapse","combobox","detach","disable","container","addClass","val","enable","removeClass","expand","children","appendTo","_processSuggestions","isDisabled","isValid","valid","item","_validateSingleItem","getDataUrlParams","getName","getRawValue","stripHtml","inputString","replace","map","o","i","splice","getData","_cbData","setData","setName","indexOf","_valueContainer","el","setSelection","setValue","values","found","setDataUrlParams","params","setMaxSelection","newSelectionSize","_comboItemHeight","_hasFocus","_groups","_ctrlDown","KEYCODES","_displaySuggestions","show","resHeight","nbGroups","_renderComboItems","grpName","class","html","_groupItemHeight","find","outerHeight","height","filter","_updateHelper","hide","_getEntriesFromStringArray","s","entry","trim","_highlightSuggestion","glob","q","RegExp","_moveSelectedRow","dir","list","start","active","eq","nextAll","first","scrollPos","scrollTop","offsetTop","prevAll","source","sortedData","call","queryParams","ajax","type","url","success","asyncData","JSON","parse","_asyncValues","error","jqXHR","textStatus","errorThrown","_sortAndTrim","_group","_render","hasClass","on","proxy","handlers","_onFocus","_onBlur","_onKeyDown","_onKeyUp","readonly","_onInputFocus","_onInputClick","_onComboItemSelected","_onComboItemMouseOver","append","helper","replaceWith","insertAfter","width","css","_onTriggerClick","window","_onWindowResized","e","targetClass","target","undefined","has","isGrouped","ref","displayed","titleText","resultItemEl","title","data-json","stringify","inputOffset","asText","remove","selectedItemEl","selectedItemHtml","validCls","prependTo","_onTagTriggerClick","prepend","offset","left","w","_selectItem","filtered","newSuggestions","selectedValues","obj","toLowerCase","sort","a","b","props","split","prop","shift","is","fadeIn","test","currentTarget","curLength","freeInput","keyCode","pop","preventDefault","selected","inputValid","clearTimeout","setTimeout","fn","magicSuggest","def","field","cntr","nodeName","child","text","attributes","att","defaults","jQuery"],"mappings":";;;;;;;;;;GAWA;CAAA,SAAWA,GACP,aAEmB,SAAfC,aAAyBC,QAASC,SAClC,IA6nBIC,OA7nBAC,GAAKC,K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,EAAE+Q,GAAGC,aAAaS,SAAW,EAChC,EAAEC,MAAM"} \ No newline at end of file From ac0526091259f6bb901245d1774b1538f4895a45 Mon Sep 17 00:00:00 2001 From: "Sergio F. Rodriguez" Date: Tue, 12 Mar 2024 07:48:18 +0100 Subject: [PATCH 5/5] mod - changed version. Need to find a way to automatically control file versioning --- bower.json | 2 +- composer.json | 2 +- magicsuggest.css | 4 ++-- magicsuggest.jquery.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index 1955cad..fad3fb4 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "magicsuggest", - "version": "2.1.4", + "version": "2.1.7", "main": ["magicsuggest.js", "magicsuggest.css"], "dependencies": { "bootstrap": "~3", diff --git a/composer.json b/composer.json index ec8715e..2f76d08 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "nicolasbize/magicsuggest", "description": "MagicSuggest is a multiple selection auto-suggest input box for Bootstrap 3.", - "version": "2.1.5", + "version": "2.1.7", "type": "component", "homepage": "http://nicolasbize.com/magicsuggest", "license": "MIT", diff --git a/magicsuggest.css b/magicsuggest.css index 03ecac3..08ecbbe 100644 --- a/magicsuggest.css +++ b/magicsuggest.css @@ -1,10 +1,10 @@ /** * Multiple Selection Component for Bootstrap - * Check nicolasbize.github.io/magicsuggest/ for latest updates. * * Author: Nicolas Bize + * Maintainer: Sergio F. Rodriguez * Created: Feb 8th 2013 - * Last Updated: Oct 16th 2014 + * Last Updated: Feb 15th 2024 * Version: 2.1.4 * Licence: MagicSuggest is licenced under MIT licence (http://opensource.org/licenses/MIT) */ diff --git a/magicsuggest.jquery.json b/magicsuggest.jquery.json index fc9e912..dfbfac3 100644 --- a/magicsuggest.jquery.json +++ b/magicsuggest.jquery.json @@ -14,7 +14,7 @@ "bootstrap", "combobox" ], - "version": "2.1.5", + "version": "2.1.7", "author": { "name": "Nicolas Bize", "url": "https://github.com/nicolasbize"