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.
Files changed (50) hide show
  1. package/build/common/installRequired.js +2 -2
  2. package/build/dashboard/index.js +2 -1
  3. package/build/dashboard/table.js +1 -1
  4. package/dist/dattatable.js +698 -698
  5. package/dist/dattatable.min.js +1 -1
  6. package/docs/classes/AuditLog.html +13 -13
  7. package/docs/classes/CanvasForm.html +17 -17
  8. package/docs/classes/Comments.html +12 -12
  9. package/docs/classes/Dashboard.html +20 -20
  10. package/docs/classes/DataTable.html +12 -12
  11. package/docs/classes/Documents.html +45 -45
  12. package/docs/classes/FilterSlideout.html +14 -14
  13. package/docs/classes/Footer.html +4 -4
  14. package/docs/classes/Header.html +4 -4
  15. package/docs/classes/InstallationRequired.html +12 -12
  16. package/docs/classes/ItemForm.html +47 -47
  17. package/docs/classes/List.html +47 -47
  18. package/docs/classes/LoadingDialog.html +12 -12
  19. package/docs/classes/Modal.html +26 -26
  20. package/docs/classes/Navigation.html +6 -6
  21. package/docs/classes/Timeout.html +7 -7
  22. package/docs/enums/ActionButtonTypes.html +6 -6
  23. package/docs/functions/formatBytes.html +1 -1
  24. package/docs/functions/formatDateValue.html +1 -1
  25. package/docs/functions/formatTimeValue.html +1 -1
  26. package/docs/functions/getFileExt.html +1 -1
  27. package/docs/interfaces/IAuditLogItem.html +9 -9
  28. package/docs/interfaces/IAuditLogItemCreation.html +7 -7
  29. package/docs/interfaces/IAuditLogProps.html +5 -5
  30. package/docs/interfaces/IAuditLogViewProps.html +6 -6
  31. package/docs/interfaces/ICommentsItem.html +6 -6
  32. package/docs/interfaces/IDashboardProps.html +14 -14
  33. package/docs/interfaces/IDataTable.html +8 -8
  34. package/docs/interfaces/IDataTableProps.html +6 -6
  35. package/docs/interfaces/IDocumentsProps.html +25 -25
  36. package/docs/interfaces/IFilterItem.html +5 -5
  37. package/docs/interfaces/IFilterProps.html +4 -4
  38. package/docs/interfaces/IFooterProps.html +6 -6
  39. package/docs/interfaces/IHeaderProps.html +5 -5
  40. package/docs/interfaces/IInstallProps.html +4 -4
  41. package/docs/interfaces/IItemFormCreateProps.html +14 -14
  42. package/docs/interfaces/IItemFormEditProps.html +15 -15
  43. package/docs/interfaces/IItemFormTab.html +8 -8
  44. package/docs/interfaces/IItemFormTabInfo.html +3 -3
  45. package/docs/interfaces/IItemFormViewProps.html +12 -12
  46. package/docs/interfaces/IListProps.html +11 -11
  47. package/docs/interfaces/IShowDialogProps.html +7 -7
  48. package/docs/variables/DattaTable.html +1 -1
  49. package/package.json +54 -54
  50. 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
  }
@@ -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
- exactMatchFl ? this._dt.filterExact(idx, value) : this._dt.filter(idx, value);
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) {
@@ -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
- value ? this._datatable.column(idx).search("^" + value.replace(/[-[/\]{}()*+?.,\\^$#\s]/g, '\\$&') + "$", true, false).draw() : this.filter(idx, value);
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) {