dattatable 2.11.8 → 2.11.9
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/index.d.ts +2 -1
- package/build/dashboard/tiles.d.ts +2 -1
- package/build/dashboard/tiles.js +3 -2
- package/dist/dattatable.js +581 -581
- 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/ListConfig.html +2 -2
- 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 +2 -2
- package/docs/interfaces/IAuditLogItem.html +13 -13
- 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/ICreateLookupData.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/IGenerateLookupDataProps.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/IListConfig.html +2 -2
- package/docs/interfaces/IListConfigProps.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/ILookupData.html +2 -2
- package/docs/interfaces/IShowDialogProps.html +2 -2
- package/docs/interfaces/ITiles.html +2 -2
- package/docs/interfaces/ITilesProps.html +3 -2
- package/docs/interfaces/IValidateLookupsProps.html +2 -2
- package/docs/variables/DattaTable.html +1 -1
- package/docs/variables/ListSecurityDefaultGroups.html +1 -1
- package/package.json +2 -2
|
@@ -94,8 +94,9 @@ export interface IDashboardProps {
|
|
|
94
94
|
filterFields?: string[];
|
|
95
95
|
items: any[];
|
|
96
96
|
onBodyRendered?: (el?: HTMLElement, item?: any) => void;
|
|
97
|
+
onCardBodyRendering?: (cardBody?: Components.ICardBody, item?: any) => void;
|
|
97
98
|
onCardRendered?: (el?: HTMLElement, item?: any) => void;
|
|
98
|
-
onCardRendering?: (
|
|
99
|
+
onCardRendering?: (cardProps?: Components.ICardProps, item?: any) => void;
|
|
99
100
|
onClick?: (el?: HTMLElement, item?: Components.ICardBody) => void;
|
|
100
101
|
onColumnRendered?: (el?: HTMLElement, item?: any) => void;
|
|
101
102
|
onFooterRendered?: (el?: HTMLElement, item?: any) => void;
|
|
@@ -13,8 +13,9 @@ export interface ITilesProps {
|
|
|
13
13
|
filterFields?: string[];
|
|
14
14
|
items: any[];
|
|
15
15
|
onBodyRendered?: (el?: HTMLElement, item?: any) => void;
|
|
16
|
+
onCardBodyRendering?: (cardBody?: Components.ICardBody, item?: any) => void;
|
|
16
17
|
onCardRendered?: (el?: HTMLElement, item?: any) => void;
|
|
17
|
-
onCardRendering?: (
|
|
18
|
+
onCardRendering?: (cardProps?: Components.ICardProps, item?: any) => void;
|
|
18
19
|
onClick?: (el?: HTMLElement, item?: Components.ICardBody) => void;
|
|
19
20
|
onColumnRendered?: (el?: HTMLElement, item?: any) => void;
|
|
20
21
|
onFooterRendered?: (el?: HTMLElement, item?: any) => void;
|
package/build/dashboard/tiles.js
CHANGED
|
@@ -152,8 +152,9 @@ var Tiles = /** @class */ (function () {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
// Call the
|
|
156
|
-
this._props.
|
|
155
|
+
// Call the events
|
|
156
|
+
this._props.onCardBodyRendering ? this._props.onCardBodyRendering(cardProps.body[0], item) : null;
|
|
157
|
+
this._props.onCardRendering ? this._props.onCardRendering(cardProps, item) : null;
|
|
157
158
|
// Return the card properties
|
|
158
159
|
return cardProps;
|
|
159
160
|
};
|