dattatable 2.9.92 → 2.9.94

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 (63) hide show
  1. package/build/common/listSecurity.d.ts +1 -1
  2. package/build/common/listSecurity.js +5 -2
  3. package/build/dashboard/accordion.d.ts +3 -3
  4. package/build/dashboard/index.d.ts +7 -7
  5. package/build/dashboard/tiles.d.ts +4 -4
  6. package/dist/dattatable.js +4562 -1868
  7. package/dist/dattatable.min.js +1 -1
  8. package/docs/classes/Accordion.html +2 -2
  9. package/docs/classes/AuditLog.html +2 -2
  10. package/docs/classes/CanvasForm.html +2 -2
  11. package/docs/classes/Comments.html +2 -2
  12. package/docs/classes/Dashboard.html +4 -4
  13. package/docs/classes/DataTable.html +3 -3
  14. package/docs/classes/Documents.html +6 -6
  15. package/docs/classes/FilterSlideout.html +2 -2
  16. package/docs/classes/Footer.html +2 -2
  17. package/docs/classes/Header.html +2 -2
  18. package/docs/classes/InstallationRequired.html +2 -2
  19. package/docs/classes/ItemForm.html +4 -4
  20. package/docs/classes/List.html +4 -4
  21. package/docs/classes/ListSecurity.html +2 -2
  22. package/docs/classes/LoadingDialog.html +2 -2
  23. package/docs/classes/Modal.html +2 -2
  24. package/docs/classes/Navigation.html +3 -3
  25. package/docs/classes/Tiles.html +2 -2
  26. package/docs/classes/Timeout.html +2 -2
  27. package/docs/enums/ActionButtonTypes.html +2 -2
  28. package/docs/functions/formatBytes.html +1 -1
  29. package/docs/functions/formatDateValue.html +1 -1
  30. package/docs/functions/formatTimeValue.html +1 -1
  31. package/docs/functions/getContextInfo.html +1 -1
  32. package/docs/functions/getFileExt.html +1 -1
  33. package/docs/functions/waitForTheme.html +1 -1
  34. package/docs/interfaces/IAccordion.html +2 -2
  35. package/docs/interfaces/IAccordionProps.html +2 -2
  36. package/docs/interfaces/IAuditLogItem.html +14 -14
  37. package/docs/interfaces/IAuditLogItemCreation.html +2 -2
  38. package/docs/interfaces/IAuditLogProps.html +2 -2
  39. package/docs/interfaces/IAuditLogViewProps.html +2 -2
  40. package/docs/interfaces/ICommentsItem.html +2 -2
  41. package/docs/interfaces/IDashboardProps.html +2 -2
  42. package/docs/interfaces/IDataTable.html +2 -2
  43. package/docs/interfaces/IDataTableProps.html +2 -2
  44. package/docs/interfaces/IDocumentsProps.html +2 -2
  45. package/docs/interfaces/IFilterItem.html +2 -2
  46. package/docs/interfaces/IFilterProps.html +2 -2
  47. package/docs/interfaces/IFooterProps.html +2 -2
  48. package/docs/interfaces/IHeaderProps.html +2 -2
  49. package/docs/interfaces/IInstallProps.html +2 -2
  50. package/docs/interfaces/IItemFormCreateProps.html +2 -2
  51. package/docs/interfaces/IItemFormEditProps.html +2 -2
  52. package/docs/interfaces/IItemFormTab.html +2 -2
  53. package/docs/interfaces/IItemFormTabInfo.html +2 -2
  54. package/docs/interfaces/IItemFormViewProps.html +2 -2
  55. package/docs/interfaces/IListProps.html +2 -2
  56. package/docs/interfaces/IListSecurity.html +2 -2
  57. package/docs/interfaces/IListSecurityItem.html +2 -2
  58. package/docs/interfaces/IShowDialogProps.html +2 -2
  59. package/docs/interfaces/ITiles.html +2 -2
  60. package/docs/interfaces/ITilesProps.html +2 -2
  61. package/docs/variables/DattaTable.html +1 -1
  62. package/docs/variables/ListSecurityDefaultGroups.html +1 -1
  63. package/package.json +2 -2
@@ -31,7 +31,7 @@ export declare class ListSecurity {
31
31
  private _currentUser;
32
32
  get CurrentUser(): Types.SP.User;
33
33
  private _groups;
34
- getGroup(groupName: string): Types.SP.Group | Types.SP.GroupOData;
34
+ getGroup(groupName: string): Types.SP.GroupOData;
35
35
  private setGroup;
36
36
  private _groupUsers;
37
37
  getGroupUsers(groupName: string): Types.SP.User[];
@@ -232,10 +232,13 @@ var ListSecurity = /** @class */ (function () {
232
232
  (0, gd_sprest_bs_1.Web)(_this._props.webUrl, { requestDigest: _this._requestDigest }).SiteGroups().add(props).execute(
233
233
  // Successfully created the group
234
234
  function (group) {
235
- // Set the group id
236
- _this.setGroup(groupInfo.Title.toLowerCase(), group);
237
235
  // Call the event
238
236
  _this._props.onGroupCreated ? _this._props.onGroupCreated(group) : null;
237
+ // Expand the users
238
+ (0, gd_sprest_bs_1.Web)(_this._props.webUrl, { requestDigest: _this._requestDigest }).SiteGroups(group.Id).query({ Expand: ["Users"] }).execute(function (group) {
239
+ // Set the group id
240
+ _this.setGroup(groupInfo.Title.toLowerCase(), group);
241
+ });
239
242
  // Check the next group
240
243
  resolve(group);
241
244
  },
@@ -4,10 +4,10 @@ export interface IAccordion {
4
4
  search?: (value: string) => void;
5
5
  }
6
6
  export interface IAccordionProps {
7
- bodyFields?: [string];
7
+ bodyFields?: string[];
8
8
  bodyTemplate?: string;
9
9
  el: HTMLElement;
10
- filterFields?: [string];
10
+ filterFields?: string[];
11
11
  items: any[];
12
12
  onItemBodyRender?: (el?: HTMLElement, item?: any) => void;
13
13
  onItemClick?: (el?: HTMLElement, item?: any) => void;
@@ -16,7 +16,7 @@ export interface IAccordionProps {
16
16
  onPaginationRender?: (el?: HTMLElement) => void;
17
17
  paginationLimit?: number;
18
18
  showPagination?: boolean;
19
- titleFields?: [string];
19
+ titleFields?: string[];
20
20
  titleTemplate?: string;
21
21
  }
22
22
  /**
@@ -11,9 +11,9 @@ export * from "./table";
11
11
  export * from "./tiles";
12
12
  export interface IDashboardProps {
13
13
  accordion?: {
14
- bodyFields?: [string];
14
+ bodyFields?: string[];
15
15
  bodyTemplate?: string;
16
- filterFields?: [string];
16
+ filterFields?: string[];
17
17
  items: any[];
18
18
  onItemBodyRender?: (el?: HTMLElement, item?: any) => void;
19
19
  onItemClick?: (el?: HTMLElement, item?: any) => void;
@@ -22,7 +22,7 @@ export interface IDashboardProps {
22
22
  onPaginationRender?: (el?: HTMLElement) => void;
23
23
  paginationLimit?: number;
24
24
  showPagination?: boolean;
25
- titleFields?: [string];
25
+ titleFields?: string[];
26
26
  titleTemplate?: string;
27
27
  };
28
28
  el: HTMLElement;
@@ -78,10 +78,10 @@ export interface IDashboardProps {
78
78
  rows?: any[];
79
79
  };
80
80
  tiles?: {
81
- bodyFields?: [string];
81
+ bodyFields?: string[];
82
82
  bodyTemplate?: string;
83
83
  colSize?: number;
84
- filterFields?: [string];
84
+ filterFields?: string[];
85
85
  items: any[];
86
86
  onBodyRendered?: (el?: HTMLElement, item?: any) => void;
87
87
  onCardRendered?: (el?: HTMLElement, item?: any) => void;
@@ -95,9 +95,9 @@ export interface IDashboardProps {
95
95
  showFooter?: boolean;
96
96
  showHeader?: boolean;
97
97
  showPagination?: boolean;
98
- subTitleFields?: [string];
98
+ subTitleFields?: string[];
99
99
  subTitleTemplate?: string;
100
- titleFields?: [string];
100
+ titleFields?: string[];
101
101
  titleTemplate?: string;
102
102
  };
103
103
  onRendered?: (el?: HTMLElement) => void;
@@ -4,11 +4,11 @@ export interface ITiles {
4
4
  search?: (value: string) => void;
5
5
  }
6
6
  export interface ITilesProps {
7
- bodyFields?: [string];
7
+ bodyFields?: string[];
8
8
  bodyTemplate?: string;
9
9
  colSize?: number;
10
10
  el: HTMLElement;
11
- filterFields?: [string];
11
+ filterFields?: string[];
12
12
  items: any[];
13
13
  onBodyRendered?: (el?: HTMLElement, item?: any) => void;
14
14
  onCardRendered?: (el?: HTMLElement, item?: any) => void;
@@ -22,9 +22,9 @@ export interface ITilesProps {
22
22
  showFooter?: boolean;
23
23
  showHeader?: boolean;
24
24
  showPagination?: boolean;
25
- subTitleFields?: [string];
25
+ subTitleFields?: string[];
26
26
  subTitleTemplate?: string;
27
- titleFields?: [string];
27
+ titleFields?: string[];
28
28
  titleTemplate?: string;
29
29
  }
30
30
  /**