@limetech/lime-web-components 6.3.0 → 6.4.1

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 (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/action/action.d.ts +1 -28
  4. package/dist/action/action.d.ts.map +1 -1
  5. package/dist/application/decorators/session.d.ts.map +1 -1
  6. package/dist/application/decorators/user.d.ts.map +1 -1
  7. package/dist/application/session.d.ts.map +1 -1
  8. package/dist/commandbus/commandbus.d.ts +1 -1
  9. package/dist/commandbus/commandbus.d.ts.map +1 -1
  10. package/dist/commandbus/commandbus.spec.d.ts.map +1 -1
  11. package/dist/conditionregistry/conditionregistry.d.ts +8 -0
  12. package/dist/conditionregistry/conditionregistry.d.ts.map +1 -1
  13. package/dist/config/repository.d.ts.map +1 -1
  14. package/dist/core/icon.d.ts +28 -0
  15. package/dist/core/icon.d.ts.map +1 -0
  16. package/dist/core/index.d.ts +1 -0
  17. package/dist/core/index.d.ts.map +1 -1
  18. package/dist/core/metadata.d.ts +1 -1
  19. package/dist/core/metadata.d.ts.map +1 -1
  20. package/dist/core/platform.d.ts.map +1 -1
  21. package/dist/core/state.d.ts.map +1 -1
  22. package/dist/dialog/dialog.d.ts.map +1 -1
  23. package/dist/filter/repository.d.ts +1 -1
  24. package/dist/http/http.d.ts +3 -3
  25. package/dist/http/http.d.ts.map +1 -1
  26. package/dist/index.cjs.js +1 -1
  27. package/dist/index.cjs.js.map +1 -1
  28. package/dist/index.esm.js +8 -5
  29. package/dist/index.esm.js.map +1 -1
  30. package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
  31. package/dist/limeobject/limeobject.d.ts.map +1 -1
  32. package/dist/limeobject/repository.d.ts.map +1 -1
  33. package/dist/limetype/decorator.d.ts.map +1 -1
  34. package/dist/limetype/property.d.ts +32 -0
  35. package/dist/limetype/property.d.ts.map +1 -1
  36. package/dist/notifications/notifications.d.ts +9 -0
  37. package/dist/notifications/notifications.d.ts.map +1 -1
  38. package/dist/query/query.d.ts.map +1 -1
  39. package/dist/task/repository.d.ts.map +1 -1
  40. package/dist/userdata/repository.d.ts.map +1 -1
  41. package/dist/userpreferences/repository.d.ts.map +1 -1
  42. package/package.json +15 -32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [6.4.1](https://github.com/Lundalogik/lime-web-components/compare/v6.4.0...v6.4.1) (2025-10-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * typescript cannot resolve type imports from package ([8d6b263](https://github.com/Lundalogik/lime-web-components/commit/8d6b263e89dedaa0e3487b25e5c8f988cc2f8c01))
8
+
9
+ ## [6.4.0](https://github.com/Lundalogik/lime-web-components/compare/v6.3.0...v6.4.0) (2025-08-25)
10
+
11
+
12
+ ### Features
13
+
14
+
15
+ * **notifications:** add icon to alert and confirm options ([a942747](https://github.com/Lundalogik/lime-web-components/commit/a942747cd939e12fd23fe6142c7bef8884c9834d))
16
+
1
17
  ## [6.3.0](https://github.com/Lundalogik/lime-web-components/compare/v6.2.0...v6.3.0) (2025-06-26)
2
18
 
3
19
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Lime Web Components
2
2
 
3
- [![Version](https://img.shields.io/npm/v/@limetech/lime-web-components.svg)](https://www.npmjs.com/package/@limetech/lime-web-components) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
3
+ [![Version](https://img.shields.io/npm/v/@limetech/lime-web-components.svg)](https://www.npmjs.com/package/@limetech/lime-web-components) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
4
4
 
5
5
  To start the dev-server, run `npm start`.
6
6
 
@@ -1,5 +1,6 @@
1
1
  import { AnyCommand, LimeObjectBulkCommand, LimeObjectCommand } from '../commandbus';
2
2
  import { Condition } from '../conditionregistry';
3
+ import { Icon } from '../core';
3
4
  /**
4
5
  * Represents an action that is displayed in the UI
5
6
  * @beta
@@ -52,32 +53,4 @@ export type LimeObjectAction = Action<LimeObjectCommand>;
52
53
  * @group Actions
53
54
  */
54
55
  export type LimeObjectBulkAction = Action<LimeObjectBulkCommand>;
55
- /**
56
- * Icon of an action
57
- *
58
- * @beta
59
- * @group Actions
60
- */
61
- export type Icon = {
62
- /**
63
- * Name of the icon
64
- */
65
- name: string;
66
- /**
67
- * Color of the icon.
68
- */
69
- color?: string;
70
- /**
71
- * Background color of the icon.
72
- */
73
- backgroundColor?: string;
74
- /**
75
- * The `title` attribute of the icon.
76
- * Used primarily to improve accessibility for users who
77
- * take advantage of assistive technologies; but also
78
- * to clarify further what an icon tries to resemble
79
- * for sighted users.
80
- */
81
- title?: string;
82
- };
83
56
  //# sourceMappingURL=action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../src/action/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD;;;;GAIG;AACH,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU;IACrD;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,Q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MAAM,oBAAoB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
@@ -1 +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"}
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,YAAY,CAAC;AAIpB;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE,YAAiB,GAAG,iBAAiB,CAO3E"}
@@ -1 +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"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/application/decorators/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEf,MAAM,YAAY,CAAC;AAIpB;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC7B,OAAO,GAAE,YAAiB,GAC3B,iBAAiB,CAOnB"}
@@ -1 +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;IAC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,CAAC;IAEX;;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"}
@@ -48,7 +48,7 @@ export interface LimeObjectBulkCommand extends AnyCommand {
48
48
  * @public
49
49
  * @group Command bus
50
50
  */
51
- export type CommandClass<T extends AnyCommand = AnyCommand> = new (...args: any[]) => T;
51
+ export type CommandClass<T extends AnyCommand = AnyCommand> = new (...args: unknown[]) => T;
52
52
  /**
53
53
  * @public
54
54
  * @group Command bus
@@ -1 +1 @@
1
- {"version":3,"file":"commandbus.d.ts","sourceRoot":"","sources":["../../src/commandbus/commandbus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMtC;;;;;GAKG;AACH,MAAM,WAAW,UAAU;CAAG;AAE9B;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACjD;;OAEG;IACH,OAAO,EAAE,uBAAuB,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACvE;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACrD;;;;;OAKG;IACH,OAAO,EAAE,uBAAuB,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAExD;;OAEG;IACH,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,IAAI,KAC1D,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AC,CAcvC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,KAAK,EAAE,UAAU,GAAG,iBAAiB,GACtC,KAAK,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAW9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"commandbus.spec.d.ts","sourceRoot":"","sources":["../../src/commandbus/commandbus.spec.ts"],"names":[],"mappings":"AA6BA,cAGM,GAAG;IACL,GAAG,EAAE,MAAM,CAAC;CACf;AAED,cAGM,GAAG;IACL,GAAG,EAAE,MAAM,CAAC;CACf;AAED,OAAO,QAAQ,cAAc,CAAC;IAC1B,UAAU,eAAe;QACrB,GAAG,EAAE,GAAG,CAAC;QACT,GAAG,EAAE,GAAG,CAAC;KACZ;CACJ"}
1
+ {"version":3,"file":"commandbus.spec.d.ts","sourceRoot":"","sources":["../../src/commandbus/commandbus.spec.ts"],"names":[],"mappings":"AA8BA,cAGM,GAAG;IACL,GAAG,EAAE,MAAM,CAAC;CACf;AAED,cAGM,GAAG;IACL,GAAG,EAAE,MAAM,CAAC;CACf;AAED,OAAO,QAAQ,cAAc,CAAC;IAC1B,UAAU,eAAe;QACrB,GAAG,EAAE,GAAG,CAAC;QACT,GAAG,EAAE,GAAG,CAAC;KACZ;CACJ"}
@@ -44,6 +44,10 @@ export type ActionCondition = Condition<Action> & {
44
44
  /**
45
45
  * Check if condition expects a lime object to be passed when it is evaluated
46
46
  *
47
+ * @param condition - the condition to check
48
+ * @returns true if the condition is a condition for a {@link LimeObject},
49
+ * false otherwise
50
+ *
47
51
  * @beta
48
52
  * @group Conditions
49
53
  */
@@ -51,6 +55,10 @@ export declare function isLimeObjectCondition(condition: Condition): condition i
51
55
  /**
52
56
  * Check if condition expects an action to be passed when it is evaluated
53
57
  *
58
+ * @param condition - the condition to check
59
+ * @returns true if the condition is a condition for an {@link Action},
60
+ * false otherwise
61
+ *
54
62
  * @beta
55
63
  * @group Conditions
56
64
  */
@@ -1 +1 @@
1
- {"version":3,"file":"conditionregistry.d.ts","sourceRoot":"","sources":["../../src/conditionregistry/conditionregistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IAKpD,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG;IACtD,IAAI,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG;IAC9C,IAAI,EAAE,QAAQ,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,SAAS,GACrB,SAAS,IAAI,SAAS,CAAC,UAAU,CAAC,CAEpC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC7B,SAAS,EAAE,SAAS,GACrB,SAAS,IAAI,SAAS,CAAC,MAAM,CAAC,CAEhC;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;OAKG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,OAAE;IAEnC;;;;;OAKG;IACH,eAAe,CAAC,SAAS,EAAE,SAAS,OAAE;IAEtC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;IAElC;;;;OAIG;IACH,aAAa,IAAI,SAAS,EAAE,CAAC;IAE7B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC"}
1
+ {"version":3,"file":"conditionregistry.d.ts","sourceRoot":"","sources":["../../src/conditionregistry/conditionregistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IAKpD,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG;IACtD,IAAI,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG;IAC9C,IAAI,EAAE,QAAQ,CAAC;CAClB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,SAAS,GACrB,SAAS,IAAI,SAAS,CAAC,UAAU,CAAC,CAEpC;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC7B,SAAS,EAAE,SAAS,GACrB,SAAS,IAAI,SAAS,CAAC,MAAM,CAAC,CAEhC;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;OAKG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,OAAE;IAEnC;;;;;OAKG;IACH,eAAe,CAAC,SAAS,EAAE,SAAS,OAAE;IAEtC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;IAElC;;;;OAIG;IACH,aAAa,IAAI,SAAS,EAAE,CAAC;IAE7B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC"}
@@ -1 +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;IAE7B;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD"}
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;IAEH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAE7B;;;;;;OAMG;IAEH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Represents an icon that can be displayed in the UI
3
+ * @public
4
+ * @group Core
5
+ */
6
+ export type Icon = {
7
+ /**
8
+ * Name of the icon
9
+ */
10
+ name: string;
11
+ /**
12
+ * Color of the icon.
13
+ */
14
+ color?: string;
15
+ /**
16
+ * Background color of the icon.
17
+ */
18
+ backgroundColor?: string;
19
+ /**
20
+ * The `title` attribute of the icon.
21
+ * Used primarily to improve accessibility for users who
22
+ * take advantage of assistive technologies; but also
23
+ * to clarify further what an icon tries to resemble
24
+ * for sighted users.
25
+ */
26
+ title?: string;
27
+ };
28
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/core/icon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -6,4 +6,5 @@ export * from './state';
6
6
  export type { StateDecoratorConfig } from './decorators';
7
7
  export * from './metadata';
8
8
  export * from './idle';
9
+ export * from './icon';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC"}
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,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Icon } from '../action';
1
+ import { Icon } from './icon';
2
2
  import { LimeWebComponentPlatform } from './platform';
3
3
  /**
4
4
  * Metadata for a configured resource
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/core/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAKjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACnC,CAAC;CACL,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/core/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAK9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACnC,CAAC;CACL,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CAAC;CACvD"}
@@ -1 +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,GAAG,uBAAuB,CAAC;IAE5E;;;;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;IAE3C;;;;OAIG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,eAAe,GAAG,OAAO,CAAC;CAC1D;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,uBAE1B,CAAC;AAET;;;GAGG;AACH,MAAM,WAAW,uBAAuB;CAAG;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,eAAe;CAAG"}
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,GAAG,uBAAuB,CAAC;IAE5E;;;;OAIG;IAEH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;IAEvB;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3B;;;;;;;;OAQG;IAEH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;IAE3C;;;;OAIG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,eAAe,GAAG,OAAO,CAAC;CAC1D;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,uBAEK,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,uBAAuB;CAAG;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,eAAe;CAAG"}
@@ -1 +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,CACL,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EACtC,OAAO,CAAC,EAAE,YAAY,GACvB,MAAM,IAAI,CAAC;CACjB;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
+ {"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,CACL,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EACtC,OAAO,CAAC,EAAE,YAAY,GACvB,MAAM,IAAI,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;OAGG;IAEH,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC,CAAC;IAEjC;;;OAGG;IAEH,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 +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,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAChC,MAAM,EACN,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CACrC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
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;AAEH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAChC,MAAM,EAEN,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CACrC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
@@ -15,7 +15,7 @@ export interface FilterRepository extends StateRepository {
15
15
  /**
16
16
  * Deletes the filter
17
17
  *
18
- * @param id - a filter id to delete
18
+ * @param filter - a filter to delete
19
19
  * @returns a promise that will be resolved when the filter is deleted
20
20
  */
21
21
  delete(filter: Filter): Promise<void>;
@@ -24,7 +24,7 @@ export interface HttpClient {
24
24
  * @param options - The HTTP options to send with the request.
25
25
  * @returns
26
26
  */
27
- post(url: string, data?: {}, options?: HttpOptions): Promise<any>;
27
+ post(url: string, data?: object, options?: HttpOptions): Promise<any>;
28
28
  /**
29
29
  * Sends a patch request.
30
30
  *
@@ -33,7 +33,7 @@ export interface HttpClient {
33
33
  * @param options - The HTTP options to send with the request.
34
34
  * @returns
35
35
  */
36
- patch(url: string, data?: {}, options?: HttpOptions): Promise<any>;
36
+ patch(url: string, data?: object, options?: HttpOptions): Promise<any>;
37
37
  /**
38
38
  * Sends a put request.
39
39
  *
@@ -42,7 +42,7 @@ export interface HttpClient {
42
42
  * @param options - The HTTP options to send with the request.
43
43
  * @returns
44
44
  */
45
- put(url: string, data?: {}, options?: HttpOptions): Promise<any>;
45
+ put(url: string, data?: object, options?: HttpOptions): Promise<any>;
46
46
  /**
47
47
  * Sends a delete request.
48
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/http/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEtD;;;;;;;OAOG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAElE;;;;;;;OAOG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,W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aAAa,GAAG,MAAM,CAAC;AAExE;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,KAAK;IAC5C,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACtB"}
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("@stencil/core"),c={Route:"route"},re="idle-state";function ne(e){return e&&["belongsto","hasone","hasmany","hasandbelongstomany"].includes(e.type)}function oe(e){return e&&["belongsto","hasone"].includes(e.type)}function ie(e){return e&&["time","timeofday","date","year","quarter","month"].includes(e.type)}function se(e){return e&&["string","text","phone","link"].includes(e.type)}function ce(e){return e&&["decimal","percent"].includes(e.type)}const ae="state.limetypes";c.LimeTypeRepository=ae;var _=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},_(e,t)};function h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function O(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function A(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function R(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function p(e){return typeof e=="function"}function B(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var C=B(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
2
  `+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function w(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var E=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=O(s),u=a.next();!u.done;u=a.next()){var g=u.value;g.remove(this)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var D=this.initialTeardown;if(p(D))try{D()}catch(f){i=f instanceof C?f.errors:[f]}var I=this._finalizers;if(I){this._finalizers=null;try{for(var b=O(I),m=b.next();!m.done;m=b.next()){var te=m.value;try{N(te)}catch(f){i=i??[],f instanceof C?i=R(R([],A(i)),A(f.errors)):i.push(f)}}}catch(f){n={error:f}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(n)throw n.error}}}if(i)throw new C(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)N(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&w(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&w(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),k=E.EMPTY;function G(e){return e instanceof E||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function N(e){p(e)?e():e.unsubscribe()}var ue={Promise:void 0},le={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,R([e,t],A(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fe(e){le.setTimeout(function(){throw e})}function M(){}function v(e){e()}var H=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,G(r)&&r.add(n)):n.destination=me,n}return t.create=function(r,n,o){return new j(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(E),pe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){y(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){y(n)}else y(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){y(r)}},e}(),j=function(e){h(t,e);function t(r,n,o){var i=e.call(this)||this,s;return p(r)||!r?s={next:r??void 0,error:n??void 0,complete:o??void 0}:s=r,i.destination=new pe(s),i}return t}(H);function y(e){fe(e)}function de(e){throw e}var me={closed:!0,next:M,error:de,complete:M},he=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function be(e){return e}function ye(e){return e.length===0?be:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var L=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Se(t)?t:new j(t,r,n);return v(function(){var s=o,a=s.operator,u=s.source;i.add(a?a.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=T(r),new r(function(o,i){var s=new j({next:function(a){try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[he]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ye(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=T(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function T(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function ve(e){return e&&p(e.next)&&p(e.error)&&p(e.complete)}function Se(e){return e&&e instanceof H||ve(e)&&G(e)}var Ee=B(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Q=function(e){h(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new x(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ee},t.prototype.next=function(r){var n=this;v(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=O(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(g){o={error:g}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;v(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;v(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?k:(this.currentObservers=null,a.push(r),new E(function(){n.currentObservers=null,w(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new L;return r.source=this,r},t.create=function(r,n){return new x(r,n)},t}(L),x=function(e){h(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:k},t}(Q),ge=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t}(Q);function Ce(e){return e}function l(e,t){return(r,n)=>{const o=_e(r,n,e,t);o.length===1&&Oe(r,o)}}const $=new WeakMap,S=new WeakMap,W=new WeakMap;function _e(e,t,r,n){let o=$.get(e);return o||(o=[],$.set(e,o)),o.push({options:r,name:t,optionFactory:n.optionFactory||Ce,service:{name:n.name,method:n.method||"subscribe"}}),o}function Oe(e,t){e.connectedCallback=Y(e.connectedCallback,t),e.componentWillLoad=Ae(e.componentWillLoad,t),e.componentDidUnload=V(e.componentDidUnload),e.disconnectedCallback=V(e.disconnectedCallback)}function Y(e,t){return async function(...r){W.set(this,!0),S.set(this,[]),await q(this);const n=new ge(this.context);if(we(this,"context",n),t.forEach(o=>{o.options=o.optionFactory(o.options,this),Re(o.options)&&(o.options.context=n),je(this,o)}),e)return e.apply(this,r)}}function Ae(e,t){return async function(...r){return W.get(this)===!0?(await q(this),e?e.apply(this,r):void 0):Y(e,t).apply(this,r)}}function V(e){return async function(...t){let r;return e&&(r=e.apply(this,t)),Pe(this),r}}function Re(e){return"context"in e}function q(e){const t=[];return e.platform||t.push(U(e,"platform")),e.context||t.push(U(e,"context")),t.length?Promise.all(t):Promise.resolve()}function U(e,t){const r=F.getElement(e);return new Promise(n=>{Object.defineProperty(r,t,{configurable:!0,set:o=>{delete r[t],r[t]=o,n()}})})}function we(e,t,r){const n=F.getElement(e),{get:o,set:i}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),t);Object.defineProperty(n,t,{configurable:!0,get:o,set:function(s){i.call(this,s),r.next(s)}})}function je(e,t){const r=Ie(e,t);if(typeof r!="function")return;S.get(e).push(r)}function Pe(e){S.get(e).forEach(r=>r()),S.set(e,[])}function De(e,t){return r=>{e[t]=r}}function Ie(e,t){const r={...t.options};Ne(r,e);const n=t.service.name,o=e.platform;if(!o.has(n))throw new Error(`Service ${n} does not exist`);return o.get(n)[t.service.method](De(e,t.name),r)}function Ne(e,t){e.filter&&(e.filter=e.filter.map(r=>r.bind(t))),e.map&&(e.map=e.map.map(r=>r.bind(t)))}function Me(e={}){const t={name:c.LimeTypeRepository};return l(e,t)}function Le(e={}){const t={name:c.LimeTypeRepository};return e.map=[Te,...e.map||[]],e.context=null,l(e,t)}function Te(e){const{limetype:t}=this.context;return e[t]}const xe=e=>t=>Object.values(t).find(P(e));function $e(e,t){return Object.values(e.properties).filter(r=>r.type===t)}function Ve(e,t){return Object.values(e.properties).find(P(t))}function Ue(e,t){return e.properties[t]}const P=e=>t=>t?.label===e,Fe="state.limeobjects";c.LimeObjectRepository=Fe;function Be(e={}){const t={name:c.LimeObjectRepository,optionFactory:He};return l(e,t)}function ke(e={}){const t={name:c.LimeObjectRepository};return e.map=[Ge,...e.map||[]],e.context=null,l(e,t)}function Ge(e){const{limetype:t,id:r}=this.context;if(e[t])return e[t].find(n=>n.id===r)}function He(e,t){return e.getLimetype&&(e.limetype=e.getLimetype(t)),e}var K=(e=>(e.Received="command.received",e.Handled="command.handled",e.Failed="command.failed",e))(K||{});function d(e){return t=>{Qe(t,e.id),We(t,e.id)}}function Qe(e,t){e.commandId=t}function We(e,t){Object.defineProperty(e,Symbol.hasInstance,{value:r=>J(r).includes(t)})}function X(e){return typeof e=="string"?e:e&&e.constructor&&e.constructor.commandId?e.constructor.commandId:e&&e.commandId?e.commandId:null}function J(e){let t=[],r,n=e;for(;r=X(n);)t=[...t,r],n=Object.getPrototypeOf(n);return Array.from(new Set(t))}const Ye="commandBus";c.CommandBus=Ye;var qe=Object.getOwnPropertyDescriptor,Ke=(e,t,r,n)=>{for(var o=n>1?void 0:n?qe(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const Xe="limeobject.bulk-create-dialog";exports.BulkCreateDialogCommand=class{};exports.BulkCreateDialogCommand=Ke([d({id:Xe})],exports.BulkCreateDialogCommand);var Je=Object.getOwnPropertyDescriptor,Ze=(e,t,r,n)=>{for(var o=n>1?void 0:n?Je(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const ze="limeobject.create-dialog";exports.CreateLimeobjectDialogCommand=class{constructor(){this.route=!1}};exports.CreateLimeobjectDialogCommand=Ze([d({id:ze})],exports.CreateLimeobjectDialogCommand);var et=Object.getOwnPropertyDescriptor,tt=(e,t,r,n)=>{for(var o=n>1?void 0:n?et(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const rt="limeobject.delete-object";exports.DeleteObjectCommand=class{};exports.DeleteObjectCommand=tt([d({id:rt})],exports.DeleteObjectCommand);var nt=Object.getOwnPropertyDescriptor,ot=(e,t,r,n)=>{for(var o=n>1?void 0:n?nt(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const it="limeobject.object-access";exports.OpenObjectAccessDialogCommand=class{};exports.OpenObjectAccessDialogCommand=ot([d({id:it})],exports.OpenObjectAccessDialogCommand);var st=Object.getOwnPropertyDescriptor,ct=(e,t,r,n)=>{for(var o=n>1?void 0:n?st(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const at="limeobject.save-object";exports.SaveLimeObjectCommand=class{constructor(){this.route=!1}};exports.SaveLimeObjectCommand=ct([d({id:at})],exports.SaveLimeObjectCommand);var Z=(e=>(e.AND="AND",e.OR="OR",e.NOT="!",e.EQUALS="=",e.NOT_EQUALS="!=",e.GREATER=">",e.LESS="<",e.IN="IN",e.BEGINS="=?",e.LIKE="?",e.LESS_OR_EQUAL="<=",e.GREATER_OR_EQUAL=">=",e.ENDS="=$",e))(Z||{});const ut={Count:"COUNT",Sum:"SUM",Average:"AVG",Maximum:"MAX",Minimum:"MIN"},lt="query";c.Query=lt;const ft={Get:"GET",Post:"POST",Put:"PUT",Delete:"DELETE",Patch:"PATCH"},pt="http";c.Http=pt;const dt="eventDispatcher";c.EventDispatcher=dt;const mt="translate";c.Translate=mt;const ht="dialog";c.Dialog=ht;const bt="keybindingRegistry";c.KeybindingRegistry=bt;const yt="navigator";c.Navigator=yt;function vt(e){const t={name:c.Navigator};return l({context:null,...e},t)}var St=Object.getOwnPropertyDescriptor,Et=(e,t,r,n)=>{for(var o=n>1?void 0:n?St(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const gt="navigator.navigate";exports.NavigateCommand=class{};exports.NavigateCommand=Et([d({id:gt})],exports.NavigateCommand);const Ct="notifications";c.Notification=Ct;const _t="routeRegistry";c.RouteRegistry=_t;var z=(e=>(e.Pending="PENDING",e.Started="STARTED",e.Retry="RETRY",e.Success="SUCCESS",e.Failure="FAILURE",e))(z||{}),ee=(e=>(e.Created="task.created",e.Success="task.success",e.Failed="task.failed",e))(ee||{});const Ot="state.tasks";c.TaskRepository=Ot;const At="state.configs";c.ConfigRepository=At;function Rt(e){const t={name:c.ConfigRepository};return l(e,t)}const wt="state.device";c.Device=wt;function jt(e={}){const t={name:c.Device};return l(e,t)}const Pt="state.filters";c.FilterRepository=Pt;function Dt(e={}){const t={name:c.FilterRepository};return l(e,t)}const It="state.user-data";c.UserDataRepository=It;function Nt(e={}){const t={name:c.UserDataRepository};return l(e,t)}const Mt="state.application";c.Application=Mt;function Lt(e={}){const t={name:c.Application};return e.map=[Tt,...e.map||[]],l(e,t)}function Tt(e){return e.applicationName}function xt(e={}){const t={name:c.Application};return e.map=[$t,...e.map||[]],l(e,t)}function $t(e){return e.currentUser}function Vt(e={}){const t={name:c.Application};return e.map=[Ut,...e.map||[]],l(e,t)}function Ut(e){return e.session}const Ft="userPreferences";c.UserPreferencesRepository=Ft;const Bt="datetimeformatter";c.DateTimeFormatter=Bt;function kt(e){return e.type==="limeobject"}function Gt(e){return e.type==="action"}const Ht="conditionRegistry";c.ConditionRegistry=Ht;const Qt="viewFactoryRegistry";c.ViewFactoryRegistry=Qt;const Wt="webComponentRegistry";c.WebComponentRegistry=Wt;const Yt="state.notifications";c.NotificationRepository=Yt;const qt="pollerFactory";c.PollerFactory=qt;exports.AggregateOperator=ut;exports.Command=d;exports.CommandEventName=K;exports.HttpMethod=ft;exports.IdleStateEventName=re;exports.Operator=Z;exports.PlatformServiceName=c;exports.SelectApplicationName=Lt;exports.SelectConfig=Rt;exports.SelectCurrentLimeObject=ke;exports.SelectCurrentLimeType=Le;exports.SelectCurrentUser=xt;exports.SelectDevice=jt;exports.SelectFilters=Dt;exports.SelectLimeObjects=Be;exports.SelectLimeTypes=Me;exports.SelectQueryParam=vt;exports.SelectSession=Vt;exports.SelectUserData=Nt;exports.TaskEventType=ee;exports.TaskState=z;exports.findLimetypeByLabel=xe;exports.getCommandId=X;exports.getCommandIds=J;exports.getPropertiesByType=$e;exports.getPropertyByLabel=Ve;exports.getPropertyByName=Ue;exports.hasLabel=P;exports.isActionCondition=Gt;exports.isDate=ie;exports.isFloat=ce;exports.isLimeObjectCondition=kt;exports.isRelation=ne;exports.isSingleRelation=oe;exports.isString=se;
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function w(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var E=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=O(s),u=a.next();!u.done;u=a.next()){var g=u.value;g.remove(this)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var D=this.initialTeardown;if(p(D))try{D()}catch(f){i=f instanceof C?f.errors:[f]}var I=this._finalizers;if(I){this._finalizers=null;try{for(var y=O(I),m=y.next();!m.done;m=y.next()){var te=m.value;try{N(te)}catch(f){i=i??[],f instanceof C?i=R(R([],A(i)),A(f.errors)):i.push(f)}}}catch(f){n={error:f}}finally{try{m&&!m.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(i)throw new C(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)N(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&w(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&w(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),k=E.EMPTY;function G(e){return e instanceof E||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function N(e){p(e)?e():e.unsubscribe()}var ue={Promise:void 0},le={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,R([e,t],A(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fe(e){le.setTimeout(function(){throw e})}function M(){}function v(e){e()}var H=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,G(r)&&r.add(n)):n.destination=me,n}return t.create=function(r,n,o){return new j(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(E),pe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){b(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){b(n)}else b(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){b(r)}},e}(),j=function(e){h(t,e);function t(r,n,o){var i=e.call(this)||this,s;return p(r)||!r?s={next:r??void 0,error:n??void 0,complete:o??void 0}:s=r,i.destination=new pe(s),i}return t}(H);function b(e){fe(e)}function de(e){throw e}var me={closed:!0,next:M,error:de,complete:M},he=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ye(e){return e}function be(e){return e.length===0?ye:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var L=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Se(t)?t:new j(t,r,n);return v(function(){var s=o,a=s.operator,u=s.source;i.add(a?a.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=T(r),new r(function(o,i){var s=new j({next:function(a){try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[he]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return be(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=T(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function T(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function ve(e){return e&&p(e.next)&&p(e.error)&&p(e.complete)}function Se(e){return e&&e instanceof H||ve(e)&&G(e)}var Ee=B(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Q=function(e){h(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new x(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ee},t.prototype.next=function(r){var n=this;v(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=O(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(g){o={error:g}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;v(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;v(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?k:(this.currentObservers=null,a.push(r),new E(function(){n.currentObservers=null,w(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new L;return r.source=this,r},t.create=function(r,n){return new x(r,n)},t}(L),x=function(e){h(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:k},t}(Q),ge=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t}(Q);function Ce(e){return e}function l(e,t){return(r,n)=>{const o=_e(r,n,e,t);o.length===1&&Oe(r,o)}}const $=new WeakMap,S=new WeakMap,W=new WeakMap;function _e(e,t,r,n){let o=$.get(e);return o||(o=[],$.set(e,o)),o.push({options:r,name:t,optionFactory:n.optionFactory||Ce,service:{name:n.name,method:n.method||"subscribe"}}),o}function Oe(e,t){e.connectedCallback=Y(e.connectedCallback,t),e.componentWillLoad=Ae(e.componentWillLoad,t),e.componentDidUnload=V(e.componentDidUnload),e.disconnectedCallback=V(e.disconnectedCallback)}function Y(e,t){return async function(...r){W.set(this,!0),S.set(this,[]),await q(this);const n=new ge(this.context);we(this,"context",n);for(const o of t)o.options=o.optionFactory(o.options,this),Re(o.options)&&(o.options.context=n),je(this,o);if(e)return e.apply(this,r)}}function Ae(e,t){return async function(...r){return W.get(this)===!0?(await q(this),e?e.apply(this,r):void 0):Y(e,t).apply(this,r)}}function V(e){return async function(...t){let r;return e&&(r=e.apply(this,t)),Pe(this),r}}function Re(e){return"context"in e}function q(e){const t=[];return e.platform||t.push(U(e,"platform")),e.context||t.push(U(e,"context")),t.length===0?Promise.resolve():Promise.all(t)}function U(e,t){const r=F.getElement(e);return new Promise(n=>{Object.defineProperty(r,t,{configurable:!0,set:o=>{delete r[t],r[t]=o,n()}})})}function we(e,t,r){const n=F.getElement(e),{get:o,set:i}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),t);Object.defineProperty(n,t,{configurable:!0,get:o,set:function(s){i.call(this,s),r.next(s)}})}function je(e,t){const r=Ie(e,t);if(typeof r!="function")return;S.get(e).push(r)}function Pe(e){const t=S.get(e);for(const r of t)r();S.set(e,[])}function De(e,t){return r=>{e[t]=r}}function Ie(e,t){const r={...t.options};Ne(r,e);const n=t.service.name,o=e.platform;if(!o.has(n))throw new Error(`Service ${n} does not exist`);return o.get(n)[t.service.method](De(e,t.name),r)}function Ne(e,t){e.filter&&(e.filter=e.filter.map(r=>r.bind(t))),e.map&&(e.map=e.map.map(r=>r.bind(t)))}function Me(e={}){const t={name:c.LimeTypeRepository};return l(e,t)}function Le(e={}){const t={name:c.LimeTypeRepository};return e.map=[Te,...e.map||[]],e.context=null,l(e,t)}function Te(e){const{limetype:t}=this.context;return e[t]}const xe=e=>t=>Object.values(t).find(P(e));function $e(e,t){return Object.values(e.properties).filter(r=>r.type===t)}function Ve(e,t){return Object.values(e.properties).find(P(t))}function Ue(e,t){return e.properties[t]}const P=e=>t=>t?.label===e,Fe="state.limeobjects";c.LimeObjectRepository=Fe;function Be(e={}){const t={name:c.LimeObjectRepository,optionFactory:He};return l(e,t)}function ke(e={}){const t={name:c.LimeObjectRepository};return e.map=[Ge,...e.map||[]],e.context=null,l(e,t)}function Ge(e){const{limetype:t,id:r}=this.context;if(e[t])return e[t].find(n=>n.id===r)}function He(e,t){return e.getLimetype&&(e.limetype=e.getLimetype(t)),e}var K=(e=>(e.Received="command.received",e.Handled="command.handled",e.Failed="command.failed",e))(K||{});function d(e){return t=>{Qe(t,e.id),We(t,e.id)}}function Qe(e,t){e.commandId=t}function We(e,t){Object.defineProperty(e,Symbol.hasInstance,{value:r=>J(r).includes(t)})}function X(e){return typeof e=="string"?e:e&&e.constructor&&e.constructor.commandId?e.constructor.commandId:e&&e.commandId?e.commandId:null}function J(e){let t=[],r,n=e;for(;r=X(n);)t=[...t,r],n=Object.getPrototypeOf(n);return[...new Set(t)]}const Ye="commandBus";c.CommandBus=Ye;var qe=Object.getOwnPropertyDescriptor,Ke=(e,t,r,n)=>{for(var o=n>1?void 0:n?qe(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const Xe="limeobject.bulk-create-dialog";exports.BulkCreateDialogCommand=class{};exports.BulkCreateDialogCommand=Ke([d({id:Xe})],exports.BulkCreateDialogCommand);var Je=Object.getOwnPropertyDescriptor,Ze=(e,t,r,n)=>{for(var o=n>1?void 0:n?Je(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const ze="limeobject.create-dialog";exports.CreateLimeobjectDialogCommand=class{constructor(){this.route=!1}};exports.CreateLimeobjectDialogCommand=Ze([d({id:ze})],exports.CreateLimeobjectDialogCommand);var et=Object.getOwnPropertyDescriptor,tt=(e,t,r,n)=>{for(var o=n>1?void 0:n?et(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const rt="limeobject.delete-object";exports.DeleteObjectCommand=class{};exports.DeleteObjectCommand=tt([d({id:rt})],exports.DeleteObjectCommand);var nt=Object.getOwnPropertyDescriptor,ot=(e,t,r,n)=>{for(var o=n>1?void 0:n?nt(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const it="limeobject.object-access";exports.OpenObjectAccessDialogCommand=class{};exports.OpenObjectAccessDialogCommand=ot([d({id:it})],exports.OpenObjectAccessDialogCommand);var st=Object.getOwnPropertyDescriptor,ct=(e,t,r,n)=>{for(var o=n>1?void 0:n?st(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const at="limeobject.save-object";exports.SaveLimeObjectCommand=class{constructor(){this.route=!1}};exports.SaveLimeObjectCommand=ct([d({id:at})],exports.SaveLimeObjectCommand);var Z=(e=>(e.AND="AND",e.OR="OR",e.NOT="!",e.EQUALS="=",e.NOT_EQUALS="!=",e.GREATER=">",e.LESS="<",e.IN="IN",e.BEGINS="=?",e.LIKE="?",e.LESS_OR_EQUAL="<=",e.GREATER_OR_EQUAL=">=",e.ENDS="=$",e))(Z||{});const ut={Count:"COUNT",Sum:"SUM",Average:"AVG",Maximum:"MAX",Minimum:"MIN"},lt="query";c.Query=lt;const ft={Get:"GET",Post:"POST",Put:"PUT",Delete:"DELETE",Patch:"PATCH"},pt="http";c.Http=pt;const dt="eventDispatcher";c.EventDispatcher=dt;const mt="translate";c.Translate=mt;const ht="dialog";c.Dialog=ht;const yt="keybindingRegistry";c.KeybindingRegistry=yt;const bt="navigator";c.Navigator=bt;function vt(e){const t={name:c.Navigator};return l({context:null,...e},t)}var St=Object.getOwnPropertyDescriptor,Et=(e,t,r,n)=>{for(var o=n>1?void 0:n?St(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};const gt="navigator.navigate";exports.NavigateCommand=class{};exports.NavigateCommand=Et([d({id:gt})],exports.NavigateCommand);const Ct="notifications";c.Notification=Ct;const _t="routeRegistry";c.RouteRegistry=_t;var z=(e=>(e.Pending="PENDING",e.Started="STARTED",e.Retry="RETRY",e.Success="SUCCESS",e.Failure="FAILURE",e))(z||{}),ee=(e=>(e.Created="task.created",e.Success="task.success",e.Failed="task.failed",e))(ee||{});const Ot="state.tasks";c.TaskRepository=Ot;const At="state.configs";c.ConfigRepository=At;function Rt(e){const t={name:c.ConfigRepository};return l(e,t)}const wt="state.device";c.Device=wt;function jt(e={}){const t={name:c.Device};return l(e,t)}const Pt="state.filters";c.FilterRepository=Pt;function Dt(e={}){const t={name:c.FilterRepository};return l(e,t)}const It="state.user-data";c.UserDataRepository=It;function Nt(e={}){const t={name:c.UserDataRepository};return l(e,t)}const Mt="state.application";c.Application=Mt;function Lt(e={}){const t={name:c.Application};return e.map=[Tt,...e.map||[]],l(e,t)}function Tt(e){return e.applicationName}function xt(e={}){const t={name:c.Application};return e.map=[$t,...e.map||[]],l(e,t)}function $t(e){return e.currentUser}function Vt(e={}){const t={name:c.Application};return e.map=[Ut,...e.map||[]],l(e,t)}function Ut(e){return e.session}const Ft="userPreferences";c.UserPreferencesRepository=Ft;const Bt="datetimeformatter";c.DateTimeFormatter=Bt;function kt(e){return e.type==="limeobject"}function Gt(e){return e.type==="action"}const Ht="conditionRegistry";c.ConditionRegistry=Ht;const Qt="viewFactoryRegistry";c.ViewFactoryRegistry=Qt;const Wt="webComponentRegistry";c.WebComponentRegistry=Wt;const Yt="state.notifications";c.NotificationRepository=Yt;const qt="pollerFactory";c.PollerFactory=qt;exports.AggregateOperator=ut;exports.Command=d;exports.CommandEventName=K;exports.HttpMethod=ft;exports.IdleStateEventName=re;exports.Operator=Z;exports.PlatformServiceName=c;exports.SelectApplicationName=Lt;exports.SelectConfig=Rt;exports.SelectCurrentLimeObject=ke;exports.SelectCurrentLimeType=Le;exports.SelectCurrentUser=xt;exports.SelectDevice=jt;exports.SelectFilters=Dt;exports.SelectLimeObjects=Be;exports.SelectLimeTypes=Me;exports.SelectQueryParam=vt;exports.SelectSession=Vt;exports.SelectUserData=Nt;exports.TaskEventType=ee;exports.TaskState=z;exports.findLimetypeByLabel=xe;exports.getCommandId=X;exports.getCommandIds=J;exports.getPropertiesByType=$e;exports.getPropertyByLabel=Ve;exports.getPropertyByName=Ue;exports.hasLabel=P;exports.isActionCondition=Gt;exports.isDate=ie;exports.isFloat=ce;exports.isLimeObjectCondition=kt;exports.isRelation=ne;exports.isSingleRelation=oe;exports.isString=se;
4
4
  //# sourceMappingURL=index.cjs.js.map