dattatable 1.7.1 → 1.7.2
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 +2 -0
- package/build/common/installRequired.js +11 -0
- package/dist/dattatable.js +171 -171
- package/dist/dattatable.min.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CanvasForm.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/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/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
|
@@ -12,6 +12,8 @@ export interface IShowDialogProps {
|
|
|
12
12
|
export declare class InstallationRequired {
|
|
13
13
|
private static _cfg;
|
|
14
14
|
private static _report;
|
|
15
|
+
private static _listsExist;
|
|
16
|
+
static get ListsExist(): boolean;
|
|
15
17
|
private static checkLists;
|
|
16
18
|
static requiresInstall(cfg: Helper.ISPConfig): PromiseLike<boolean>;
|
|
17
19
|
static showDialog(props?: IShowDialogProps): void;
|
|
@@ -11,9 +11,16 @@ var modal_1 = require("./modal");
|
|
|
11
11
|
var InstallationRequired = /** @class */ (function () {
|
|
12
12
|
function InstallationRequired() {
|
|
13
13
|
}
|
|
14
|
+
Object.defineProperty(InstallationRequired, "ListsExist", {
|
|
15
|
+
get: function () { return this._listsExist; },
|
|
16
|
+
enumerable: false,
|
|
17
|
+
configurable: true
|
|
18
|
+
});
|
|
14
19
|
// Checks the lists
|
|
15
20
|
InstallationRequired.checkLists = function () {
|
|
16
21
|
var _this = this;
|
|
22
|
+
// Clear the flag
|
|
23
|
+
this._listsExist = true;
|
|
17
24
|
// Return a promise
|
|
18
25
|
return new Promise(function (resolve) {
|
|
19
26
|
// Parse the lists
|
|
@@ -52,6 +59,8 @@ var InstallationRequired = /** @class */ (function () {
|
|
|
52
59
|
function () {
|
|
53
60
|
// List doesn't exist
|
|
54
61
|
_this._report.push("List '" + listCfg.ListInformation.Title + "' does not exist");
|
|
62
|
+
// Set the flag
|
|
63
|
+
_this._listsExist = false;
|
|
55
64
|
// Resolve the promise
|
|
56
65
|
resolve(null);
|
|
57
66
|
});
|
|
@@ -160,6 +169,8 @@ var InstallationRequired = /** @class */ (function () {
|
|
|
160
169
|
};
|
|
161
170
|
InstallationRequired._cfg = null;
|
|
162
171
|
InstallationRequired._report = null;
|
|
172
|
+
// Lists exists
|
|
173
|
+
InstallationRequired._listsExist = null;
|
|
163
174
|
return InstallationRequired;
|
|
164
175
|
}());
|
|
165
176
|
exports.InstallationRequired = InstallationRequired;
|