@singularsystems/neo-core 0.10.46 → 0.10.49

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 (300) hide show
  1. package/dist/ApiClient/ApiClientBase.js +0 -1
  2. package/dist/ApiClient/ReadApiClient.d.ts +1 -1
  3. package/dist/ApiClient/ReadApiClient.js +0 -1
  4. package/dist/ApiClient/UpdateableApiClient.js +0 -1
  5. package/dist/AppServices/AppService.js +0 -1
  6. package/dist/AppServices/Config/ConfigModel.js +0 -1
  7. package/dist/AppServices/Config/ConfigService.js +0 -1
  8. package/dist/AppServices/Module.js +0 -1
  9. package/dist/AppServices/NeoContainer.js +0 -1
  10. package/dist/AppServices/NeoModule.js +0 -1
  11. package/dist/AppServices/NeoTypes.d.ts +4 -0
  12. package/dist/AppServices/NeoTypes.js +3 -1
  13. package/dist/AppServices/ServiceIdentifier.js +0 -1
  14. package/dist/AppServices/index.js +0 -1
  15. package/dist/Components/AnimationHelper.js +0 -1
  16. package/dist/Components/BootstrapHelpers.js +0 -1
  17. package/dist/Components/BootstrapTypes.js +0 -1
  18. package/dist/Components/ButtonOptions.js +0 -1
  19. package/dist/Components/ContextMenu/ContextMenu.js +0 -1
  20. package/dist/Components/ContextMenu/MenuUtils.js +0 -1
  21. package/dist/Components/DatePicker/DatePicker.js +0 -1
  22. package/dist/Components/DatePicker/DatePickerOptions.js +0 -1
  23. package/dist/Components/ErrorHandler.js +0 -1
  24. package/dist/Components/FileManager/BoundFileManager.js +0 -1
  25. package/dist/Components/FileManager/FileManager.js +0 -1
  26. package/dist/Components/FileManager/FileUploadBatch.js +0 -1
  27. package/dist/Components/FileManager/IFileManagerOptions.js +0 -1
  28. package/dist/Components/FormOptions.js +0 -1
  29. package/dist/Components/ICollapsableOptions.js +0 -1
  30. package/dist/Components/Modal/ModalHelper.d.ts +2 -0
  31. package/dist/Components/Modal/ModalHelper.js +21 -7
  32. package/dist/Components/Modal/ModalOptions.d.ts +2 -0
  33. package/dist/Components/Modal/ModalOptions.js +0 -1
  34. package/dist/Components/Modal/ModalStore.js +0 -1
  35. package/dist/Components/Modal/ModalUtils.js +0 -1
  36. package/dist/Components/Notifications/INotificationHelper.js +0 -1
  37. package/dist/Components/Notifications/Notification.js +0 -1
  38. package/dist/Components/Notifications/NotificationHelper.js +0 -1
  39. package/dist/Components/Notifications/NotificationStore.js +0 -1
  40. package/dist/Components/PositionHelper.js +0 -1
  41. package/dist/Components/TaskRunner/ProgressState.js +0 -1
  42. package/dist/Components/TaskRunner/TaskRunner.js +0 -1
  43. package/dist/Components/TooltipOptions.js +0 -1
  44. package/dist/Components/index.js +0 -1
  45. package/dist/ConnectionManager.js +0 -1
  46. package/dist/Data/ApiDataSource.js +0 -1
  47. package/dist/Data/AsyncDataSource.js +0 -1
  48. package/dist/Data/CacheService.js +0 -1
  49. package/dist/Data/DataCacheEntry.js +0 -1
  50. package/dist/Data/DataView.js +0 -1
  51. package/dist/Data/Deserialiser.js +9 -7
  52. package/dist/Data/Paging/PageManager.js +0 -1
  53. package/dist/Data/Paging/PageRequest.js +0 -1
  54. package/dist/Data/Paging/PageResult.js +0 -1
  55. package/dist/Data/Serialiser.js +3 -3
  56. package/dist/Data/SortOperation.js +0 -1
  57. package/dist/Data/StaticDataSource.js +0 -1
  58. package/dist/Data/WindowedDataView.js +0 -1
  59. package/dist/Data/index.js +0 -1
  60. package/dist/Dates/DateUtils.js +0 -1
  61. package/dist/Dates/TimeSpan.js +0 -1
  62. package/dist/DebounceHelper.d.ts +38 -0
  63. package/dist/DebounceHelper.js +95 -0
  64. package/dist/Extensions.js +0 -1
  65. package/dist/FileUtils.js +0 -1
  66. package/dist/Globals.d.ts +3 -0
  67. package/dist/Globals.js +11 -1
  68. package/dist/JsonSchema/ClassMetadata.js +0 -1
  69. package/dist/JsonSchema/JsonData.js +0 -1
  70. package/dist/JsonSchema/JsonSchemaTypes.js +0 -1
  71. package/dist/JsonSchema/PropertyMetadata.js +0 -1
  72. package/dist/JsonSchema/TypeCache.js +0 -1
  73. package/dist/JsonSchema/TypeMetadata.js +0 -1
  74. package/dist/JsonSchema/index.js +0 -1
  75. package/dist/Localisation/ILocalisationService.js +0 -1
  76. package/dist/Localisation/LocalisationService.js +0 -1
  77. package/dist/Localisation/index.js +0 -1
  78. package/dist/Misc.js +0 -1
  79. package/dist/Model/BaseModels/AuditValues.js +0 -1
  80. package/dist/Model/BaseModels/CriteriaBase.js +0 -1
  81. package/dist/Model/BaseModels/FileDescriptorBase.js +0 -1
  82. package/dist/Model/BaseModels/ReasonedUserEvent.js +0 -1
  83. package/dist/Model/BaseModels/UserEvent.js +0 -1
  84. package/dist/Model/BindableBase.js +0 -1
  85. package/dist/Model/Decorators.js +0 -1
  86. package/dist/Model/EnumHelper.js +0 -1
  87. package/dist/Model/IAutoRunner.js +0 -1
  88. package/dist/Model/IModelBase.js +0 -1
  89. package/dist/Model/IModelCreatorBase.js +0 -1
  90. package/dist/Model/List.js +0 -1
  91. package/dist/Model/LookupBase.js +0 -1
  92. package/dist/Model/Misc.js +0 -1
  93. package/dist/Model/ModelBase.js +0 -1
  94. package/dist/Model/ModelCreatorBase.js +0 -1
  95. package/dist/Model/ModelFieldInfo.js +0 -1
  96. package/dist/Model/ModelGraphTraverser.js +10 -6
  97. package/dist/Model/NeoModel.js +0 -1
  98. package/dist/Model/NeoTypeInfo.js +0 -1
  99. package/dist/Model/ObservableProperty.js +0 -1
  100. package/dist/Model/ObservableValue.js +0 -1
  101. package/dist/Model/PropertyInfo.js +2 -3
  102. package/dist/Model/PropertyInstance.js +0 -1
  103. package/dist/Model/ValueObject.js +0 -1
  104. package/dist/Model/index.js +0 -1
  105. package/dist/NumberUtils.js +3 -3
  106. package/dist/Routing/IMenuItemProvider.js +0 -1
  107. package/dist/Routing/IMenuRoute.js +0 -1
  108. package/dist/Routing/INavigationHelper.js +0 -1
  109. package/dist/Routing/IPageLeaveHandler.js +0 -1
  110. package/dist/Routing/IRoute.js +0 -1
  111. package/dist/Routing/IRouteSecurityService.js +0 -1
  112. package/dist/Routing/MenuItemProvider.js +0 -1
  113. package/dist/Routing/RouteSecurityService.js +0 -1
  114. package/dist/Routing/index.js +0 -1
  115. package/dist/Security/IAuthenticationService.js +0 -1
  116. package/dist/Security/IAuthorisationService.js +0 -1
  117. package/dist/Security/ILoginErrorHandler.js +0 -1
  118. package/dist/Security/ISecurityService.js +0 -1
  119. package/dist/Security/IUser.js +0 -1
  120. package/dist/Security/IUserRole.js +0 -1
  121. package/dist/Security/LoginErrorHandler.js +0 -1
  122. package/dist/Security/Oidc/OidcAuthService.js +0 -1
  123. package/dist/Security/Oidc/OidcTypes.js +0 -1
  124. package/dist/Security/Oidc/OidcUser.js +0 -1
  125. package/dist/Security/SecurityService.js +0 -1
  126. package/dist/Security/SignInResult.js +0 -1
  127. package/dist/Security/User.js +0 -1
  128. package/dist/Security/index.js +0 -1
  129. package/dist/Settings.js +0 -1
  130. package/dist/SignalR/HubBase.js +0 -1
  131. package/dist/SignalR/HubReceiver.js +0 -1
  132. package/dist/SignalR/HubSubscription.js +0 -1
  133. package/dist/SignalR/index.js +0 -1
  134. package/dist/StringUtils.js +0 -1
  135. package/dist/Utils.d.ts +3 -7
  136. package/dist/Utils.js +4 -18
  137. package/dist/Validation/Decorators.js +0 -1
  138. package/dist/Validation/DisplayHelper.js +0 -1
  139. package/dist/Validation/Misc.js +0 -1
  140. package/dist/Validation/ModelProxy.js +0 -1
  141. package/dist/Validation/RuleContext.js +0 -1
  142. package/dist/Validation/Rules.js +0 -1
  143. package/dist/Validation/ValidationHelpers.js +0 -1
  144. package/dist/Validation/ValidationRules.js +0 -1
  145. package/dist/Validation/ValidationState.js +0 -1
  146. package/dist/Validation/Validators/IModelValidator.js +0 -1
  147. package/dist/Validation/Validators/IPropertyValidator.js +0 -1
  148. package/dist/Validation/Validators/ModelValidator.js +0 -1
  149. package/dist/Validation/Validators/PropertyValidator.js +0 -1
  150. package/dist/Validation/Validators/RuleValidator.js +0 -1
  151. package/dist/Validation/index.js +0 -1
  152. package/dist/Views/IViewBase.js +0 -1
  153. package/dist/index.d.ts +2 -1
  154. package/dist/index.js +2 -2
  155. package/package.json +1 -1
  156. package/dist/ApiClient/ApiClientBase.js.map +0 -1
  157. package/dist/ApiClient/ReadApiClient.js.map +0 -1
  158. package/dist/ApiClient/UpdateableApiClient.js.map +0 -1
  159. package/dist/AppServices/AppService.js.map +0 -1
  160. package/dist/AppServices/Config/ConfigModel.js.map +0 -1
  161. package/dist/AppServices/Config/ConfigService.js.map +0 -1
  162. package/dist/AppServices/Module.js.map +0 -1
  163. package/dist/AppServices/NeoContainer.js.map +0 -1
  164. package/dist/AppServices/NeoModule.js.map +0 -1
  165. package/dist/AppServices/NeoTypes.js.map +0 -1
  166. package/dist/AppServices/ServiceIdentifier.js.map +0 -1
  167. package/dist/AppServices/index.js.map +0 -1
  168. package/dist/Components/AnimationHelper.js.map +0 -1
  169. package/dist/Components/BootstrapHelpers.js.map +0 -1
  170. package/dist/Components/BootstrapTypes.js.map +0 -1
  171. package/dist/Components/ButtonOptions.js.map +0 -1
  172. package/dist/Components/ContextMenu/ContextMenu.js.map +0 -1
  173. package/dist/Components/ContextMenu/MenuUtils.js.map +0 -1
  174. package/dist/Components/DatePicker/DatePicker.js.map +0 -1
  175. package/dist/Components/DatePicker/DatePickerOptions.js.map +0 -1
  176. package/dist/Components/ErrorHandler.js.map +0 -1
  177. package/dist/Components/FileManager/BoundFileManager.js.map +0 -1
  178. package/dist/Components/FileManager/FileManager.js.map +0 -1
  179. package/dist/Components/FileManager/FileUploadBatch.js.map +0 -1
  180. package/dist/Components/FileManager/IFileManagerOptions.js.map +0 -1
  181. package/dist/Components/FormOptions.js.map +0 -1
  182. package/dist/Components/ICollapsableOptions.js.map +0 -1
  183. package/dist/Components/Modal/ModalHelper.js.map +0 -1
  184. package/dist/Components/Modal/ModalOptions.js.map +0 -1
  185. package/dist/Components/Modal/ModalStore.js.map +0 -1
  186. package/dist/Components/Modal/ModalUtils.js.map +0 -1
  187. package/dist/Components/Notifications/INotificationHelper.js.map +0 -1
  188. package/dist/Components/Notifications/Notification.js.map +0 -1
  189. package/dist/Components/Notifications/NotificationHelper.js.map +0 -1
  190. package/dist/Components/Notifications/NotificationStore.js.map +0 -1
  191. package/dist/Components/PositionHelper.js.map +0 -1
  192. package/dist/Components/TaskRunner/ProgressState.js.map +0 -1
  193. package/dist/Components/TaskRunner/TaskRunner.js.map +0 -1
  194. package/dist/Components/TooltipOptions.js.map +0 -1
  195. package/dist/Components/index.js.map +0 -1
  196. package/dist/ConnectionManager.js.map +0 -1
  197. package/dist/Data/ApiDataSource.js.map +0 -1
  198. package/dist/Data/AsyncDataSource.js.map +0 -1
  199. package/dist/Data/CacheService.js.map +0 -1
  200. package/dist/Data/DataCacheEntry.js.map +0 -1
  201. package/dist/Data/DataView.js.map +0 -1
  202. package/dist/Data/Deserialiser.js.map +0 -1
  203. package/dist/Data/Paging/PageManager.js.map +0 -1
  204. package/dist/Data/Paging/PageRequest.js.map +0 -1
  205. package/dist/Data/Paging/PageResult.js.map +0 -1
  206. package/dist/Data/Serialiser.js.map +0 -1
  207. package/dist/Data/SortOperation.js.map +0 -1
  208. package/dist/Data/StaticDataSource.js.map +0 -1
  209. package/dist/Data/WindowedDataView.js.map +0 -1
  210. package/dist/Data/index.js.map +0 -1
  211. package/dist/Dates/DateUtils.js.map +0 -1
  212. package/dist/Dates/TimeSpan.js.map +0 -1
  213. package/dist/Extensions.js.map +0 -1
  214. package/dist/FileUtils.js.map +0 -1
  215. package/dist/Globals.js.map +0 -1
  216. package/dist/JsonSchema/ClassMetadata.js.map +0 -1
  217. package/dist/JsonSchema/JsonData.js.map +0 -1
  218. package/dist/JsonSchema/JsonSchemaTypes.js.map +0 -1
  219. package/dist/JsonSchema/PropertyMetadata.js.map +0 -1
  220. package/dist/JsonSchema/TypeCache.js.map +0 -1
  221. package/dist/JsonSchema/TypeMetadata.js.map +0 -1
  222. package/dist/JsonSchema/index.js.map +0 -1
  223. package/dist/Localisation/ILocalisationService.js.map +0 -1
  224. package/dist/Localisation/LocalisationService.js.map +0 -1
  225. package/dist/Localisation/index.js.map +0 -1
  226. package/dist/Misc.js.map +0 -1
  227. package/dist/Model/BaseModels/AuditValues.js.map +0 -1
  228. package/dist/Model/BaseModels/CriteriaBase.js.map +0 -1
  229. package/dist/Model/BaseModels/FileDescriptorBase.js.map +0 -1
  230. package/dist/Model/BaseModels/ReasonedUserEvent.js.map +0 -1
  231. package/dist/Model/BaseModels/UserEvent.js.map +0 -1
  232. package/dist/Model/BindableBase.js.map +0 -1
  233. package/dist/Model/Decorators.js.map +0 -1
  234. package/dist/Model/EnumHelper.js.map +0 -1
  235. package/dist/Model/IAutoRunner.js.map +0 -1
  236. package/dist/Model/IModelBase.js.map +0 -1
  237. package/dist/Model/IModelCreatorBase.js.map +0 -1
  238. package/dist/Model/List.js.map +0 -1
  239. package/dist/Model/LookupBase.js.map +0 -1
  240. package/dist/Model/Misc.js.map +0 -1
  241. package/dist/Model/ModelBase.js.map +0 -1
  242. package/dist/Model/ModelCreatorBase.js.map +0 -1
  243. package/dist/Model/ModelFieldInfo.js.map +0 -1
  244. package/dist/Model/ModelGraphTraverser.js.map +0 -1
  245. package/dist/Model/NeoModel.js.map +0 -1
  246. package/dist/Model/NeoTypeInfo.js.map +0 -1
  247. package/dist/Model/ObservableProperty.js.map +0 -1
  248. package/dist/Model/ObservableValue.js.map +0 -1
  249. package/dist/Model/PropertyInfo.js.map +0 -1
  250. package/dist/Model/PropertyInstance.js.map +0 -1
  251. package/dist/Model/ValueObject.js.map +0 -1
  252. package/dist/Model/index.js.map +0 -1
  253. package/dist/NumberUtils.js.map +0 -1
  254. package/dist/Routing/IMenuItemProvider.js.map +0 -1
  255. package/dist/Routing/IMenuRoute.js.map +0 -1
  256. package/dist/Routing/INavigationHelper.js.map +0 -1
  257. package/dist/Routing/IPageLeaveHandler.js.map +0 -1
  258. package/dist/Routing/IRoute.js.map +0 -1
  259. package/dist/Routing/IRouteSecurityService.js.map +0 -1
  260. package/dist/Routing/MenuItemProvider.js.map +0 -1
  261. package/dist/Routing/RouteSecurityService.js.map +0 -1
  262. package/dist/Routing/index.js.map +0 -1
  263. package/dist/Security/IAuthenticationService.js.map +0 -1
  264. package/dist/Security/IAuthorisationService.js.map +0 -1
  265. package/dist/Security/ILoginErrorHandler.js.map +0 -1
  266. package/dist/Security/ISecurityService.js.map +0 -1
  267. package/dist/Security/IUser.js.map +0 -1
  268. package/dist/Security/IUserRole.js.map +0 -1
  269. package/dist/Security/LoginErrorHandler.js.map +0 -1
  270. package/dist/Security/Oidc/OidcAuthService.js.map +0 -1
  271. package/dist/Security/Oidc/OidcTypes.js.map +0 -1
  272. package/dist/Security/Oidc/OidcUser.js.map +0 -1
  273. package/dist/Security/SecurityService.js.map +0 -1
  274. package/dist/Security/SignInResult.js.map +0 -1
  275. package/dist/Security/User.js.map +0 -1
  276. package/dist/Security/index.js.map +0 -1
  277. package/dist/Settings.js.map +0 -1
  278. package/dist/SignalR/HubBase.js.map +0 -1
  279. package/dist/SignalR/HubReceiver.js.map +0 -1
  280. package/dist/SignalR/HubSubscription.js.map +0 -1
  281. package/dist/SignalR/index.js.map +0 -1
  282. package/dist/StringUtils.js.map +0 -1
  283. package/dist/Utils.js.map +0 -1
  284. package/dist/Validation/Decorators.js.map +0 -1
  285. package/dist/Validation/DisplayHelper.js.map +0 -1
  286. package/dist/Validation/Misc.js.map +0 -1
  287. package/dist/Validation/ModelProxy.js.map +0 -1
  288. package/dist/Validation/RuleContext.js.map +0 -1
  289. package/dist/Validation/Rules.js.map +0 -1
  290. package/dist/Validation/ValidationHelpers.js.map +0 -1
  291. package/dist/Validation/ValidationRules.js.map +0 -1
  292. package/dist/Validation/ValidationState.js.map +0 -1
  293. package/dist/Validation/Validators/IModelValidator.js.map +0 -1
  294. package/dist/Validation/Validators/IPropertyValidator.js.map +0 -1
  295. package/dist/Validation/Validators/ModelValidator.js.map +0 -1
  296. package/dist/Validation/Validators/PropertyValidator.js.map +0 -1
  297. package/dist/Validation/Validators/RuleValidator.js.map +0 -1
  298. package/dist/Validation/index.js.map +0 -1
  299. package/dist/Views/IViewBase.js.map +0 -1
  300. package/dist/index.js.map +0 -1
@@ -11,4 +11,3 @@ var ApiClientBase = /** @class */ (function () {
11
11
  return ApiClientBase;
12
12
  }());
13
13
  export { ApiClientBase };
14
- //# sourceMappingURL=ApiClientBase.js.map
@@ -12,5 +12,5 @@ export declare class ReadApiClient<TModel, TKey extends string | number> extends
12
12
  /** Gets a list of entities */
13
13
  get(): AxiosPromise<PlainObject<TModel>[]>;
14
14
  /** Gets a single entity using the provided id. */
15
- getById(id: TKey): AxiosPromise<{ [P_1 in keyof Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>]: Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>[P_1] extends import("..").List<infer I> ? I[] : Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>[P_1]; }>;
15
+ getById(id: TKey): AxiosPromise<{ [P_1 in keyof Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>]: Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>[P_1] extends import("..").List<infer I> ? I[] : Pick<TModel, Exclude<keyof TModel, "meta" | "update" | "entityIdentifier" | "isSelfDirty" | "isNew" | "isSelfValid" | "isValid" | "isDirty" | "readyToSave" | "isSuspended" | "validator" | "markOld" | "toJSObject" | "toQueryObject" | "toQueryObjectAuto" | "onAnyPropertyChanged" | "getIcon" | "set"> & { [P in keyof TModel]: TModel[P] extends Function ? never : P; }[keyof TModel]>[P_1]; }>;
16
16
  }
@@ -22,4 +22,3 @@ var ReadApiClient = /** @class */ (function (_super) {
22
22
  return ReadApiClient;
23
23
  }(ApiClientBase));
24
24
  export { ReadApiClient };
25
- //# sourceMappingURL=ReadApiClient.js.map
@@ -31,4 +31,3 @@ var UpdateableApiClient = /** @class */ (function (_super) {
31
31
  return UpdateableApiClient;
32
32
  }(ReadApiClient));
33
33
  export { UpdateableApiClient };
34
- //# sourceMappingURL=UpdateableApiClient.js.map
@@ -23,4 +23,3 @@ var AppService = /** @class */ (function () {
23
23
  return AppService;
24
24
  }());
25
25
  export { AppService };
26
- //# sourceMappingURL=AppService.js.map
@@ -15,4 +15,3 @@ var ConfigModel = /** @class */ (function () {
15
15
  return ConfigModel;
16
16
  }());
17
17
  export default ConfigModel;
18
- //# sourceMappingURL=ConfigModel.js.map
@@ -51,4 +51,3 @@ var ConfigService = /** @class */ (function () {
51
51
  return ConfigService;
52
52
  }());
53
53
  export { ConfigService };
54
- //# sourceMappingURL=ConfigService.js.map
@@ -11,4 +11,3 @@ var Module = /** @class */ (function () {
11
11
  return Module;
12
12
  }());
13
13
  export { Module };
14
- //# sourceMappingURL=Module.js.map
@@ -40,4 +40,3 @@ var NeoContainer = /** @class */ (function (_super) {
40
40
  return NeoContainer;
41
41
  }(Container));
42
42
  export { NeoContainer };
43
- //# sourceMappingURL=NeoContainer.js.map
@@ -28,4 +28,3 @@ var neoModule = new Module("neo", function (container) {
28
28
  container.bind(NeoTypes.TaskRunner).to(TaskRunner).inTransientScope();
29
29
  });
30
30
  export default neoModule;
31
- //# sourceMappingURL=NeoModule.js.map
@@ -18,6 +18,7 @@ import { IRouteSecurityService } from '../Routing/IRouteSecurityService';
18
18
  import { IContextMenuState } from '../Components/ContextMenu/ContextMenu';
19
19
  import { INavigationHelper } from '../Routing/INavigationHelper';
20
20
  import { ILoginErrorHandler } from '../Security/ILoginErrorHandler';
21
+ import Decimal from 'decimal.js-light';
21
22
  declare const NeoTypes: {
22
23
  Axios: ServiceIdentifier<import("axios").AxiosStatic>;
23
24
  Config: {
@@ -32,6 +33,9 @@ declare const NeoTypes: {
32
33
  Localisation: {
33
34
  LocalisationService: ServiceIdentifier<ILocalisationService>;
34
35
  };
36
+ Misc: {
37
+ DecimalType: ServiceIdentifier<typeof Decimal>;
38
+ };
35
39
  Routing: {
36
40
  MenuItemProvider: ServiceIdentifier<IMenuItemProvider<import("../Routing").IMenuRoute>>;
37
41
  NavigationHelper: ServiceIdentifier<INavigationHelper>;
@@ -14,6 +14,9 @@ var NeoTypes = {
14
14
  Localisation: {
15
15
  LocalisationService: new ServiceIdentifier("Neo.Localisation")
16
16
  },
17
+ Misc: {
18
+ DecimalType: new ServiceIdentifier("Neo.Decimal")
19
+ },
17
20
  Routing: {
18
21
  MenuItemProvider: new ServiceIdentifier("Neo.MenuItemProvider"),
19
22
  NavigationHelper: new ServiceIdentifier("Neo.NavigationHelper"),
@@ -37,4 +40,3 @@ var NeoTypes = {
37
40
  }
38
41
  };
39
42
  export default NeoTypes;
40
- //# sourceMappingURL=NeoTypes.js.map
@@ -37,4 +37,3 @@ var ServiceIdentifier = /** @class */ (function () {
37
37
  return ServiceIdentifier;
38
38
  }());
39
39
  export { ServiceIdentifier };
40
- //# sourceMappingURL=ServiceIdentifier.js.map
@@ -5,4 +5,3 @@ export { default as NeoModule } from './NeoModule';
5
5
  export { ServiceIdentifier } from './ServiceIdentifier';
6
6
  export { ConfigService } from './Config/ConfigService';
7
7
  export { default as ConfigModel } from './Config/ConfigModel';
8
- //# sourceMappingURL=index.js.map
@@ -180,4 +180,3 @@ var CollapseAnimationHelper = /** @class */ (function () {
180
180
  return CollapseAnimationHelper;
181
181
  }());
182
182
  export { CollapseAnimationHelper };
183
- //# sourceMappingURL=AnimationHelper.js.map
@@ -28,4 +28,3 @@ var BSHelpers = /** @class */ (function () {
28
28
  return BSHelpers;
29
29
  }());
30
30
  export default BSHelpers;
31
- //# sourceMappingURL=BootstrapHelpers.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=BootstrapTypes.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=ButtonOptions.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=ContextMenu.js.map
@@ -32,4 +32,3 @@ var MenuUtils = /** @class */ (function () {
32
32
  return MenuUtils;
33
33
  }());
34
34
  export { MenuUtils };
35
- //# sourceMappingURL=MenuUtils.js.map
@@ -486,4 +486,3 @@ var DatePicker = /** @class */ (function () {
486
486
  return DatePicker;
487
487
  }());
488
488
  export default DatePicker;
489
- //# sourceMappingURL=DatePicker.js.map
@@ -31,4 +31,3 @@ var ProcessedDatePickerOptions = /** @class */ (function (_super) {
31
31
  return ProcessedDatePickerOptions;
32
32
  }(DatePickerOptions));
33
33
  export { ProcessedDatePickerOptions };
34
- //# sourceMappingURL=DatePickerOptions.js.map
@@ -136,4 +136,3 @@ var ErrorHandler = /** @class */ (function () {
136
136
  return ErrorHandler;
137
137
  }());
138
138
  export { ErrorHandler };
139
- //# sourceMappingURL=ErrorHandler.js.map
@@ -58,4 +58,3 @@ var BoundFileManager = /** @class */ (function (_super) {
58
58
  return BoundFileManager;
59
59
  }(FileManagerBase));
60
60
  export default BoundFileManager;
61
- //# sourceMappingURL=BoundFileManager.js.map
@@ -245,4 +245,3 @@ var FileManager = /** @class */ (function (_super) {
245
245
  return FileManager;
246
246
  }(FileManagerBase));
247
247
  export default FileManager;
248
- //# sourceMappingURL=FileManager.js.map
@@ -80,4 +80,3 @@ var FileUploadBatch = /** @class */ (function () {
80
80
  return FileUploadBatch;
81
81
  }());
82
82
  export { FileUploadBatch };
83
- //# sourceMappingURL=FileUploadBatch.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=IFileManagerOptions.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=FormOptions.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=ICollapsableOptions.js.map
@@ -2,6 +2,7 @@ import { IModalOptionsBase } from './ModalOptions';
2
2
  export interface IModalInstance {
3
3
  container: HTMLDivElement;
4
4
  isRemoving: boolean;
5
+ fadeTimer?: any;
5
6
  onDismiss?: (e: any) => void;
6
7
  }
7
8
  export interface IModalContainerOptions {
@@ -25,5 +26,6 @@ export default class ModalHelper {
25
26
  endRemove(modal: IModalInstance): void;
26
27
  private endModalAnimations;
27
28
  private makeModalsInactive;
29
+ private cancelModalSlides;
28
30
  private onContainerClick;
29
31
  }
@@ -94,17 +94,24 @@ var ModalHelper = /** @class */ (function () {
94
94
  }
95
95
  };
96
96
  ModalHelper.prototype.insertAdditionalModal = function (modal) {
97
- modal.classList.add("modal-container-additional");
98
97
  this.modalsContainer.insertBefore(modal, this.modalsContainer.childNodes[0]);
98
+ var marginTop = parseInt(window.getComputedStyle(modal.children[0]).marginTop);
99
+ modal.style.marginTop = -(modal.clientHeight + marginTop) + "px";
100
+ AnimationHelper.triggerReflow(this.modalsContainer);
101
+ modal.classList.add("modal-container-additional");
99
102
  AnimationHelper.triggerReflow(this.modalsContainer);
103
+ modal.style.marginTop = "0";
100
104
  modal.classList.add("show");
101
105
  this.modalsContainer.scrollTo(0, 0);
102
106
  };
103
107
  ModalHelper.prototype.beginRemove = function (modal) {
104
108
  if (!modal.isRemoving) {
105
109
  modal.isRemoving = true;
106
- if (this.modalsContainer.childNodes.length == 1) {
107
- // If there is only 1 modal, remove the backdrop and top level container.
110
+ if (this.modals.every(function (m) { return m.isRemoving; })) {
111
+ // All modals are closing.
112
+ // Cancel any pending closing slide animations, since all modals are now being closed using the main animation.
113
+ this.cancelModalSlides();
114
+ // Remove the backdrop and top level container.
108
115
  this.modalsContainer.classList.remove("show");
109
116
  this.modalsBackdrop.classList.remove("show");
110
117
  this.rootContainer.className = this.rootClassName;
@@ -117,6 +124,9 @@ var ModalHelper = /** @class */ (function () {
117
124
  else {
118
125
  // Otherwise just fade the current modal
119
126
  modal.container.classList.remove("show");
127
+ var marginTop_1 = parseInt(window.getComputedStyle(modal.container.children[0]).marginTop);
128
+ modal.fadeTimer = setTimeout(function () { return modal.container.style.marginTop = -(modal.container.clientHeight + marginTop_1) + "px"; }, 0);
129
+ this.modals[this.modals.length - 2].container.classList.remove(inactiveClassName);
120
130
  }
121
131
  }
122
132
  };
@@ -129,9 +139,6 @@ var ModalHelper = /** @class */ (function () {
129
139
  this.modalsContainer.style.display = "none";
130
140
  this.modalsBackdrop.style.display = "none";
131
141
  }
132
- else {
133
- this.modals[this.modals.length - 1].container.classList.remove(inactiveClassName);
134
- }
135
142
  };
136
143
  ModalHelper.prototype.endModalAnimations = function () {
137
144
  for (var _i = 0, _a = this.modals.filter(function (m) { return m.isRemoving; }); _i < _a.length; _i++) {
@@ -145,6 +152,14 @@ var ModalHelper = /** @class */ (function () {
145
152
  modal.container.classList.add(inactiveClassName);
146
153
  }
147
154
  };
155
+ ModalHelper.prototype.cancelModalSlides = function () {
156
+ for (var _i = 0, _a = this.modals; _i < _a.length; _i++) {
157
+ var modal = _a[_i];
158
+ if (modal.fadeTimer) {
159
+ clearTimeout(modal.fadeTimer);
160
+ }
161
+ }
162
+ };
148
163
  ModalHelper.prototype.onContainerClick = function (e) {
149
164
  if (this.modals.length == 1) {
150
165
  var modal = this.modals[this.modals.length - 1];
@@ -157,4 +172,3 @@ var ModalHelper = /** @class */ (function () {
157
172
  return ModalHelper;
158
173
  }());
159
174
  export default ModalHelper;
160
- //# sourceMappingURL=ModalHelper.js.map
@@ -25,6 +25,8 @@ export interface IModalOptionsBase {
25
25
  footer?: any;
26
26
  /** Add content to the left of the buttons. */
27
27
  footerContent?: any;
28
+ /** Callback to handle when the modal is closed / cancelled by the user. Not called on accept. */
29
+ onClose?: (event: any) => void;
28
30
  }
29
31
  export default interface IModalOptions extends IModalOptionsBase {
30
32
  /** Controls the visibility of the modal. */
@@ -1 +0,0 @@
1
- //# sourceMappingURL=ModalOptions.js.map
@@ -80,4 +80,3 @@ var CodeModal = /** @class */ (function () {
80
80
  ], CodeModal);
81
81
  return CodeModal;
82
82
  }());
83
- //# sourceMappingURL=ModalStore.js.map
@@ -107,4 +107,3 @@ var ModalHelpers = /** @class */ (function () {
107
107
  return ModalHelpers;
108
108
  }());
109
109
  export var ModalUtils = new ModalHelpers();
110
- //# sourceMappingURL=ModalUtils.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=INotificationHelper.js.map
@@ -25,4 +25,3 @@ var Notification = /** @class */ (function () {
25
25
  return Notification;
26
26
  }());
27
27
  export { Notification };
28
- //# sourceMappingURL=Notification.js.map
@@ -110,4 +110,3 @@ var NotificationHelper = /** @class */ (function () {
110
110
  return NotificationHelper;
111
111
  }());
112
112
  export { NotificationHelper };
113
- //# sourceMappingURL=NotificationHelper.js.map
@@ -77,4 +77,3 @@ var NotificationStore = /** @class */ (function () {
77
77
  return NotificationStore;
78
78
  }());
79
79
  export { NotificationStore };
80
- //# sourceMappingURL=NotificationStore.js.map
@@ -41,4 +41,3 @@ var PositionHelper = /** @class */ (function () {
41
41
  return PositionHelper;
42
42
  }());
43
43
  export default PositionHelper;
44
- //# sourceMappingURL=PositionHelper.js.map
@@ -70,4 +70,3 @@ var ProgressState = /** @class */ (function () {
70
70
  return ProgressState;
71
71
  }());
72
72
  export { ProgressState };
73
- //# sourceMappingURL=ProgressState.js.map
@@ -236,4 +236,3 @@ var TaskRunner = /** @class */ (function () {
236
236
  return TaskRunner;
237
237
  }());
238
238
  export default TaskRunner;
239
- //# sourceMappingURL=TaskRunner.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=TooltipOptions.js.map
@@ -10,4 +10,3 @@ export { ProgressState } from './TaskRunner/ProgressState';
10
10
  export { default as PositionHelper } from './PositionHelper';
11
11
  import * as Tooltip from './TooltipOptions';
12
12
  export { Tooltip };
13
- //# sourceMappingURL=index.js.map
@@ -59,4 +59,3 @@ var ConnectionManager = /** @class */ (function () {
59
59
  return ConnectionManager;
60
60
  }());
61
61
  export { ConnectionManager };
62
- //# sourceMappingURL=ConnectionManager.js.map
@@ -142,4 +142,3 @@ var ApiDataSource = /** @class */ (function (_super) {
142
142
  return ApiDataSource;
143
143
  }(AsyncDataSource));
144
144
  export { ApiDataSource };
145
- //# sourceMappingURL=ApiDataSource.js.map
@@ -78,4 +78,3 @@ var AsyncDataSource = /** @class */ (function () {
78
78
  return AsyncDataSource;
79
79
  }());
80
80
  export { AsyncDataSource };
81
- //# sourceMappingURL=AsyncDataSource.js.map
@@ -62,4 +62,3 @@ var CachedDataService = /** @class */ (function () {
62
62
  return CachedDataService;
63
63
  }());
64
64
  export { CachedDataService };
65
- //# sourceMappingURL=CacheService.js.map
@@ -78,4 +78,3 @@ var DataCacheEntry = /** @class */ (function () {
78
78
  return DataCacheEntry;
79
79
  }());
80
80
  export { DataCacheEntry };
81
- //# sourceMappingURL=DataCacheEntry.js.map
@@ -170,4 +170,3 @@ var DataView = /** @class */ (function (_super) {
170
170
  return DataView;
171
171
  }(DataViewBase));
172
172
  export { DataView };
173
- //# sourceMappingURL=DataView.js.map
@@ -154,12 +154,15 @@ var Deserialiser = /** @class */ (function () {
154
154
  for (var key in from) {
155
155
  if (from.hasOwnProperty(key)) {
156
156
  var propertyInfo = propertyInfoList[key];
157
- //TODO: log extra properties if in dev mode.
158
- if (this.options.allowExtraProperties ||
159
- (propertyInfo &&
160
- (propertyInfo.serialise === SerialiseType.Always || propertyInfo.serialise === SerialiseType.NotNull ||
161
- (propertyInfo.serialise === SerialiseType.MappingOnly && this.options.isMap) ||
162
- (propertyInfo.serialise === SerialiseType.FullOnly && (this.options.removeOldItems || justCreated))))) {
157
+ var canDeserialise = this.options.allowExtraProperties;
158
+ if (propertyInfo) {
159
+ canDeserialise = !propertyInfo.isComputed && !propertyInfo.isReadOnly &&
160
+ ((propertyInfo.serialise === SerialiseType.Always) ||
161
+ (propertyInfo.serialise === SerialiseType.NotNull) ||
162
+ (propertyInfo.serialise === SerialiseType.MappingOnly && !!this.options.isMap) ||
163
+ (propertyInfo.serialise === SerialiseType.FullOnly && (this.options.removeOldItems || justCreated)));
164
+ }
165
+ if (canDeserialise) {
163
166
  try {
164
167
  var fromValue = from[key];
165
168
  if (propertyInfo) {
@@ -251,4 +254,3 @@ var Deserialiser = /** @class */ (function () {
251
254
  return Deserialiser;
252
255
  }());
253
256
  export { Deserialiser };
254
- //# sourceMappingURL=Deserialiser.js.map
@@ -321,4 +321,3 @@ var PageManager = /** @class */ (function (_super) {
321
321
  return PageManager;
322
322
  }(DataViewBase));
323
323
  export { PageManager };
324
- //# sourceMappingURL=PageManager.js.map
@@ -37,4 +37,3 @@ var PageRequest = /** @class */ (function (_super) {
37
37
  return PageRequest;
38
38
  }(ValueObject));
39
39
  export { PageRequest };
40
- //# sourceMappingURL=PageRequest.js.map
@@ -12,4 +12,3 @@ var PageResult = /** @class */ (function () {
12
12
  return PageResult;
13
13
  }());
14
14
  export { PageResult };
15
- //# sourceMappingURL=PageResult.js.map
@@ -2,7 +2,7 @@ import { TrackingState, SerialiseType, RelationType, TimeZoneFormat, DataType }
2
2
  import { Deserialiser } from './Deserialiser';
3
3
  import ValueObject from '../Model/ValueObject';
4
4
  import DateUtils from '../Dates/DateUtils';
5
- import Decimal from 'decimal.js-light';
5
+ import Globals from '../Globals';
6
6
  var JSFormatter = /** @class */ (function () {
7
7
  function JSFormatter() {
8
8
  }
@@ -101,11 +101,12 @@ var Serialiser = /** @class */ (function () {
101
101
  try {
102
102
  var propertyInfo = isDictionary ? {} : propertyMap[key];
103
103
  if (propertyInfo &&
104
+ !propertyInfo.isComputed && !propertyInfo.isReadOnly && // Safari seems to enumerate properties like isDirty, other browsers wont include these properties.
104
105
  propertyInfo.serialise !== SerialiseType.Never &&
105
106
  propertyInfo.serialise !== SerialiseType.MappingOnly &&
106
107
  (propertyInfo.serialise !== SerialiseType.FullOnly || this.options.includeClean)) {
107
108
  var fromValue = from[key];
108
- var isChildObject = (fromValue && fromValue instanceof Object && !(fromValue instanceof Date) && !(fromValue instanceof Decimal)) || propertyInfo.relationType === RelationType.ChildObject;
109
+ var isChildObject = (fromValue && fromValue instanceof Object && !(fromValue instanceof Date) && !(fromValue instanceof Globals.decimalType)) || propertyInfo.relationType === RelationType.ChildObject;
109
110
  if (fromValue instanceof Array) {
110
111
  // Arrays of simple types are always included.
111
112
  if (!this.options.suppressChildren || (fromValue.length > 0 && !(fromValue[0] instanceof Object))) {
@@ -188,4 +189,3 @@ var Serialiser = /** @class */ (function () {
188
189
  return Serialiser;
189
190
  }());
190
191
  export { Serialiser };
191
- //# sourceMappingURL=Serialiser.js.map
@@ -24,4 +24,3 @@ var SortOperation = /** @class */ (function () {
24
24
  return SortOperation;
25
25
  }());
26
26
  export { SortOperation };
27
- //# sourceMappingURL=SortOperation.js.map
@@ -25,4 +25,3 @@ var StaticDataSource = /** @class */ (function (_super) {
25
25
  return StaticDataSource;
26
26
  }(AsyncDataSource));
27
27
  export { StaticDataSource };
28
- //# sourceMappingURL=StaticDataSource.js.map
@@ -48,4 +48,3 @@ var WindowedDataView = /** @class */ (function (_super) {
48
48
  return WindowedDataView;
49
49
  }(DataViewBase));
50
50
  export { WindowedDataView };
51
- //# sourceMappingURL=WindowedDataView.js.map
@@ -13,4 +13,3 @@ export * from '../ApiClient/UpdateableApiClient';
13
13
  export * from './Paging/PageManager';
14
14
  export * from './Paging/PageRequest';
15
15
  export * from './Paging/PageResult';
16
- //# sourceMappingURL=index.js.map
@@ -225,4 +225,3 @@ var DateUtils = /** @class */ (function () {
225
225
  return DateUtils;
226
226
  }());
227
227
  export default DateUtils;
228
- //# sourceMappingURL=DateUtils.js.map
@@ -44,4 +44,3 @@ var TimeSpan = /** @class */ (function () {
44
44
  return TimeSpan;
45
45
  }());
46
46
  export { TimeSpan };
47
- //# sourceMappingURL=TimeSpan.js.map
@@ -0,0 +1,38 @@
1
+ export interface IDebounceResult<T> {
2
+ /** True if the operation was cancelled due to a subsequent call. */
3
+ cancelled: boolean;
4
+ value?: T;
5
+ }
6
+ export declare class DebounceHelper<T = void, TState = any> {
7
+ private callback;
8
+ private delayMs;
9
+ private timer;
10
+ private state;
11
+ private currentResolver?;
12
+ /**
13
+ * Creates a debounce helper instance.
14
+ * @param callback Callback function to run. All state passed to the execute method from current and previous calls will be passed to the callback.
15
+ * @param delayMs Delay in milliseconds.
16
+ */
17
+ constructor(callback: (state: TState[]) => T | Promise<T>, delayMs?: number);
18
+ /**
19
+ * Debounce a function so that it is only called after a period of inactivity.
20
+ * @param syncInstance The instance to synchronize against.
21
+ * This should always be the same object for the function you are debouncing.
22
+ * Do not debounce different functions on the same sync instance. Rather create a DebounceHelper instance for each function.
23
+ * @param fn Function to call when the delay has elapsed.
24
+ * @param delayMs Delay in milliseconds.
25
+ * @param state State to pass to debounced method as an array of values for each time debounce was called.
26
+ */
27
+ static debounce<T = any, TState = any>(syncInstance: any, callback: (state: TState[]) => T | Promise<T>, delayMs: number, state?: TState): Promise<IDebounceResult<T>>;
28
+ /** Cancels pending execution of the callback. Any pending promises will be resolved with cancelled: true. */
29
+ static cancelPending<TState = any>(syncInstance: any): TState[];
30
+ /**
31
+ * Waits the interval defined in the constructor, then executes the callback.
32
+ * The callback will not execute if execute is called again within the interval.
33
+ * @param state State to pass to the callback.
34
+ */
35
+ execute(state?: TState): Promise<IDebounceResult<T>>;
36
+ /** Cancels pending execution of the callback. Any pending promises will be resolved with cancelled: true. */
37
+ cancelPending(): TState[];
38
+ }