diff --git a/package.json b/package.json index d6d619e..4e3d844 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "selectpage", - "version": "2.18.0", + "version": "2.19.0", "description": "A simple style and powerful selection jQuery plugin, including ajax remote data, autocomplete, pagination, tags, i18n, keyboard navigation functions", "main": "selectpage.js", "dependencies": { diff --git a/selectpage.css b/selectpage.css index 8477129..6c4e57e 100644 --- a/selectpage.css +++ b/selectpage.css @@ -50,6 +50,7 @@ .sp_container_open .sp_input { border-radius: 2px !important; } +.sp_container_open .sp_button span.sp_caret { transform: rotate(180deg); } /** * "Get all" button @@ -92,6 +93,7 @@ div.sp_button span.sp_caret { /*border-top: 4px solid\9;*/ border-right: 4px solid transparent; border-left: 4px solid transparent; + transition:transform .2s ease; } div.sp_clear_btn { @@ -142,11 +144,17 @@ div.sp_result_area.shadowDown{ box-shadow: 0 3px 12px rgba(0,0,0,0.2); -moz-box-shadow: 0 3px 12px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 12px rgba(0,0,0,0.2); + + -webkit-animation: dropDownFadeInDown 200ms cubic-bezier(.23,1,.32,1); + animation: dropDownFadeInDown 200ms cubic-bezier(.23,1,.32,1); } div.sp_result_area.shadowUp{ box-shadow: 0 -1px 12px rgba(0,0,0,0.2); -moz-box-shadow: 0 -1px 12px rgba(0,0,0,0.2); -webkit-box-shadow: 0 -1px 12px rgba(0,0,0,0.2); + + -webkit-animation: dropDownFadeInUp 300ms cubic-bezier(.23,1,.32,1); + animation: dropDownFadeInUp 300ms cubic-bezier(.23,1,.32,1); } .sp_results { background-color: white; @@ -458,7 +466,7 @@ div.sp_navi > p { /** - * 分页条样式(基于Bootstrap2的样式进行调整) + * 分页条样式 */ div.sp_result_area div.sp_pagination { margin: 0; @@ -560,10 +568,17 @@ div.sp_result_area div.sp_pagination>ul>li.pageInfoBox>a:hover { - +@keyframes dropDownFadeInDown { + from{ opacity: 0;transform: translate3d(0, -20px, 0); } + to{ opacity: 1;transform: translate3d(0, 0, 0); } +} +@keyframes dropDownFadeInUp { + from{ opacity: 0;transform: translate3d(0, 20px, 0); } + to{ opacity: 1;transform: translate3d(0, 0, 0); } +} /* icons */ -@font-face {font-family: "iconfont"; +@font-face {font-family: "sp-iconfont"; src: url('data:image/eot;base64,zA0AACQNAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAfJwy7wAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJW7kj9AAABfAAAAFZjbWFwNbM7dAAAAgAAAAI2Z2x5ZtLBAFwAAARQAAAFxGhlYWQPYaJpAAAA4AAAADZoaGVhB94DjQAAALwAAAAkaG10eCvqAAAAAAHUAAAALGxvY2EIbAmwAAAEOAAAABhtYXhwARoAeAAAARgAAAAgbmFtZT5U/n0AAAoUAAACbXBvc3ScItv9AAAMhAAAAKAAAQAAA4D/gABcBAEAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAO8ynHxfDzz1AAsEAAAAAADWIS8pAAAAANYhLykAAP/ABAADWgAAAAgAAgAAAAAAAAABAAAACwBsAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQP+AZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAAHjnDQOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAPpAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQBAAAAAAAFAAAAAwAAACwAAAAEAAAB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DdWsKSur2ARiyvq+r6nPCxRBG3zX8yJDj54nGNgZGBgAOL3RuU28fw2Xxm4WRhA4JqiviaC/n+AhYE5CsjlYGACiQIA93sITQB4nGNgZGBgbvjfwBDDAmQxMLAwMIBpJMANAEcqAnUAAHicY2FgYGB+ycDAwkAAMzIwAAAnpgEWAAAAAAAAdgCwAUIBiAHIAggCLAKOAsAC4nicY2BkYGDgZshhYGUAASYg5gJCBob/YD4DABRyAZMAeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbYnNDsIgEAb3q8Va8Kav0YNPZMiKsFrZBKmpPr1/N+OcJjPU0BdL/3FosEALgyU6rNDDwmFNmA2nwGcrrHngMfjSz5PPj6Q5bj/xICVwlZcVialufuIYjrW967TrTpJj9Oqy3iTq/j1MlUu4Ej0BvEMlfAAAAA==') format('woff'), @@ -571,8 +586,8 @@ div.sp_result_area div.sp_pagination>ul>li.pageInfoBox>a:hover { url('data:image/svg;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TV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kuMTAyLTMxNi40MDYgMzE2LjQwNS0zMTYuNDA1LTMxNi40MDUtNzkuMTA0IDc5LjEwMkw0MzIuODk5IDM4NCAxMTYuNDk0IDcwMC40MDVsNzkuMTA0IDc5LjA5OSAzMTYuNDA1LTMxNi40MDVMODI4LjQxIDc3OS41MDRsNzkuMDk4LTc5LjA5OUw1OTEuMTAyIDM4NGwzMTYuNDA1LTMxNi40MDV6IiAgaG9yaXotYWR2LXg9IjEwMjUiIC8+CgogICAgCgoKICA8L2ZvbnQ+CjwvZGVmcz48L3N2Zz4K') format('svg'); /* iOS 4.1- */ } -.iconfont { - font-family:"iconfont" !important; +.sp-iconfont { + font-family:"sp-iconfont" !important; font-size:16px; font-style:normal; -webkit-font-smoothing: antialiased; @@ -580,19 +595,11 @@ div.sp_result_area div.sp_pagination>ul>li.pageInfoBox>a:hover { } .if-unselect-all:before { content: "\e634"; } - .if-clear:before { content: "\e68c"; } - .if-select-all:before { content: "\e628"; } - .if-last:before { content: "\e67e"; } - .if-first:before { content: "\e681"; } - .if-next:before { content: "\e70d"; } - .if-warning:before { content: "\e63c"; } - .if-previous:before { content: "\e65a"; } - .if-close:before { content: "\e600"; } \ No newline at end of file diff --git a/selectpage.js b/selectpage.js index 2816041..fdf63be 100644 --- a/selectpage.js +++ b/selectpage.js @@ -2,7 +2,7 @@ * @summary SelectPage * @desc Simple and powerful selection plugin * @file selectpage.js - * @version 2.18 + * @version 2.19 * @author TerryZeng * @contact https://terryz.github.io/ * @license MIT License @@ -105,11 +105,11 @@ andOr: 'AND', /** * Result sort type - * @type array - if not set, will default used showField field + * @type array|boolean * @example * orderBy : ['id desc'] */ - orderBy: undefined, + orderBy: false, /** * Page size * @type number @@ -227,7 +227,7 @@ /** * Plugin version number */ - SelectPage.version = '2.18'; + SelectPage.version = '2.19'; /** * Plugin object cache key */ @@ -249,12 +249,9 @@ option[arr[i]] = this.strToArray(option[arr[i]]); } - //set default order field - option.orderBy = option.orderBy || option.showField; - //set multiple order field - //example: [ ['id', 'ASC'], ['name', 'DESC'] ] - option.orderBy = this.setOrderbyOption(option.orderBy, option.showField); + //example: [ ['id ASC'], ['name DESC'] ] + if(option.orderBy !== false) option.orderBy = this.setOrderbyOption(option.orderBy, option.showField); //close auto fill result and auto select first in multiple mode and select item not close list if(option.multiple && !option.selectToCloseList){ option.autoFillResult = false; @@ -273,26 +270,26 @@ * @return {Array} */ SelectPage.prototype.strToArray = function(str) { - if(!str) return ''; - return str.replace(/[\s ]+/g, '').split(','); + return str ? str.replace(/[\s ]+/g, '').split(',') : ''; }; /** * Set order field * @param {Array} arg_order - * @param {string} arg_field + * @param {string} arg_field - default sort field * @return {Array} */ SelectPage.prototype.setOrderbyOption = function(arg_order, arg_field) { var arr = [],orders = []; - if (typeof arg_order == 'object') { + if (typeof arg_order === 'object') { for (var i = 0; i < arg_order.length; i++) { orders = $.trim(arg_order[i]).split(' '); - arr[i] = (orders.length == 2) ? orders: [orders[0], 'ASC']; + if(orders.length) + arr.push((orders.length === 2) ? orders.concat(): [orders[0], 'ASC']); } } else { orders = $.trim(arg_order).split(' '); - arr[0] = (orders.length == 2) ? orders: (orders[0].match(/^(ASC|DESC)$/i)) ? [arg_field, orders[0]] : [orders[0], 'ASC']; + arr[0] = (orders.length === 2) ? orders.concat(): (orders[0].toUpperCase().match(/^(ASC|DESC)$/i)) ? [arg_field, orders[0].toUpperCase()] : [orders[0], 'ASC']; } return arr; }; @@ -354,7 +351,7 @@ close_alt: '(button)', loading: 'loading...', loading_alt: '(loading)', - page_info: 'page_num of page_count', + page_info: 'Page page_num of page_count', select_ng: 'Attention : Please choose from among the list.', select_ok: 'OK : Correctly selected.', not_found: 'not found', @@ -523,6 +520,7 @@ disabled: 'sp_disabled', button: 'sp_button', + caret_open: 'sp_caret_open', btn_on: 'sp_btn_on', btn_out: 'sp_btn_out', input: 'sp_input', @@ -556,7 +554,7 @@ }; this.template = { tag: { - content : '
'); elem.control.append(elem.control_text); elem.result_area.prepend(elem.control); @@ -819,7 +817,7 @@ self.clearAll(self); $.each(data,function(i,row){ var item = {text:getText(row),value:row[p.keyField]}; - if(!self.isAlreadySelected(self,item)) self.addNewTag(self,item); + if(!self.isAlreadySelected(self,item)) self.addNewTag(self, row, item); }); self.tagValuesSet(self); self.inputResize(self); @@ -877,7 +875,7 @@ el.container.on('click.SelectPage','div.'+self.css_class.clear_btn,function(e){ e.stopPropagation(); if(!self.disabled(self)){ - self.clearAll(self); + self.clearAll(self, true); if(p.eClear && $.isFunction(p.eClear)) p.eClear(self); } }); @@ -904,7 +902,7 @@ }); //Clear all selected item el.control.find('.sp_clear_all').on('click.SelectPage',function(e){ - self.clearAll(self); + self.clearAll(self, true); }).hover(function(){ el.control_text.html(msg.clear_all); },function(){ @@ -917,11 +915,10 @@ }); //Tag close el.element_box.on('click.SelectPage','span.tag_close',function(){ - var li = $(this).closest('li'); - self.removeTag(self,li); + var li = $(this).closest('li'), data = li.data('dataObj'); + self.removeTag(self, li); showList(); - if(p.eTagRemove && $.isFunction(p.eTagRemove)) - p.eTagRemove(1, self); + if(p.eTagRemove && $.isFunction(p.eTagRemove)) p.eTagRemove([data]); }); self.inputResize(self); } @@ -953,11 +950,11 @@ d.hideResults(d); return true; } - if (d.elem.results.find('li').not('.'+css.message_box).size()) { + if (d.elem.results.find('li').not('.'+css.message_box).length) { if(d.option.autoFillResult) { //have selected item, then hide result list if (d.elem.hidden.val()) d.hideResults(d); - else if(d.elem.results.find('li.sp_over').size()){ + else if(d.elem.results.find('li.sp_over').length){ //no one selected and have highlight item, select the highlight item d.selectCurrentLine(d, true); }else if(d.option.autoSelectFirst){ @@ -1080,7 +1077,7 @@ */ SelectPage.prototype.showMessage = function(self,msg){ if(!msg) return; - var msgLi = '
'; + var msgLi = ' '; self.elem.results.empty().append(msgLi).show(); self.calcResultsSize(self); self.setOpenStatus(self, true); @@ -1302,9 +1299,9 @@ pageNumber: which_page_num, pageSize: p.pageSize, andOr: p.andOr, - orderBy: p.orderBy, searchTable: p.dbTable }; + if(p.orderBy !== false) _orgParams.orderBy = p.orderBy; _orgParams[searchKey] = q_word[0]; if (_paramsFunc && $.isFunction(_paramsFunc)) { var result = _paramsFunc.call(self); @@ -1384,7 +1381,7 @@ } while ( i < q_word.length ); // SELECT * FROM data WHERE field LIKE q_word; - for (i = 0; i < p.data.length; i++) { + for (var i = 0; i < p.data.length; i++) { var flag = false, row = p.data[i], itemText; for (var j = 0; j < arr_reg.length; j++) { itemText = row[p.searchField]; @@ -1402,31 +1399,34 @@ } // (CASE WHEN ...) then く order some column - var reg1 = new RegExp('^' + esc_q[0] + '$', 'gi'), - reg2 = new RegExp('^' + esc_q[0], 'gi'), - matched1 = [], matched2 = [], matched3 = []; - for (i = 0; i < matched.length; i++) { - var orderField = p.orderBy[0][0]; - var orderValue = String(matched[i][orderField]); - if (orderValue.match(reg1)) { - matched1.push(matched[i]); - } else if (orderValue.match(reg2)) { - matched2.push(matched[i]); - } else { - matched3.push(matched[i]); - } - } + if(p.orderBy === false) sorted = matched.concat(); + else{ + var reg1 = new RegExp('^' + esc_q[0] + '$', 'gi'), + reg2 = new RegExp('^' + esc_q[0], 'gi'), + matched1 = [], matched2 = [], matched3 = []; + for (var i = 0; i < matched.length; i++) { + var orderField = p.orderBy[0][0]; + var orderValue = String(matched[i][orderField]); + if (orderValue.match(reg1)) { + matched1.push(matched[i]); + } else if (orderValue.match(reg2)) { + matched2.push(matched[i]); + } else { + matched3.push(matched[i]); + } + } - if (p.orderBy[0][1].match(/^asc$/i)) { - matched1 = self.sortAsc(self, matched1); - matched2 = self.sortAsc(self, matched2); - matched3 = self.sortAsc(self, matched3); - } else { - matched1 = self.sortDesc(self, matched1); - matched2 = self.sortDesc(self, matched2); - matched3 = self.sortDesc(self, matched3); - } - sorted = sorted.concat(matched1).concat(matched2).concat(matched3); + if (p.orderBy[0][1].match(/^asc$/i)) { + matched1 = self.sortAsc(self, matched1); + matched2 = self.sortAsc(self, matched2); + matched3 = self.sortAsc(self, matched3); + } else { + matched1 = self.sortDesc(self, matched1); + matched2 = self.sortDesc(self, matched2); + matched3 = self.sortDesc(self, matched3); + } + sorted = sorted.concat(matched1).concat(matched2).concat(matched3); + } /* if (sorted.length === undefined || sorted.length === 0 ) { @@ -1467,7 +1467,7 @@ //save original data json.originalResult = []; //after data filter handle - for (i = start; i < end; i++) { + for (var i = start; i < end; i++) { if (sorted[i] === undefined) break; json.originalResult.push(sorted[i]); for (var key in sorted[i]) { @@ -1562,12 +1562,12 @@ var pageInfo = msg.page_info; return pageInfo.replace(self.template.page.current, page_num).replace(self.template.page.total, last_page); }; - if (pagebar.find('li').size() === 0) { + if (pagebar.find('li').length === 0) { pagebar.hide().empty(); - var iconFist='iconfont if-first', - iconPrev='iconfont if-previous', - iconNext='iconfont if-next', - iconLast='iconfont if-last'; + var iconFist='sp-iconfont if-first', + iconPrev='sp-iconfont if-previous', + iconNext='sp-iconfont if-next', + iconLast='sp-iconfont if-last'; pagebar.append('");o.control.append(o.control_text);o.result_area.prepend(o.control)}o.container.addClass("sp_container_combo");o.combo_input.addClass("sp_combo_input").before(o.element_box);var y=g("
");o.control.append(o.control_text);o.result_area.prepend(o.control)}o.container.addClass("sp_container_combo");o.combo_input.addClass("sp_combo_input").before(o.element_box);var y=g("