diff --git a/CHANGE.md b/CHANGE.md index 44b135c..f359989 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,11 +1,12 @@ version 1.2.2 ============= -**Date:** 11-Feb-2015 +**Date:** 14-Feb-2015 - (enh #37): Added zh-CN translations - (enh #39): Set AssetBundle dependency to kartik\base\AssetBundle. - (enh #40): Fix buffer clearing. - (enh #41): New bool property `initProvider` to clear previously fetched models before render. +- Set copyright year to current. version 1.2.1 ============= diff --git a/ExportColumnAsset.php b/ExportColumnAsset.php index 248ec24..cca41fb 100644 --- a/ExportColumnAsset.php +++ b/ExportColumnAsset.php @@ -1,7 +1,7 @@ - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 */ diff --git a/ExportMenuAsset.php b/ExportMenuAsset.php index fcec8eb..3686637 100644 --- a/ExportMenuAsset.php +++ b/ExportMenuAsset.php @@ -1,7 +1,7 @@ - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Columns Selector Style Sheet * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */ diff --git a/assets/css/kv-export-columns.min.css b/assets/css/kv-export-columns.min.css index f7f2b7b..6fe3547 100644 --- a/assets/css/kv-export-columns.min.css +++ b/assets/css/kv-export-columns.min.css @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Columns Selector Style Sheet * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */.kv-checkbox-list .checkbox{padding:0 20px}.kv-checkbox-list label{width:100%}.kv-checkbox-list label.disabled{cursor:not-allowed;filter:alpha(opacity=65);opacity:.65}.kv-toggle-all{font-style:italic;color:#337ab7}.kv-toggle-all:hover{color:#286090} \ No newline at end of file diff --git a/assets/css/kv-export-data.css b/assets/css/kv-export-data.css index a1cf953..0a15eea 100644 --- a/assets/css/kv-export-data.css +++ b/assets/css/kv-export-data.css @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Menu Style Sheet * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */ diff --git a/assets/css/kv-export-data.min.css b/assets/css/kv-export-data.min.css index 6e25910..620d964 100644 --- a/assets/css/kv-export-data.min.css +++ b/assets/css/kv-export-data.min.css @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Menu Style Sheet * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */.kv-export-full-form{margin:0;padding:0;display:none} \ No newline at end of file diff --git a/assets/js/kv-export-columns.js b/assets/js/kv-export-columns.js index a8ed568..d107bc4 100644 --- a/assets/js/kv-export-columns.js +++ b/assets/js/kv-export-columns.js @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Columns Selector Validation Module. * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */ diff --git a/assets/js/kv-export-columns.min.js b/assets/js/kv-export-columns.min.js index f1207a1..fe76f10 100644 --- a/assets/js/kv-export-columns.min.js +++ b/assets/js/kv-export-columns.min.js @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Columns Selector Validation Module. * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */!function(t){var n=function(n,o){var e=this;e.$element=t(n),e.options=o,e.listen()};n.prototype={constructor:n,listen:function(){var t=this,n=t.$element,o=n.find('input[name="export_columns_toggle"]');n.on("click",function(t){t.stopPropagation()}),o.on("change",function(){var t=o.is(":checked");n.find('input[name="export_columns_selector[]"]:not([disabled])').prop("checked",t)})}},t.fn.exportcolumns=function(o){var e=Array.apply(null,arguments);return e.shift(),this.each(function(){var i=t(this),c=i.data("exportcolumns"),r="object"==typeof o&&o;c||i.data("exportcolumns",c=new n(this,t.extend({},t.fn.exportcolumns.defaults,r,t(this).data()))),"string"==typeof o&&c[o].apply(c,e)})},t.fn.exportcolumns.defaults={}}(window.jQuery); \ No newline at end of file diff --git a/assets/js/kv-export-data.js b/assets/js/kv-export-data.js index ce4ac70..ec21b6a 100644 --- a/assets/js/kv-export-data.js +++ b/assets/js/kv-export-data.js @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Data Validation Module. * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */ diff --git a/assets/js/kv-export-data.min.js b/assets/js/kv-export-data.min.js index e904830..77980e2 100644 --- a/assets/js/kv-export-data.min.js +++ b/assets/js/kv-export-data.min.js @@ -1,13 +1,13 @@ /*! * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Data Validation Module. * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */!function(t){var e=function(e,o){return null===e||void 0===e||e==[]||""===e||o&&""===t.trim(e)},o=function(t,e,o,n){var r=screen.width/2-o/2,a=60,i=window.open("",e,"",!0);return i.close(),window.open(t,e,"toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+o+", height="+n+", top="+a+", left="+r)},n='Export Data - © Krajee{msg}',r=function(t){if(e(t))return!0;try{return confirm(t)}catch(o){return!0}},a=function(e,o){var n=this;n.$element=t(e);for(var r in o)n[r]=o[r];var a=o.settings;n.$form=t("#"+a.formId),n.messages=a.messages,n.popup="",n.listen()};a.prototype={constructor:a,notify:function(t){var o=this;if(!o.showConfirmAlert)return t.preventDefault(),!0;var n=o.messages,a=e(o.alertMsg)?"":o.alertMsg,i=e(n.allowPopups)?"":n.allowPopups,l=e(n.confirmDownload)?"":n.confirmDownload,s="";return s=a.length&&i.length?a+"\n\n"+i:!a.length&&i.length?i:a.length&&!i.length?a:"",l.length&&(s=s+"\n\n"+l),t.preventDefault(),e(s)?!0:r(s)},setPopupAlert:function(t){var e=this;if(void 0!=e.popup.document)if(arguments.length&&arguments[1]){var o=e.popup.document.getElementsByTagName("body");setTimeout(function(){o[0].innerHTML=t},4e3)}else{var r=n.replace("{msg}",t);e.popup.document.write(r)}},listen:function(){var n=this;n.$form.appendTo("body"),n.$element.on("click",function(r){if(n.notify(r)){var a=t(this).data("format");if(n.$form.find('[name="export_type"]').val(a),"_popup"==n.target&&(n.popup=o("","kvExportFullDialog",350,120),n.popup.focus(),n.setPopupAlert(n.messages.downloadProgress)),!e(n.columnSelectorId)){var i=t("#"+n.columnSelectorId).parent().find('input[name="export_columns_selector[]"]'),l=[];i.each(function(){var e=t(this);e.is(":checked")&&l.push(e.attr("data-key"))}),n.$form.find('input[name="export_columns"]').val(l.join(","))}n.$form.trigger("submit")}}),"_popup"==n.target&&n.$form.on("submit",function(){setTimeout(function(){n.setPopupAlert(n.messages.downloadComplete,!0)},1e3)})}},t.fn.exportdata=function(e){var o=Array.apply(null,arguments);return o.shift(),this.each(function(){var n=t(this),r=n.data("exportdata"),i="object"==typeof e&&e;r||n.data("exportdata",r=new a(this,t.extend({},t.fn.exportdata.defaults,i,t(this).data()))),"string"==typeof e&&r[e].apply(r,o)})},t.fn.exportdata.defaults={filename:"export",target:"_popup",showConfirmAlert:!0,columnSelectorId:null,alertMsg:"",settings:{formId:"",messages:{allowPopups:"",confirmDownload:"",downloadProgress:"",downloadComplete:""}}}}(window.jQuery); \ No newline at end of file diff --git a/composer.json b/composer.json index d38356d..2405fc0 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "kartik-v/yii2-export", "description": "A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)", - "keywords": ["yii2", "extension", "widget", "export", "spreadsheet", "xls", "xlsx", "OpenXML"], + "keywords": ["yii2", "extension", "widget", "export", "spreadsheet", "html", "csv", "text", "pdf", "json", "xls", "xlsx", "OpenXML"], "homepage": "https://github.com/kartik-v/yii2-export", "type": "yii2-extension", "license": "BSD 3-Clause", diff --git a/views/_columns.php b/views/_columns.php index 8cdad41..bd2baf4 100644 --- a/views/_columns.php +++ b/views/_columns.php @@ -2,7 +2,7 @@ /** * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 */ diff --git a/views/_form.php b/views/_form.php index 275d18f..d76cf9f 100644 --- a/views/_form.php +++ b/views/_form.php @@ -2,13 +2,13 @@ /** * @package yii2-export * @author Kartik Visweswaran - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 * @version 1.2.2 * * Export Submission Form * * Author: Kartik Visweswaran - * Copyright: 2014, Kartik Visweswaran, Krajee.com + * Copyright: 2015, Kartik Visweswaran, Krajee.com * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */