dattatable 2.9.81 → 2.9.83

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 (61) hide show
  1. package/build/common/documents.js +2 -0
  2. package/build/common/modal.js +9 -1
  3. package/build/dashboard/index.js +3 -2
  4. package/dist/dattatable.js +457 -457
  5. package/dist/dattatable.min.js +1 -1
  6. package/docs/classes/Accordion.html +2 -2
  7. package/docs/classes/AuditLog.html +2 -2
  8. package/docs/classes/CanvasForm.html +2 -2
  9. package/docs/classes/Comments.html +2 -2
  10. package/docs/classes/Dashboard.html +4 -4
  11. package/docs/classes/DataTable.html +3 -3
  12. package/docs/classes/Documents.html +6 -6
  13. package/docs/classes/FilterSlideout.html +2 -2
  14. package/docs/classes/Footer.html +2 -2
  15. package/docs/classes/Header.html +2 -2
  16. package/docs/classes/InstallationRequired.html +2 -2
  17. package/docs/classes/ItemForm.html +4 -4
  18. package/docs/classes/List.html +4 -4
  19. package/docs/classes/ListSecurity.html +2 -2
  20. package/docs/classes/LoadingDialog.html +2 -2
  21. package/docs/classes/Modal.html +2 -2
  22. package/docs/classes/Navigation.html +3 -3
  23. package/docs/classes/Tiles.html +2 -2
  24. package/docs/classes/Timeout.html +2 -2
  25. package/docs/enums/ActionButtonTypes.html +2 -2
  26. package/docs/functions/formatBytes.html +1 -1
  27. package/docs/functions/formatDateValue.html +1 -1
  28. package/docs/functions/formatTimeValue.html +1 -1
  29. package/docs/functions/getContextInfo.html +1 -1
  30. package/docs/functions/getFileExt.html +1 -1
  31. package/docs/functions/waitForTheme.html +1 -1
  32. package/docs/interfaces/IAccordion.html +2 -2
  33. package/docs/interfaces/IAccordionProps.html +2 -2
  34. package/docs/interfaces/IAuditLogItem.html +2 -2
  35. package/docs/interfaces/IAuditLogItemCreation.html +2 -2
  36. package/docs/interfaces/IAuditLogProps.html +2 -2
  37. package/docs/interfaces/IAuditLogViewProps.html +2 -2
  38. package/docs/interfaces/ICommentsItem.html +2 -2
  39. package/docs/interfaces/IDashboardProps.html +2 -2
  40. package/docs/interfaces/IDataTable.html +2 -2
  41. package/docs/interfaces/IDataTableProps.html +2 -2
  42. package/docs/interfaces/IDocumentsProps.html +2 -2
  43. package/docs/interfaces/IFilterItem.html +2 -2
  44. package/docs/interfaces/IFilterProps.html +2 -2
  45. package/docs/interfaces/IFooterProps.html +2 -2
  46. package/docs/interfaces/IHeaderProps.html +2 -2
  47. package/docs/interfaces/IInstallProps.html +2 -2
  48. package/docs/interfaces/IItemFormCreateProps.html +2 -2
  49. package/docs/interfaces/IItemFormEditProps.html +2 -2
  50. package/docs/interfaces/IItemFormTab.html +2 -2
  51. package/docs/interfaces/IItemFormTabInfo.html +2 -2
  52. package/docs/interfaces/IItemFormViewProps.html +2 -2
  53. package/docs/interfaces/IListProps.html +2 -2
  54. package/docs/interfaces/IListSecurity.html +2 -2
  55. package/docs/interfaces/IListSecurityItem.html +2 -2
  56. package/docs/interfaces/IShowDialogProps.html +2 -2
  57. package/docs/interfaces/ITiles.html +2 -2
  58. package/docs/interfaces/ITilesProps.html +2 -2
  59. package/docs/variables/DattaTable.html +1 -1
  60. package/docs/variables/ListSecurityDefaultGroups.html +1 -1
  61. package/package.json +2 -2
@@ -1083,7 +1083,9 @@ var Documents = /** @class */ (function () {
1083
1083
  var navProps = {
1084
1084
  el: this._el,
1085
1085
  brand: "Documents",
1086
+ className: "mt-3 rounded",
1086
1087
  itemsEnd: itemsEnd,
1088
+ type: gd_sprest_bs_1.Components.NavbarTypes.Primary,
1087
1089
  searchBox: this._props.enableSearch ? {
1088
1090
  hideButton: true,
1089
1091
  onChange: function (value) {
@@ -167,7 +167,15 @@ var Modal = /** @class */ (function () {
167
167
  // Sets the modal type
168
168
  Modal.setType = function (type) { this._modal.setType(type); };
169
169
  // Shows the modal
170
- Modal.show = function () { this._modal.show(); };
170
+ Modal.show = function () {
171
+ // See if the footer is empty
172
+ if (!this.FooterElement.hasChildNodes) {
173
+ // Hide the footer
174
+ this.FooterElement.classList.add("d-none");
175
+ }
176
+ // Show the modal
177
+ this._modal.show();
178
+ };
171
179
  Modal._modal = null;
172
180
  Modal._onCloseEvent = null;
173
181
  // Modal Body
@@ -120,14 +120,15 @@ var Dashboard = /** @class */ (function () {
120
120
  onClear: this._props.filters ? this._props.filters.onClear : null,
121
121
  onRendered: this._props.filters ? this._props.filters.onRendered : null,
122
122
  onFilter: this.IsAccordion || this.IsTiles ? function (value, item) {
123
+ var values = typeof (value) === "string" ? [value] : value;
123
124
  // See if this is an accordion
124
125
  if (_this.IsAccordion) {
125
126
  // Filter the accordion
126
- _this._accordion.filter(value, item);
127
+ _this._accordion.filter(values, item);
127
128
  }
128
129
  else {
129
130
  // Filter the tiles
130
- _this._tiles.filter(value, item);
131
+ _this._tiles.filter(values, item);
131
132
  }
132
133
  } : null
133
134
  });