dattatable 2.9.85 → 2.9.87
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.
- package/build/dashboard/accordion.d.ts +2 -0
- package/build/dashboard/accordion.js +4 -2
- package/build/dashboard/index.d.ts +2 -0
- package/dist/dattatable.js +457 -457
- package/dist/dattatable.min.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Accordion.html +2 -2
- package/docs/classes/AuditLog.html +2 -2
- package/docs/classes/CanvasForm.html +2 -2
- package/docs/classes/Comments.html +2 -2
- package/docs/classes/Dashboard.html +4 -4
- package/docs/classes/DataTable.html +3 -3
- package/docs/classes/Documents.html +6 -6
- package/docs/classes/FilterSlideout.html +2 -2
- package/docs/classes/Footer.html +2 -2
- package/docs/classes/Header.html +2 -2
- package/docs/classes/InstallationRequired.html +2 -2
- package/docs/classes/ItemForm.html +4 -4
- package/docs/classes/List.html +4 -4
- package/docs/classes/ListSecurity.html +2 -2
- package/docs/classes/LoadingDialog.html +2 -2
- package/docs/classes/Modal.html +2 -2
- package/docs/classes/Navigation.html +3 -3
- package/docs/classes/Tiles.html +2 -2
- package/docs/classes/Timeout.html +2 -2
- package/docs/enums/ActionButtonTypes.html +2 -2
- package/docs/functions/formatBytes.html +1 -1
- package/docs/functions/formatDateValue.html +1 -1
- package/docs/functions/formatTimeValue.html +1 -1
- package/docs/functions/getContextInfo.html +1 -1
- package/docs/functions/getFileExt.html +1 -1
- package/docs/functions/waitForTheme.html +1 -1
- package/docs/interfaces/IAccordion.html +2 -2
- package/docs/interfaces/IAccordionProps.html +4 -2
- package/docs/interfaces/IAuditLogItem.html +2 -2
- package/docs/interfaces/IAuditLogItemCreation.html +2 -2
- package/docs/interfaces/IAuditLogProps.html +2 -2
- package/docs/interfaces/IAuditLogViewProps.html +2 -2
- package/docs/interfaces/ICommentsItem.html +2 -2
- package/docs/interfaces/IDashboardProps.html +2 -2
- package/docs/interfaces/IDataTable.html +2 -2
- package/docs/interfaces/IDataTableProps.html +2 -2
- package/docs/interfaces/IDocumentsProps.html +2 -2
- package/docs/interfaces/IFilterItem.html +2 -2
- package/docs/interfaces/IFilterProps.html +2 -2
- package/docs/interfaces/IFooterProps.html +2 -2
- package/docs/interfaces/IHeaderProps.html +2 -2
- package/docs/interfaces/IInstallProps.html +2 -2
- package/docs/interfaces/IItemFormCreateProps.html +2 -2
- package/docs/interfaces/IItemFormEditProps.html +2 -2
- package/docs/interfaces/IItemFormTab.html +2 -2
- package/docs/interfaces/IItemFormTabInfo.html +2 -2
- package/docs/interfaces/IItemFormViewProps.html +2 -2
- package/docs/interfaces/IListProps.html +2 -2
- package/docs/interfaces/IListSecurity.html +2 -2
- package/docs/interfaces/IListSecurityItem.html +2 -2
- package/docs/interfaces/IShowDialogProps.html +2 -2
- package/docs/interfaces/ITiles.html +2 -2
- package/docs/interfaces/ITilesProps.html +2 -2
- package/docs/variables/DattaTable.html +1 -1
- package/docs/variables/ListSecurityDefaultGroups.html +1 -1
- package/package.json +2 -2
|
@@ -9,7 +9,9 @@ export interface IAccordionProps {
|
|
|
9
9
|
el: HTMLElement;
|
|
10
10
|
filterFields?: [string];
|
|
11
11
|
items: any[];
|
|
12
|
+
onItemBodyRender?: (el?: HTMLElement, item?: any) => void;
|
|
12
13
|
onItemClick?: (el?: HTMLElement, item?: any) => void;
|
|
14
|
+
onItemHeaderRender?: (el?: HTMLElement, item?: any) => void;
|
|
13
15
|
onItemRender?: (el?: HTMLElement, item?: any) => void;
|
|
14
16
|
onPaginationRender?: (el?: HTMLElement) => void;
|
|
15
17
|
paginationLimit?: number;
|
|
@@ -98,6 +98,8 @@ var Accordion = /** @class */ (function () {
|
|
|
98
98
|
content: bodyContent,
|
|
99
99
|
header: titleContent,
|
|
100
100
|
onClick: this._props.onItemClick,
|
|
101
|
+
onRenderBody: this._props.onItemBodyRender,
|
|
102
|
+
onRenderHeader: this._props.onItemHeaderRender,
|
|
101
103
|
onRender: function (el, item) {
|
|
102
104
|
// See if filters exist
|
|
103
105
|
if (filterValues && filterValues.length > 0) {
|
|
@@ -179,8 +181,8 @@ var Accordion = /** @class */ (function () {
|
|
|
179
181
|
}
|
|
180
182
|
// See if we are hiding the item
|
|
181
183
|
if (!showItem) {
|
|
182
|
-
//
|
|
183
|
-
|
|
184
|
+
// Clear the item
|
|
185
|
+
this.clearItem(elItem);
|
|
184
186
|
// Exclude the item from the array
|
|
185
187
|
elItems.splice(i, 1);
|
|
186
188
|
// Continue the loop
|
|
@@ -15,7 +15,9 @@ export interface IDashboardProps {
|
|
|
15
15
|
bodyTemplate?: string;
|
|
16
16
|
filterFields?: [string];
|
|
17
17
|
items: any[];
|
|
18
|
+
onItemBodyRender?: (el?: HTMLElement, item?: any) => void;
|
|
18
19
|
onItemClick?: (el?: HTMLElement, item?: any) => void;
|
|
20
|
+
onItemHeaderRender?: (el?: HTMLElement, item?: any) => void;
|
|
19
21
|
onItemRender?: (el?: HTMLElement, item?: any) => void;
|
|
20
22
|
onPaginationRender?: (el?: HTMLElement) => void;
|
|
21
23
|
paginationLimit?: number;
|