/*! SearchBuilder 1.3.1 * ©SpryMedia Ltd - datatables.net/license/mit */ (function () { 'use strict'; var $$2; var dataTable$2; // eslint-disable-next-line no-extra-parens var moment = window.moment; // eslint-disable-next-line no-extra-parens var luxon = window.luxon; /** * Sets the value of jQuery for use in the file * * @param jq the instance of jQuery to be set */ function setJQuery$2(jq) { $$2 = jq; dataTable$2 = jq.fn.dataTable; } /** * The Criteria class is used within SearchBuilder to represent a search criteria */ var Criteria = /** @class */ (function () { function Criteria(table, opts, topGroup, index, depth) { var _this = this; if (index === void 0) { index = 0; } if (depth === void 0) { depth = 1; } // Check that the required version of DataTables is included if (!dataTable$2 || !dataTable$2.versionCheck || !dataTable$2.versionCheck('1.10.0')) { throw new Error('SearchPane requires DataTables 1.10 or newer'); } this.classes = $$2.extend(true, {}, Criteria.classes); // Get options from user and any extra conditions/column types defined by plug-ins this.c = $$2.extend(true, {}, Criteria.defaults, $$2.fn.dataTable.ext.searchBuilder, opts); var i18n = this.c.i18n; this.s = { condition: undefined, conditions: {}, data: undefined, dataIdx: -1, dataPoints: [], dateFormat: false, depth: depth, dt: table, filled: false, index: index, origData: undefined, topGroup: topGroup, type: '', value: [] }; this.dom = { buttons: $$2('
') .addClass(this.classes.buttonContainer), condition: $$2('') .addClass(this.classes.data) .addClass(this.classes.dropDown) .addClass(this.classes.italic), dataTitle: $$2('