dattatable 2.10.85 → 2.10.86
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 +1 -1
- package/build/dashboard/accordion.js +1 -2
- package/build/dashboard/tiles.d.ts +1 -1
- package/build/dashboard/tiles.js +1 -2
- package/dist/dattatable.js +581 -581
- package/dist/dattatable.min.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/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 +2 -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
|
@@ -32,7 +32,7 @@ export declare class Accordion implements IAccordion {
|
|
|
32
32
|
private _props;
|
|
33
33
|
constructor(props: IAccordionProps);
|
|
34
34
|
private clearItem;
|
|
35
|
-
filter(values
|
|
35
|
+
filter(values: string[]): void;
|
|
36
36
|
private generateItem;
|
|
37
37
|
refresh(items?: any[]): void;
|
|
38
38
|
private render;
|
|
@@ -27,8 +27,7 @@ var Accordion = /** @class */ (function () {
|
|
|
27
27
|
};
|
|
28
28
|
// Filters the accordion
|
|
29
29
|
Accordion.prototype.filter = function (values) {
|
|
30
|
-
|
|
31
|
-
this._activeFilterValue = values.join('|');
|
|
30
|
+
this._activeFilterValue = values ? values.join('|') : "";
|
|
32
31
|
// Parse all accordion items
|
|
33
32
|
var items = this._props.el.querySelectorAll(".accordion-item");
|
|
34
33
|
for (var i = 0; i < items.length; i++) {
|
|
@@ -41,7 +41,7 @@ export declare class Tiles implements ITiles {
|
|
|
41
41
|
private _pagination;
|
|
42
42
|
private _props;
|
|
43
43
|
constructor(props: ITilesProps);
|
|
44
|
-
filter(values
|
|
44
|
+
filter(values: string[]): void;
|
|
45
45
|
private generateCard;
|
|
46
46
|
refresh(items?: any[]): void;
|
|
47
47
|
private render;
|
package/build/dashboard/tiles.js
CHANGED
|
@@ -19,8 +19,7 @@ var Tiles = /** @class */ (function () {
|
|
|
19
19
|
}
|
|
20
20
|
// Filters the tile
|
|
21
21
|
Tiles.prototype.filter = function (values) {
|
|
22
|
-
|
|
23
|
-
this._activeFilterValue = values.join('|');
|
|
22
|
+
this._activeFilterValue = values ? values.join('|') : "";
|
|
24
23
|
// Parse all tile
|
|
25
24
|
var tiles = this._props.el.querySelectorAll(".card");
|
|
26
25
|
for (var i = 0; i < tiles.length; i++) {
|