@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.
- package/CHANGELOG.md +15 -0
- package/dist/ApiClient/ReadApiClient.d.ts +1 -1
- package/dist/ApiClient/ReadApiClient.js +1 -1
- package/dist/ApiClient/UpdateableApiClient.js +4 -4
- package/dist/AppServices/Config/ConfigModel.js +1 -1
- package/dist/AppServices/Config/ConfigService.js +4 -4
- package/dist/AppServices/ServiceIdentifier.js +1 -1
- package/dist/Components/AnimationHelper.js +1 -1
- package/dist/Components/BootstrapTypes.js +1 -0
- package/dist/Components/ButtonOptions.js +1 -0
- package/dist/Components/ContextMenu/ContextMenu.js +1 -0
- package/dist/Components/DatePicker/DatePicker.js +3 -5
- package/dist/Components/ErrorHandler.d.ts +13 -9
- package/dist/Components/ErrorHandler.js +134 -62
- package/dist/Components/FileManager/FileManager.js +7 -7
- package/dist/Components/FileManager/FileUploadBatch.js +3 -3
- package/dist/Components/FileManager/IFileManagerOptions.js +1 -0
- package/dist/Components/FormOptions.js +1 -0
- package/dist/Components/ICollapsableOptions.js +1 -0
- package/dist/Components/Modal/ModalHelper.js +4 -4
- package/dist/Components/Modal/ModalOptions.js +1 -0
- package/dist/Components/Notifications/INotificationHelper.js +1 -0
- package/dist/Components/Notifications/NotificationHelper.js +1 -1
- package/dist/Components/TaskRunner/ProgressState.js +1 -1
- package/dist/Components/TaskRunner/TaskRunner.js +36 -27
- package/dist/Components/TooltipOptions.js +1 -0
- package/dist/Components/index.js +1 -0
- package/dist/ConnectionManager.js +2 -2
- package/dist/Data/ApiDataSource.js +2 -2
- package/dist/Data/AsyncDataSource.js +1 -1
- package/dist/Data/DataCacheEntry.js +3 -3
- package/dist/Data/DataView.js +7 -7
- package/dist/Data/Deserialiser.js +4 -5
- package/dist/Data/Paging/PageManager.js +9 -9
- package/dist/Data/Serialiser.js +1 -1
- package/dist/Data/StaticDataSource.js +1 -1
- package/dist/Data/WindowedDataView.js +1 -1
- package/dist/Dates/DateUtils.js +3 -4
- package/dist/Dates/TimeSpan.js +4 -4
- package/dist/Extensions.js +5 -5
- package/dist/Globals.js +5 -5
- package/dist/JsonSchema/JsonSchemaTypes.js +1 -0
- package/dist/JsonSchema/TypeCache.js +2 -2
- package/dist/JsonSchema/TypeMetadata.js +4 -4
- package/dist/Localisation/ILocalisationService.js +1 -0
- package/dist/Localisation/index.js +1 -0
- package/dist/Model/BaseModels/UserEvent.js +1 -1
- package/dist/Model/Decorators.d.ts +1 -1
- package/dist/Model/Decorators.js +1 -1
- package/dist/Model/IAutoRunner.js +1 -0
- package/dist/Model/IModelBase.js +1 -0
- package/dist/Model/IModelCreatorBase.js +1 -0
- package/dist/Model/List.js +5 -5
- package/dist/Model/ModelBase.js +4 -4
- package/dist/Model/ModelCreatorBase.js +1 -1
- package/dist/Model/ModelGraphTraverser.js +1 -1
- package/dist/Model/NeoTypeInfo.d.ts +1 -0
- package/dist/Model/NeoTypeInfo.js +24 -18
- package/dist/Model/ObservableValue.js +1 -1
- package/dist/Model/PropertyInfo.js +8 -8
- package/dist/Model/PropertyInstance.js +8 -8
- package/dist/Routing/IMenuItemProvider.js +1 -0
- package/dist/Routing/IMenuRoute.js +1 -0
- package/dist/Routing/INavigationHelper.js +1 -0
- package/dist/Routing/IRoute.js +1 -0
- package/dist/Routing/IRouteSecurityService.js +1 -0
- package/dist/Security/IAuthenticationService.js +1 -0
- package/dist/Security/IAuthorisationService.js +1 -0
- package/dist/Security/ILoginErrorHandler.js +1 -0
- package/dist/Security/ISecurityService.js +1 -0
- package/dist/Security/IUser.js +1 -0
- package/dist/Security/IUserRole.js +1 -0
- package/dist/Security/LoginErrorHandler.js +1 -1
- package/dist/Security/Oidc/OidcAuthService.js +2 -2
- package/dist/Security/Oidc/OidcTypes.js +1 -0
- package/dist/Security/Oidc/OidcUser.js +3 -3
- package/dist/Security/SecurityService.js +2 -2
- package/dist/Security/User.js +2 -2
- package/dist/SignalR/HubBase.js +5 -5
- package/dist/StringUtils.js +1 -1
- package/dist/Utils.js +8 -9
- package/dist/Validation/DisplayHelper.js +2 -2
- package/dist/Validation/RuleContext.js +2 -3
- package/dist/Validation/ValidationHelpers.js +1 -1
- package/dist/Validation/ValidationState.js +2 -2
- package/dist/Validation/Validators/IModelValidator.js +1 -0
- package/dist/Validation/Validators/ModelValidator.js +2 -2
- package/dist/Validation/Validators/PropertyValidator.js +2 -2
- package/dist/Validation/Validators/RuleValidator.js +2 -2
- package/dist/Views/IViewBase.js +1 -0
- 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:
|
|
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
|
-
}, ((
|
|
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]
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
37
|
+
enumerable: false,
|
|
38
38
|
configurable: true
|
|
39
39
|
});
|
|
40
40
|
__decorate([
|
package/dist/Views/IViewBase.js
CHANGED
|
@@ -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.
|
|
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": "
|
|
21
|
+
"typescript": "4.7.4"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@microsoft/signalr": "^3.0.1",
|