Skip to content

A free open source IT asset/license management system

Updated assets

snipe422f3ec81e99
diff --git a/public/css/dist/all.css b/public/css/dist/all.css
index 2ae4d0a80d..48cf0fefe1 100644
--- a/public/css/dist/all.css
+++ b/public/css/dist/all.css
@@ -21124,7 +21124,7 @@ hr {
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVra28tbGlnaHRib3guY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQ0UsOEJBQXlCLEFBQXpCLHVCQUF5QixBQUN6QixzQkFBb0IsQUFBcEIsbUJBQW9CLEFBQ3BCLHFCQUF3QixBQUF4Qix1QkFBd0IsQUFDeEIseUJBQTZCLENBQzlCLEFBQ0QseUJBQ0UsaUJBQW1CLENBQ3BCLEFBQ0QsZ0RBQ0Usa0JBQW1CLEFBQ25CLE1BQU8sQUFDUCxPQUFRLEFBQ1IsU0FBVSxBQUNWLFFBQVMsQUFDVCxVQUFZLENBQ2IsQUFDRCxzQkFDRSxXQUFZLEFBQ1osV0FBYSxDQUNkLEFBQ0QsMkJBQ0UsVUFBYSxBQUNiLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFdBQVksQUFDWixZQUFhLEFBQ2Isb0JBQWMsQUFBZCxZQUFjLENBQ2YsQUFDRCw2QkFDRSxXQUFRLEFBQVIsT0FBUSxBQUNSLG9CQUFjLEFBQWQsYUFBYyxBQUNkLHNCQUFvQixBQUFwQixtQkFBb0IsQUFDcEIsVUFBVyxBQUNYLHVCQUF5QixBQUN6QixXQUFZLEFBQ1osZUFBZ0IsQUFDaEIsU0FBYSxDQUNkLEFBQ0QsK0JBQ0Usb0JBQWEsQUFBYixXQUFhLENBQ2QsQUFDRCxvQ0FDRSxZQUFjLENBQ2YsQUFDRCxrQ0FDRSxjQUFnQixDQUNqQixBQUNELDZDQUNFLGdCQUFrQixDQUNuQixBQUNELG1DQUNFLG9CQUFzQixDQUN2QixBQUN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VsYXRpdmU7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5la2tvLWxpZ2h0Ym94LWxvYWRlciA+IGRpdiA+IGRpdiB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgb3BhY2l0eTogMC42O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgYW5pbWF0aW9uOiBzay1ib3VuY2UgMnMgaW5maW5pdGUgZWFzZS1pbi1vdXQ7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXY6bGFzdC1jaGlsZCB7XG4gIGFuaW1hdGlvbi1kZWxheTogLTFzO1xufVxuLm1vZGFsLWRpYWxvZyAuZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXYge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMzMzO1xufVxuQC13ZWJraXQta2V5ZnJhbWVzIHNrLWJvdW5jZSB7XG4gIDAlLFxuICAxMDAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMCk7XG4gIH1cbiAgNTAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbkBrZXlmcmFtZXMgc2stYm91bmNlIHtcbiAgMCUsXG4gIDEwMCUge1xuICAgIHRyYW5zZm9ybTogc2NhbGUoMCk7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDApO1xuICB9XG4gIDUwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbiJdfQ== */
/**
* @author zhixin wen <[email protected]>
- * version: 1.22.6
+ * version: 1.22.5
* https://github.com/wenzhixin/bootstrap-table/
*/
/* stylelint-disable annotation-no-unknown, max-line-length */
diff --git a/public/css/dist/bootstrap-table.css b/public/css/dist/bootstrap-table.css
index d315610f3c..eb5b8c0b19 100644
--- a/public/css/dist/bootstrap-table.css
+++ b/public/css/dist/bootstrap-table.css
@@ -1,6 +1,6 @@
/**
* @author zhixin wen <[email protected]>
- * version: 1.22.6
+ * version: 1.22.5
* https://github.com/wenzhixin/bootstrap-table/
*/
/* stylelint-disable annotation-no-unknown, max-line-length */
diff --git a/public/js/build/app.js b/public/js/build/app.js
index ad64837859..50fab0d8d0 100644
--- a/public/js/build/app.js
+++ b/public/js/build/app.js
@@ -586,22 +586,27 @@ function htmlEntities(str) {
*
* 1. Set the class of your select2 elements to 'livewire-select2').
* 2. Name your element to match a property in your Livewire component
- * 3. Add an attribute called 'data-livewire-component' that points to $_instance->id (via `{{ }}` if you're in a blade,
- * or just $_instance->id if not).
+ * 3. Add an attribute called 'data-livewire-component' that points to $this->getId() (via `{{ }}` if you're in a blade,
+ * or just $this->getId() if not).
*/
-$(function () {
+document.addEventListener('livewire:init', function () {
$('.livewire-select2').select2();
$(document).on('select2:select', '.livewire-select2', function (event) {
var target = $(event.target);
if (!event.target.name || !target.data('livewire-component')) {
console.error("You need to set both name (which should match a Livewire property) and data-livewire-component on your Livewire-ed select2 elements!");
- console.error("For data-livewire-component, you probably want to use $_instance->id or {{ $_instance->id }}, as appropriate");
+ console.error("For data-livewire-component, you probably want to use $this->getId() or {{ $this->getId() }}, as appropriate");
return false;
}
- window.livewire.find(target.data('livewire-component')).set(event.target.name, this.options[this.selectedIndex].value);
+ Livewire.find(target.data('livewire-component')).set(event.target.name, this.options[this.selectedIndex].value);
});
- window.livewire.hook('message.processed', function (el, component) {
- $('.livewire-select2').select2();
+ Livewire.hook('request', function (_ref) {
+ var succeed = _ref.succeed;
+ succeed(function () {
+ queueMicrotask(function () {
+ $('.livewire-select2').select2();
+ });
+ });
});
});
diff --git a/public/js/dist/all.js b/public/js/dist/all.js
index 15943c3624..6e04bad7dd 100644
--- a/public/js/dist/all.js
+++ b/public/js/dist/all.js
@@ -59777,22 +59777,27 @@ function htmlEntities(str) {
*
* 1. Set the class of your select2 elements to 'livewire-select2').
* 2. Name your element to match a property in your Livewire component
- * 3. Add an attribute called 'data-livewire-component' that points to $_instance->id (via `{{ }}` if you're in a blade,
- * or just $_instance->id if not).
+ * 3. Add an attribute called 'data-livewire-component' that points to $this->getId() (via `{{ }}` if you're in a blade,
+ * or just $this->getId() if not).
*/
-$(function () {
+document.addEventListener('livewire:init', function () {
$('.livewire-select2').select2();
$(document).on('select2:select', '.livewire-select2', function (event) {
var target = $(event.target);
if (!event.target.name || !target.data('livewire-component')) {
console.error("You need to set both name (which should match a Livewire property) and data-livewire-component on your Livewire-ed select2 elements!");
- console.error("For data-livewire-component, you probably want to use $_instance->id or {{ $_instance->id }}, as appropriate");
+ console.error("For data-livewire-component, you probably want to use $this->getId() or {{ $this->getId() }}, as appropriate");
return false;
}
- window.livewire.find(target.data('livewire-component')).set(event.target.name, this.options[this.selectedIndex].value);
+ Livewire.find(target.data('livewire-component')).set(event.target.name, this.options[this.selectedIndex].value);
});
- window.livewire.hook('message.processed', function (el, component) {
- $('.livewire-select2').select2();
+ Livewire.hook('request', function (_ref) {
+ var succeed = _ref.succeed;
+ succeed(function () {
+ queueMicrotask(function () {
+ $('.livewire-select2').select2();
+ });
+ });
});
});
diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.js
index a480fce863..5b74860cb5 100644
--- a/public/js/dist/bootstrap-table.js
+++ b/public/js/dist/bootstrap-table.js
@@ -5285,7 +5285,7 @@
}
};
- var VERSION = '1.22.6';
+ var VERSION = '1.22.5';
var bootstrapVersion = Utils.getBootstrapVersion();
var CONSTANTS = {
3: {
@@ -16840,7 +16840,7 @@
if (!this.options.cookie) {
return;
}
- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageList, this.options.pageSize === this.options.formatAllRows() ? 'all' : this.options.pageSize);
+ UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageList, this.options.pageSize);
UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);
}
}, {
@@ -17013,7 +17013,7 @@
// pageNumber
this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber;
// pageSize
- this.options.pageSize = pageListCookie ? pageListCookie === 'all' ? this.options.formatAllRows() : +pageListCookie : this.options.pageSize;
+ this.options.pageSize = pageListCookie ? pageListCookie === this.options.formatAllRows() ? pageListCookie : +pageListCookie : this.options.pageSize;
// searchText
if (UtilsCookie.isCookieEnabled(this, UtilsCookie.cookieIds.searchText) && this.options.searchText === '') {
this.options.searchText = searchTextCookie ? searchTextCookie : '';
@@ -27350,7 +27350,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button class=\"close toolbar-modal-close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n <h4 class=\"modal-title toolbar-modal-title\"></h4>\n </div>\n <div class=\"modal-body toolbar-modal-body\"></div>\n <div class=\"modal-footer toolbar-modal-footer\">\n <button class=\"btn btn-%s toolbar-modal-close\"></button>\n </div>\n </div>\n </div>\n </div>\n "
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n <h4 class=\"modal-title\">%s</h4>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0px; padding-left: 0px;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
}
},
bootstrap4: {
@@ -27359,7 +27359,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title toolbar-modal-title\"></h4>\n <button class=\"close toolbar-modal-close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body toolbar-modal-body\"></div>\n <div class=\"modal-footer toolbar-modal-footer\">\n <button class=\"btn btn-%s toolbar-modal-close\"></button>\n </div>\n </div>\n </div>\n </div>\n "
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">%s</h4>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
}
},
bootstrap5: {
@@ -27370,7 +27370,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
formGroup: 'mb-3'
},
html: {
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title toolbar-modal-title\"></h5>\n <button class=\"btn-close toolbar-modal-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body toolbar-modal-body\"></div>\n <div class=\"modal-footer toolbar-modal-footer\">\n <button class=\"btn btn-%s toolbar-modal-close\"></button>\n </div>\n </div>\n </div>\n </div>\n "
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">%s</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
}
},
bulma: {
@@ -27379,7 +27379,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div class=\"modal\" id=\"avdSearchModal_%s\">\n <div class=\"modal-background\"></div>\n <div class=\"modal-card\">\n <header class=\"modal-card-head\">\n <p class=\"modal-card-title toolbar-modal-title\"></p>\n <button class=\"delete toolbar-modal-close\"></button>\n </header>\n <section class=\"modal-card-body toolbar-modal-body\"></section>\n <footer class=\"modal-card-foot toolbar-modal-footer\">\n <button class=\"button button-%s toolbar-modal-close\"></button>\n </footer>\n </div>\n </div>\n "
+ modal: "\n <div class=\"modal\" id=\"avdSearchModal_%s\">\n <div class=\"modal-background\"></div>\n <div class=\"modal-card\">\n <header class=\"modal-card-head\">\n <p class=\"modal-card-title\">%s</p>\n <button class=\"delete\" aria-label=\"close\"></button>\n </header>\n <section class=\"modal-card-body\" id=\"avdSearchModalContent_%s\"></section>\n <footer class=\"modal-card-foot\">\n <button class=\"button\" id=\"btnCloseAvd_%s\" data-close=\"btn btn-%s\">%s</button>\n </footer>\n </div>\n </div>\n "
}
},
foundation: {
@@ -27388,7 +27388,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div class=\"reveal\" id=\"avdSearchModal_%s\" data-reveal>\n <h1 class=\"toolbar-modal-title\"></h1>\n <div class=\"toolbar-modal-body\"></div>\n <button class=\"close-button toolbar-modal-close\" data-close aria-label=\"Close modal\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n <div class=\"toolbar-modal-footer\">\n <button class=\"button button-%s toolbar-modal-close\"></button>\n </div>\n </div>\n "
+ modal: "\n <div class=\"reveal\" id=\"avdSearchModal_%s\" data-reveal>\n <h1>%s</h1>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n <button class=\"close-button\" data-close aria-label=\"Close modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n\n <button id=\"btnCloseAvd_%s\" class=\"%s\" type=\"button\">%s</button>\n </div>\n "
}
},
materialize: {
@@ -27397,7 +27397,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal\">\n <div class=\"modal-content\">\n <h4 class=\"toolbar-modal-title\"></h4>\n <div class=\"toolbar-modal-body\"></div>\n </div>\n <div class=\"modal-footer toolbar-modal-footer\">\n <a href=\"javascript:void(0)\" class=\"modal-close waves-effect waves-green btn-flat btn-%s toolbar-modal-close\"></a>\n </div>\n </div>\n "
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal\">\n <div class=\"modal-content\">\n <h4>%s</h4>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n </div>\n <div class=\"modal-footer\">\n <a href=\"javascript:void(0)\"\" id=\"btnCloseAvd_%s\" class=\"modal-close waves-effect waves-green btn-flat %s\">%s</a>\n </div>\n </div>\n "
}
},
semantic: {
@@ -27406,7 +27406,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
},
classes: {},
html: {
- modal: "\n <div class=\"ui modal\" id=\"avdSearchModal_%s\">\n <i class=\"close icon toolbar-modal-close\"></i>\n <div class=\"header toolbar-modal-title\"\"></div>\n <div class=\"image content ui form toolbar-modal-body\"></div>\n <div class=\"actions toolbar-modal-footer\">\n <div class=\"ui black deny button button-%s toolbar-modal-close\"></div>\n </div>\n </div>\n "
+ modal: "\n <div class=\"ui modal\" id=\"avdSearchModal_%s\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n %s\n </div>\n <div class=\"image content ui form\" id=\"avdSearchModalContent_%s\"></div>\n <div class=\"actions\">\n <div id=\"btnCloseAvd_%s\" class=\"ui black deny button %s\">%s</div>\n </div>\n </div>\n "
}
}
}[$$b.fn.bootstrapTable.theme];
@@ -27444,91 +27444,101 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
return _createClass(_class, [{
key: "initToolbar",
value: function initToolbar() {
- this.showToolbar = this.showToolbar || this.options.search && this.options.advancedSearch && this.options.idTable;
- if (this.showToolbar) {
+ var o = this.options;
+ this.showToolbar = this.showToolbar || o.search && o.advancedSearch && o.idTable;
+ if (o.search && o.advancedSearch && o.idTable) {
this.buttons = Object.assign(this.buttons, {
advancedSearch: {
text: this.options.formatAdvancedSearch(),
icon: this.options.icons.advancedSearchIcon,
- event: this.showAdvancedSearch,
+ event: this.showAvdSearch,
attributes: {
'aria-label': this.options.formatAdvancedSearch(),
title: this.options.formatAdvancedSearch()
}
}
});
- if (Utils.isEmptyObject(this.filterColumnsPartial)) {
- this.filterColumnsPartial = {};
- }
}
_get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
}
}, {
- key: "showAdvancedSearch",
- value: function showAdvancedSearch() {
+ key: "showAvdSearch",
+ value: function showAvdSearch() {
var _this = this;
- this.$toolbarModal = $$b("#avdSearchModal_".concat(this.options.idTable));
- if (this.$toolbarModal.length <= 0) {
- $$b('body').append(Utils.sprintf(theme.html.modal, this.options.idTable, this.options.buttonsClass));
- this.$toolbarModal = $$b("#avdSearchModal_".concat(this.options.idTable));
- this.$toolbarModal.find('.toolbar-modal-close').off('click').on('click', function () {
- return _this.hideToolbarModal();
+ var o = this.options;
+ var modalSelector = "#avdSearchModal_".concat(o.idTable);
+ if ($$b(modalSelector).length <= 0) {
+ $$b('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));
+ var timeoutId = 0;
+ $$b("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));
+ $$b("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
+ if (o.sidePagination === 'server') {
+ _this.onColumnAdvancedSearch(e);
+ } else {
+ clearTimeout(timeoutId);
+ timeoutId = setTimeout(function () {
+ _this.onColumnAdvancedSearch(e);
+ }, o.searchTimeOut);
+ }
+ });
+ $$b("#btnCloseAvd_".concat(o.idTable)).click(function () {
+ return _this.hideModal();
});
+ if ($$b.fn.bootstrapTable.theme === 'bulma') {
+ $$b(modalSelector).find('.delete').off('click').on('click', function () {
+ return _this.hideModal();
+ });
+ }
+ this.showModal();
+ } else {
+ this.showModal();
}
- this.initToolbarModalBody();
- this.showToolbarModal();
}
}, {
- key: "initToolbarModalBody",
- value: function initToolbarModalBody() {
- var _this2 = this;
- this.$toolbarModal.find('.toolbar-modal-title').html(this.options.formatAdvancedSearch());
- this.$toolbarModal.find('.toolbar-modal-footer .toolbar-modal-close').html(this.options.formatAdvancedCloseButton());
- this.$toolbarModal.find('.toolbar-modal-body').html(this.createToolbarForm()).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
- _this2.onColumnAdvancedSearch(e);
- });
- }
- }, {
- key: "showToolbarModal",
- value: function showToolbarModal() {
- var theme = $$b.fn.bootstrapTable.theme;
- if (['bootstrap3', 'bootstrap4'].includes(theme)) {
- this.$toolbarModal.modal();
- } else if (theme === 'bootstrap5') {
+ key: "showModal",
+ value: function showModal() {
+ var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
+ if ($$b.inArray($$b.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
+ $$b(modalSelector).modal();
+ } else if ($$b.fn.bootstrapTable.theme === 'bootstrap5') {
if (!this.toolbarModal) {
- this.toolbarModal = new window.bootstrap.Modal(this.$toolbarModal[0], {});
+ // eslint-disable-next-line no-undef
+ this.toolbarModal = new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)), {});
}
this.toolbarModal.show();
- } else if (theme === 'bulma') {
- this.$toolbarModal.toggleClass('is-active');
- } else if (theme === 'foundation') {
+ } else if ($$b.fn.bootstrapTable.theme === 'bulma') {
+ $$b(modalSelector).toggleClass('is-active');
+ } else if ($$b.fn.bootstrapTable.theme === 'foundation') {
if (!this.toolbarModal) {
- this.toolbarModal = new window.Foundation.Reveal(this.$toolbarModal);
+ // eslint-disable-next-line no-undef
+ this.toolbarModal = new Foundation.Reveal($$b(modalSelector));
}
this.toolbarModal.open();
- } else if (theme === 'materialize') {
- this.$toolbarModal.modal().modal('open');
- } else if (theme === 'semantic') {
- this.$toolbarModal.modal('show');
+ } else if ($$b.fn.bootstrapTable.theme === 'materialize') {
+ $$b(modalSelector).modal();
+ $$b(modalSelector).modal('open');
+ } else if ($$b.fn.bootstrapTable.theme === 'semantic') {
+ $$b(modalSelector).modal('show');
}
}
}, {
- key: "hideToolbarModal",
- value: function hideToolbarModal() {
- var theme = $$b.fn.bootstrapTable.theme;
- if (['bootstrap3', 'bootstrap4'].includes(theme)) {
- this.$toolbarModal.modal('hide');
- } else if (theme === 'bootstrap5') {
+ key: "hideModal",
+ value: function hideModal() {
+ var $closeModalButton = $$b("#avdSearchModal_".concat(this.options.idTable));
+ var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
+ if ($$b.inArray($$b.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
+ $closeModalButton.modal('hide');
+ } else if ($$b.fn.bootstrapTable.theme === 'bootstrap5') {
this.toolbarModal.hide();
- } else if (theme === 'bulma') {
+ } else if ($$b.fn.bootstrapTable.theme === 'bulma') {
$$b('html').toggleClass('is-clipped');
- this.$toolbarModal.toggleClass('is-active');
- } else if (theme === 'foundation') {
+ $$b(modalSelector).toggleClass('is-active');
+ } else if ($$b.fn.bootstrapTable.theme === 'foundation') {
this.toolbarModal.close();
- } else if (theme === 'materialize') {
- this.$toolbarModal.modal('open');
- } else if (theme === 'semantic') {
- this.$toolbarModal.modal('close');
+ } else if ($$b.fn.bootstrapTable.theme === 'materialize') {
+ $$b(modalSelector).modal('open');
+ } else if ($$b.fn.bootstrapTable.theme === 'semantic') {
+ $$b(modalSelector).modal('close');
}
if (this.options.sidePagination === 'server') {
this.options.pageNumber = 1;
@@ -27537,18 +27547,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
}
}
}, {
- key: "createToolbarForm",
- value: function createToolbarForm() {
- var html = ["<form class=\"form-horizontal toolbar-model-form\" action=\"".concat(this.options.actionForm, "\">")];
+ key: "createFormAvd",
+ value: function createFormAvd() {
+ var o = this.options;
+ var html = ["<form class=\"form-horizontal\" id=\"".concat(o.idForm, "\" action=\"").concat(o.actionForm, "\">")];
var _iterator = _createForOfIteratorHelper(this.columns),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var column = _step.value;
if (!column.checkbox && column.visible && column.searchable) {
- var title = $$b('<div/>').html(column.title).text().trim();
- var value = this.filterColumnsPartial[column.field] || '';
- html.push("\n <div class=\"form-group row ".concat(theme.classes.formGroup || '', "\">\n <label class=\"col-sm-4 control-label\">").concat(title, "</label>\n <div class=\"col-sm-6\">\n <input type=\"text\" class=\"form-control ").concat(this.constants.classes.input, "\"\n name=\"").concat(column.field, "\" placeholder=\"").concat(title, "\" value=\"").concat(value, "\">\n </div>\n </div>\n "));
+ html.push("\n <div class=\"form-group row ".concat(theme.classes.formGroup || '', "\">\n <label class=\"col-sm-4 control-label\">").concat(column.title, "</label>\n <div class=\"col-sm-6\">\n <input type=\"text\" class=\"form-control ").concat(this.constants.classes.input, "\" name=\"").concat(column.field, "\" placeholder=\"").concat(column.title, "\" id=\"").concat(column.field, "\">\n </div>\n </div>\n "));
}
}
} catch (err) {
@@ -27557,17 +27566,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
_iterator.f();
}
html.push('</form>');
- return html.join('');
+ return html;
}
}, {
key: "initSearch",
value: function initSearch() {
- var _this3 = this;
+ var _this2 = this;
_get(_getPrototypeOf(_class.prototype), "initSearch", this).call(this);
if (!this.options.advancedSearch || this.options.sidePagination === 'server') {
return;
}
- var fp = Utils.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
+ var fp = $$b.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
this.data = fp ? this.data.filter(function (item, i) {
for (var _i = 0, _Object$entries = Object.entries(fp); _i < _Object$entries.length; _i++) {
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -27575,8 +27584,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
v = _Object$entries$_i[1];
var val = v.toLowerCase();
var value = item[key];
- var index = _this3.header.fields.indexOf(key);
- value = Utils.calculateObjectValue(_this3.header, _this3.header.formatters[index], [value, item, i], value);
+ var index = _this2.header.fields.indexOf(key);
+ value = Utils.calculateObjectValue(_this2.header, _this2.header.formatters[index], [value, item, i], value);
if (!(index !== -1 && (typeof value === 'string' || typeof value === 'number') && "".concat(value).toLowerCase().includes(val))) {
return false;
}
@@ -27589,17 +27598,20 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
key: "onColumnAdvancedSearch",
value: function onColumnAdvancedSearch(e) {
var text = $$b(e.currentTarget).val().trim();
- var field = $$b(e.currentTarget).attr('name');
+ var $field = $$b(e.currentTarget)[0].id;
+ if ($$b.isEmptyObject(this.filterColumnsPartial)) {
+ this.filterColumnsPartial = {};
+ }
if (text) {
- this.filterColumnsPartial[field] = text;
+ this.filterColumnsPartial[$field] = text;
} else {
- delete this.filterColumnsPartial[field];
+ delete this.filterColumnsPartial[$field];
}
if (this.options.sidePagination !== 'server') {
this.options.pageNumber = 1;
this.initSearch();
this.updatePagination();
- this.trigger('column-advanced-search', field, text);
+ this.trigger('column-advanced-search', $field, text);
}
}
}]);
diff --git a/public/mix-manifest.json b/public/mix-manifest.json
index 2026a81f25..b48530bf85 100644
--- a/public/mix-manifest.json
+++ b/public/mix-manifest.json
@@ -1,5 +1,5 @@
{
- "/js/build/app.js": "/js/build/app.js?id=337bd2424ba19bb3c8f200e266caa513",
+ "/js/build/app.js": "/js/build/app.js?id=d47043e03f80612693d9b9034d94e28f",
"/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=44bf834f2110504a793dadec132a5898",
"/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=f677207c6cf9678eb539abecb408c374",
"/css/build/overrides.css": "/css/build/overrides.css?id=004835e70ed3ae2e2340162b7a37c752",
@@ -18,7 +18,7 @@
"/css/dist/skins/skin-green-dark.css": "/css/dist/skins/skin-green-dark.css?id=553ee68741b5a392037abcf04da80adc",
"/css/dist/skins/skin-green.css": "/css/dist/skins/skin-green.css?id=0a82a6ae6bb4e58fe62d162c4fb50397",
"/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=da6c7997d9de2f8329142399f0ce50da",
- "/css/dist/all.css": "/css/dist/all.css?id=c18576427f178a39b395c950a130233e",
+ "/css/dist/all.css": "/css/dist/all.css?id=0f9956c66f93c6417f69f0134c6ae128",
"/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7",
"/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7",
"/css/webfonts/fa-brands-400.ttf": "/css/webfonts/fa-brands-400.ttf?id=0141634c24336be626e05c8b77d1fa27",
@@ -29,11 +29,10 @@
"/css/webfonts/fa-solid-900.woff2": "/css/webfonts/fa-solid-900.woff2?id=96d16b1bdb177fd796c810b9e706c780",
"/css/webfonts/fa-v4compatibility.ttf": "/css/webfonts/fa-v4compatibility.ttf?id=8994b282f9f3b7a00380bb1e2731a4bf",
"/css/webfonts/fa-v4compatibility.woff2": "/css/webfonts/fa-v4compatibility.woff2?id=111e341dba724e1df946e8d1f406a7bd",
- "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=56d8ef58cbae76d63d504ff8d69cf382",
+ "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=5f79123a6750afd34dbf565faec3dda3",
"/js/build/vendor.js": "/js/build/vendor.js?id=179bfe20e8767f7df32658c6b5a10ca3",
- "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=1635e7bbab779359c9b97121a8203521",
- "/js/dist/all.js": "/js/dist/all.js?id=e37ce44903f83119fe3d52717200022e",
- "/js/dist/all-defer.js": "/js/dist/all-defer.js?id=75d841799f917cbcacf6b87698379726",
+ "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=e5918703a22f8992c4c98f1dbbecb8f7",
+ "/js/dist/all.js": "/js/dist/all.js?id=a5164c1c20074421f561fade29d392c3",
"/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=0a82a6ae6bb4e58fe62d162c4fb50397",
"/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=553ee68741b5a392037abcf04da80adc",
"/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=76482123f6c70e866d6b971ba91de7bb",