dattatable 2.8.2 → 2.8.4
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/build/common/installRequired.js +2 -2
- package/build/dashboard/index.js +2 -1
- package/build/dashboard/table.js +1 -1
- package/dist/dattatable.js +698 -698
- package/dist/dattatable.min.js +1 -1
- package/docs/classes/AuditLog.html +13 -13
- package/docs/classes/CanvasForm.html +17 -17
- package/docs/classes/Comments.html +12 -12
- package/docs/classes/Dashboard.html +20 -20
- package/docs/classes/DataTable.html +12 -12
- package/docs/classes/Documents.html +45 -45
- package/docs/classes/FilterSlideout.html +14 -14
- package/docs/classes/Footer.html +4 -4
- package/docs/classes/Header.html +4 -4
- package/docs/classes/InstallationRequired.html +12 -12
- package/docs/classes/ItemForm.html +47 -47
- package/docs/classes/List.html +47 -47
- package/docs/classes/LoadingDialog.html +12 -12
- package/docs/classes/Modal.html +26 -26
- package/docs/classes/Navigation.html +6 -6
- package/docs/classes/Timeout.html +7 -7
- package/docs/enums/ActionButtonTypes.html +6 -6
- package/docs/functions/formatBytes.html +1 -1
- package/docs/functions/formatDateValue.html +1 -1
- package/docs/functions/formatTimeValue.html +1 -1
- package/docs/functions/getFileExt.html +1 -1
- package/docs/interfaces/IAuditLogItem.html +9 -9
- package/docs/interfaces/IAuditLogItemCreation.html +7 -7
- package/docs/interfaces/IAuditLogProps.html +5 -5
- package/docs/interfaces/IAuditLogViewProps.html +6 -6
- package/docs/interfaces/ICommentsItem.html +6 -6
- package/docs/interfaces/IDashboardProps.html +14 -14
- package/docs/interfaces/IDataTable.html +8 -8
- package/docs/interfaces/IDataTableProps.html +6 -6
- package/docs/interfaces/IDocumentsProps.html +25 -25
- package/docs/interfaces/IFilterItem.html +5 -5
- package/docs/interfaces/IFilterProps.html +4 -4
- package/docs/interfaces/IFooterProps.html +6 -6
- package/docs/interfaces/IHeaderProps.html +5 -5
- package/docs/interfaces/IInstallProps.html +4 -4
- package/docs/interfaces/IItemFormCreateProps.html +14 -14
- package/docs/interfaces/IItemFormEditProps.html +15 -15
- package/docs/interfaces/IItemFormTab.html +8 -8
- package/docs/interfaces/IItemFormTabInfo.html +3 -3
- package/docs/interfaces/IItemFormViewProps.html +12 -12
- package/docs/interfaces/IListProps.html +11 -11
- package/docs/interfaces/IShowDialogProps.html +7 -7
- package/docs/variables/DattaTable.html +1 -1
- package/package.json +54 -54
- package/pnpm-lock.yaml +13 -13
|
@@ -292,10 +292,10 @@ var InstallationRequired = /** @class */ (function () {
|
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
294
|
}).then(function () {
|
|
295
|
-
// Call the event
|
|
296
|
-
props.onCompleted ? props.onCompleted() : null;
|
|
297
295
|
// Close the dialog
|
|
298
296
|
loadingDialog_1.LoadingDialog.hide();
|
|
297
|
+
// Call the event
|
|
298
|
+
props.onCompleted ? props.onCompleted() : null;
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
}
|
package/build/dashboard/index.js
CHANGED
|
@@ -227,7 +227,8 @@ var Dashboard = /** @class */ (function () {
|
|
|
227
227
|
// Filter the table
|
|
228
228
|
Dashboard.prototype.filter = function (idx, value, exactMatchFl) {
|
|
229
229
|
// Filter the table
|
|
230
|
-
|
|
230
|
+
// If no value is specified, then we don't want to filter by exact value
|
|
231
|
+
exactMatchFl && value ? this._dt.filterExact(idx, value) : this._dt.filter(idx, value);
|
|
231
232
|
};
|
|
232
233
|
// Filter the table by multiple values
|
|
233
234
|
Dashboard.prototype.filterMulti = function (idx, values) {
|
package/build/dashboard/table.js
CHANGED
|
@@ -49,7 +49,7 @@ var DataTable = /** @class */ (function () {
|
|
|
49
49
|
DataTable.prototype.filterExact = function (idx, value) {
|
|
50
50
|
if (value === void 0) { value = ""; }
|
|
51
51
|
// Set the filter
|
|
52
|
-
|
|
52
|
+
this._datatable.column(idx).search("^" + value.replace(/[-[/\]{}()*+?.,\\^$#\s]/g, '\\$&') + "$", true, false).draw();
|
|
53
53
|
};
|
|
54
54
|
// Filters multiple values against the status
|
|
55
55
|
DataTable.prototype.filterMulti = function (idx, values) {
|