@limetech/lime-web-components 5.0.1 → 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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/core/decorators/factory.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAGhB,YAAY,EACf,MAAM,IAAI,CAAC;AAIZ,aAAK,aAAa,GAAG,CACjB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,gBAAgB,KAC1B,YAAY,CAAC;AAElB;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAwBD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAChC,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,oBAAoB,GAC7B,iBAAiB,CAanB"}
@@ -6,9 +6,10 @@ function defaultOptionFactory(options) {
6
6
  /**
7
7
  * Create a new state decorator
8
8
  *
9
- * @param {StateOptions} options decorator options
10
- * @param {StateDecoratorConfig} config decorator configuration
11
- * @returns {Function} state decorator
9
+ * @param options - decorator options
10
+ * @param config - decorator configuration
11
+ * @returns state decorator
12
+ * @public
12
13
  */
13
14
  export function createStateDecorator(options, config) {
14
15
  return (target, property) => {
@@ -24,11 +25,11 @@ const connectedComponents = new WeakMap();
24
25
  /**
25
26
  * Get properties data for a component
26
27
  *
27
- * @param {Component} component the component class containing the decorator
28
- * @param {string} property name of the property
29
- * @param {StateOptions} options decorator options
30
- * @param {StateDecoratorConfig} config decorator configuration
31
- * @returns {Property[]} properties data for the component
28
+ * @param component - the component class containing the decorator
29
+ * @param property - name of the property
30
+ * @param options - decorator options
31
+ * @param config - decorator configuration
32
+ * @returns properties data for the component
32
33
  */
33
34
  function getComponentProperties(component, property, options, config) {
34
35
  let properties = componentProperties.get(component);
@@ -50,9 +51,9 @@ function getComponentProperties(component, property, options, config) {
50
51
  /**
51
52
  * Extend the lifecycle methods on the component
52
53
  *
53
- * @param {Component} component the component to extend
54
- * @param {Property[]} properties the properties with which to extend the component
55
- * @returns {void}
54
+ * @param component - the component to extend
55
+ * @param properties - the properties with which to extend the component
56
+ * @returns
56
57
  */
57
58
  function extendLifecycleMethods(component, properties) {
58
59
  // `componentWillLoad` and `componentDidUnload` is included for backwards
@@ -111,8 +112,8 @@ function createDisconnectedCallback(original) {
111
112
  /**
112
113
  * Check if the options are context aware
113
114
  *
114
- * @param {object} options state decorator options
115
- * @returns {boolean} true if the options are context aware
115
+ * @param options - state decorator options
116
+ * @returns true if the options are context aware
116
117
  */
117
118
  function isContextAware(options) {
118
119
  return 'context' in options;
@@ -120,8 +121,8 @@ function isContextAware(options) {
120
121
  /**
121
122
  * Make sure that all required lime properties are set on the web component
122
123
  *
123
- * @param {LimeWebComponent} target the web component
124
- * @returns {Promise<any>} a promise that resolves when all properties are defined
124
+ * @param target - the web component
125
+ * @returns a promise that resolves when all properties are defined
125
126
  */
126
127
  function ensureLimeProps(target) {
127
128
  const promises = [];
@@ -139,9 +140,9 @@ function ensureLimeProps(target) {
139
140
  /**
140
141
  * Wait for a property to be defined on an object
141
142
  *
142
- * @param {LimeWebComponent} target the web component
143
- * @param {string} property the name of the property to watch
144
- * @returns {Promise<void>} a promise that will resolve when the property is set on the object
143
+ * @param target - the web component
144
+ * @param property - the name of the property to watch
145
+ * @returns a promise that will resolve when the property is set on the object
145
146
  */
146
147
  function waitForProp(target, property) {
147
148
  const element = getElement(target);
@@ -171,9 +172,9 @@ function watchProp(target, property, observer) {
171
172
  /**
172
173
  * Subscribe to changes from the state
173
174
  *
174
- * @param {any} component the component instance
175
- * @param {Property} property property to update when subscription triggers
176
- * @returns {void}
175
+ * @param component - the component instance
176
+ * @param property - property to update when subscription triggers
177
+ * @returns
177
178
  */
178
179
  function subscribe(component, property) {
179
180
  const subscription = createSubscription(component, property);
@@ -183,8 +184,8 @@ function subscribe(component, property) {
183
184
  /**
184
185
  * Unsubscribe to changes from the state
185
186
  *
186
- * @param {any} component the instance of the component
187
- * @returns {void}
187
+ * @param component - the instance of the component
188
+ * @returns
188
189
  */
189
190
  function unsubscribeAll(component) {
190
191
  const subscriptions = componentSubscriptions.get(component);
@@ -195,9 +196,9 @@ function unsubscribeAll(component) {
195
196
  * Get a function that accepts a state, and updates the given property
196
197
  * on the given component with that state
197
198
  *
198
- * @param {any} instance the component to augment
199
- * @param {string} property name of the property on the component
200
- * @returns {Function} updates the state
199
+ * @param instance - the component to augment
200
+ * @param property - name of the property on the component
201
+ * @returns updates the state
201
202
  */
202
203
  function mapState(instance, property) {
203
204
  return (state) => {
@@ -207,9 +208,9 @@ function mapState(instance, property) {
207
208
  /**
208
209
  * Create a state subscription
209
210
  *
210
- * @param {any} component the component instance
211
- * @param {Property} property the property on the component
212
- * @returns {Function} unsubscribe function
211
+ * @param component - the component instance
212
+ * @param property - the property on the component
213
+ * @returns unsubscribe function
213
214
  */
214
215
  function createSubscription(component, property) {
215
216
  const myOptions = Object.assign({}, property.options);
@@ -225,9 +226,9 @@ function createSubscription(component, property) {
225
226
  /**
226
227
  * Bind connect functions to the current scope
227
228
  *
228
- * @param {StateOptions} options options for the selector
229
- * @param {*} scope the current scope to bind to
230
- * @returns {void}
229
+ * @param options - options for the selector
230
+ * @param scope - the current scope to bind to
231
+ * @returns
231
232
  */
232
233
  function bindFunctions(options, scope) {
233
234
  if (options.filter) {
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=factory.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.spec.d.ts","sourceRoot":"","sources":["../../../src/core/decorators/factory.spec.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export { StateDecoratorConfig } from './factory';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/decorators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC"}
@@ -4,3 +4,4 @@ export * from './lime-web-component';
4
4
  export * from './plugin-loader';
5
5
  export * from './state';
6
6
  export * from './decorators';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
@@ -2,6 +2,8 @@ import { LimeWebComponentContext } from './context';
2
2
  import { LimeWebComponentPlatform } from './platform';
3
3
  /**
4
4
  * Interface that Lime Web Components must implement
5
+ * @public
6
+ * @group Core
5
7
  */
6
8
  export interface LimeWebComponent {
7
9
  /**
@@ -13,3 +15,4 @@ export interface LimeWebComponent {
13
15
  */
14
16
  context: LimeWebComponentContext;
15
17
  }
18
+ //# sourceMappingURL=lime-web-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lime-web-component.d.ts","sourceRoot":"","sources":["../../src/core/lime-web-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,EAAE,wBAAwB,CAAC;IAEnC;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC;CACpC"}
@@ -1,18 +1,20 @@
1
1
  /**
2
2
  * Service container for the Lime CRM platform
3
+ * @public
4
+ * @group Core
3
5
  */
4
6
  export interface LimeWebComponentPlatform {
5
7
  type: 'LimeCRMWebClient' | 'LimeCRMDesktopClient';
6
8
  /**
7
9
  * Get a service
8
10
  *
9
- * @param name the name of the service
11
+ * @param name - the name of the service
10
12
  */
11
13
  get(name: string): any;
12
14
  /**
13
15
  * Check if a service is currently registered on the platform
14
16
  *
15
- * @param name the name of the service
17
+ * @param name - the name of the service
16
18
  */
17
19
  has(name: string): boolean;
18
20
  /**
@@ -21,18 +23,25 @@ export interface LimeWebComponentPlatform {
21
23
  * Core platform service names are defined by the enum `PlatformServiceName`. Third parties that wants to register
22
24
  * a service should add a prefix to the service name, e.g. the plugin name.
23
25
  *
24
- * @param name the name of the service
25
- * @param service the service
26
+ * @param name - the name of the service
27
+ * @param service - the service
26
28
  */
27
29
  register(name: string, service: any): void;
28
30
  }
29
31
  /**
30
32
  * Core platform service names
33
+ * @public
34
+ * @group Core
31
35
  */
32
36
  export declare const PlatformServiceName: PlatformServiceNameType;
37
+ /**
38
+ * @public
39
+ * @group Core
40
+ */
33
41
  export interface PlatformServiceNameType {
34
42
  /**
35
- * @deprecated use the new {@link PlatformServiceName.Navigator} instead
43
+ * @deprecated use the new {@link Navigator} instead
36
44
  */
37
45
  Route: 'route';
38
46
  }
47
+ //# sourceMappingURL=platform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/core/platform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IAElD;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;IAEvB;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3B;;;;;;;;OAQG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;CAC9C;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,uBAE1B,CAAC;AAET;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAClB"}
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * Core platform service names
3
+ * @public
4
+ * @group Core
3
5
  */
4
6
  export const PlatformServiceName = {
5
7
  Route: 'route',
@@ -1,6 +1,8 @@
1
1
  import { LimeWebComponent } from './lime-web-component';
2
2
  /**
3
3
  * Interface for the loader component that is loaded when the app starts
4
+ * @public
5
+ * @group Core
4
6
  */
5
7
  export interface LimePluginLoader extends LimeWebComponent {
6
8
  /**
@@ -26,3 +28,4 @@ export interface LimePluginLoader extends LimeWebComponent {
26
28
  */
27
29
  disconnectedCallback(): any;
28
30
  }
31
+ //# sourceMappingURL=plugin-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-loader.d.ts","sourceRoot":"","sources":["../../src/core/plugin-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACtD;;;;OAIG;IACH,iBAAiB,QAAG;IAEpB;;OAEG;IACH,iBAAiB,QAAG;IAEpB;;;OAGG;IACH,mBAAmB,QAAG;IAEtB;;;;;OAKG;IACH,oBAAoB,QAAG;CAC1B"}
@@ -2,19 +2,23 @@ import { Subscribable } from 'rxjs';
2
2
  import { LimeWebComponentContext } from './context';
3
3
  /**
4
4
  * Base service for letting a Lime web component subscribe to state changes
5
+ * @public
6
+ * @group Core
5
7
  */
6
8
  export interface StateRepository {
7
9
  /**
8
10
  * Subscribe to state changes
9
11
  *
10
- * @param {Function} callback function to call when subscription updates
11
- * @param {StateOptions} [options] options for the state selector
12
- * @returns {Function} unsubscribe callback
12
+ * @param callback - function to call when subscription updates
13
+ * @param options - options for the state selector
14
+ * @returns unsubscribe callback
13
15
  */
14
16
  subscribe(callback: () => void, options?: StateOptions): () => void;
15
17
  }
16
18
  /**
17
19
  * Options for the state selector
20
+ * @public
21
+ * @group Core
18
22
  */
19
23
  export interface StateOptions {
20
24
  /**
@@ -28,6 +32,10 @@ export interface StateOptions {
28
32
  */
29
33
  filter?: Array<(state: any) => boolean>;
30
34
  }
35
+ /**
36
+ * @public
37
+ * @group Core
38
+ */
31
39
  export interface ContextAwareStateOptions extends StateOptions {
32
40
  /**
33
41
  * An observable that emits a new value when the context of the component
@@ -37,3 +45,4 @@ export interface ContextAwareStateOptions extends StateOptions {
37
45
  */
38
46
  context?: Subscribable<LimeWebComponentContext> | null;
39
47
  }
48
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/core/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;;;OAMG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,IAAI,CAAC;CACvE;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;OAGG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC,CAAC;IAEjC;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC;CAC3C;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC1D;;;;;OAKG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;CAC1D"}
@@ -1,8 +1,8 @@
1
1
  import { StateOptions } from '../core';
2
2
  /**
3
3
  * DeviceType
4
- *
5
- * @type {string}
4
+ * @public
5
+ * @group Device
6
6
  */
7
7
  export declare type DeviceType = 'desktop' | 'tablet' | 'phone';
8
8
  /**
@@ -10,7 +10,10 @@ export declare type DeviceType = 'desktop' | 'tablet' | 'phone';
10
10
  *
11
11
  * The device will only indicate roughly how big the viewport is, not what actual device is being used
12
12
  *
13
- * @param {StateOptions} [options] state decorator options
14
- * @returns {Function} state decorator
13
+ * @param options - state decorator options
14
+ * @returns state decorator
15
+ * @public
16
+ * @group Device
15
17
  */
16
18
  export declare function SelectDevice(options?: StateOptions): PropertyDecorator;
19
+ //# sourceMappingURL=decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/device/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,oBAAY,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,OAAO,GAAE,YAAiB,GAAG,iBAAiB,CAM1E"}
@@ -5,8 +5,10 @@ import { createStateDecorator } from '../core/decorators/factory';
5
5
  *
6
6
  * The device will only indicate roughly how big the viewport is, not what actual device is being used
7
7
  *
8
- * @param {StateOptions} [options] state decorator options
9
- * @returns {Function} state decorator
8
+ * @param options - state decorator options
9
+ * @returns state decorator
10
+ * @public
11
+ * @group Device
10
12
  */
11
13
  export function SelectDevice(options = {}) {
12
14
  const config = {
@@ -1,21 +1,26 @@
1
1
  import { StateRepository } from '../core';
2
+ /**
3
+ * @public
4
+ * @group Device
5
+ */
2
6
  export interface Device extends StateRepository {
3
7
  /**
4
8
  * Check if the device type is 'desktop'
5
9
  *
6
- * @returns {boolean} true/false
10
+ * @returns true/false
7
11
  */
8
12
  isDesktopSize(): boolean;
9
13
  /**
10
14
  * Check if the device type is 'tablet'
11
15
  *
12
- * @returns {boolean} true/false
16
+ * @returns true/false
13
17
  */
14
18
  isTabletSize(): boolean;
15
19
  /**
16
20
  * Check if the device type is 'phone'
17
21
  *
18
- * @returns {boolean} true/false
22
+ * @returns true/false
19
23
  */
20
24
  isPhoneSize(): boolean;
21
25
  }
26
+ //# sourceMappingURL=device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../src/device/device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,MAAO,SAAQ,eAAe;IAC3C;;;;OAIG;IACH,aAAa,IAAI,OAAO,CAAC;IAEzB;;;;OAIG;IACH,YAAY,IAAI,OAAO,CAAC;IAExB;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC;CAC1B"}
@@ -1,3 +1,4 @@
1
1
  export * from './device';
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/device/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "state.device";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service Device}
6
+ * @see {@link Service | Device}
7
7
  */
8
8
  Device: 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/device/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAG7C,QAAA,MAAM,YAAY,iBAAiB,CAAC;AAIpC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,MAAM,EAAE,OAAO,YAAY,CAAC;KAC/B;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC;KACzD;CACJ"}
@@ -5,37 +5,50 @@
5
5
  * e.g. by closing a popup window (depending on platform), a
6
6
  * {@link DialogDestroyedEvent} will be emitted using
7
7
  * {@link EventDispatcher}
8
+ * @public
9
+ * @group Dialog
8
10
  */
9
11
  export interface DialogRenderer {
10
12
  /**
11
13
  * Create a new dialog and render its contents. Depending on what kind of
12
14
  * platform the service is used on, the dialog might be rendered in the
13
- * current {@link Document} or opened in a new popup window.
15
+ * current `Document` or opened in a new popup window.
14
16
  *
15
- * @param name the name of the web component representing the dialog
16
- * @param properties any properties to send to the dialog
17
- * @param listeners any event listeners to register on the dialog
17
+ * @param name - the name of the web component representing the dialog
18
+ * @param properties - any properties to send to the dialog
19
+ * @param listeners - any event listeners to register on the dialog
18
20
  * @returns id representing the dialog
19
21
  */
20
22
  create(name: string, properties?: DialogProperties, listeners?: DialogListeners): number;
21
23
  /**
22
24
  * Update an existing dialog with new properties
23
25
  *
24
- * @param id the dialog identifier
25
- * @param properties any properties to send to the dialog
26
+ * @param id - the dialog identifier
27
+ * @param properties - any properties to send to the dialog
26
28
  */
27
29
  update(id: number, properties?: DialogProperties): void;
28
30
  /**
29
31
  * Destroy a dialog
30
32
  *
31
- * @param id id representing the dialog
33
+ * @param id - id representing the dialog
32
34
  */
33
35
  destroy(id: number): void;
34
36
  }
37
+ /**
38
+ * @public
39
+ * @group Dialog
40
+ */
35
41
  export declare type DialogProperties = Record<string, any>;
42
+ /**
43
+ * @public
44
+ * @group Dialog
45
+ */
36
46
  export declare type DialogListeners = Record<string, (event?: CustomEvent<any>) => void>;
37
47
  /**
38
48
  * @event dialog.destroyed - Emitted when a dialog is externally destroyed, e.g.
39
49
  * by closing a popup window
50
+ * @public
51
+ * @group Dialog
40
52
  */
41
53
  export declare type DialogDestroyedEvent = CustomEvent<number>;
54
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/dialog/dialog.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;;;;;;OASG;IACH,MAAM,CACF,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,gBAAgB,EAC7B,SAAS,CAAC,EAAE,eAAe,GAC5B,MAAM,CAAC;IAEV;;;;;OAKG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAExD;;;;OAIG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED;;;GAGG;AACH,oBAAY,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnD;;;GAGG;AACH,oBAAY,eAAe,GAAG,MAAM,CAChC,MAAM,EACN,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CACrC,CAAC;AAEF;;;;;GAKG;AACH,oBAAY,oBAAoB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './dialog';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -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/dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,QAAA,MAAM,YAAY,WAAW,CAAC;AAI9B,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,MAAM,EAAE,OAAO,YAAY,CAAC;KAC/B;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,cAAc,CAAC;KAChE;CACJ"}
@@ -1,26 +1,29 @@
1
1
  /**
2
2
  * Service for handling application level events
3
+ * @public
4
+ * @group Event dispatching
3
5
  */
4
6
  export interface EventDispatcher {
5
7
  /**
6
8
  * Dispatch a new event
7
9
  *
8
- * @param {string} eventName name of the event to dispatch
9
- * @param {T} data data attached to the event
10
+ * @param eventName - name of the event to dispatch
11
+ * @param data - data attached to the event
10
12
  */
11
13
  dispatch<T>(eventName: string, data: T): CustomEvent<T>;
12
14
  /**
13
15
  * Add a new listener for a specific event
14
16
  *
15
- * @param {string} eventName name of the event to listen to
16
- * @param {Function} listener listener to invoke when the event is dispatched
17
+ * @param eventName - name of the event to listen to
18
+ * @param listener - listener to invoke when the event is dispatched
17
19
  */
18
20
  addListener<T>(eventName: string, listener: (event: CustomEvent<T>) => void): void;
19
21
  /**
20
22
  * Stop listening for a specific event
21
23
  *
22
- * @param {string} eventName name of the event to stop listening to
23
- * @param {Function} listener listener to remove from the dispatcher
24
+ * @param eventName - name of the event to stop listening to
25
+ * @param listener - listener to remove from the dispatcher
24
26
  */
25
27
  removeListener<T>(eventName: string, listener: (event: CustomEvent<T>) => void): void;
26
28
  }
29
+ //# sourceMappingURL=eventdispatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventdispatcher.d.ts","sourceRoot":"","sources":["../../src/eventdispatcher/eventdispatcher.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;IAExD;;;;;OAKG;IACH,WAAW,CAAC,CAAC,EACT,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,GAC1C,IAAI,CAAC;IAER;;;;;OAKG;IACH,cAAc,CAAC,CAAC,EACZ,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,GAC1C,IAAI,CAAC;CACX"}
@@ -1,2 +1,3 @@
1
1
  export * from './eventdispatcher';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eventdispatcher/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "eventDispatcher";
3
3
  declare module '../core/platform' {
4
4
  interface PlatformServiceNameType {
5
5
  /**
6
- * @see {@link Service EventDispatcher}
6
+ * @see {@link Service | EventDispatcher}
7
7
  */
8
8
  EventDispatcher: 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/eventdispatcher/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG/D,QAAA,MAAM,YAAY,oBAAoB,CAAC;AAIvC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,eAAe,EAAE,OAAO,YAAY,CAAC;KACxC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,GAAG,OAAO,CAAC;KAClE;CACJ"}
@@ -1,6 +1,8 @@
1
1
  import { StateOptions } from '../core';
2
2
  /**
3
3
  * Config for the {@link SelectFilters} state decorator
4
+ * @public
5
+ * @group Filters
4
6
  */
5
7
  export interface SelectFiltersOptions extends StateOptions {
6
8
  id?: string;
@@ -9,7 +11,10 @@ export interface SelectFiltersOptions extends StateOptions {
9
11
  /**
10
12
  * Gets a list of filters
11
13
  *
12
- * @param {StateOptions} [options] state decorator options
13
- * @returns {Function} state decorator
14
+ * @param options - state decorator options
15
+ * @returns state decorator
16
+ * @public
17
+ * @group Filters
14
18
  */
15
19
  export declare function SelectFilters(options?: SelectFiltersOptions): PropertyDecorator;
20
+ //# sourceMappingURL=decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/filter/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACtD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CACzB,OAAO,GAAE,oBAAyB,GACnC,iBAAiB,CAMnB"}
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../core/decorators/factory';
3
3
  /**
4
4
  * Gets a list of filters
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 Filters
8
10
  */
9
11
  export function SelectFilters(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/filter/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}