dattatable 2.6.6 → 2.6.7

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 (47) hide show
  1. package/build/common/itemForm.js +2 -2
  2. package/dist/dattatable.js +304 -304
  3. package/dist/dattatable.min.js +1 -1
  4. package/docs/classes/AuditLog.html +13 -13
  5. package/docs/classes/CanvasForm.html +17 -17
  6. package/docs/classes/Comments.html +12 -12
  7. package/docs/classes/Dashboard.html +17 -17
  8. package/docs/classes/DataTable.html +11 -11
  9. package/docs/classes/Documents.html +45 -45
  10. package/docs/classes/FilterSlideout.html +14 -14
  11. package/docs/classes/Footer.html +4 -4
  12. package/docs/classes/Header.html +4 -4
  13. package/docs/classes/InstallationRequired.html +12 -12
  14. package/docs/classes/ItemForm.html +47 -47
  15. package/docs/classes/List.html +40 -40
  16. package/docs/classes/LoadingDialog.html +12 -12
  17. package/docs/classes/Modal.html +26 -26
  18. package/docs/classes/Navigation.html +6 -6
  19. package/docs/enums/ActionButtonTypes.html +6 -6
  20. package/docs/functions/formatBytes.html +1 -1
  21. package/docs/functions/formatDateValue.html +1 -1
  22. package/docs/functions/formatTimeValue.html +1 -1
  23. package/docs/functions/getFileExt.html +1 -1
  24. package/docs/interfaces/IAuditLogItem.html +9 -9
  25. package/docs/interfaces/IAuditLogItemCreation.html +7 -7
  26. package/docs/interfaces/IAuditLogProps.html +5 -5
  27. package/docs/interfaces/IAuditLogViewProps.html +6 -6
  28. package/docs/interfaces/ICommentsItem.html +6 -6
  29. package/docs/interfaces/IDashboardProps.html +14 -14
  30. package/docs/interfaces/IDataTable.html +7 -7
  31. package/docs/interfaces/IDataTableProps.html +6 -6
  32. package/docs/interfaces/IDocumentsProps.html +25 -25
  33. package/docs/interfaces/IFilterItem.html +5 -5
  34. package/docs/interfaces/IFilterProps.html +4 -4
  35. package/docs/interfaces/IFooterProps.html +6 -6
  36. package/docs/interfaces/IHeaderProps.html +5 -5
  37. package/docs/interfaces/IInstallProps.html +4 -4
  38. package/docs/interfaces/IItemFormCreateProps.html +14 -14
  39. package/docs/interfaces/IItemFormEditProps.html +15 -15
  40. package/docs/interfaces/IItemFormTab.html +8 -8
  41. package/docs/interfaces/IItemFormTabInfo.html +3 -3
  42. package/docs/interfaces/IItemFormViewProps.html +12 -12
  43. package/docs/interfaces/IListProps.html +9 -9
  44. package/docs/interfaces/IShowDialogProps.html +7 -7
  45. package/docs/variables/DattaTable.html +1 -1
  46. package/package.json +2 -2
  47. package/pnpm-lock.yaml +4 -4
@@ -214,7 +214,7 @@ var ItemForm = /** @class */ (function () {
214
214
  // Ensure the element exists
215
215
  el = el || document.createElement("div");
216
216
  // Set the form properties
217
- var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : true;
217
+ var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : this.FormInfo.attachments != null;
218
218
  var props = {
219
219
  el: el,
220
220
  displayAttachments: displayAttachments,
@@ -246,7 +246,7 @@ var ItemForm = /** @class */ (function () {
246
246
  // Ensure the element exists
247
247
  el = el || document.createElement("div");
248
248
  // Set the form properties
249
- var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : true;
249
+ var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : this.FormInfo.attachments != null;
250
250
  var props = {
251
251
  el: el,
252
252
  displayAttachments: displayAttachments,