amazeui-datatables
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -16,23 +16,23 @@ /*! DataTables Amaze UI 2.x integration */ | ||
DataTable.defaults.oLanguage = { | ||
"sProcessing": "处理中...", | ||
"sLengthMenu": "显示 _MENU_ 项结果", | ||
"sZeroRecords": "没有匹配结果", | ||
"sInfo": "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项", | ||
"sInfoEmpty": "显示第 0 至 0 项结果,共 0 项", | ||
"sInfoFiltered": "(由 _MAX_ 项结果过滤)", | ||
"sInfoPostFix": "", | ||
"sSearch": "搜索:", | ||
"sUrl": "", | ||
"sEmptyTable": "表中数据为空", | ||
"sLoadingRecords": "载入中...", | ||
"sInfoThousands": ",", | ||
"oPaginate": { | ||
"sFirst": "首页", | ||
"sPrevious": "上页", | ||
"sNext": "下页", | ||
"sLast": "末页" | ||
sProcessing: "处理中...", | ||
sLengthMenu: "显示 _MENU_ 项结果", | ||
sZeroRecords: "没有匹配结果", | ||
sInfo: "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项", | ||
sInfoEmpty: "显示第 0 至 0 项结果,共 0 项", | ||
sInfoFiltered: "(由 _MAX_ 项结果过滤)", | ||
sInfoPostFix: "", | ||
sSearch: "搜索:", | ||
sUrl: "", | ||
sEmptyTable: "表中数据为空", | ||
sLoadingRecords: "载入中...", | ||
sInfoThousands: ",", | ||
oPaginate: { | ||
sFirst: "首页", | ||
sPrevious: "上页", | ||
sNext: "下页", | ||
sLast: "末页" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": 以升序排列此列", | ||
"sSortDescending": ": 以降序排列此列" | ||
oAria: { | ||
sSortAscending: ": 以升序排列此列", | ||
sSortDescending: ": 以降序排列此列" | ||
} | ||
@@ -44,5 +44,5 @@ }; | ||
$.extend(true, DataTable.defaults, { | ||
dom: "<'am-g am-datatables-hd'<'am-u-sm-6'l><'am-u-sm-6'f>>" + | ||
dom: "<'am-g am-datatable-hd'<'am-u-sm-6'l><'am-u-sm-6'f>>" + | ||
"<'am-g'<'am-u-sm-12'tr>>" + | ||
"<'am-g am-datatables-footer'<'am-u-sm-5'i><'am-u-sm-7'p>>", | ||
"<'am-g am-datatable-footer'<'am-u-sm-5'i><'am-u-sm-7'p>>", | ||
renderer: 'amazeui' | ||
@@ -55,8 +55,8 @@ }); | ||
/* Features */ | ||
sWrapper: 'dataTables_wrapper am-datatables am-form-inline dt-amazeui', | ||
sFilter: 'dataTables_filter am-datatables-filter', | ||
sWrapper: 'dataTables_wrapper am-datatable am-form-inline dt-amazeui', | ||
sFilter: 'dataTables_filter am-datatable-filter', | ||
sFilterInput: 'am-form-field am-input-sm', | ||
sInfo: 'dataTables_info am-datatables-info', | ||
sInfo: 'dataTables_info am-datatable-info', | ||
sPaging: 'dataTables_paginate paging_', /* Note that the type is postfixed */ | ||
sLength: 'dataTables_length am-form-group am-datatables-length', | ||
sLength: 'dataTables_length am-form-group am-datatable-length', | ||
sLengthSelect: 'am-form-select am-input-sm', | ||
@@ -66,9 +66,9 @@ sProcessing: "dataTables_processing", | ||
/* Sorting */ | ||
"sSortAsc": "sorting_asc", | ||
"sSortDesc": "sorting_desc", | ||
"sSortable": "sorting", /* Sortable in both directions */ | ||
"sSortableAsc": "sorting_asc_disabled", | ||
"sSortableDesc": "sorting_desc_disabled", | ||
"sSortableNone": "sorting_disabled", | ||
"sSortColumn": "sorting_", /* Note that an int is postfixed for the sorting order */ | ||
sSortAsc: "sorting_asc", | ||
sSortDesc: "sorting_desc", | ||
sSortable: "sorting", /* Sortable in both directions */ | ||
sSortableAsc: "sorting_asc_disabled", | ||
sSortableDesc: "sorting_desc_disabled", | ||
sSortableNone: "sorting_disabled", | ||
sSortColumn: "sorting_" /* Note that an int is postfixed for the sorting order */ | ||
}); | ||
@@ -183,3 +183,3 @@ | ||
$(host).empty(). | ||
html('<ul class="am-datatables-pager am-pagination am-pagination-right am-text-sm"/>'). | ||
html('<ul class="am-datatable-pager am-pagination am-pagination-right am-text-sm"/>'). | ||
children('ul'), | ||
@@ -202,19 +202,19 @@ buttons | ||
$.extend(true, DataTable.TableTools.classes, { | ||
"container": "DTTT am-btn-group", | ||
"buttons": { | ||
"normal": "am-btn am-btn-default", | ||
"disabled": "am-disabled" | ||
container: "DTTT am-btn-group", | ||
buttons: { | ||
normal: "am-btn am-btn-default", | ||
disabled: "am-disabled" | ||
}, | ||
"collection": { | ||
"container": "DTTT_dropdown dropdown-menu", | ||
"buttons": { | ||
"normal": "", | ||
"disabled": "am-disabled" | ||
collection: { | ||
container: "DTTT_dropdown dropdown-menu", | ||
buttons: { | ||
normal: "", | ||
disabled: "am-disabled" | ||
} | ||
}, | ||
"print": { | ||
"info": "DTTT_print_info" | ||
print: { | ||
info: "DTTT_print_info" | ||
}, | ||
"select": { | ||
"row": "am-active" | ||
select: { | ||
row: "am-active" | ||
} | ||
@@ -225,6 +225,6 @@ }); | ||
$.extend(true, DataTable.TableTools.DEFAULTS.oTags, { | ||
"collection": { | ||
"container": "ul", | ||
"button": "li", | ||
"liner": "a" | ||
collection: { | ||
container: "ul", | ||
button: "li", | ||
liner: "a" | ||
} | ||
@@ -231,0 +231,0 @@ }); |
{ | ||
"name": "amazeui-datatables", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "jQuery tags input plugin based on Amaze UI.", | ||
@@ -5,0 +5,0 @@ "main": "lib/amazeui.datatables.js", |
@@ -39,1 +39,8 @@ # Amaze UI DataTables | ||
## 功能增强 | ||
### 扩展 | ||
- **固定表头**:[文档](https://www.datatables.net/extensions/fixedheader/) | [下载](https://www.datatables.net/download/#FixedHeader) | ||
- **固定列**:[文档](https://www.datatables.net/extensions/fixedcolumns/) | [下载](https://www.datatables.net/download/#FixedColumns) | ||
- **[响应式表格](http://datatables.net/extensions/responsive/)** |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
46
0
58227
8
2
80
938
1