dattatable 2.0.5 → 2.0.6

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 (35) hide show
  1. package/build/itemForm.js +4 -0
  2. package/dist/dattatable.js +427 -427
  3. package/dist/dattatable.min.js +1 -1
  4. package/docs/classes/CanvasForm.html +1 -1
  5. package/docs/classes/Comments.html +1 -1
  6. package/docs/classes/Dashboard.html +2 -2
  7. package/docs/classes/DataTable.html +2 -2
  8. package/docs/classes/Documents.html +5 -5
  9. package/docs/classes/FilterSlideout.html +1 -1
  10. package/docs/classes/Footer.html +1 -1
  11. package/docs/classes/Header.html +1 -1
  12. package/docs/classes/InstallationRequired.html +1 -1
  13. package/docs/classes/ItemForm.html +3 -3
  14. package/docs/classes/LoadingDialog.html +1 -1
  15. package/docs/classes/Modal.html +1 -1
  16. package/docs/classes/Navigation.html +1 -1
  17. package/docs/enums/ActionButtonTypes.html +1 -1
  18. package/docs/interfaces/ICommentsItem.html +1 -1
  19. package/docs/interfaces/IDashboardProps.html +1 -1
  20. package/docs/interfaces/IDataTable.html +1 -1
  21. package/docs/interfaces/IDataTableProps.html +1 -1
  22. package/docs/interfaces/IDocumentsProps.html +1 -1
  23. package/docs/interfaces/IFilterItem.html +1 -1
  24. package/docs/interfaces/IFilterProps.html +1 -1
  25. package/docs/interfaces/IFooterProps.html +1 -1
  26. package/docs/interfaces/IHeaderProps.html +1 -1
  27. package/docs/interfaces/IItemFormCreateProps.html +1 -1
  28. package/docs/interfaces/IItemFormEditProps.html +1 -1
  29. package/docs/interfaces/IItemFormTab.html +1 -1
  30. package/docs/interfaces/IItemFormTabInfo.html +1 -1
  31. package/docs/interfaces/IItemFormViewProps.html +1 -1
  32. package/docs/interfaces/IShowDialogProps.html +1 -1
  33. package/docs/modules.html +1 -1
  34. package/package.json +2 -2
  35. package/pnpm-lock.yaml +7 -7
package/build/itemForm.js CHANGED
@@ -213,8 +213,10 @@ var ItemForm = /** @class */ (function () {
213
213
  // Ensure the element exists
214
214
  el = el || document.createElement("div");
215
215
  // Set the form properties
216
+ var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : true;
216
217
  var props = {
217
218
  el: el,
219
+ displayAttachments: displayAttachments,
218
220
  info: this._info,
219
221
  rowClassName: "mb-3",
220
222
  includeFields: tab ? tab.fields : null,
@@ -238,8 +240,10 @@ var ItemForm = /** @class */ (function () {
238
240
  // Ensure the element exists
239
241
  el = el || document.createElement("div");
240
242
  // Set the form properties
243
+ var displayAttachments = tab ? tab.fields && tab.fields.indexOf("Attachments") >= 0 : true;
241
244
  var props = {
242
245
  el: el,
246
+ displayAttachments: displayAttachments,
243
247
  info: this._info,
244
248
  rowClassName: "mb-3",
245
249
  controlMode: this.IsNew ? gd_sprest_bs_1.SPTypes.ControlMode.New : gd_sprest_bs_1.SPTypes.ControlMode.Edit,