datatables.net-searchbuilder-dt 1.8.4 → 2.0.0
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.
- package/css/searchBuilder.dataTables.css +7 -7
- package/css/searchBuilder.dataTables.min.css +1 -1
- package/js/searchBuilder.dataTables.js +21 -27
- package/js/searchBuilder.dataTables.min.js +3 -3
- package/js/searchBuilder.dataTables.min.mjs +3 -3
- package/js/searchBuilder.dataTables.mjs +3 -6
- package/package.json +4 -16
|
@@ -53,6 +53,10 @@ div.dtsb-searchBuilder div.dtsb-group {
|
|
|
53
53
|
position: relative;
|
|
54
54
|
clear: both;
|
|
55
55
|
margin-bottom: 0.8em;
|
|
56
|
+
margin-left: 46px;
|
|
57
|
+
}
|
|
58
|
+
div.dtsb-searchBuilder div.dtsb-group > button:first-child {
|
|
59
|
+
margin-left: -46px;
|
|
56
60
|
}
|
|
57
61
|
div.dtsb-searchBuilder div.dtsb-group button.dtsb-search {
|
|
58
62
|
float: right;
|
|
@@ -63,14 +67,10 @@ div.dtsb-searchBuilder div.dtsb-group button.dtsb-clearGroup {
|
|
|
63
67
|
padding: 0;
|
|
64
68
|
}
|
|
65
69
|
div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer {
|
|
66
|
-
-webkit-transform: rotate(90deg);
|
|
67
|
-
-moz-transform: rotate(90deg);
|
|
68
|
-
-o-transform: rotate(90deg);
|
|
69
|
-
-ms-transform: rotate(90deg);
|
|
70
|
-
transform: rotate(90deg);
|
|
71
70
|
position: absolute;
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
left: -0.8em;
|
|
72
|
+
transform: rotate(90deg);
|
|
73
|
+
transform-origin: top left;
|
|
74
74
|
}
|
|
75
75
|
div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria {
|
|
76
76
|
margin-bottom: 0.8em;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
div.dt-button-collection{overflow:visible !important;z-index:2002 !important}div.dt-button-collection div.dtsb-searchBuilder{box-sizing:border-box;padding-left:1em !important;padding-right:1em !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;width:100%}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:14px}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:.8em}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-search{float:right}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{
|
|
1
|
+
div.dt-button-collection{overflow:visible !important;z-index:2002 !important}div.dt-button-collection div.dtsb-searchBuilder{box-sizing:border-box;padding-left:1em !important;padding-right:1em !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;width:100%}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:14px}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:.8em}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;margin-left:46px}div.dtsb-searchBuilder div.dtsb-group>button:first-child{margin-left:-46px}div.dtsb-searchBuilder div.dtsb-group button.dtsb-search{float:right}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{position:absolute;left:-0.8em;transform:rotate(90deg);transform-origin:top left}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{margin-bottom:.8em;display:flex;justify-content:start;flex-flow:row wrap}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;min-width:5em;max-width:20em;color:inherit;font-size:1em}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-inputCont{flex:1;white-space:nowrap}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont span.dtsb-joiner{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont input.dtsb-value{width:33%}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont select,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont input{height:100%;box-sizing:border-box}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{margin-left:auto;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}@media screen and (max-width: 550px){div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{display:flex;flex-flow:none;flex-direction:column;justify-content:start;padding-right:calc(35px + .8em);margin-bottom:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:first-child),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:nth-child(2)),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:last-child){padding-top:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:first-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:nth-child(2),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:last-child{padding-top:0em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{max-width:none;width:100%;margin-bottom:.8em;margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{position:absolute;width:35px;display:flex;flex-wrap:wrap-reverse;right:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button{margin-right:0px !important}}div.dtsb-searchBuilder button,div.dtsb-searchBuilder select.dtsb-dropDown,div.dtsb-searchBuilder input{background-color:#f9f9f9}div.dtsb-searchBuilder button.dtsb-button{position:relative;display:inline-block;box-sizing:border-box;padding:.5em 1em;border:1px solid rgba(0, 0, 0, 0.3);border-radius:2px;cursor:pointer;font-size:.88em;line-height:1.6em;color:inherit;white-space:nowrap;overflow:hidden;background-color:rgba(0, 0, 0, 0.1);background:linear-gradient(to bottom, rgba(229.5, 229.5, 229.5, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;outline:none;text-overflow:ellipsis}div.dtsb-searchBuilder button.dtsb-button:hover{background-color:#cecece;cursor:pointer}div.dtsb-searchBuilder div.dtsb-logicContainer{border:1px solid rgba(0, 0, 0, 0.3);background-color:rgba(0, 0, 0, 0.1);background:linear-gradient(to right, rgba(229.5, 229.5, 229.5, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%)}div.dtsb-searchBuilder div.dtsb-logicContainer button{border:1px solid transparent;background:transparent}div.dtsb-searchBuilder button.dtsb-clearGroup{min-width:2em;padding:0}div.dtsb-searchBuilder button.dtsb-iptbtn{min-width:100px;text-align:left}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{border:1px solid;border-color:#cecece;border-radius:3px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}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;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-clearGroup{border:none;border-radius:0px;width:2em;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{border:1px solid;border-radius:3px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition{border-color:#48b13c}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data{border-color:#e70f00}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:#0069ba}html.dark div.dtsb-searchBuilder button.dtsb-button,html.dark div.dtsb-searchBuilder select.dtsb-dropDown,html.dark div.dtsb-searchBuilder input.dtsb-input{background-color:rgb(66, 69, 73) !important;color-scheme:dark}html.dark div.dtsb-searchBuilder button.dtsb-button{border:1px solid rgb(89, 91, 94);background:rgba(255, 255, 255, 0.15)}html.dark div.dtsb-searchBuilder button.dtsb-button:hover{background:rgba(178.5, 178.5, 178.5, 0.15)}html.dark div.dtsb-searchBuilder div.dtsb-logicContainer{border:1px solid rgb(89, 91, 94)}html.dark div.dtsb-searchBuilder .dtsb-greyscale{border-color:rgba(255, 255, 255, 0.2) !important}
|
|
@@ -1,55 +1,49 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
*
|
|
1
|
+
/*! SearchBuilder default styling 2.0.0 for DataTables
|
|
2
|
+
* Copyright (c) SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
(function(
|
|
6
|
-
if (
|
|
5
|
+
(function(factory){
|
|
6
|
+
if (typeof define === 'function' && define.amd) {
|
|
7
7
|
// AMD
|
|
8
|
-
define(
|
|
9
|
-
return factory(
|
|
10
|
-
}
|
|
8
|
+
define(['datatables.net-dt', 'datatables.net-searchbuilder'], function (dt) {
|
|
9
|
+
return factory(window, document, dt);
|
|
10
|
+
});
|
|
11
11
|
}
|
|
12
|
-
else if (
|
|
12
|
+
else if (typeof exports === 'object') {
|
|
13
13
|
// CommonJS
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
require('datatables.net-dt')(root, $);
|
|
14
|
+
var cjsRequires = function (root) {
|
|
15
|
+
if (! root.DataTable) {
|
|
16
|
+
require('datatables.net-dt')(root);
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
if (
|
|
21
|
-
require('datatables.net-searchbuilder')(root
|
|
19
|
+
if (! window.DataTable.SearchBuilder) {
|
|
20
|
+
require('datatables.net-searchbuilder')(root);
|
|
22
21
|
}
|
|
23
22
|
};
|
|
24
23
|
|
|
25
24
|
if (typeof window === 'undefined') {
|
|
26
|
-
module.exports = function (root
|
|
27
|
-
if (
|
|
25
|
+
module.exports = function (root) {
|
|
26
|
+
if (! root) {
|
|
28
27
|
// CommonJS environments without a window global must pass a
|
|
29
28
|
// root. This will give an error otherwise
|
|
30
29
|
root = window;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
cjsRequires( root, $ );
|
|
38
|
-
return factory( $, root, root.document );
|
|
32
|
+
cjsRequires(root);
|
|
33
|
+
return factory(root, root.document, root.DataTable);
|
|
39
34
|
};
|
|
40
35
|
}
|
|
41
36
|
else {
|
|
42
|
-
cjsRequires(
|
|
43
|
-
module.exports = factory(
|
|
37
|
+
cjsRequires(window);
|
|
38
|
+
module.exports = factory(window, window.document, window.DataTable);
|
|
44
39
|
}
|
|
45
40
|
}
|
|
46
41
|
else {
|
|
47
42
|
// Browser
|
|
48
|
-
factory(
|
|
43
|
+
factory(window, document, window.DataTable);
|
|
49
44
|
}
|
|
50
|
-
}(function(
|
|
45
|
+
}(function(window, document, DataTable) {
|
|
51
46
|
'use strict';
|
|
52
|
-
var DataTable = $.fn.dataTable;
|
|
53
47
|
|
|
54
48
|
|
|
55
49
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
*
|
|
1
|
+
/*! SearchBuilder default styling 2.0.0 for DataTables
|
|
2
|
+
* Copyright (c) SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
|
-
(t=>{var
|
|
4
|
+
(t=>{var n;"function"==typeof define&&define.amd?define(["datatables.net-dt","datatables.net-searchbuilder"],function(e){return t(window,document,e)}):"object"==typeof exports?(n=function(e){e.DataTable||require("datatables.net-dt")(e),window.DataTable.SearchBuilder||require("datatables.net-searchbuilder")(e)},"undefined"==typeof window?module.exports=function(e){return e=e||window,n(e),t(0,e.document,e.DataTable)}:(n(window),module.exports=t(window,window.document,window.DataTable))):t(window,document,window.DataTable)})(function(e,t,n){return n});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
*
|
|
1
|
+
/*! SearchBuilder default styling 2.0.0 for DataTables
|
|
2
|
+
* Copyright (c) SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import DataTable from"datatables.net-dt";import SearchBuilder from"datatables.net-searchbuilder";export default DataTable;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
*
|
|
1
|
+
/*! SearchBuilder default styling 2.0.0 for DataTables
|
|
2
|
+
* Copyright (c) SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import jQuery from 'jquery';
|
|
6
5
|
import DataTable from 'datatables.net-dt';
|
|
7
6
|
import SearchBuilder from 'datatables.net-searchbuilder';
|
|
8
7
|
|
|
9
|
-
// Allow reassignment of the $ variable
|
|
10
|
-
let $ = jQuery;
|
|
11
|
-
|
|
12
8
|
|
|
13
9
|
|
|
14
10
|
export default DataTable;
|
|
11
|
+
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"module": "js/searchBuilder.dataTables.mjs",
|
|
6
6
|
"style": "css/searchBuilder.dataTables.css",
|
|
7
7
|
"types": "./types/searchBuilder.dataTables.d.ts",
|
|
8
|
-
"version": "
|
|
8
|
+
"version": "2.0.0",
|
|
9
9
|
"files": [
|
|
10
10
|
"css/**/*.css",
|
|
11
11
|
"js/**/*.js",
|
|
@@ -17,26 +17,14 @@
|
|
|
17
17
|
"Filtering",
|
|
18
18
|
"Search",
|
|
19
19
|
"Datatables",
|
|
20
|
-
"jQuery",
|
|
21
20
|
"table",
|
|
22
21
|
"filter",
|
|
23
22
|
"sort"
|
|
24
23
|
],
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"datatables.net-searchbuilder": "
|
|
27
|
-
"datatables.net-dt": "^
|
|
28
|
-
"jquery": ">=1.7"
|
|
25
|
+
"datatables.net-searchbuilder": "2.0.0",
|
|
26
|
+
"datatables.net-dt": "^3"
|
|
29
27
|
},
|
|
30
|
-
"moduleType": [
|
|
31
|
-
"globals",
|
|
32
|
-
"amd",
|
|
33
|
-
"node"
|
|
34
|
-
],
|
|
35
|
-
"ignore": [
|
|
36
|
-
"composer.json",
|
|
37
|
-
"datatables.json",
|
|
38
|
-
"package.json"
|
|
39
|
-
],
|
|
40
28
|
"author": {
|
|
41
29
|
"name": "SpryMedia Ltd",
|
|
42
30
|
"url": "http://datatables.net"
|
|
@@ -46,6 +34,6 @@
|
|
|
46
34
|
"license": "MIT",
|
|
47
35
|
"repository": {
|
|
48
36
|
"type": "git",
|
|
49
|
-
"url": "https://github.com/DataTables/
|
|
37
|
+
"url": "git+https://github.com/DataTables/SearchBuilder.git"
|
|
50
38
|
}
|
|
51
39
|
}
|