@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
@@ -1,45 +1,53 @@
1
1
  import { Expression } from '../query';
2
2
  import { StateRepository } from '../core';
3
+ /**
4
+ * @public
5
+ * @group Lime objects
6
+ */
3
7
  export interface LimeObjectRepository extends StateRepository {
4
8
  /**
5
9
  * Load the specified limeobject into the state
6
10
  *
7
- * @param {string} limetype
8
- * @param {number} id
11
+ * @param limetype -
12
+ * @param id -
9
13
  */
10
14
  loadObject(limetype: string, id: number): void;
11
15
  /**
12
16
  * Load objects of the specified limetype into the state
13
17
  *
14
- * @param {string} limetype name of the limetype
15
- * @param {LoadOptions} options options about the objects to load
16
- * @returns {ObjectResponse} list of objects together with total count of objects
18
+ * @param limetype - name of the limetype
19
+ * @param options - options about the objects to load
20
+ * @returns list of objects together with total count of objects
17
21
  */
18
22
  loadObjects(limetype: string, options?: LoadOptions): Promise<ObjectResponse>;
19
23
  /**
20
24
  * Load related objects into the state
21
25
  *
22
- * @param {string} limetype name of the limetype of the owning limeobject
23
- * @param {number} id the id of the owning limeobject
24
- * @param {string} property name of the property that contain the relations
25
- * @param {LoadOptions} options options about the objects to load
26
- * @returns {ObjectResponse} list of related objects together with total count of objects
26
+ * @param limetype - name of the limetype of the owning limeobject
27
+ * @param id - the id of the owning limeobject
28
+ * @param property - name of the property that contain the relations
29
+ * @param options - options about the objects to load
30
+ * @returns list of related objects together with total count of objects
27
31
  */
28
32
  loadRelations(limetype: string, id: number, property: string, options?: LoadOptions): Promise<ObjectResponse>;
29
33
  /**
30
34
  * Loads a schema for the limetype.
31
35
  *
32
- * @param {string} limetype name of the limetype of the owning limeobject
36
+ * @param limetype - name of the limetype of the owning limeobject
33
37
  */
34
38
  loadSchema(limetype: string): Promise<object>;
35
39
  /**
36
40
  * Delete the specified limeobject
37
41
  *
38
- * @param {string} limetype name of the limetype of the limeobject
39
- * @param {number} id the id of the limeobject
42
+ * @param limetype - name of the limetype of the limeobject
43
+ * @param id - the id of the limeobject
40
44
  */
41
45
  deleteObject(limetype: string, id: number): Promise<void>;
42
46
  }
47
+ /**
48
+ * @public
49
+ * @group Lime objects
50
+ */
43
51
  export interface LoadOptions {
44
52
  /**
45
53
  * Maximum number of objects to load
@@ -58,6 +66,10 @@ export interface LoadOptions {
58
66
  */
59
67
  order?: PropertyOrder[];
60
68
  }
69
+ /**
70
+ * @public
71
+ * @group Lime objects
72
+ */
61
73
  export interface PropertyOrder {
62
74
  /**
63
75
  * Name of the property to sort on
@@ -68,6 +80,10 @@ export interface PropertyOrder {
68
80
  */
69
81
  direction: 'ASC' | 'DESC';
70
82
  }
83
+ /**
84
+ * @public
85
+ * @group Lime objects
86
+ */
71
87
  export interface ObjectResponse {
72
88
  /**
73
89
  * The objects that matched the query
@@ -86,15 +102,24 @@ export interface ObjectResponse {
86
102
  */
87
103
  aggregates?: AggregationGroups;
88
104
  }
105
+ /**
106
+ * @public
107
+ * @group Lime objects
108
+ */
89
109
  export interface AggregationGroups {
90
110
  /**
91
111
  * Name of the aggregation group along with a list of aggregations
92
112
  */
93
113
  [name: string]: ObjectAggregation[];
94
114
  }
115
+ /**
116
+ * @public
117
+ * @group Lime objects
118
+ */
95
119
  export interface ObjectAggregation {
96
120
  /**
97
121
  * Name of the property being aggregated along with its aggregated value
98
122
  */
99
123
  [property: string]: number | string;
100
124
  }
125
+ //# sourceMappingURL=repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/limeobject/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD;;;;;OAKG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/C;;;;;;OAMG;IACH,WAAW,CACP,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;;;;;OAQG;IACH,aAAa,CACT,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;OAIG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACvC"}
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "state.limeobjects";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service LimeObjectRepository}
6
+ * @see {@link Service | LimeObjectRepository}
7
7
  */
8
8
  LimeObjectRepository: 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/limeobject/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAG/D,QAAA,MAAM,YAAY,sBAAsB,CAAC;AAIzC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,oBAAoB,EAAE,OAAO,YAAY,CAAC;KAC7C;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC;KACvE;CACJ"}
@@ -1,6 +1,11 @@
1
+ /**
2
+ * @public
3
+ * @group Lime types
4
+ */
1
5
  export interface Acl {
2
6
  delete: boolean;
3
7
  read: boolean;
4
8
  update: boolean;
5
9
  create: boolean;
6
10
  }
11
+ //# sourceMappingURL=acl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../src/limetype/acl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB"}
@@ -1,6 +1,8 @@
1
1
  import { StateOptions, ContextAwareStateOptions } from '../core';
2
2
  /**
3
3
  * Config for the {@link SelectLimeTypes} state decorator
4
+ * @public
5
+ * @group Lime types
4
6
  */
5
7
  export interface SelectLimeTypesOptions extends StateOptions {
6
8
  name?: string;
@@ -8,14 +10,19 @@ export interface SelectLimeTypesOptions extends StateOptions {
8
10
  /**
9
11
  * Gets an object with all limetypes where name is used as key
10
12
  *
11
- * @param {SelectLimeTypesOptions} [options] state decorator options
12
- * @returns {Function} state decorator
13
+ * @param options - state decorator options
14
+ * @returns state decorator
15
+ * @public
16
+ * @group Lime types
13
17
  */
14
18
  export declare function SelectLimeTypes(options?: SelectLimeTypesOptions): PropertyDecorator;
15
19
  /**
16
20
  * Get the limetype for the current context
17
21
  *
18
- * @param {StateOptions} [options] state decorator options
19
- * @returns {Function} state decorator
22
+ * @param options - state decorator options
23
+ * @returns state decorator
24
+ * @public
25
+ * @group Lime types
20
26
  */
21
27
  export declare function SelectCurrentLimeType(options?: ContextAwareStateOptions): PropertyDecorator;
28
+ //# sourceMappingURL=decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/limetype/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEZ,wBAAwB,EAC3B,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC3B,OAAO,GAAE,sBAA2B,GACrC,iBAAiB,CAMnB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,OAAO,GAAE,wBAA6B,GACvC,iBAAiB,CAQnB"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../core/decorators/factory';
3
3
  /**
4
4
  * Gets an object with all limetypes where name is used as key
5
5
  *
6
- * @param {SelectLimeTypesOptions} [options] state decorator options
7
- * @returns {Function} state decorator
6
+ * @param options - state decorator options
7
+ * @returns state decorator
8
+ * @public
9
+ * @group Lime types
8
10
  */
9
11
  export function SelectLimeTypes(options = {}) {
10
12
  const config = {
@@ -15,8 +17,10 @@ export function SelectLimeTypes(options = {}) {
15
17
  /**
16
18
  * Get the limetype for the current context
17
19
  *
18
- * @param {StateOptions} [options] state decorator options
19
- * @returns {Function} state decorator
20
+ * @param options - state decorator options
21
+ * @returns state decorator
22
+ * @public
23
+ * @group Lime types
20
24
  */
21
25
  export function SelectCurrentLimeType(options = {}) {
22
26
  const config = {
@@ -3,3 +3,4 @@ export * from './limetype';
3
3
  export * from './property';
4
4
  export * from './types';
5
5
  export * from './decorator';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/limetype/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -1,5 +1,9 @@
1
1
  import { Acl } from './acl';
2
2
  import { LimeProperty } from './property';
3
+ /**
4
+ * @public
5
+ * @group Lime types
6
+ */
3
7
  export interface LimeType {
4
8
  name: string;
5
9
  label: string;
@@ -12,14 +16,17 @@ export interface LimeType {
12
16
  /**
13
17
  * Get a property by name
14
18
  *
15
- * @param {string} name name of property to get. Allows a path to be
19
+ * @param name - name of property to get. Allows a path to be
16
20
  * specified using dot notation to get properties of relations
17
21
  *
18
22
  * @throws Will throw an error containing the name of the missing property
19
- * @returns {LimeProperty} the property specified by the name argument
23
+ * @returns the property specified by the name argument
20
24
  *
21
25
  * @example
26
+ * ```
22
27
  * const phoneProperty = dealLimetype.getProperty('company.phone')
28
+ * ```
23
29
  */
24
30
  getProperty(name: string): LimeProperty;
25
31
  }
32
+ //# sourceMappingURL=limetype.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limetype.d.ts","sourceRoot":"","sources":["../../src/limetype/limetype.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAEzC;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;CAC3C"}
@@ -1,5 +1,9 @@
1
1
  import { Acl } from './acl';
2
2
  import { LimeType } from './limetype';
3
+ /**
4
+ * @public
5
+ * @group Lime types
6
+ */
3
7
  export interface LimeProperty {
4
8
  acl: Acl;
5
9
  defaultvalue: any;
@@ -17,6 +21,10 @@ export interface LimeProperty {
17
21
  getBackreference: () => LimeProperty;
18
22
  };
19
23
  }
24
+ /**
25
+ * @public
26
+ * @group Lime types
27
+ */
20
28
  export interface Option {
21
29
  key: string;
22
30
  inactive: boolean;
@@ -24,9 +32,34 @@ export interface Option {
24
32
  order?: number;
25
33
  id?: number;
26
34
  }
35
+ /**
36
+ * @public
37
+ * @group Lime types
38
+ */
27
39
  export declare type PropertyType = 'string' | 'text' | 'phone' | 'integer' | 'decimal' | 'percent' | 'time' | 'timeofday' | 'date' | 'year' | 'quarter' | 'month' | 'yesno' | 'link' | 'user' | 'xml' | 'option' | 'set' | 'file' | 'hasone' | 'hasmany' | 'belongsto' | 'hasandbelongstomany' | 'system';
40
+ /**
41
+ * @public
42
+ * @group Lime types
43
+ */
28
44
  export declare function isRelation(property: LimeProperty): boolean;
45
+ /**
46
+ * @public
47
+ * @group Lime types
48
+ */
29
49
  export declare function isSingleRelation(property: LimeProperty): boolean;
50
+ /**
51
+ * @public
52
+ * @group Lime types
53
+ */
30
54
  export declare function isDate(property: LimeProperty): boolean;
55
+ /**
56
+ * @public
57
+ * @group Lime types
58
+ */
31
59
  export declare function isString(property: LimeProperty): boolean;
60
+ /**
61
+ * @public
62
+ * @group Lime types
63
+ */
32
64
  export declare function isFloat(property: LimeProperty): boolean;
65
+ //# sourceMappingURL=property.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../src/limetype/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE;QACP,WAAW,EAAE,MAAM,QAAQ,CAAC;QAC5B,gBAAgB,EAAE,MAAM,YAAY,CAAC;KACxC,CAAC;CACL;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,oBAAY,YAAY,GAClB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,QAAQ,GACR,KAAK,GACL,MAAM,GACN,QAAQ,GACR,SAAS,GACT,WAAW,GACX,qBAAqB,GACrB,QAAQ,CAAC;AAEf;;;GAGG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,WAShD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,YAAY,WAItD;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,YAAY,WAW5C;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,YAAY,WAI9C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,YAAY,WAI7C"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @public
3
+ * @group Lime types
4
+ */
1
5
  export function isRelation(property) {
2
6
  const propTypes = [
3
7
  'belongsto',
@@ -7,10 +11,18 @@ export function isRelation(property) {
7
11
  ];
8
12
  return property && propTypes.includes(property.type);
9
13
  }
14
+ /**
15
+ * @public
16
+ * @group Lime types
17
+ */
10
18
  export function isSingleRelation(property) {
11
19
  const propTypes = ['belongsto', 'hasone'];
12
20
  return property && propTypes.includes(property.type);
13
21
  }
22
+ /**
23
+ * @public
24
+ * @group Lime types
25
+ */
14
26
  export function isDate(property) {
15
27
  const propTypes = [
16
28
  'time',
@@ -22,10 +34,18 @@ export function isDate(property) {
22
34
  ];
23
35
  return property && propTypes.includes(property.type);
24
36
  }
37
+ /**
38
+ * @public
39
+ * @group Lime types
40
+ */
25
41
  export function isString(property) {
26
42
  const propTypes = ['string', 'text', 'phone', 'link'];
27
43
  return property && propTypes.includes(property.type);
28
44
  }
45
+ /**
46
+ * @public
47
+ * @group Lime types
48
+ */
29
49
  export function isFloat(property) {
30
50
  const propTypes = ['decimal', 'percent'];
31
51
  return property && propTypes.includes(property.type);
@@ -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/limetype/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,QAAA,MAAM,YAAY,oBAAoB,CAAC;AAIvC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,kBAAkB,EAAE,OAAO,YAAY,CAAC;KAC3C;IAED,UAAU,wBAAwB;QAC9B,GAAG,CACC,IAAI,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,GACpD,eAAe,CAAC;KACtB;CACJ"}
@@ -3,22 +3,13 @@ import { Location } from './navigator';
3
3
  * Navigates to a new location
4
4
  *
5
5
  * @id `navigator.navigate`
6
+ * @beta
7
+ * @group Navigation
6
8
  */
7
9
  export declare class NavigateCommand implements Partial<Location> {
8
- /**
9
- * @inheritdoc
10
- */
11
10
  path?: string;
12
- /**
13
- * @inheritdoc
14
- */
15
11
  query?: Record<string, unknown>;
16
- /**
17
- * @inheritdoc
18
- */
19
12
  hash?: string;
20
- /**
21
- * @inheritdoc
22
- */
23
13
  state?: unknown;
24
14
  }
15
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/navigator/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;GAMG;AACH,qBAGa,eAAgB,YAAW,OAAO,CAAC,QAAQ,CAAC;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEhC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B"}
@@ -4,6 +4,8 @@ import { Command } from '../commandbus';
4
4
  * Navigates to a new location
5
5
  *
6
6
  * @id `navigator.navigate`
7
+ * @beta
8
+ * @group Navigation
7
9
  */
8
10
  let NavigateCommand = class NavigateCommand {
9
11
  };
@@ -1,6 +1,8 @@
1
1
  import { ContextAwareStateOptions } from '../core';
2
2
  /**
3
3
  * Config for the {@link SelectQueryParam} decorator
4
+ * @beta
5
+ * @group Navigation
4
6
  */
5
7
  export interface SelectQueryParamOptions extends ContextAwareStateOptions {
6
8
  /**
@@ -11,8 +13,10 @@ export interface SelectQueryParamOptions extends ContextAwareStateOptions {
11
13
  /**
12
14
  * Gets a named query param from the location
13
15
  *
14
- * @experimental
15
- * @param {StateOptions} options state decorator options
16
- * @returns {PropertyDecorator} state decorator
16
+ * @param options - state decorator options
17
+ * @returns state decorator
18
+ * @beta
19
+ * @group Navigation
17
20
  */
18
21
  export declare function SelectQueryParam(options: SelectQueryParamOptions): PropertyDecorator;
22
+ //# sourceMappingURL=decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/navigator/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAuB,MAAM,SAAS,CAAC;AAMxE;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACrE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,uBAAuB,GACjC,iBAAiB,CAMnB"}
@@ -3,9 +3,10 @@ import { createStateDecorator, } from '../core/decorators/factory';
3
3
  /**
4
4
  * Gets a named query param from the location
5
5
  *
6
- * @experimental
7
- * @param {StateOptions} options state decorator options
8
- * @returns {PropertyDecorator} state decorator
6
+ * @param options - state decorator options
7
+ * @returns state decorator
8
+ * @beta
9
+ * @group Navigation
9
10
  */
10
11
  export function SelectQueryParam(options) {
11
12
  const config = {
@@ -2,3 +2,4 @@ export * from './navigator';
2
2
  export * from './types';
3
3
  export * from './decorator';
4
4
  export * from './command';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigator/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * New locations can be registered using the {@link RouteRegistry} service
11
11
  *
12
12
  * @example
13
+ * ```
13
14
  * // Listen on navigation events
14
15
  * eventDispatcher.addListener('navigate', onNavigate);
15
16
  * navigator.navigate('/object/deal/1001');
@@ -17,8 +18,10 @@
17
18
  * function onNavigate(event: NavigationEvent) {
18
19
  * console.log(event.detail);
19
20
  * }
21
+ * ```
20
22
  *
21
- * @experimental
23
+ * @beta
24
+ * @group Navigation
22
25
  */
23
26
  export interface Navigator {
24
27
  /**
@@ -27,8 +30,8 @@ export interface Navigator {
27
30
  * @emits navigate - When the location has been changed the
28
31
  * {@link EventDispatcher} will emit a {@link NavigationEvent}
29
32
  *
30
- * @param {string} path path to the location
31
- * @param query query string parameters to append to the URL
33
+ * @param path - path to the location
34
+ * @param query - query string parameters to append to the URL
32
35
  */
33
36
  navigate(path: string, query?: Location['query']): void;
34
37
  /**
@@ -45,15 +48,15 @@ export interface Navigator {
45
48
  * When replacing, state will only be changed if a new value is provided.
46
49
  *
47
50
  * @emits navigate - When the location has been changed the
48
- * {@link EventDispatcherService} will emit a {@link NavigationEvent}
51
+ * {@link EventDispatcher} will emit a {@link NavigationEvent}
49
52
  *
50
- * @param location a new location or parts of the location to replace
53
+ * @param location - a new location or parts of the location to replace
51
54
  */
52
55
  navigate(location: LocationChange): void;
53
56
  /**
54
57
  * Get the current location
55
58
  *
56
- * @return {Location}
59
+ * @returns
57
60
  */
58
61
  getLocation(): Location;
59
62
  /**
@@ -71,6 +74,7 @@ export interface Navigator {
71
74
  * of them returns true.
72
75
  *
73
76
  * @example
77
+ * ```
74
78
  * navigator.addBlocker(myBlocker);
75
79
  *
76
80
  * function myBlocker(transition) {
@@ -82,26 +86,31 @@ export interface Navigator {
82
86
  * });
83
87
  * return true;
84
88
  * }
89
+ * ```
85
90
  *
86
- * @param {Blocker} blocker function to be called before navigation
91
+ * @param blocker - function to be called before navigation
87
92
  */
88
93
  addBlocker(blocker: Blocker): void;
89
94
  /**
90
95
  * Removes a previously configured blocker.
91
96
  *
92
- * @param {Blocker} blocker previously added blocker function
97
+ * @param blocker - previously added blocker function
93
98
  */
94
99
  removeBlocker(blocker: Blocker): void;
95
100
  /**
96
101
  * Create a URL for the given location
97
102
  *
98
- * @param {Partial<Location>} location the location to create a URL for.
103
+ * @param location - the location to create a URL for.
99
104
  * Any `state` of the location will be ignored.
100
105
  *
101
- * @return {URL} the URL to the location
106
+ * @returns the URL to the location
102
107
  */
103
108
  createUrl(location: Partial<Location>): URL;
104
109
  }
110
+ /**
111
+ * @beta
112
+ * @group Navigation
113
+ */
105
114
  export declare type Location = {
106
115
  /**
107
116
  * The path to the location
@@ -120,6 +129,10 @@ export declare type Location = {
120
129
  */
121
130
  state: unknown;
122
131
  };
132
+ /**
133
+ * @beta
134
+ * @group Navigation
135
+ */
123
136
  export declare type LocationChange = Partial<Location> & {
124
137
  /**
125
138
  * Specifies whether to push a new entry or replace the current entry in
@@ -130,29 +143,44 @@ export declare type LocationChange = Partial<Location> & {
130
143
  /**
131
144
  * @event navigate - Emitted when a new location is navigated to or the current
132
145
  * location is updated
146
+ * @beta
147
+ * @group Navigation
133
148
  */
134
149
  export declare type NavigationEvent = CustomEvent<Location>;
135
150
  /**
136
151
  * Function to retry navigation
152
+ * @beta
153
+ * @group Navigation
137
154
  */
138
155
  export declare type Retry = () => void;
139
156
  /**
140
157
  * {@link Transition} describes the transition when navigating from a
141
158
  * {@link Location} to another {@link Location}.
142
159
  *
143
- * @param {Location} to location to navigate to
144
- * @param {Location} from current location before navigation
145
- * @param {Retry} retry function to retry navigation
160
+ * @beta
161
+ * @group Navigation
146
162
  */
147
163
  export declare type Transition = {
164
+ /**
165
+ * Location to navigate to
166
+ */
148
167
  to: Location;
168
+ /**
169
+ * Current location before navigation
170
+ */
149
171
  from: Location;
172
+ /**
173
+ * Function to retry navigation
174
+ */
150
175
  retry: Retry;
151
176
  };
152
177
  /**
153
178
  * Function to determine if navigation should be blocked or not.
154
179
  *
155
- * @param {Transition} transition the transition to evaluate
180
+ * @param transition - the transition to evaluate
156
181
  * @returns true if navigation should be blocked
182
+ * @beta
183
+ * @group Navigation
157
184
  */
158
185
  export declare type Blocker = (transition: Transition) => boolean;
186
+ //# sourceMappingURL=navigator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigator.d.ts","sourceRoot":"","sources":["../../src/navigator/navigator.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,SAAS;IACtB;;;;;;;;OAQG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAExD;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAEzC;;;;OAIG;IACH,WAAW,IAAI,QAAQ,CAAC;IAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEnC;;;;OAIG;IACH,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEtC;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;CAC/C;AAED;;;GAGG;AACH,oBAAY,QAAQ,GAAG;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,oBAAY,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG;IAC7C;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF;;;;;GAKG;AACH,oBAAY,eAAe,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;AAEpD;;;;GAIG;AACH,oBAAY,KAAK,GAAG,MAAM,IAAI,CAAC;AAE/B;;;;;;GAMG;AACH,oBAAY,UAAU,GAAG;IACrB;;OAEG;IACH,EAAE,EAAE,QAAQ,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;CAChB,CAAC;AAEF;;;;;;;GAOG;AACH,oBAAY,OAAO,GAAG,CAAC,UAAU,EAAE,UAAU,KAAK,OAAO,CAAC"}
@@ -3,10 +3,10 @@ declare const SERVICE_NAME = "navigator";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service Navigator}
6
+ * @see {@link Service | Navigator}
7
7
  *
8
8
  * @note Work in progress, do not use!
9
- * @private
9
+ * @beta
10
10
  */
11
11
  Navigator: typeof SERVICE_NAME;
12
12
  }
@@ -15,3 +15,4 @@ declare module '../core/platform' {
15
15
  }
16
16
  }
17
17
  export {};
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/navigator/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,YAAY,cAAc,CAAC;AAIjC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;;;;WAKG;QACH,SAAS,EAAE,OAAO,YAAY,CAAC;KAClC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;KAC5D;CACJ"}
@@ -1,2 +1,3 @@
1
1
  export * from './notifications';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/notifications/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}