dattatable 2.7.4 → 2.7.5

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 (52) hide show
  1. package/build/dashboard/index.d.ts +1 -0
  2. package/build/dashboard/index.js +1 -0
  3. package/build/dashboard/navigation.d.ts +1 -0
  4. package/build/dashboard/navigation.js +1 -1
  5. package/dist/dattatable.js +443 -443
  6. package/dist/dattatable.min.js +1 -1
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AuditLog.html +13 -13
  9. package/docs/classes/CanvasForm.html +17 -17
  10. package/docs/classes/Comments.html +12 -12
  11. package/docs/classes/Dashboard.html +17 -17
  12. package/docs/classes/DataTable.html +11 -11
  13. package/docs/classes/Documents.html +45 -45
  14. package/docs/classes/FilterSlideout.html +14 -14
  15. package/docs/classes/Footer.html +4 -4
  16. package/docs/classes/Header.html +4 -4
  17. package/docs/classes/InstallationRequired.html +12 -12
  18. package/docs/classes/ItemForm.html +47 -47
  19. package/docs/classes/List.html +47 -47
  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 +17 -15
  35. package/docs/interfaces/IDataTable.html +7 -7
  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 +3 -3
  47. package/docs/interfaces/IItemFormViewProps.html +12 -12
  48. package/docs/interfaces/IListProps.html +11 -11
  49. package/docs/interfaces/IShowDialogProps.html +7 -7
  50. package/docs/variables/DattaTable.html +1 -1
  51. package/package.json +2 -2
  52. package/pnpm-lock.yaml +7 -7
@@ -28,6 +28,7 @@ export interface IDashboardProps {
28
28
  hideNavigation?: boolean;
29
29
  hideSubNavigation?: boolean;
30
30
  navigation?: {
31
+ searchPlaceholder?: string;
31
32
  showFilter?: boolean;
32
33
  showSearch?: boolean;
33
34
  title?: string | HTMLElement;
@@ -105,6 +105,7 @@ var Dashboard = /** @class */ (function () {
105
105
  // Call the event
106
106
  navProps_1.onShowFilter ? navProps_1.onShowFilter() : null;
107
107
  },
108
+ searchPlaceholder: navProps_1.searchPlaceholder
108
109
  });
109
110
  }
110
111
  // See if we are hiding the header
@@ -14,6 +14,7 @@ interface INavProps {
14
14
  onSearchRendered?: (el: HTMLElement) => void;
15
15
  onShowFilter?: () => void;
16
16
  onSearch?: (value: string) => void;
17
+ searchPlaceholder?: string;
17
18
  title: string | HTMLElement;
18
19
  }
19
20
  /**
@@ -30,7 +30,7 @@ var Navigation = /** @class */ (function () {
30
30
  hideButton: true,
31
31
  onChange: this._props.onSearch,
32
32
  onSearch: this._props.onSearch,
33
- placeholder: "Search this app",
33
+ placeholder: this._props.searchPlaceholder || "Search this app",
34
34
  }
35
35
  };
36
36
  // Call the rendering event