Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.0.0 #994

Merged
merged 6 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![npm version](https://img.shields.io/npm/v/jQuery-QueryBuilder.svg?style=flat-square)](https://www.npmjs.com/package/jQuery-QueryBuilder)
[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/jQuery-QueryBuilder/badge)](https://www.jsdelivr.com/package/npm/jQuery-QueryBuilder)
[![Build Status](https://github.com/mistic100/jQuery-QueryBuilder/workflows/CI/badge.svg)](https://github.com/mistic100/jQuery-QueryBuilder/actions)
[![Dependencies Status](https://david-dm.org/mistic100/jQuery-QueryBuilder/status.svg?style=flat-square)](https://david-dm.org/mistic100/jQuery-QueryBuilder)
[![gitlocalized](https://gitlocalize.com/repo/5259/whole_project/badge.svg)](https://gitlocalize.com/repo/5259/whole_project?utm_source=badge)

jQuery plugin offering an simple interface to create complex queries.
Expand Down Expand Up @@ -34,18 +33,14 @@ $ npm install jQuery-QueryBuilder
jQuery-QueryBuilder is available on [jsDelivr](https://www.jsdelivr.com/package/npm/jQuery-QueryBuilder).
### Dependencies
* [jQuery 3](https://jquery.com)
* [Bootstrap 3](https://getbootstrap.com/docs/3.3) (CSS only)
* [Bootstrap 5](https://getbootstrap.com/docs/5.3/) CSS and bundle.js which includes `Popper` for tooltips and popovers
* [Bootstrap Icons](https://icons.getbootstrap.com/)
* [jQuery.extendext](https://github.com/mistic100/jQuery.extendext)
* [doT.js](https://olado.github.io/doT)
* [MomentJS](https://momentjs.com) (optional, for Date/Time validation)
* [SQL Parser](https://github.com/mistic100/sql-parser) (optional, for SQL methods)
* Other Bootstrap/jQuery plugins used by plugins

($.extendext and doT.js are directly included in the [standalone](https://github.com/mistic100/jQuery-QueryBuilder/blob/master/dist/js/query-builder.standalone.js) file)

### Browser support
* Internet Explorer >= 11
* All other recent browsers
($.extendext is directly included in the [standalone](https://github.com/mistic100/jQuery-QueryBuilder/blob/master/dist/js/query-builder.standalone.js) file)



Expand Down
2 changes: 1 addition & 1 deletion build/jsdoc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <i class="glyphicon glyphicon-home"></i> [Main documentation](..)
# <i class="bi-house-fill"></i> [Main documentation](..)

# Entry point: [$.fn.QueryBuilder](external-_jQuery.fn_.html)

Expand Down
27 changes: 10 additions & 17 deletions dist/css/query-builder.dark.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* jQuery QueryBuilder 2.7.0
* Copyright 2014-2023 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* jQuery QueryBuilder 3.0.0
* Copyright 2014-2024 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (https://opensource.org/licenses/MIT)
*/
/*!
* jQuery QueryBuilder 2.7.0
* Copyright 2014-2023 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* jQuery QueryBuilder 3.0.0
* Copyright 2014-2024 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (https://opensource.org/licenses/MIT)
*/
.query-builder .rule-placeholder, .query-builder .rule-container, .query-builder .rules-group-container {
Expand Down Expand Up @@ -65,11 +65,6 @@
.query-builder .rule-value-container label.block {
display: block;
}
.query-builder .rule-value-container select,
.query-builder .rule-value-container input[type=text],
.query-builder .rule-value-container input[type=number] {
padding: 1px;
}
.query-builder .error-container {
display: none;
cursor: help;
Expand Down Expand Up @@ -110,14 +105,12 @@
display: none;
}

.query-builder.bt-checkbox-glyphicons .checkbox input[type=checkbox]:checked + label::after {
font-family: "Glyphicons Halflings";
content: "\e013";
}
.query-builder.bt-checkbox-glyphicons .checkbox label::after {
padding-left: 4px;
padding-top: 2px;
font-size: 9px;
.query-builder.bt-checkbox-bootstrap-icons .checkbox input[type=checkbox] + label::before {
outline: 0;
}
.query-builder.bt-checkbox-bootstrap-icons .checkbox input[type=checkbox]:checked + label::after {
font-family: "bootstrap-icons";
content: "\f633";
}

.query-builder .error-container + .tooltip .tooltip-inner {
Expand Down
23 changes: 8 additions & 15 deletions dist/css/query-builder.default.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* jQuery QueryBuilder 2.7.0
* Copyright 2014-2023 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* jQuery QueryBuilder 3.0.0
* Copyright 2014-2024 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (https://opensource.org/licenses/MIT)
*/
.query-builder .rule-placeholder, .query-builder .rule-container, .query-builder .rules-group-container {
Expand Down Expand Up @@ -60,11 +60,6 @@
.query-builder .rule-value-container label.block {
display: block;
}
.query-builder .rule-value-container select,
.query-builder .rule-value-container input[type=text],
.query-builder .rule-value-container input[type=number] {
padding: 1px;
}
.query-builder .error-container {
display: none;
cursor: help;
Expand Down Expand Up @@ -105,14 +100,12 @@
display: none;
}

.query-builder.bt-checkbox-glyphicons .checkbox input[type=checkbox]:checked + label::after {
font-family: "Glyphicons Halflings";
content: "\e013";
}
.query-builder.bt-checkbox-glyphicons .checkbox label::after {
padding-left: 4px;
padding-top: 2px;
font-size: 9px;
.query-builder.bt-checkbox-bootstrap-icons .checkbox input[type=checkbox] + label::before {
outline: 0;
}
.query-builder.bt-checkbox-bootstrap-icons .checkbox input[type=checkbox]:checked + label::after {
font-family: "bootstrap-icons";
content: "\f633";
}

.query-builder .error-container + .tooltip .tooltip-inner {
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Arabic (ar)
* Author: Mohamed YOUNES, https://github.com/MedYOUNES
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.az.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Azerbaijan (az)
* Author: Megaplan, mborisv <[email protected]>
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.bg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Bulgarian (bg)
* Author: Valentin Hristov
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.cs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Čeština (cs)
* Author: Megaplan, mborisv <[email protected]>
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.da.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Danish (da)
* Author: Jna Borup Coyle, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: German (de)
* Author: "raimu"
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.el.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Greek (el)
* Author: Stelios Patsatzis, https://www.linkedin.com/in/stelios-patsatzis-89841561
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.en.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: English (en)
* Author: Damien "Mistic" Sorel, http://www.strangeplanet.fr
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.eo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Esperanto (eo)
* Author: Robin van der Vliet, https://robinvandervliet.com/
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Spanish (es)
* Author: "pyarza", "kddlb"
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.fa-IR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Farsi (fa-ir)
* Author: Behzad Sedighzade, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: French (fr)
* Author: Damien "Mistic" Sorel, http://www.strangeplanet.fr
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.he.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Hebrew (he)
* Author: Kfir Stri https://github.com/kfirstri
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.hu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Hungarian - Magyar (hu)
* Author: Szabó Attila "Tailor993", https://www.tailor993.hu
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.it.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Italian (it)
* Author: davegraziosi, Giuseppe Lodi Rizzini
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.lt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Lithuanian (lt)
* Author: Dalius Guzauskas (aka Tichij), https://lt.linkedin.com/in/daliusg
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Dutch (nl)
* Author: "Roywcm"
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.no.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Norwegian (no)
* Author: Jna Borup Coyle, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.pl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Polish (pl)
* Author: Artur Smolarek
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.pt-BR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Brazilian Portuguese (pr-BR)
* Author: Leandro Gehlen, [email protected]; Marcos Ferretti, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.pt-PT.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Portuguese (pt-PT)
* Author: Miguel Guerreiro, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.ro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Romanian (ro)
* Author: ArianServ, totpero
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.ru.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Russian (ru)
* Author:
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.sk.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Slovensky (sk)
* Author: k2s
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.sq.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Albanian (sq)
* Author: Tomor Pupovci
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.sv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Svenska (sv)
* Author: hekin1
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Swahili (sw)
* Author: Timothy Anyona
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.tr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Turkish (tr)
* Author: Aykut Alpgiray Ateş
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.ua.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Ukrainian (ua)
* Author: Megaplan, mborisv <[email protected]>
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion dist/i18n/query-builder.zh-CN.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery QueryBuilder 2.7.0
* jQuery QueryBuilder 3.0.0
* Locale: Simplified Chinese (zh_CN)
* Author: shadowwind, [email protected]
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
Loading
Loading