dattatable 2.9.17 → 2.9.19

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 (55) hide show
  1. package/build/common/itemForm.d.ts +1 -0
  2. package/build/common/itemForm.js +1 -0
  3. package/build/common/listSecurity.js +5 -2
  4. package/dist/dattatable.js +203 -192
  5. package/dist/dattatable.min.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/AuditLog.html +13 -13
  8. package/docs/classes/CanvasForm.html +17 -17
  9. package/docs/classes/Comments.html +12 -12
  10. package/docs/classes/Dashboard.html +20 -20
  11. package/docs/classes/DataTable.html +12 -12
  12. package/docs/classes/Documents.html +45 -45
  13. package/docs/classes/FilterSlideout.html +14 -14
  14. package/docs/classes/Footer.html +4 -4
  15. package/docs/classes/Header.html +4 -4
  16. package/docs/classes/InstallationRequired.html +12 -12
  17. package/docs/classes/ItemForm.html +47 -47
  18. package/docs/classes/List.html +47 -47
  19. package/docs/classes/ListSecurity.html +27 -27
  20. package/docs/classes/LoadingDialog.html +12 -12
  21. package/docs/classes/Modal.html +26 -26
  22. package/docs/classes/Navigation.html +6 -6
  23. package/docs/classes/Timeout.html +7 -7
  24. package/docs/enums/ActionButtonTypes.html +6 -6
  25. package/docs/functions/formatBytes.html +1 -1
  26. package/docs/functions/formatDateValue.html +1 -1
  27. package/docs/functions/formatTimeValue.html +1 -1
  28. package/docs/functions/getFileExt.html +1 -1
  29. package/docs/interfaces/IAuditLogItem.html +9 -9
  30. package/docs/interfaces/IAuditLogItemCreation.html +7 -7
  31. package/docs/interfaces/IAuditLogProps.html +5 -5
  32. package/docs/interfaces/IAuditLogViewProps.html +6 -6
  33. package/docs/interfaces/ICommentsItem.html +6 -6
  34. package/docs/interfaces/IDashboardProps.html +14 -14
  35. package/docs/interfaces/IDataTable.html +8 -8
  36. package/docs/interfaces/IDataTableProps.html +6 -6
  37. package/docs/interfaces/IDocumentsProps.html +25 -25
  38. package/docs/interfaces/IFilterItem.html +5 -5
  39. package/docs/interfaces/IFilterProps.html +4 -4
  40. package/docs/interfaces/IFooterProps.html +6 -6
  41. package/docs/interfaces/IHeaderProps.html +5 -5
  42. package/docs/interfaces/IInstallProps.html +4 -4
  43. package/docs/interfaces/IItemFormCreateProps.html +14 -14
  44. package/docs/interfaces/IItemFormEditProps.html +15 -15
  45. package/docs/interfaces/IItemFormTab.html +8 -8
  46. package/docs/interfaces/IItemFormTabInfo.html +25 -3
  47. package/docs/interfaces/IItemFormViewProps.html +12 -12
  48. package/docs/interfaces/IListProps.html +11 -11
  49. package/docs/interfaces/IListSecurity.html +7 -7
  50. package/docs/interfaces/IListSecurityItem.html +4 -4
  51. package/docs/interfaces/IShowDialogProps.html +7 -7
  52. package/docs/variables/DattaTable.html +1 -1
  53. package/docs/variables/ListSecurityDefaultGroups.html +1 -1
  54. package/package.json +2 -2
  55. package/pnpm-lock.yaml +9 -4
@@ -13,6 +13,7 @@ export interface IItemFormTab {
13
13
  /** Tab Information */
14
14
  export interface IItemFormTabInfo {
15
15
  isVertical?: boolean;
16
+ onClick: (el?: HTMLElement, item?: Components.IListGroupItem) => void;
16
17
  tabs: IItemFormTab[];
17
18
  }
18
19
  /** Create Item Properties */
@@ -354,6 +354,7 @@ var ItemForm = /** @class */ (function () {
354
354
  data: tabInfo,
355
355
  isActive: i == 0,
356
356
  tabName: tabInfo.title,
357
+ onClick: this._tabInfo.onClick,
357
358
  onRender: function (el, item) {
358
359
  var tab = item.data;
359
360
  // Render the form
@@ -358,8 +358,11 @@ var ListSecurity = /** @class */ (function () {
358
358
  loadDefaultVisitor ? groupNames.push(exports.ListSecurityDefaultGroups.Visitors) : null;
359
359
  // Parse the security groups
360
360
  gd_sprest_bs_1.Helper.Executor(groupNames, function (groupName) {
361
- // Load the group
362
- return _this.getGroupId(groupName);
361
+ // Return a promise
362
+ return new Promise(function (resolve) {
363
+ // Load the group
364
+ _this.getGroupId(groupName).then(resolve, resolve);
365
+ });
363
366
  }).then(function () {
364
367
  // Call the event
365
368
  _this._props.onGroupsLoaded ? _this._props.onGroupsLoaded(_this._groups) : null;