@limetech/lime-web-components 5.0.0 → 5.1.0

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 (269) hide show
  1. package/README.md +9 -2
  2. package/dist/application/decorators/application.d.ts +5 -2
  3. package/dist/application/decorators/application.d.ts.map +1 -0
  4. package/dist/application/decorators/application.js +4 -2
  5. package/dist/application/decorators/index.d.ts +1 -0
  6. package/dist/application/decorators/index.d.ts.map +1 -0
  7. package/dist/application/decorators/session.d.ts +5 -2
  8. package/dist/application/decorators/session.d.ts.map +1 -0
  9. package/dist/application/decorators/session.js +4 -2
  10. package/dist/application/decorators/user.d.ts +5 -2
  11. package/dist/application/decorators/user.d.ts.map +1 -0
  12. package/dist/application/decorators/user.js +4 -2
  13. package/dist/application/index.d.ts +1 -0
  14. package/dist/application/index.d.ts.map +1 -0
  15. package/dist/application/session.d.ts +5 -0
  16. package/dist/application/session.d.ts.map +1 -0
  17. package/dist/application/types.d.ts +1 -0
  18. package/dist/application/types.d.ts.map +1 -0
  19. package/dist/application/user.d.ts +14 -2
  20. package/dist/application/user.d.ts.map +1 -0
  21. package/dist/commandbus/commandbus.d.ts +66 -22
  22. package/dist/commandbus/commandbus.d.ts.map +1 -0
  23. package/dist/commandbus/commandbus.js +13 -8
  24. package/dist/commandbus/index.d.ts +1 -0
  25. package/dist/commandbus/index.d.ts.map +1 -0
  26. package/dist/commandbus/types.d.ts +2 -1
  27. package/dist/commandbus/types.d.ts.map +1 -0
  28. package/dist/config/decorator.d.ts +7 -2
  29. package/dist/config/decorator.d.ts.map +1 -0
  30. package/dist/config/decorator.js +4 -2
  31. package/dist/config/index.d.ts +1 -0
  32. package/dist/config/index.d.ts.map +1 -0
  33. package/dist/config/repository.d.ts +7 -2
  34. package/dist/config/repository.d.ts.map +1 -0
  35. package/dist/config/types.d.ts +2 -1
  36. package/dist/config/types.d.ts.map +1 -0
  37. package/dist/core/context.d.ts +3 -0
  38. package/dist/core/context.d.ts.map +1 -0
  39. package/dist/core/decorators/factory.d.ts +12 -6
  40. package/dist/core/decorators/factory.d.ts.map +1 -0
  41. package/dist/core/decorators/factory.js +33 -32
  42. package/dist/core/decorators/factory.spec.d.ts +1 -0
  43. package/dist/core/decorators/factory.spec.d.ts.map +1 -0
  44. package/dist/core/decorators/index.d.ts +1 -0
  45. package/dist/core/decorators/index.d.ts.map +1 -0
  46. package/dist/core/index.d.ts +1 -0
  47. package/dist/core/index.d.ts.map +1 -0
  48. package/dist/core/lime-web-component.d.ts +3 -0
  49. package/dist/core/lime-web-component.d.ts.map +1 -0
  50. package/dist/core/platform.d.ts +14 -5
  51. package/dist/core/platform.d.ts.map +1 -0
  52. package/dist/core/platform.js +2 -0
  53. package/dist/core/plugin-loader.d.ts +3 -0
  54. package/dist/core/plugin-loader.d.ts.map +1 -0
  55. package/dist/core/state.d.ts +12 -3
  56. package/dist/core/state.d.ts.map +1 -0
  57. package/dist/device/decorator.d.ts +7 -4
  58. package/dist/device/decorator.d.ts.map +1 -0
  59. package/dist/device/decorator.js +4 -2
  60. package/dist/device/device.d.ts +8 -3
  61. package/dist/device/device.d.ts.map +1 -0
  62. package/dist/device/index.d.ts +1 -0
  63. package/dist/device/index.d.ts.map +1 -0
  64. package/dist/device/types.d.ts +2 -1
  65. package/dist/device/types.d.ts.map +1 -0
  66. package/dist/dialog/dialog.d.ts +20 -7
  67. package/dist/dialog/dialog.d.ts.map +1 -0
  68. package/dist/dialog/index.d.ts +1 -0
  69. package/dist/dialog/index.d.ts.map +1 -0
  70. package/dist/dialog/types.d.ts +1 -0
  71. package/dist/dialog/types.d.ts.map +1 -0
  72. package/dist/eventdispatcher/eventdispatcher.d.ts +9 -6
  73. package/dist/eventdispatcher/eventdispatcher.d.ts.map +1 -0
  74. package/dist/eventdispatcher/index.d.ts +1 -0
  75. package/dist/eventdispatcher/index.d.ts.map +1 -0
  76. package/dist/eventdispatcher/types.d.ts +2 -1
  77. package/dist/eventdispatcher/types.d.ts.map +1 -0
  78. package/dist/filter/decorator.d.ts +7 -2
  79. package/dist/filter/decorator.d.ts.map +1 -0
  80. package/dist/filter/decorator.js +4 -2
  81. package/dist/filter/index.d.ts +1 -0
  82. package/dist/filter/index.d.ts.map +1 -0
  83. package/dist/filter/repository.d.ts +9 -4
  84. package/dist/filter/repository.d.ts.map +1 -0
  85. package/dist/filter/types.d.ts +2 -1
  86. package/dist/filter/types.d.ts.map +1 -0
  87. package/dist/http/http.d.ts +38 -18
  88. package/dist/http/http.d.ts.map +1 -0
  89. package/dist/http/index.d.ts +1 -0
  90. package/dist/http/index.d.ts.map +1 -0
  91. package/dist/http/types.d.ts +1 -0
  92. package/dist/http/types.d.ts.map +1 -0
  93. package/dist/index.d.ts +7 -0
  94. package/dist/index.d.ts.map +1 -0
  95. package/dist/index.js +6 -0
  96. package/dist/keybindings/index.d.ts +1 -0
  97. package/dist/keybindings/index.d.ts.map +1 -0
  98. package/dist/keybindings/registry.d.ts +15 -9
  99. package/dist/keybindings/registry.d.ts.map +1 -0
  100. package/dist/keybindings/types.d.ts +3 -2
  101. package/dist/keybindings/types.d.ts.map +1 -0
  102. package/dist/limeobject/commands/bulk-create-dialog.d.ts +3 -0
  103. package/dist/limeobject/commands/bulk-create-dialog.d.ts.map +1 -0
  104. package/dist/limeobject/commands/bulk-create-dialog.js +2 -0
  105. package/dist/limeobject/commands/create-dialog.d.ts +3 -0
  106. package/dist/limeobject/commands/create-dialog.d.ts.map +1 -0
  107. package/dist/limeobject/commands/create-dialog.js +2 -0
  108. package/dist/limeobject/commands/delete-object.d.ts +3 -0
  109. package/dist/limeobject/commands/delete-object.d.ts.map +1 -0
  110. package/dist/limeobject/commands/delete-object.js +2 -0
  111. package/dist/limeobject/commands/index.d.ts +1 -0
  112. package/dist/limeobject/commands/index.d.ts.map +1 -0
  113. package/dist/limeobject/commands/object-access.d.ts +3 -0
  114. package/dist/limeobject/commands/object-access.d.ts.map +1 -0
  115. package/dist/limeobject/commands/object-access.js +2 -0
  116. package/dist/limeobject/commands/save-object.d.ts +3 -0
  117. package/dist/limeobject/commands/save-object.d.ts.map +1 -0
  118. package/dist/limeobject/commands/save-object.js +2 -0
  119. package/dist/limeobject/decorator.d.ts +11 -4
  120. package/dist/limeobject/decorator.d.ts.map +1 -0
  121. package/dist/limeobject/decorator.js +8 -4
  122. package/dist/limeobject/error.d.ts +35 -0
  123. package/dist/limeobject/error.d.ts.map +1 -0
  124. package/dist/limeobject/index.d.ts +1 -0
  125. package/dist/limeobject/index.d.ts.map +1 -0
  126. package/dist/limeobject/limeobject.d.ts +6 -3
  127. package/dist/limeobject/limeobject.d.ts.map +1 -0
  128. package/dist/limeobject/repository.d.ts +38 -13
  129. package/dist/limeobject/repository.d.ts.map +1 -0
  130. package/dist/limeobject/types.d.ts +2 -1
  131. package/dist/limeobject/types.d.ts.map +1 -0
  132. package/dist/limetype/acl.d.ts +5 -0
  133. package/dist/limetype/acl.d.ts.map +1 -0
  134. package/dist/limetype/decorator.d.ts +11 -4
  135. package/dist/limetype/decorator.d.ts.map +1 -0
  136. package/dist/limetype/decorator.js +8 -4
  137. package/dist/limetype/index.d.ts +1 -0
  138. package/dist/limetype/index.d.ts.map +1 -0
  139. package/dist/limetype/limetype.d.ts +9 -2
  140. package/dist/limetype/limetype.d.ts.map +1 -0
  141. package/dist/limetype/property.d.ts +33 -0
  142. package/dist/limetype/property.d.ts.map +1 -0
  143. package/dist/limetype/property.js +20 -0
  144. package/dist/limetype/types.d.ts +1 -0
  145. package/dist/limetype/types.d.ts.map +1 -0
  146. package/dist/navigator/command.d.ts +3 -12
  147. package/dist/navigator/command.d.ts.map +1 -0
  148. package/dist/navigator/command.js +2 -0
  149. package/dist/navigator/decorator.d.ts +7 -3
  150. package/dist/navigator/decorator.d.ts.map +1 -0
  151. package/dist/navigator/decorator.js +4 -3
  152. package/dist/navigator/index.d.ts +1 -0
  153. package/dist/navigator/index.d.ts.map +1 -0
  154. package/dist/navigator/navigator.d.ts +42 -14
  155. package/dist/navigator/navigator.d.ts.map +1 -0
  156. package/dist/navigator/types.d.ts +3 -2
  157. package/dist/navigator/types.d.ts.map +1 -0
  158. package/dist/notifications/index.d.ts +1 -0
  159. package/dist/notifications/index.d.ts.map +1 -0
  160. package/dist/notifications/notifications.d.ts +25 -14
  161. package/dist/notifications/notifications.d.ts.map +1 -0
  162. package/dist/notifications/types.d.ts +1 -0
  163. package/dist/notifications/types.d.ts.map +1 -0
  164. package/dist/query/index.d.ts +1 -0
  165. package/dist/query/index.d.ts.map +1 -0
  166. package/dist/query/query.d.ts +21 -0
  167. package/dist/query/query.d.ts.map +1 -0
  168. package/dist/query/query.js +4 -0
  169. package/dist/query/service.d.ts +4 -1
  170. package/dist/query/service.d.ts.map +1 -0
  171. package/dist/query/types.d.ts +1 -0
  172. package/dist/query/types.d.ts.map +1 -0
  173. package/dist/routeregistry/index.d.ts +1 -0
  174. package/dist/routeregistry/index.d.ts.map +1 -0
  175. package/dist/routeregistry/registry.d.ts +19 -6
  176. package/dist/routeregistry/registry.d.ts.map +1 -0
  177. package/dist/routeregistry/types.d.ts +3 -2
  178. package/dist/routeregistry/types.d.ts.map +1 -0
  179. package/dist/task/index.d.ts +1 -0
  180. package/dist/task/index.d.ts.map +1 -0
  181. package/dist/task/repository.d.ts +34 -8
  182. package/dist/task/repository.d.ts.map +1 -0
  183. package/dist/task/repository.js +9 -5
  184. package/dist/task/types.d.ts +2 -1
  185. package/dist/task/types.d.ts.map +1 -0
  186. package/dist/testing/component-testing.d.ts +22 -9
  187. package/dist/testing/component-testing.d.ts.map +1 -0
  188. package/dist/testing/component-testing.js +31 -28
  189. package/dist/testing/component-testing.spec.d.ts +1 -0
  190. package/dist/testing/component-testing.spec.d.ts.map +1 -0
  191. package/dist/testing/index.d.ts +1 -0
  192. package/dist/testing/index.d.ts.map +1 -0
  193. package/dist/testing/limeobjects/company.d.ts +1 -0
  194. package/dist/testing/limeobjects/company.d.ts.map +1 -0
  195. package/dist/testing/limeobjects/coworker.d.ts +1 -0
  196. package/dist/testing/limeobjects/coworker.d.ts.map +1 -0
  197. package/dist/testing/limeobjects/deal.d.ts +1 -0
  198. package/dist/testing/limeobjects/deal.d.ts.map +1 -0
  199. package/dist/testing/limeobjects/document.d.ts +1 -0
  200. package/dist/testing/limeobjects/document.d.ts.map +1 -0
  201. package/dist/testing/limeobjects/index.d.ts +1 -0
  202. package/dist/testing/limeobjects/index.d.ts.map +1 -0
  203. package/dist/testing/limeobjects/person.d.ts +1 -0
  204. package/dist/testing/limeobjects/person.d.ts.map +1 -0
  205. package/dist/testing/limetypes/campaign.d.ts +1 -0
  206. package/dist/testing/limetypes/campaign.d.ts.map +1 -0
  207. package/dist/testing/limetypes/company.d.ts +1 -0
  208. package/dist/testing/limetypes/company.d.ts.map +1 -0
  209. package/dist/testing/limetypes/consent.d.ts +1 -0
  210. package/dist/testing/limetypes/consent.d.ts.map +1 -0
  211. package/dist/testing/limetypes/consenttype.d.ts +1 -0
  212. package/dist/testing/limetypes/consenttype.d.ts.map +1 -0
  213. package/dist/testing/limetypes/coworker.d.ts +1 -0
  214. package/dist/testing/limetypes/coworker.d.ts.map +1 -0
  215. package/dist/testing/limetypes/deal.d.ts +1 -0
  216. package/dist/testing/limetypes/deal.d.ts.map +1 -0
  217. package/dist/testing/limetypes/document.d.ts +1 -0
  218. package/dist/testing/limetypes/document.d.ts.map +1 -0
  219. package/dist/testing/limetypes/helpdesk.d.ts +1 -0
  220. package/dist/testing/limetypes/helpdesk.d.ts.map +1 -0
  221. package/dist/testing/limetypes/helpdesktype.d.ts +1 -0
  222. package/dist/testing/limetypes/helpdesktype.d.ts.map +1 -0
  223. package/dist/testing/limetypes/history.d.ts +1 -0
  224. package/dist/testing/limetypes/history.d.ts.map +1 -0
  225. package/dist/testing/limetypes/index.d.ts +1 -0
  226. package/dist/testing/limetypes/index.d.ts.map +1 -0
  227. package/dist/testing/limetypes/infotiles.d.ts +1 -0
  228. package/dist/testing/limetypes/infotiles.d.ts.map +1 -0
  229. package/dist/testing/limetypes/localize.d.ts +1 -0
  230. package/dist/testing/limetypes/localize.d.ts.map +1 -0
  231. package/dist/testing/limetypes/mailing.d.ts +1 -0
  232. package/dist/testing/limetypes/mailing.d.ts.map +1 -0
  233. package/dist/testing/limetypes/office.d.ts +1 -0
  234. package/dist/testing/limetypes/office.d.ts.map +1 -0
  235. package/dist/testing/limetypes/participant.d.ts +1 -0
  236. package/dist/testing/limetypes/participant.d.ts.map +1 -0
  237. package/dist/testing/limetypes/person.d.ts +1 -0
  238. package/dist/testing/limetypes/person.d.ts.map +1 -0
  239. package/dist/testing/limetypes/recipient.d.ts +1 -0
  240. package/dist/testing/limetypes/recipient.d.ts.map +1 -0
  241. package/dist/testing/limetypes/solutionimprovement.d.ts +1 -0
  242. package/dist/testing/limetypes/solutionimprovement.d.ts.map +1 -0
  243. package/dist/testing/limetypes/successplan.d.ts +1 -0
  244. package/dist/testing/limetypes/successplan.d.ts.map +1 -0
  245. package/dist/testing/limetypes/target.d.ts +1 -0
  246. package/dist/testing/limetypes/target.d.ts.map +1 -0
  247. package/dist/testing/limetypes/todo.d.ts +1 -0
  248. package/dist/testing/limetypes/todo.d.ts.map +1 -0
  249. package/dist/testing/platform/index.d.ts +2 -1
  250. package/dist/testing/platform/index.d.ts.map +1 -0
  251. package/dist/testing/platform/index.js +3 -3
  252. package/dist/testing/platform/platform.spec.d.ts +1 -0
  253. package/dist/testing/platform/platform.spec.d.ts.map +1 -0
  254. package/dist/translator/index.d.ts +1 -0
  255. package/dist/translator/index.d.ts.map +1 -0
  256. package/dist/translator/translator.d.ts +6 -3
  257. package/dist/translator/translator.d.ts.map +1 -0
  258. package/dist/translator/types.d.ts +1 -0
  259. package/dist/translator/types.d.ts.map +1 -0
  260. package/dist/userdata/decorator.d.ts +7 -2
  261. package/dist/userdata/decorator.d.ts.map +1 -0
  262. package/dist/userdata/decorator.js +4 -2
  263. package/dist/userdata/index.d.ts +1 -0
  264. package/dist/userdata/index.d.ts.map +1 -0
  265. package/dist/userdata/repository.d.ts +7 -5
  266. package/dist/userdata/repository.d.ts.map +1 -0
  267. package/dist/userdata/types.d.ts +1 -0
  268. package/dist/userdata/types.d.ts.map +1 -0
  269. package/package.json +18 -18
package/README.md CHANGED
@@ -8,9 +8,16 @@ To build the dist folder, run `npm run build`.
8
8
 
9
9
  Read the full documentation at [https://lundalogik.github.io/lime-web-components/](https://lundalogik.github.io/lime-web-components/)
10
10
 
11
+ ## API changes
12
+
13
+ If you do any changes to the public API, you need to run `npm run api:update` in
14
+ order to update the file `etc/lime-web-components.api.md` which describes the
15
+ public API. The file is generated so do not update it manually. If the file is
16
+ not updated, the GitHub build will fail when the API is verified.
17
+
11
18
  ## Deploy documentation
12
19
 
13
- Documentation is deployed to GitHub Pages when a new release is built by Jenkins. It can also be deployed manually from a Linux or macOS computer. *NB! Running the publish script locally will update your git config for the repository with the values of the GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME environment variables. If you set these to anything other than your own user, you may wish to update your config again after publishing. The script will also make changes to a few files, and will checkout these again at the end. Any uncommitted changes you've made to these files **will be lost**. The script also removes the local copy of the branch gh-pages.*
20
+ Documentation is deployed to GitHub Pages when a new release is built by GitHub Actions. It can also be deployed manually from a Linux or macOS computer. *NB! Running the publish script locally will update your git config for the repository with the values of the GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME environment variables. If you set these to anything other than your own user, you may wish to update your config again after publishing. The script will also make changes to a few files, and will checkout these again at the end. Any uncommitted changes you've made to these files **will be lost**. The script also removes the local copy of the branch gh-pages.*
14
21
 
15
22
  Follow these steps:
16
23
 
@@ -21,7 +28,7 @@ Follow these steps:
21
28
  - GH_USERNAME - the GitHub user to which the above access-token belongs
22
29
  2. Run `git fetch`.
23
30
  3. Run `git branch` and make sure you do *not* have a local copy of the branch `gh-pages`. If you do, push anything that should be pushed, and remove the local branch.
24
- 4. From the repo-root, run `npm run docz:publish -- --v=<version>`, where `<version>` is the version of lime-elements you are building the documentation for. **Any existing documentation for this version number will be overwritten.** If no version is supplied, the version will be set to `0.0.0-dev`. If `--dryRun=true` is supplied, the entire script will run, except the push to GitHub.
31
+ 4. From the repo-root, run `npm run docs:publish -- --v=<version>`, where `<version>` is the version of lime-elements you are building the documentation for. **Any existing documentation for this version number will be overwritten.** If no version is supplied, the version will be set to `0.0.0-dev`. If `--dryRun=true` is supplied, the entire script will run, except the push to GitHub.
25
32
 
26
33
  ## Get help
27
34
 
@@ -2,7 +2,10 @@ import { StateOptions } from '../../core';
2
2
  /**
3
3
  * Get the name of the application
4
4
  *
5
- * @param {StateOptions} [options] options for the state selector
6
- * @returns {Function} state decorator
5
+ * @param options - options for the state selector
6
+ * @returns state decorator
7
+ * @public
8
+ * @group Application
7
9
  */
8
10
  export declare function SelectApplicationName(options?: StateOptions): PropertyDecorator;
11
+ //# sourceMappingURL=application.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,YAAY,CAAC;AAGpB;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,OAAO,GAAE,YAAiB,GAC3B,iBAAiB,CAOnB"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../../core/decorators/factory';
3
3
  /**
4
4
  * Get the name of the application
5
5
  *
6
- * @param {StateOptions} [options] options for the state selector
7
- * @returns {Function} state decorator
6
+ * @param options - options for the state selector
7
+ * @returns state decorator
8
+ * @public
9
+ * @group Application
8
10
  */
9
11
  export function SelectApplicationName(options = {}) {
10
12
  const config = {
@@ -1,3 +1,4 @@
1
1
  export * from './application';
2
2
  export * from './user';
3
3
  export * from './session';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
@@ -2,7 +2,10 @@ import { StateOptions } from '../../core';
2
2
  /**
3
3
  * Get the application session
4
4
  *
5
- * @param {StateOptions} [options] state decorator options
6
- * @returns {Function} state decorator
5
+ * @param options - state decorator options
6
+ * @returns state decorator
7
+ * @public
8
+ * @group Application
7
9
  */
8
10
  export declare function SelectSession(options?: StateOptions): PropertyDecorator;
11
+ //# sourceMappingURL=session.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,YAAY,CAAC;AAGpB;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE,YAAiB,GAAG,iBAAiB,CAO3E"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../../core/decorators/factory';
3
3
  /**
4
4
  * Get the application session
5
5
  *
6
- * @param {StateOptions} [options] state decorator options
7
- * @returns {Function} state decorator
6
+ * @param options - state decorator options
7
+ * @returns state decorator
8
+ * @public
9
+ * @group Application
8
10
  */
9
11
  export function SelectSession(options = {}) {
10
12
  const config = {
@@ -2,7 +2,10 @@ import { StateOptions } from '../../core';
2
2
  /**
3
3
  * Get the currently logged in user
4
4
  *
5
- * @param {StateOptions} [options] state decorator options
6
- * @returns {Function} state decorator
5
+ * @param options - state decorator options
6
+ * @returns state decorator
7
+ * @public
8
+ * @group Application
7
9
  */
8
10
  export declare function SelectCurrentUser(options?: StateOptions): PropertyDecorator;
11
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,YAAY,CAAC;AAGpB;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC7B,OAAO,GAAE,YAAiB,GAC3B,iBAAiB,CAOnB"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../../core/decorators/factory';
3
3
  /**
4
4
  * Get the currently logged in user
5
5
  *
6
- * @param {StateOptions} [options] state decorator options
7
- * @returns {Function} state decorator
6
+ * @param options - state decorator options
7
+ * @returns state decorator
8
+ * @public
9
+ * @group Application
8
10
  */
9
11
  export function SelectCurrentUser(options = {}) {
10
12
  const config = {
@@ -2,3 +2,4 @@ export * from './types';
2
2
  export * from './decorators';
3
3
  export * from './session';
4
4
  export * from './user';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/application/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @public
3
+ * @group Application
4
+ */
1
5
  export interface Session {
2
6
  /**
3
7
  * Whether the session is active or not
@@ -65,3 +69,4 @@ export interface Session {
65
69
  */
66
70
  workstation: string;
67
71
  }
72
+ //# sourceMappingURL=session.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/application/session.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -12,3 +12,4 @@ declare module '../core/platform' {
12
12
  }
13
13
  }
14
14
  export {};
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/application/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,QAAA,MAAM,YAAY,sBAAsB,CAAC;AAIzC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,WAAW,EAAE,OAAO,YAAY,CAAC;KACpC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC;KACtE;CACJ"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @public
3
+ * @group Application
4
+ */
1
5
  export interface User {
2
6
  /**
3
7
  * The name of the user
@@ -32,6 +36,10 @@ export interface User {
32
36
  */
33
37
  coworker: UserCoworker;
34
38
  }
39
+ /**
40
+ * @public
41
+ * @group Application
42
+ */
35
43
  export interface UserGroup {
36
44
  /**
37
45
  * Name of the group
@@ -46,7 +54,11 @@ export interface UserGroup {
46
54
  */
47
55
  description: string;
48
56
  }
49
- interface UserCoworker {
57
+ /**
58
+ * @public
59
+ * @group Application
60
+ */
61
+ export interface UserCoworker {
50
62
  /**
51
63
  * Id of the coworker `LimeObject`
52
64
  */
@@ -56,4 +68,4 @@ interface UserCoworker {
56
68
  */
57
69
  limetype: string;
58
70
  }
59
- export {};
71
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/application/user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,IAAI;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,SAAS,EAAE,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB"}
@@ -1,100 +1,138 @@
1
+ /**
2
+ * @public
3
+ * @group Command bus
4
+ */
1
5
  export declare type CommandClass = new (...args: any[]) => any;
6
+ /**
7
+ * @public
8
+ * @group Command bus
9
+ */
2
10
  export declare type CommandIdentifier = CommandClass | string;
3
11
  /**
4
12
  * Service for registering and executing commands
13
+ * @public
14
+ * @group Command bus
5
15
  */
6
16
  export interface CommandBus extends CommandHandler {
7
17
  /**
8
18
  * Register a command to be executed by the given handler
9
19
  *
10
- * @param {CommandClass} commandClass type of command
11
- * @param {CommandHandler} handler the handler instance used to execute the command
20
+ * @param commandClass - type of command
21
+ * @param handler - the handler instance used to execute the command
12
22
  */
13
23
  register(commandClass: CommandClass, handler: CommandHandler): void;
14
24
  /**
15
25
  * Execute the given command with it's registered command handler
16
26
  *
17
- * @param {Object} command command to execute
27
+ * @param command - command to execute
18
28
  *
19
- * @returns {any} result from the command handler
29
+ * @returns result from the command handler
20
30
  */
21
31
  handle(command: object): any;
22
32
  /**
23
33
  * Check if a command is supported
24
34
  *
25
- * @param {CommandIdentifier} commandId identifier of the command. Can be either the class or the string the class was registered with
35
+ * @param commandId - identifier of the command. Can be either the class or the string the class was registered with
26
36
  *
27
- * @returns {boolean} true if the command is supported, false otherwise
37
+ * @returns true if the command is supported, false otherwise
28
38
  */
29
39
  isSupported(commandId: CommandIdentifier): boolean;
30
40
  /**
31
41
  * Get a handler associated with a command
32
42
  *
33
- * @param {CommandClass} commandClass The command class
43
+ * @param commandClass - The command class
34
44
  *
35
- * @returns {CommandHandler} the handler for the command class
45
+ * @returns the handler for the command class
36
46
  */
37
47
  getHandler(commandClass: CommandClass): CommandHandler;
38
48
  /**
39
49
  * Create a command instance from a {@link CommandConfig}
40
50
  *
41
- * @param {CommandConfig} config The command configuration
42
- * @throws {Error} Thrown if the command has not been registered yet
51
+ * @param config - The command configuration
52
+ * @throws Thrown if the command has not been registered yet
43
53
  */
44
54
  createCommand<T = any>(config: CommandConfig<T>): T;
45
55
  }
46
56
  /**
47
57
  * Service for executing commands
58
+ * @public
59
+ * @group Command bus
48
60
  */
49
61
  export interface CommandHandler {
50
62
  /**
51
63
  * Handle the execution of the given command
52
64
  *
53
- * @param {Object} command the command to handle
65
+ * @param command - the command to handle
54
66
  *
55
- * @returns {any} the result of the operation
67
+ * @returns the result of the operation
56
68
  */
57
69
  handle(command: object): any;
58
70
  }
71
+ /**
72
+ * @public
73
+ * @group Command bus
74
+ */
59
75
  export declare type CallableCommandMiddleware = (command: object) => any;
60
76
  /**
61
77
  * Middleware for the command bus
78
+ * @public
79
+ * @group Command bus
62
80
  */
63
81
  export interface CommandMiddleware {
64
82
  /**
65
83
  * Execute the middleware before passing the command further down the chain
66
84
  *
67
- * @param {Object} command the command that is being handled
68
- * @param {CallableCommandMiddleware} next the next middleware in the chain
85
+ * @param command - the command that is being handled
86
+ * @param next - the next middleware in the chain
69
87
  *
70
- * @returns {any} the result of the operation
88
+ * @returns the result of the operation
71
89
  */
72
90
  execute(command: object, next: CallableCommandMiddleware): any;
73
91
  }
74
92
  /**
75
93
  * Events dispatched by the commandbus event middleware
94
+ * @public
95
+ * @group Command bus
76
96
  */
77
97
  export declare enum CommandEventName {
78
98
  /**
79
99
  * Dispatched when the command has been received by the commandbus.
80
100
  * Calling `preventDefault()` on the event will stop the command from being handled
81
101
  *
82
- * @detail { command }
102
+ * @see {@link CommandEvent}
83
103
  */
84
104
  Received = "command.received",
85
105
  /**
86
106
  * Dispatched when the command has been handled by the commandbus
87
107
  *
88
- * @detail { command | result }
108
+ * @see {@link CommandEvent}
89
109
  */
90
110
  Handled = "command.handled",
91
111
  /**
92
112
  * Dispatched if an error occurs while handling the command
93
113
  *
94
- * @detail { command | error }
114
+ * @see {@link CommandEvent}
95
115
  */
96
116
  Failed = "command.failed"
97
117
  }
118
+ /**
119
+ * @public
120
+ * @group Command bus
121
+ */
122
+ export declare type CommandEventDetail = {
123
+ command: object;
124
+ result?: unknown;
125
+ error?: unknown;
126
+ };
127
+ /**
128
+ * @public
129
+ * @group Command bus
130
+ */
131
+ export declare type CommandEvent = CustomEvent<CommandEventDetail>;
132
+ /**
133
+ * @public
134
+ * @group Command bus
135
+ */
98
136
  export interface CommandOptions {
99
137
  /**
100
138
  * Id of the command
@@ -103,6 +141,7 @@ export interface CommandOptions {
103
141
  }
104
142
  /**
105
143
  * Config for describing a command
144
+ * @public
106
145
  */
107
146
  export interface CommandConfig<T = any> {
108
147
  /**
@@ -120,16 +159,21 @@ export interface CommandConfig<T = any> {
120
159
  /**
121
160
  * Register a class as a command
122
161
  *
123
- * @param {CommandOptions} options a CommandOptions object containing the id of the command
162
+ * @param options - a CommandOptions object containing the id of the command
124
163
  *
125
- * @returns {Function} callback which accepts a `CommandClass` and sets the command id
164
+ * @returns callback which accepts a `CommandClass` and sets the command id
165
+ * @public
166
+ * @group Command bus
126
167
  */
127
168
  export declare function Command(options: CommandOptions): (commandClass: CommandClass) => void;
128
169
  /**
129
170
  * Get the registered id of the command
130
171
  *
131
- * @param {Object | CommandIdentifier} value either a command or a command identifier
172
+ * @param value - either a command or a command identifier
132
173
  *
133
- * @returns {string} id of the command
174
+ * @returns id of the command
175
+ * @public
176
+ * @group Command bus
134
177
  */
135
178
  export declare function getCommandId(value: object | CommandIdentifier): string;
179
+ //# sourceMappingURL=commandbus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commandbus.d.ts","sourceRoot":"","sources":["../../src/commandbus/commandbus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,YAAY,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AAEvD;;;GAGG;AACH,oBAAY,iBAAiB,GAAG,YAAY,GAAG,MAAM,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;IAC9C;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAEpE;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC;IAE7B;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC;IAEnD;;;;;;OAMG;IACH,UAAU,CAAC,YAAY,EAAE,YAAY,GAAG,cAAc,CAAC;IAEvD;;;;;OAKG;IACH,aAAa,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC;CAChC;AAED;;;GAGG;AACH,oBAAY,yBAAyB,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,GAAG,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,GAAG,GAAG,CAAC;CAClE;AAED;;;;GAIG;AACH,oBAAY,gBAAgB;IACxB;;;;;OAKG;IACH,QAAQ,qBAAqB;IAE7B;;;;OAIG;IACH,OAAO,oBAAoB;IAE3B;;;;OAIG;IACH,MAAM,mBAAmB;CAC5B;AAED;;;GAGG;AACH,oBAAY,kBAAkB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,oBAAY,YAAY,GAAG,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,GAAG;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;CAC9C;AAED;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,cAAc,kBACrB,YAAY,UAGrC;AAOD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,GAAG,MAAM,CAgBtE"}
@@ -1,35 +1,38 @@
1
1
  /**
2
2
  * Events dispatched by the commandbus event middleware
3
+ * @public
4
+ * @group Command bus
3
5
  */
4
- // eslint-disable-next-line no-shadow
5
6
  export var CommandEventName;
6
7
  (function (CommandEventName) {
7
8
  /**
8
9
  * Dispatched when the command has been received by the commandbus.
9
10
  * Calling `preventDefault()` on the event will stop the command from being handled
10
11
  *
11
- * @detail { command }
12
+ * @see {@link CommandEvent}
12
13
  */
13
14
  CommandEventName["Received"] = "command.received";
14
15
  /**
15
16
  * Dispatched when the command has been handled by the commandbus
16
17
  *
17
- * @detail { command | result }
18
+ * @see {@link CommandEvent}
18
19
  */
19
20
  CommandEventName["Handled"] = "command.handled";
20
21
  /**
21
22
  * Dispatched if an error occurs while handling the command
22
23
  *
23
- * @detail { command | error }
24
+ * @see {@link CommandEvent}
24
25
  */
25
26
  CommandEventName["Failed"] = "command.failed";
26
27
  })(CommandEventName || (CommandEventName = {}));
27
28
  /**
28
29
  * Register a class as a command
29
30
  *
30
- * @param {CommandOptions} options a CommandOptions object containing the id of the command
31
+ * @param options - a CommandOptions object containing the id of the command
31
32
  *
32
- * @returns {Function} callback which accepts a `CommandClass` and sets the command id
33
+ * @returns callback which accepts a `CommandClass` and sets the command id
34
+ * @public
35
+ * @group Command bus
33
36
  */
34
37
  export function Command(options) {
35
38
  return (commandClass) => {
@@ -43,9 +46,11 @@ function setCommandId(commandClass, id) {
43
46
  /**
44
47
  * Get the registered id of the command
45
48
  *
46
- * @param {Object | CommandIdentifier} value either a command or a command identifier
49
+ * @param value - either a command or a command identifier
47
50
  *
48
- * @returns {string} id of the command
51
+ * @returns id of the command
52
+ * @public
53
+ * @group Command bus
49
54
  */
50
55
  export function getCommandId(value) {
51
56
  if (typeof value === 'string') {
@@ -1,2 +1,3 @@
1
1
  export * from './commandbus';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commandbus/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "commandBus";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service CommandBus}
6
+ * @see {@link Service | CommandBus}
7
7
  */
8
8
  CommandBus: typeof SERVICE_NAME;
9
9
  }
@@ -12,3 +12,4 @@ declare module '../core/platform' {
12
12
  }
13
13
  }
14
14
  export {};
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/commandbus/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAGrD,QAAA,MAAM,YAAY,eAAe,CAAC;AAIlC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,UAAU,EAAE,OAAO,YAAY,CAAC;KACnC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC;KAC7D;CACJ"}
@@ -1,6 +1,8 @@
1
1
  import { StateOptions } from '../core';
2
2
  /**
3
3
  * Config for the {@link SelectConfig} state decorator
4
+ * @public
5
+ * @group Config
4
6
  */
5
7
  export interface SelectConfigOptions extends StateOptions {
6
8
  name?: string;
@@ -8,7 +10,10 @@ export interface SelectConfigOptions extends StateOptions {
8
10
  /**
9
11
  * Gets an object with all configs where key is used as key.
10
12
  *
11
- * @param {SelectConfigOptions} options state decorator options
12
- * @returns {Function} state decorator
13
+ * @param options - state decorator options
14
+ * @returns state decorator
15
+ * @public
16
+ * @group Config
13
17
  */
14
18
  export declare function SelectConfig(options: SelectConfigOptions): PropertyDecorator;
19
+ //# sourceMappingURL=decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/config/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAM5E"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../core/decorators/factory';
3
3
  /**
4
4
  * Gets an object with all configs where key is used as key.
5
5
  *
6
- * @param {SelectConfigOptions} options state decorator options
7
- * @returns {Function} state decorator
6
+ * @param options - state decorator options
7
+ * @returns state decorator
8
+ * @public
9
+ * @group Config
8
10
  */
9
11
  export function SelectConfig(options) {
10
12
  const config = {
@@ -1,3 +1,4 @@
1
1
  export * from './repository';
2
2
  export * from './types';
3
3
  export * from './decorator';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -1,17 +1,22 @@
1
1
  import { StateRepository } from '../core/state';
2
+ /**
3
+ * @public
4
+ * @group Config
5
+ */
2
6
  export interface ConfigRepository extends StateRepository {
3
7
  /**
4
8
  * Check if a config exists
5
9
  *
6
- * @param key name of the key containing the config
10
+ * @param key - name of the key containing the config
7
11
  * @returns true if config exists
8
12
  */
9
13
  has(key: string): boolean;
10
14
  /**
11
15
  * Get config from the state
12
16
  *
13
- * @param key name of the key containing the config
17
+ * @param key - name of the key containing the config
14
18
  * @returns the config
15
19
  */
16
20
  get<T = any>(key: string): T;
17
21
  }
22
+ //# sourceMappingURL=repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/config/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACrD;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;CAChC"}
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "state.configs";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service ConfigRepository}
6
+ * @see {@link Service | ConfigRepository}
7
7
  */
8
8
  ConfigRepository: typeof SERVICE_NAME;
9
9
  }
@@ -12,3 +12,4 @@ declare module '../core/platform' {
12
12
  }
13
13
  }
14
14
  export {};
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAG3D,QAAA,MAAM,YAAY,kBAAkB,CAAC;AAIrC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,gBAAgB,EAAE,OAAO,YAAY,CAAC;KACzC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC;KACnE;CACJ"}
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * Interface for the context in which the Lime Web Component appears
3
+ * @public
4
+ * @group Core
3
5
  */
4
6
  export interface LimeWebComponentContext {
5
7
  /**
@@ -15,3 +17,4 @@ export interface LimeWebComponentContext {
15
17
  */
16
18
  parent?: LimeWebComponentContext;
17
19
  }
20
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/core/context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,CAAC;CACpC"}
@@ -1,5 +1,9 @@
1
1
  import { LimeWebComponent, StateOptions } from '..';
2
2
  declare type OptionFactory = (options: StateOptions, component: LimeWebComponent) => StateOptions;
3
+ /**
4
+ * @group Core
5
+ * @internal
6
+ */
3
7
  export interface StateDecoratorConfig {
4
8
  /**
5
9
  * Name of the state service to use in the platform
@@ -12,18 +16,20 @@ export interface StateDecoratorConfig {
12
16
  /**
13
17
  * Factory for creating options dynamically
14
18
  *
15
- * @param {StateOptions} options decorator options
16
- * @param {LimeWebComponent} component the web component
17
- * @returns {StateOptions} state options
19
+ * @param options - decorator options
20
+ * @param component - the web component
21
+ * @returns state options
18
22
  */
19
23
  optionFactory?: OptionFactory;
20
24
  }
21
25
  /**
22
26
  * Create a new state decorator
23
27
  *
24
- * @param {StateOptions} options decorator options
25
- * @param {StateDecoratorConfig} config decorator configuration
26
- * @returns {Function} state decorator
28
+ * @param options - decorator options
29
+ * @param config - decorator configuration
30
+ * @returns state decorator
31
+ * @public
27
32
  */
28
33
  export declare function createStateDecorator(options: StateOptions, config: StateDecoratorConfig): PropertyDecorator;
29
34
  export {};
35
+ //# sourceMappingURL=factory.d.ts.map