dattatable 2.0.2 → 2.0.3

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 (37) hide show
  1. package/build/common/canvas.d.ts +2 -1
  2. package/build/common/canvas.js +3 -0
  3. package/dist/dattatable.js +883 -772
  4. package/dist/dattatable.min.js +1 -1
  5. package/docs/assets/search.js +1 -1
  6. package/docs/classes/CanvasForm.html +1 -1
  7. package/docs/classes/Comments.html +1 -1
  8. package/docs/classes/Dashboard.html +2 -2
  9. package/docs/classes/DataTable.html +2 -2
  10. package/docs/classes/Documents.html +5 -5
  11. package/docs/classes/FilterSlideout.html +1 -1
  12. package/docs/classes/Footer.html +1 -1
  13. package/docs/classes/Header.html +1 -1
  14. package/docs/classes/InstallationRequired.html +1 -1
  15. package/docs/classes/ItemForm.html +3 -3
  16. package/docs/classes/LoadingDialog.html +1 -1
  17. package/docs/classes/Modal.html +1 -1
  18. package/docs/classes/Navigation.html +1 -1
  19. package/docs/enums/ActionButtonTypes.html +1 -1
  20. package/docs/interfaces/ICommentsItem.html +1 -1
  21. package/docs/interfaces/IDashboardProps.html +1 -1
  22. package/docs/interfaces/IDataTable.html +1 -1
  23. package/docs/interfaces/IDataTableProps.html +1 -1
  24. package/docs/interfaces/IDocumentsProps.html +1 -1
  25. package/docs/interfaces/IFilterItem.html +1 -1
  26. package/docs/interfaces/IFilterProps.html +1 -1
  27. package/docs/interfaces/IFooterProps.html +1 -1
  28. package/docs/interfaces/IHeaderProps.html +1 -1
  29. package/docs/interfaces/IItemFormCreateProps.html +1 -1
  30. package/docs/interfaces/IItemFormEditProps.html +1 -1
  31. package/docs/interfaces/IItemFormTab.html +1 -1
  32. package/docs/interfaces/IItemFormTabInfo.html +1 -1
  33. package/docs/interfaces/IItemFormViewProps.html +1 -1
  34. package/docs/interfaces/IShowDialogProps.html +1 -1
  35. package/docs/modules.html +1 -1
  36. package/package.json +2 -2
  37. package/pnpm-lock.yaml +126 -14
@@ -15,6 +15,7 @@ export declare class CanvasForm {
15
15
  static setAutoClose(value: boolean): void;
16
16
  static setBody(content: any): void;
17
17
  static setHeader(content: any): void;
18
- static setType(type: any): void;
18
+ static setSize(size: number): void;
19
+ static setType(type: number): void;
19
20
  static show(): void;
20
21
  }
@@ -28,6 +28,7 @@ var CanvasForm = /** @class */ (function () {
28
28
  this.setBody("");
29
29
  // Set the default properties
30
30
  this.setAutoClose(true);
31
+ this.setSize(0);
31
32
  this.setType(gd_sprest_bs_1.Components.OffcanvasTypes.End);
32
33
  };
33
34
  Object.defineProperty(CanvasForm, "el", {
@@ -110,6 +111,8 @@ var CanvasForm = /** @class */ (function () {
110
111
  }
111
112
  }
112
113
  };
114
+ // Sets the modal size
115
+ CanvasForm.setSize = function (size) { this._canvas.setSize(size); };
113
116
  // Sets the modal type
114
117
  CanvasForm.setType = function (type) { this._canvas.setType(type); };
115
118
  // Shows the canvas