datatables.net-searchbuilder-zf 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
div.dt-button-collection {
|
|
2
2
|
overflow: visible !important;
|
|
3
|
+
z-index: 2002 !important;
|
|
3
4
|
}
|
|
4
5
|
div.dt-button-collection div.dtsb-searchBuilder {
|
|
5
|
-
width:
|
|
6
|
+
width: 99% !important;
|
|
7
|
+
padding-left: 10px !important;
|
|
8
|
+
padding-right: 10px !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
div.dt-button-collection.dtb-collection-closeable div.dtsb-titleRow {
|
|
12
|
+
padding-right: 40px;
|
|
6
13
|
}
|
|
7
14
|
|
|
8
15
|
.dtsb-greyscale {
|
|
@@ -31,6 +38,9 @@ div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title {
|
|
|
31
38
|
display: inline-block;
|
|
32
39
|
padding-top: 6px;
|
|
33
40
|
}
|
|
41
|
+
div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title:empty {
|
|
42
|
+
display: inline;
|
|
43
|
+
}
|
|
34
44
|
div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll {
|
|
35
45
|
float: right;
|
|
36
46
|
margin-bottom: 0.333em;
|
|
@@ -99,9 +109,11 @@ div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title {
|
|
|
99
109
|
div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll {
|
|
100
110
|
margin-bottom: 0px;
|
|
101
111
|
}
|
|
102
|
-
div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select {
|
|
112
|
+
div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown {
|
|
103
113
|
width: auto !important;
|
|
104
114
|
margin-bottom: 0px;
|
|
115
|
+
padding-left: 0.5rem;
|
|
116
|
+
padding-right: 1.5rem;
|
|
105
117
|
}
|
|
106
118
|
div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input {
|
|
107
119
|
height: 2.4375rem;
|
|
@@ -130,12 +142,13 @@ div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-logic
|
|
|
130
142
|
border-radius: 0px;
|
|
131
143
|
flex-grow: 1;
|
|
132
144
|
flex-shrink: 0;
|
|
133
|
-
flex-basis: 3em;
|
|
145
|
+
flex-basis: 3em !important;
|
|
134
146
|
margin: 0px;
|
|
135
147
|
}
|
|
136
148
|
div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-clearGroup {
|
|
137
149
|
border: none;
|
|
138
150
|
border-radius: 0px;
|
|
151
|
+
flex-basis: 2em !important;
|
|
139
152
|
width: 2em;
|
|
140
153
|
margin: 0px;
|
|
141
154
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
div.dt-button-collection{overflow:visible !important}div.dt-button-collection div.dtsb-searchBuilder{width:
|
|
1
|
+
div.dt-button-collection{overflow:visible !important;z-index:2002 !important}div.dt-button-collection div.dtsb-searchBuilder{width:99% !important;padding-left:10px !important;padding-right:10px !important}div.dt-button-collection.dtb-collection-closeable div.dtsb-titleRow{padding-right:40px}.dtsb-greyscale{border:1px solid #cecece !important}div.dtsb-logicContainer .dtsb-greyscale{border:none !important}div.dtsb-searchBuilder{justify-content:space-evenly;cursor:default;margin-bottom:1em;text-align:left}div.dtsb-searchBuilder button.dtsb-button,div.dtsb-searchBuilder select{font-size:1em}div.dtsb-searchBuilder div.dtsb-titleRow{justify-content:space-evenly;margin-bottom:.5em}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title{display:inline-block;padding-top:6px}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title:empty{display:inline}div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll{float:right;margin-bottom:.333em}div.dtsb-searchBuilder div.dtsb-vertical .dtsb-value,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-data,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-condition{display:block}div.dtsb-searchBuilder div.dtsb-group{position:relative;clear:both;margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-group button.dtsb-clearGroup{margin:2px;text-align:center;padding:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);position:absolute;margin-top:.8em;margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{padding:.4em;margin-right:.8em;max-width:20em;background-color:rgba(200, 200, 200, 0.3)}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown option.dtsb-notItalic,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input option.dtsb-notItalic{font-style:normal}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-italic{font-style:italic}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{float:right;display:inline-block}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left:last-child{margin-right:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria span.dtsp-joiner{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-titleRow{margin-bottom:1em}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title{padding-top:10px;font-size:1.4375rem}div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll{margin-bottom:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown{width:auto !important;margin-bottom:0px;padding-left:.5rem;padding-right:1.5rem}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input{height:2.4375rem}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition{border-color:#3adb76}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data{border-color:#cc4b37}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-value,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-value{border-color:#1779ba}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{border-radius:4px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;margin-top:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-logic{border:none;border-radius:0px;flex-grow:1;flex-shrink:0;flex-basis:3em !important;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-clearGroup{border:none;border-radius:0px;flex-basis:2em !important;width:2em;margin:0px}div.dtsb-searchBuilder div.dtsb-group button{margin-bottom:0px}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
if (typeof define === 'function' && define.amd) {
|
|
6
6
|
// AMD
|
|
7
7
|
define(['jquery', 'datatables.net-zf', 'datatables.net-searchbuilder'], function ($) {
|
|
8
|
-
return factory(
|
|
8
|
+
return factory($);
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
else if (typeof exports === 'object') {
|
|
@@ -22,30 +22,30 @@
|
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
23
23
|
require('datatables.net-searchbuilder')(root, $);
|
|
24
24
|
}
|
|
25
|
-
return factory(
|
|
25
|
+
return factory($);
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
29
|
// Browser
|
|
30
|
-
factory(jQuery
|
|
30
|
+
factory(jQuery);
|
|
31
31
|
}
|
|
32
|
-
}(function (
|
|
32
|
+
}(function ($) {
|
|
33
33
|
'use strict';
|
|
34
34
|
var dataTable = $.fn.dataTable;
|
|
35
35
|
$.extend(true, dataTable.SearchBuilder.classes, {
|
|
36
|
-
clearAll: 'button
|
|
36
|
+
clearAll: 'button alert dtsb-clearAll'
|
|
37
37
|
});
|
|
38
38
|
$.extend(true, dataTable.Group.classes, {
|
|
39
|
-
add: 'button
|
|
40
|
-
clearGroup: 'button
|
|
41
|
-
logic: 'button
|
|
39
|
+
add: 'button dtsb-add',
|
|
40
|
+
clearGroup: 'button dtsb-clearGroup',
|
|
41
|
+
logic: 'button dtsb-logic'
|
|
42
42
|
});
|
|
43
43
|
$.extend(true, dataTable.Criteria.classes, {
|
|
44
44
|
condition: 'form-control dtsb-condition',
|
|
45
45
|
data: 'form-control dtsb-data',
|
|
46
|
-
"delete": 'button
|
|
47
|
-
left: 'button
|
|
48
|
-
right: 'button
|
|
46
|
+
"delete": 'button alert dtsb-delete',
|
|
47
|
+
left: 'button dtsb-left',
|
|
48
|
+
right: 'button dtsb-right',
|
|
49
49
|
value: 'form-control dtsb-value'
|
|
50
50
|
});
|
|
51
51
|
return dataTable.searchPanes;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Foundation ui integration for DataTables' SearchBuilder
|
|
3
3
|
©2016 SpryMedia Ltd - datatables.net/license
|
|
4
4
|
*/
|
|
5
|
-
(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net-zf","datatables.net-searchbuilder"],function(a){return b(a
|
|
6
|
-
|
|
5
|
+
(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net-zf","datatables.net-searchbuilder"],function(a){return b(a)}):"object"===typeof exports?module.exports=function(a,c){a||(a=window);c&&c.fn.dataTable||(c=require("datatables.net-zf")(a,c).$);c.fn.dataTable.searchBuilder||require("datatables.net-searchbuilder")(a,c);return b(c)}:b(jQuery)})(function(b){var a=b.fn.dataTable;b.extend(!0,a.SearchBuilder.classes,{clearAll:"button alert dtsb-clearAll"});b.extend(!0,a.Group.classes,
|
|
6
|
+
{add:"button dtsb-add",clearGroup:"button dtsb-clearGroup",logic:"button dtsb-logic"});b.extend(!0,a.Criteria.classes,{condition:"form-control dtsb-condition",data:"form-control dtsb-data","delete":"button alert dtsb-delete",left:"button dtsb-left",right:"button dtsb-right",value:"form-control dtsb-value"});return a.searchPanes});
|
package/package.json
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
"main": "js/searchBuilder.foundation.js",
|
|
5
5
|
"style": "css/searchBuilder.foundation.css",
|
|
6
6
|
"types": "./types/searchBuilder.foundation.d.ts",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.3.1",
|
|
8
8
|
"files": [
|
|
9
9
|
"css/**/*.css",
|
|
10
|
-
"js/**/*.js"
|
|
10
|
+
"js/**/*.js",
|
|
11
|
+
"types/**/*.d.ts"
|
|
11
12
|
],
|
|
12
13
|
"keywords": [
|
|
13
14
|
"SearchBuilder",
|
|
@@ -21,8 +22,8 @@
|
|
|
21
22
|
"sort"
|
|
22
23
|
],
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"datatables.net-searchbuilder": ">=1.
|
|
25
|
-
"datatables.net-zf": ">=1.
|
|
25
|
+
"datatables.net-searchbuilder": ">=1.2.2",
|
|
26
|
+
"datatables.net-zf": ">=1.11.3",
|
|
26
27
|
"jquery": ">=1.7"
|
|
27
28
|
},
|
|
28
29
|
"moduleType": [
|
|
File without changes
|