@singularsystems/neo-core 0.10.63 → 0.10.65

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/ApiClient/ReadApiClient.d.ts +1 -1
  3. package/dist/ApiClient/ReadApiClient.js +1 -1
  4. package/dist/ApiClient/UpdateableApiClient.js +4 -4
  5. package/dist/AppServices/Config/ConfigModel.js +1 -1
  6. package/dist/AppServices/Config/ConfigService.js +4 -4
  7. package/dist/AppServices/ServiceIdentifier.js +1 -1
  8. package/dist/Components/AnimationHelper.js +1 -1
  9. package/dist/Components/BootstrapTypes.js +1 -0
  10. package/dist/Components/ButtonOptions.js +1 -0
  11. package/dist/Components/ContextMenu/ContextMenu.js +1 -0
  12. package/dist/Components/DatePicker/DatePicker.js +3 -5
  13. package/dist/Components/ErrorHandler.d.ts +13 -9
  14. package/dist/Components/ErrorHandler.js +134 -62
  15. package/dist/Components/FileManager/FileManager.js +7 -7
  16. package/dist/Components/FileManager/FileUploadBatch.js +3 -3
  17. package/dist/Components/FileManager/IFileManagerOptions.js +1 -0
  18. package/dist/Components/FormOptions.js +1 -0
  19. package/dist/Components/ICollapsableOptions.js +1 -0
  20. package/dist/Components/Modal/ModalHelper.js +4 -4
  21. package/dist/Components/Modal/ModalOptions.js +1 -0
  22. package/dist/Components/Notifications/INotificationHelper.js +1 -0
  23. package/dist/Components/Notifications/NotificationHelper.js +1 -1
  24. package/dist/Components/TaskRunner/ProgressState.js +1 -1
  25. package/dist/Components/TaskRunner/TaskRunner.js +36 -27
  26. package/dist/Components/TooltipOptions.js +1 -0
  27. package/dist/Components/index.js +1 -0
  28. package/dist/ConnectionManager.js +2 -2
  29. package/dist/Data/ApiDataSource.js +2 -2
  30. package/dist/Data/AsyncDataSource.js +1 -1
  31. package/dist/Data/DataCacheEntry.js +3 -3
  32. package/dist/Data/DataView.js +7 -7
  33. package/dist/Data/Deserialiser.js +4 -5
  34. package/dist/Data/Paging/PageManager.js +9 -9
  35. package/dist/Data/Serialiser.js +1 -1
  36. package/dist/Data/StaticDataSource.js +1 -1
  37. package/dist/Data/WindowedDataView.js +1 -1
  38. package/dist/Dates/DateUtils.js +3 -4
  39. package/dist/Dates/TimeSpan.js +4 -4
  40. package/dist/Extensions.js +5 -5
  41. package/dist/Globals.js +5 -5
  42. package/dist/JsonSchema/JsonSchemaTypes.js +1 -0
  43. package/dist/JsonSchema/TypeCache.js +2 -2
  44. package/dist/JsonSchema/TypeMetadata.js +4 -4
  45. package/dist/Localisation/ILocalisationService.js +1 -0
  46. package/dist/Localisation/index.js +1 -0
  47. package/dist/Model/BaseModels/UserEvent.js +1 -1
  48. package/dist/Model/Decorators.d.ts +1 -1
  49. package/dist/Model/Decorators.js +1 -1
  50. package/dist/Model/IAutoRunner.js +1 -0
  51. package/dist/Model/IModelBase.js +1 -0
  52. package/dist/Model/IModelCreatorBase.js +1 -0
  53. package/dist/Model/List.js +5 -5
  54. package/dist/Model/ModelBase.js +4 -4
  55. package/dist/Model/ModelCreatorBase.js +1 -1
  56. package/dist/Model/ModelGraphTraverser.js +1 -1
  57. package/dist/Model/NeoTypeInfo.d.ts +1 -0
  58. package/dist/Model/NeoTypeInfo.js +24 -18
  59. package/dist/Model/ObservableValue.js +1 -1
  60. package/dist/Model/PropertyInfo.js +8 -8
  61. package/dist/Model/PropertyInstance.js +8 -8
  62. package/dist/Routing/IMenuItemProvider.js +1 -0
  63. package/dist/Routing/IMenuRoute.js +1 -0
  64. package/dist/Routing/INavigationHelper.js +1 -0
  65. package/dist/Routing/IRoute.js +1 -0
  66. package/dist/Routing/IRouteSecurityService.js +1 -0
  67. package/dist/Security/IAuthenticationService.js +1 -0
  68. package/dist/Security/IAuthorisationService.js +1 -0
  69. package/dist/Security/ILoginErrorHandler.js +1 -0
  70. package/dist/Security/ISecurityService.js +1 -0
  71. package/dist/Security/IUser.js +1 -0
  72. package/dist/Security/IUserRole.js +1 -0
  73. package/dist/Security/LoginErrorHandler.js +1 -1
  74. package/dist/Security/Oidc/OidcAuthService.js +2 -2
  75. package/dist/Security/Oidc/OidcTypes.js +1 -0
  76. package/dist/Security/Oidc/OidcUser.js +3 -3
  77. package/dist/Security/SecurityService.js +2 -2
  78. package/dist/Security/User.js +2 -2
  79. package/dist/SignalR/HubBase.js +5 -5
  80. package/dist/StringUtils.js +1 -1
  81. package/dist/Utils.js +8 -9
  82. package/dist/Validation/DisplayHelper.js +2 -2
  83. package/dist/Validation/RuleContext.js +2 -3
  84. package/dist/Validation/ValidationHelpers.js +1 -1
  85. package/dist/Validation/ValidationState.js +2 -2
  86. package/dist/Validation/Validators/IModelValidator.js +1 -0
  87. package/dist/Validation/Validators/ModelValidator.js +2 -2
  88. package/dist/Validation/Validators/PropertyValidator.js +2 -2
  89. package/dist/Validation/Validators/RuleValidator.js +2 -2
  90. package/dist/Views/IViewBase.js +1 -0
  91. package/package.json +2 -2
@@ -56,7 +56,7 @@ var RuleContextBase = /** @class */ (function (_super) {
56
56
  get: function () {
57
57
  return this.messages.length > 0 || this.warnings.length > 0 || this.errors.length > 0 || this.asyncBusyText.length > 0;
58
58
  },
59
- enumerable: true,
59
+ enumerable: false,
60
60
  configurable: true
61
61
  });
62
62
  return RuleContextBase;
@@ -77,7 +77,6 @@ var RuleContext = /** @class */ (function (_super) {
77
77
  */
78
78
  RuleContext.prototype.beginAsync = function (loadingText, onReady, options) {
79
79
  var _this = this;
80
- var _a;
81
80
  var model = this.ruleValidator.propertyInstance.attachedTo;
82
81
  if (!model.isSuspended && ((options && options.checkWhenClean) || model.meta.isSelfDirty.peek) && this.ruleValidator.asyncStage !== AsyncStage.Completing) {
83
82
  this.asyncBusyText = loadingText;
@@ -99,7 +98,7 @@ var RuleContext = /** @class */ (function (_super) {
99
98
  asyncContext.endAsync();
100
99
  });
101
100
  }
102
- }, (((_a = options) === null || _a === void 0 ? void 0 : _a.delayMs) !== undefined ? options.delayMs : 500));
101
+ }, ((options === null || options === void 0 ? void 0 : options.delayMs) !== undefined ? options.delayMs : 500));
103
102
  }
104
103
  };
105
104
  return RuleContext;
@@ -53,5 +53,5 @@ export function getValidationSummary(model, displayMode) {
53
53
  }
54
54
  });
55
55
  }
56
- return isArray ? root.childLists : (_a = root.childLists[0], (_a !== null && _a !== void 0 ? _a : null));
56
+ return isArray ? root.childLists : ((_a = root.childLists[0]) !== null && _a !== void 0 ? _a : null);
57
57
  }
@@ -19,7 +19,7 @@ var ValidationState = /** @class */ (function () {
19
19
  get: function () {
20
20
  return this.severity < RuleSeverity.AsyncBusy;
21
21
  },
22
- enumerable: true,
22
+ enumerable: false,
23
23
  configurable: true
24
24
  });
25
25
  /**
@@ -43,7 +43,7 @@ var ContainerValidationState = /** @class */ (function (_super) {
43
43
  get: function () {
44
44
  return this.brokenRules.length > 0;
45
45
  },
46
- enumerable: true,
46
+ enumerable: false,
47
47
  configurable: true
48
48
  });
49
49
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -53,14 +53,14 @@ var ModelValidator = /** @class */ (function () {
53
53
  this.checkRules();
54
54
  return this._ruleState;
55
55
  },
56
- enumerable: true,
56
+ enumerable: false,
57
57
  configurable: true
58
58
  });
59
59
  Object.defineProperty(ModelValidator.prototype, "isValid", {
60
60
  get: function () {
61
61
  return this.ruleState.isValid;
62
62
  },
63
- enumerable: true,
63
+ enumerable: false,
64
64
  configurable: true
65
65
  });
66
66
  ModelValidator.prototype.checkRules = function () {
@@ -17,14 +17,14 @@ var PropertyValidator = /** @class */ (function () {
17
17
  this.checkRules();
18
18
  return this._ruleState;
19
19
  },
20
- enumerable: true,
20
+ enumerable: false,
21
21
  configurable: true
22
22
  });
23
23
  Object.defineProperty(PropertyValidator.prototype, "isValid", {
24
24
  get: function () {
25
25
  return this.ruleState.isValid;
26
26
  },
27
- enumerable: true,
27
+ enumerable: false,
28
28
  configurable: true
29
29
  });
30
30
  PropertyValidator.prototype.checkRules = function () {
@@ -18,7 +18,7 @@ var RuleValidator = /** @class */ (function () {
18
18
  get: function () {
19
19
  return this.rule.ruleId;
20
20
  },
21
- enumerable: true,
21
+ enumerable: false,
22
22
  configurable: true
23
23
  });
24
24
  Object.defineProperty(RuleValidator.prototype, "ruleContext", {
@@ -34,7 +34,7 @@ var RuleValidator = /** @class */ (function () {
34
34
  }
35
35
  return ruleContext;
36
36
  },
37
- enumerable: true,
37
+ enumerable: false,
38
38
  configurable: true
39
39
  });
40
40
  __decorate([
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-core",
3
- "version": "0.10.63",
3
+ "version": "0.10.65",
4
4
  "description": "Core functionality for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "@types/node": "12.0.8",
19
19
  "jest": "24.8.0",
20
20
  "ts-jest": "24.0.2",
21
- "typescript": "3.7.5"
21
+ "typescript": "4.7.4"
22
22
  },
23
23
  "dependencies": {
24
24
  "@microsoft/signalr": "^3.0.1",