dattatable 2.11.39 → 2.11.41
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 +3 -0
- package/build/dashboard/index.js +1 -1
- package/build/dashboard/tiles.d.ts +3 -0
- package/build/dashboard/tiles.js +3 -0
- package/dist/dattatable.js +1291 -1842
- 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 +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/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/IItemFormSaveProps.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 +5 -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
|
@@ -92,6 +92,9 @@ export interface IDashboardProps {
|
|
|
92
92
|
bodyFields?: string[];
|
|
93
93
|
bodyTemplate?: string;
|
|
94
94
|
className?: string;
|
|
95
|
+
classNameBody?: string;
|
|
96
|
+
classNameFooter?: string;
|
|
97
|
+
classNameHeader?: string;
|
|
95
98
|
colSize?: number | string;
|
|
96
99
|
filterFields?: string[];
|
|
97
100
|
items: any[];
|
package/build/dashboard/index.js
CHANGED
|
@@ -374,7 +374,7 @@ var Dashboard = /** @class */ (function () {
|
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
376
376
|
// Filter the table
|
|
377
|
-
exactMatchFl && values.length > 0 ? this._dt.
|
|
377
|
+
exactMatchFl && values.length > 0 ? this._dt.filterMultiExact(idx, values) : this._dt.filterMulti(idx, values);
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
380
|
// Filter the tiles
|
|
@@ -8,6 +8,9 @@ export interface ITilesProps {
|
|
|
8
8
|
bodyFields?: string[];
|
|
9
9
|
bodyTemplate?: string;
|
|
10
10
|
className?: string;
|
|
11
|
+
classNameBody?: string;
|
|
12
|
+
classNameFooter?: string;
|
|
13
|
+
classNameHeader?: string;
|
|
11
14
|
colSize?: number | string;
|
|
12
15
|
el: HTMLElement;
|
|
13
16
|
filterFields?: string[];
|
package/build/dashboard/tiles.js
CHANGED
|
@@ -122,6 +122,7 @@ var Tiles = /** @class */ (function () {
|
|
|
122
122
|
_this._props.onCardRendered ? _this._props.onCardRendered(el, card) : null;
|
|
123
123
|
},
|
|
124
124
|
body: [{
|
|
125
|
+
className: this._props.classNameBody,
|
|
125
126
|
content: bodyContent,
|
|
126
127
|
data: item,
|
|
127
128
|
subTitle: subTitleContent,
|
|
@@ -143,6 +144,7 @@ var Tiles = /** @class */ (function () {
|
|
|
143
144
|
var showHeader = typeof (this._props.showHeader) === "boolean" ? this._props.showHeader : true;
|
|
144
145
|
if (showHeader) {
|
|
145
146
|
cardProps.header = {
|
|
147
|
+
className: this._props.classNameHeader,
|
|
146
148
|
onRender: function (el) {
|
|
147
149
|
_this._props.onHeaderRendered ? _this._props.onHeaderRendered(el, item) : null;
|
|
148
150
|
}
|
|
@@ -152,6 +154,7 @@ var Tiles = /** @class */ (function () {
|
|
|
152
154
|
var showFooter = typeof (this._props.showFooter) === "boolean" ? this._props.showFooter : true;
|
|
153
155
|
if (showFooter) {
|
|
154
156
|
cardProps.footer = {
|
|
157
|
+
className: this._props.classNameFooter,
|
|
155
158
|
onRender: function (el) {
|
|
156
159
|
_this._props.onFooterRendered ? _this._props.onFooterRendered(el, item) : null;
|
|
157
160
|
}
|