dattatable 1.9.0 → 1.9.3
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/installRequired.d.ts +1 -0
- package/build/common/installRequired.js +14 -0
- package/build/dashboard/navigation.js +1 -1
- package/dist/dattatable.js +424 -424
- package/dist/dattatable.min.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CanvasForm.html +1 -1
- package/docs/classes/Comments.html +1 -1
- package/docs/classes/Dashboard.html +2 -2
- package/docs/classes/DataTable.html +2 -2
- package/docs/classes/Documents.html +5 -5
- package/docs/classes/FilterSlideout.html +1 -1
- package/docs/classes/Footer.html +1 -1
- package/docs/classes/Header.html +1 -1
- package/docs/classes/InstallationRequired.html +1 -1
- package/docs/classes/ItemForm.html +3 -3
- package/docs/classes/LoadingDialog.html +1 -1
- package/docs/classes/Modal.html +1 -1
- package/docs/classes/Navigation.html +1 -1
- package/docs/enums/ActionButtonTypes.html +1 -1
- package/docs/interfaces/ICommentsItem.html +1 -1
- package/docs/interfaces/IDashboardProps.html +1 -1
- package/docs/interfaces/IDataTable.html +1 -1
- package/docs/interfaces/IDataTableProps.html +1 -1
- package/docs/interfaces/IDocumentsProps.html +1 -1
- package/docs/interfaces/IFilterItem.html +1 -1
- package/docs/interfaces/IFilterProps.html +1 -1
- package/docs/interfaces/IFooterProps.html +1 -1
- package/docs/interfaces/IHeaderProps.html +1 -1
- package/docs/interfaces/IItemFormCreateProps.html +1 -1
- package/docs/interfaces/IItemFormEditProps.html +1 -1
- package/docs/interfaces/IItemFormTab.html +1 -1
- package/docs/interfaces/IItemFormTabInfo.html +1 -1
- package/docs/interfaces/IItemFormViewProps.html +1 -1
- package/docs/interfaces/IShowDialogProps.html +1 -1
- package/docs/modules.html +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +10 -10
|
@@ -199,6 +199,12 @@ var InstallationRequired = /** @class */ (function () {
|
|
|
199
199
|
if (props === void 0) { props = {}; }
|
|
200
200
|
// Clear the modal
|
|
201
201
|
modal_1.Modal.clear();
|
|
202
|
+
// Ensure the configuration exists
|
|
203
|
+
if (this._cfg == null || this._report == null) {
|
|
204
|
+
// Show the error dialog
|
|
205
|
+
this.showErrorDialog();
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
202
208
|
// Set the header
|
|
203
209
|
modal_1.Modal.setHeader("Installation Required");
|
|
204
210
|
// Set the body
|
|
@@ -274,6 +280,14 @@ var InstallationRequired = /** @class */ (function () {
|
|
|
274
280
|
// Show the modal
|
|
275
281
|
modal_1.Modal.show();
|
|
276
282
|
};
|
|
283
|
+
InstallationRequired.showErrorDialog = function () {
|
|
284
|
+
// Set the header
|
|
285
|
+
modal_1.Modal.setHeader("Not Configured");
|
|
286
|
+
// Set the body
|
|
287
|
+
modal_1.Modal.setBody("The component has not been configured. The SPConfiguration definition hasn't been initialized.");
|
|
288
|
+
// Show the dialog
|
|
289
|
+
modal_1.Modal.show();
|
|
290
|
+
};
|
|
277
291
|
InstallationRequired._cfg = null;
|
|
278
292
|
InstallationRequired._report = null;
|
|
279
293
|
// Custom Actions exists
|
|
@@ -57,7 +57,7 @@ var Navigation = /** @class */ (function () {
|
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
59
|
// Call the event
|
|
60
|
-
this._props.onShowFilter ? ttp.el.addEventListener("click", this._props.onShowFilter) : null;
|
|
60
|
+
this._props.onShowFilter && ttp ? ttp.el.addEventListener("click", this._props.onShowFilter) : null;
|
|
61
61
|
this._props.onFilterRendered ? this._props.onFilterRendered(span) : null;
|
|
62
62
|
}
|
|
63
63
|
// Call the event
|