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.
@@ -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;