dattatable 2.7.5 → 2.7.7
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/common/canvas.js +3 -0
- package/build/common/modal.js +4 -0
- package/build/dashboard/index.d.ts +6 -1
- package/build/dashboard/index.js +19 -3
- package/dist/dattatable.js +462 -440
- package/dist/dattatable.min.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AuditLog.html +13 -13
- package/docs/classes/CanvasForm.html +17 -17
- package/docs/classes/Comments.html +12 -12
- package/docs/classes/Dashboard.html +55 -20
- package/docs/classes/DataTable.html +13 -13
- package/docs/classes/Documents.html +48 -48
- package/docs/classes/FilterSlideout.html +14 -14
- package/docs/classes/Footer.html +4 -4
- package/docs/classes/Header.html +4 -4
- package/docs/classes/InstallationRequired.html +12 -12
- package/docs/classes/ItemForm.html +47 -47
- package/docs/classes/List.html +47 -47
- package/docs/classes/LoadingDialog.html +12 -12
- package/docs/classes/Modal.html +26 -26
- package/docs/classes/Navigation.html +8 -8
- package/docs/classes/Timeout.html +7 -7
- package/docs/enums/ActionButtonTypes.html +6 -6
- package/docs/functions/formatBytes.html +1 -1
- package/docs/functions/formatDateValue.html +1 -1
- package/docs/functions/formatTimeValue.html +1 -1
- package/docs/functions/getFileExt.html +1 -1
- package/docs/interfaces/IAuditLogItem.html +9 -9
- package/docs/interfaces/IAuditLogItemCreation.html +7 -7
- package/docs/interfaces/IAuditLogProps.html +5 -5
- package/docs/interfaces/IAuditLogViewProps.html +6 -6
- package/docs/interfaces/ICommentsItem.html +6 -6
- package/docs/interfaces/IDashboardProps.html +14 -14
- package/docs/interfaces/IDataTable.html +8 -8
- package/docs/interfaces/IDataTableProps.html +6 -6
- package/docs/interfaces/IDocumentsProps.html +25 -25
- package/docs/interfaces/IFilterItem.html +5 -5
- package/docs/interfaces/IFilterProps.html +4 -4
- package/docs/interfaces/IFooterProps.html +6 -6
- package/docs/interfaces/IHeaderProps.html +5 -5
- package/docs/interfaces/IInstallProps.html +4 -4
- package/docs/interfaces/IItemFormCreateProps.html +14 -14
- package/docs/interfaces/IItemFormEditProps.html +15 -15
- package/docs/interfaces/IItemFormTab.html +8 -8
- package/docs/interfaces/IItemFormTabInfo.html +3 -3
- package/docs/interfaces/IItemFormViewProps.html +12 -12
- package/docs/interfaces/IListProps.html +11 -11
- package/docs/interfaces/IShowDialogProps.html +7 -7
- package/docs/variables/DattaTable.html +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +17 -17
package/build/common/canvas.js
CHANGED
|
@@ -30,6 +30,9 @@ var CanvasForm = /** @class */ (function () {
|
|
|
30
30
|
this.setAutoClose(true);
|
|
31
31
|
this.setSize(0);
|
|
32
32
|
this.setType(gd_sprest_bs_1.Components.OffcanvasTypes.End);
|
|
33
|
+
// Ensure the header and body are visible
|
|
34
|
+
this._elBody.classList.remove("d-none");
|
|
35
|
+
this._elHeader.classList.remove("d-none");
|
|
33
36
|
};
|
|
34
37
|
Object.defineProperty(CanvasForm, "el", {
|
|
35
38
|
// Element
|
package/build/common/modal.js
CHANGED
|
@@ -42,6 +42,10 @@ var Modal = /** @class */ (function () {
|
|
|
42
42
|
this.setKeyboard(true);
|
|
43
43
|
this.setScrollable(false);
|
|
44
44
|
this.setType(gd_sprest_bs_1.Components.ModalTypes.Large);
|
|
45
|
+
// Ensure the header, body and footer are visible
|
|
46
|
+
this._elBody.classList.remove("d-none");
|
|
47
|
+
this._elFooter.classList.remove("d-none");
|
|
48
|
+
this._elHeader.classList.remove("d-none");
|
|
45
49
|
};
|
|
46
50
|
// Hides the modal
|
|
47
51
|
Modal.hide = function () {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Components } from "gd-sprest-bs";
|
|
2
|
-
import { IFilterItem } from "./filter";
|
|
2
|
+
import { FilterSlideout, IFilterItem } from "./filter";
|
|
3
|
+
import { Navigation } from "./navigation";
|
|
4
|
+
import { IDataTable } from "./table";
|
|
3
5
|
export * from "./filter";
|
|
4
6
|
export * from "./footer";
|
|
5
7
|
export * from "./header";
|
|
@@ -74,6 +76,9 @@ export declare class Dashboard {
|
|
|
74
76
|
/**
|
|
75
77
|
* Public Interface
|
|
76
78
|
*/
|
|
79
|
+
get datatable(): IDataTable;
|
|
80
|
+
get Filters(): FilterSlideout;
|
|
81
|
+
get Navigation(): Navigation;
|
|
77
82
|
clearFilter(): void;
|
|
78
83
|
filter(idx: number, value?: string): void;
|
|
79
84
|
filterMulti(idx: number, values?: string[]): void;
|
package/build/dashboard/index.js
CHANGED
|
@@ -198,9 +198,25 @@ var Dashboard = /** @class */ (function () {
|
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
Object.defineProperty(Dashboard.prototype, "datatable", {
|
|
202
|
+
/**
|
|
203
|
+
* Public Interface
|
|
204
|
+
*/
|
|
205
|
+
// Reference to the components
|
|
206
|
+
get: function () { return this._dt; },
|
|
207
|
+
enumerable: false,
|
|
208
|
+
configurable: true
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(Dashboard.prototype, "Filters", {
|
|
211
|
+
get: function () { return this._filters; },
|
|
212
|
+
enumerable: false,
|
|
213
|
+
configurable: true
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(Dashboard.prototype, "Navigation", {
|
|
216
|
+
get: function () { return this._navigation; },
|
|
217
|
+
enumerable: false,
|
|
218
|
+
configurable: true
|
|
219
|
+
});
|
|
204
220
|
// Clears the filters
|
|
205
221
|
Dashboard.prototype.clearFilter = function () {
|
|
206
222
|
// Clear the filters
|