@limetech/lime-crm-building-blocks 1.105.2 → 1.106.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 (200) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/{index-ff255a0d.js → index-519b904a.js} +4 -1
  3. package/dist/cjs/{index.esm-d785eb6e.js → index.esm-b68bd570.js} +398 -268
  4. package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
  5. package/dist/cjs/{lime-query-validation-6d419d03.js → lime-query-validation-5eb432fe.js} +7 -7
  6. package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
  7. package/dist/cjs/limebb-chat-item_2.cjs.entry.js +2 -2
  8. package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
  9. package/dist/cjs/limebb-component-config.cjs.entry.js +2 -2
  10. package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
  11. package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
  12. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
  14. package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-document-item.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
  19. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +2 -2
  20. package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
  21. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
  23. package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
  24. package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
  25. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
  26. package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
  28. package/dist/cjs/limebb-info-tile.cjs.entry.js +126 -7
  29. package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
  30. package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
  31. package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
  32. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
  33. package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +7 -7
  34. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +18 -18
  35. package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +12 -12
  36. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +1 -1
  37. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
  38. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
  39. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +4 -4
  40. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +1 -1
  41. package/dist/cjs/limebb-loader.cjs.entry.js +3 -3
  42. package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
  43. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +1 -1
  44. package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
  45. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +1 -1
  46. package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
  47. package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
  48. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +1 -1
  49. package/dist/cjs/limebb-property-selector.cjs.entry.js +4 -4
  50. package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
  51. package/dist/cjs/limebb-text-editor.cjs.entry.js +6 -6
  52. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  53. package/dist/cjs/{limetype-f2e4376e.js → limetype-b91060e7.js} +2 -2
  54. package/dist/cjs/loader.cjs.js +2 -2
  55. package/dist/collection/components/chat-list/chat-item/chat-item.css +3 -0
  56. package/dist/collection/components/chat-list/chat-list.css +3 -0
  57. package/dist/collection/components/document-picker/document-picker.css +3 -0
  58. package/dist/collection/components/feed/feed-item/feed-timeline-item.css +3 -0
  59. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +3 -0
  60. package/dist/collection/components/info-tile/info-tile-context-provider.js +46 -0
  61. package/dist/collection/components/info-tile/info-tile.js +78 -4
  62. package/dist/collection/components/kanban/kanban-group/kanban-group.css +3 -0
  63. package/dist/collection/components/kanban/kanban-item/kanban-item.css +3 -0
  64. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +3 -0
  65. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +3 -0
  66. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +3 -0
  67. package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +3 -0
  68. package/dist/collection/components/navigation-button/navigation-button.css +3 -0
  69. package/dist/collection/components/notification-list/notification-item/notification-item.css +3 -0
  70. package/dist/collection/components/notification-list/notification-list.css +3 -0
  71. package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +3 -0
  72. package/dist/collection/components/trend-indicator/trend-indicator.css +3 -0
  73. package/dist/components/index.esm.js +389 -259
  74. package/dist/components/kanban-group.js +2 -2
  75. package/dist/components/lime-query-filter-builder.js +5 -5
  76. package/dist/components/lime-query-filter-comparison.js +14 -14
  77. package/dist/components/lime-query-filter-expression.js +12 -12
  78. package/dist/components/lime-query-validation.js +7 -7
  79. package/dist/components/lime-query-value-input.js +3 -3
  80. package/dist/components/limebb-info-tile.js +127 -7
  81. package/dist/components/limebb-lime-query-builder.js +2 -2
  82. package/dist/components/limebb-lime-query-response-format-builder.js +2 -2
  83. package/dist/components/limebb-limeobject-file-viewer.js +3 -3
  84. package/dist/components/limebb-loader.js +2 -2
  85. package/dist/components/limebb-text-editor.js +4 -4
  86. package/dist/components/limetype.js +2 -2
  87. package/dist/components/property-selector.js +2 -2
  88. package/dist/esm/{index-96dd111f.js → index-d86e55c0.js} +4 -2
  89. package/dist/esm/{index.esm-bb569663.js → index.esm-863d7783.js} +389 -259
  90. package/dist/esm/lime-crm-building-blocks.js +3 -3
  91. package/dist/esm/{lime-query-validation-237ee440.js → lime-query-validation-84253575.js} +7 -7
  92. package/dist/esm/limebb-browser.entry.js +2 -2
  93. package/dist/esm/limebb-chat-item_2.entry.js +2 -2
  94. package/dist/esm/limebb-chat-list.entry.js +2 -2
  95. package/dist/esm/limebb-component-config.entry.js +2 -2
  96. package/dist/esm/limebb-component-picker.entry.js +2 -2
  97. package/dist/esm/limebb-currency-picker.entry.js +2 -2
  98. package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
  99. package/dist/esm/limebb-date-picker.entry.js +2 -2
  100. package/dist/esm/limebb-date-range.entry.js +1 -1
  101. package/dist/esm/limebb-document-item.entry.js +1 -1
  102. package/dist/esm/limebb-document-picker.entry.js +1 -1
  103. package/dist/esm/limebb-empty-state.entry.js +1 -1
  104. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
  105. package/dist/esm/limebb-feed-timeline-item.entry.js +2 -2
  106. package/dist/esm/limebb-feed.entry.js +2 -2
  107. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  108. package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
  109. package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
  110. package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
  111. package/dist/esm/limebb-info-tile-format.entry.js +1 -1
  112. package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
  113. package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
  114. package/dist/esm/limebb-info-tile.entry.js +126 -7
  115. package/dist/esm/limebb-kanban-group.entry.js +3 -3
  116. package/dist/esm/limebb-kanban-item.entry.js +2 -2
  117. package/dist/esm/limebb-kanban.entry.js +1 -1
  118. package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
  119. package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +7 -7
  120. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +18 -18
  121. package/dist/esm/limebb-lime-query-filter-group_3.entry.js +12 -12
  122. package/dist/esm/limebb-lime-query-order-by-item.entry.js +1 -1
  123. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
  124. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
  125. package/dist/esm/limebb-limeobject-file-viewer.entry.js +4 -4
  126. package/dist/esm/limebb-live-docs-info.entry.js +1 -1
  127. package/dist/esm/limebb-loader.entry.js +3 -3
  128. package/dist/esm/limebb-locale-picker.entry.js +2 -2
  129. package/dist/esm/limebb-mention-group-counter.entry.js +1 -1
  130. package/dist/esm/limebb-mention.entry.js +2 -2
  131. package/dist/esm/limebb-navigation-button_2.entry.js +1 -1
  132. package/dist/esm/limebb-notification-item.entry.js +2 -2
  133. package/dist/esm/limebb-notification-list.entry.js +2 -2
  134. package/dist/esm/limebb-percentage-visualizer.entry.js +1 -1
  135. package/dist/esm/limebb-property-selector.entry.js +4 -4
  136. package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
  137. package/dist/esm/limebb-text-editor.entry.js +6 -6
  138. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  139. package/dist/esm/{limetype-c0e041f7.js → limetype-09477163.js} +2 -2
  140. package/dist/esm/loader.js +3 -3
  141. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  142. package/dist/lime-crm-building-blocks/{p-e9d23ef7.entry.js → p-0bab7df6.entry.js} +1 -1
  143. package/dist/lime-crm-building-blocks/{p-218b7f38.entry.js → p-0c290fd8.entry.js} +1 -1
  144. package/dist/lime-crm-building-blocks/{p-2fdcb868.entry.js → p-0da02112.entry.js} +1 -1
  145. package/dist/lime-crm-building-blocks/{p-3932077b.entry.js → p-17baea44.entry.js} +1 -1
  146. package/dist/lime-crm-building-blocks/{p-2673c79e.entry.js → p-228573ab.entry.js} +1 -1
  147. package/dist/lime-crm-building-blocks/p-351de229.entry.js +1 -0
  148. package/dist/lime-crm-building-blocks/p-3b1fcd5b.js +1 -0
  149. package/dist/lime-crm-building-blocks/{p-6c56121c.entry.js → p-3da67f32.entry.js} +1 -1
  150. package/dist/lime-crm-building-blocks/{p-28346b49.entry.js → p-4653738d.entry.js} +1 -1
  151. package/dist/lime-crm-building-blocks/{p-568b7520.entry.js → p-4ca1caf4.entry.js} +1 -1
  152. package/dist/lime-crm-building-blocks/{p-3175883d.entry.js → p-4fa58e0e.entry.js} +1 -1
  153. package/dist/lime-crm-building-blocks/p-52cf8641.js +2 -0
  154. package/dist/lime-crm-building-blocks/{p-7271f47a.entry.js → p-52fb8909.entry.js} +1 -1
  155. package/dist/lime-crm-building-blocks/{p-25e1a434.entry.js → p-579be797.entry.js} +1 -1
  156. package/dist/lime-crm-building-blocks/{p-eb81bceb.entry.js → p-5f12cdea.entry.js} +1 -1
  157. package/dist/lime-crm-building-blocks/{p-20bfca36.js → p-6aeb7b9b.js} +1 -1
  158. package/dist/lime-crm-building-blocks/{p-1be0eec7.entry.js → p-77b97c9f.entry.js} +1 -1
  159. package/dist/lime-crm-building-blocks/{p-c0ec1ddf.entry.js → p-7c04361c.entry.js} +1 -1
  160. package/dist/lime-crm-building-blocks/{p-5464f0de.entry.js → p-7ce112a7.entry.js} +1 -1
  161. package/dist/lime-crm-building-blocks/{p-9031f136.entry.js → p-85cae2a1.entry.js} +1 -1
  162. package/dist/lime-crm-building-blocks/{p-61282e1a.entry.js → p-92062bd6.entry.js} +1 -1
  163. package/dist/lime-crm-building-blocks/{p-10ac8b3e.entry.js → p-937e9144.entry.js} +1 -1
  164. package/dist/lime-crm-building-blocks/{p-09ce8be4.entry.js → p-9624acfd.entry.js} +1 -1
  165. package/dist/lime-crm-building-blocks/{p-3a406a20.entry.js → p-973146f7.entry.js} +1 -1
  166. package/dist/lime-crm-building-blocks/{p-8491aaa1.entry.js → p-9b4617bd.entry.js} +1 -1
  167. package/dist/lime-crm-building-blocks/{p-ef042c82.entry.js → p-9d41c07e.entry.js} +1 -1
  168. package/dist/lime-crm-building-blocks/p-9f2a9cf5.js +1 -0
  169. package/dist/lime-crm-building-blocks/{p-fdd5600b.entry.js → p-a9160103.entry.js} +1 -1
  170. package/dist/lime-crm-building-blocks/{p-03af0e66.entry.js → p-a9807878.entry.js} +1 -1
  171. package/dist/lime-crm-building-blocks/{p-80b9d946.entry.js → p-a9ef0153.entry.js} +1 -1
  172. package/dist/lime-crm-building-blocks/{p-7d2188aa.entry.js → p-aec5cbca.entry.js} +1 -1
  173. package/dist/lime-crm-building-blocks/{p-2faaacbc.entry.js → p-b4bd67e2.entry.js} +1 -1
  174. package/dist/lime-crm-building-blocks/{p-19ff678d.entry.js → p-bd6b5a42.entry.js} +1 -1
  175. package/dist/lime-crm-building-blocks/{p-098ee6c1.entry.js → p-bd92871a.entry.js} +1 -1
  176. package/dist/lime-crm-building-blocks/{p-9c2062bc.entry.js → p-c3c0c738.entry.js} +1 -1
  177. package/dist/lime-crm-building-blocks/{p-ff0b244b.entry.js → p-c678ba6d.entry.js} +1 -1
  178. package/dist/lime-crm-building-blocks/{p-ee1b00b9.entry.js → p-cbbcec09.entry.js} +1 -1
  179. package/dist/lime-crm-building-blocks/{p-cfa1a4ad.entry.js → p-d51d607b.entry.js} +1 -1
  180. package/dist/lime-crm-building-blocks/{p-00da9b24.entry.js → p-d880ba5e.entry.js} +1 -1
  181. package/dist/lime-crm-building-blocks/{p-761c7c7c.entry.js → p-da511a18.entry.js} +1 -1
  182. package/dist/lime-crm-building-blocks/{p-f7ea292d.entry.js → p-dd6861b1.entry.js} +1 -1
  183. package/dist/lime-crm-building-blocks/p-ddfd5196.entry.js +1 -0
  184. package/dist/lime-crm-building-blocks/{p-32534eb7.entry.js → p-e03755ed.entry.js} +1 -1
  185. package/dist/lime-crm-building-blocks/{p-292631ea.entry.js → p-e79f16ca.entry.js} +1 -1
  186. package/dist/lime-crm-building-blocks/{p-8c4eb49f.entry.js → p-eaf58ba4.entry.js} +1 -1
  187. package/dist/lime-crm-building-blocks/{p-01cff04f.entry.js → p-eb56d4eb.entry.js} +1 -1
  188. package/dist/lime-crm-building-blocks/{p-ee0e42dd.entry.js → p-f1eee3bb.entry.js} +1 -1
  189. package/dist/lime-crm-building-blocks/{p-5dc574a3.entry.js → p-f97ea913.entry.js} +1 -1
  190. package/dist/lime-crm-building-blocks/{p-4caa8bbe.entry.js → p-fb292b3f.entry.js} +1 -1
  191. package/dist/lime-crm-building-blocks/{p-bc18b0e7.entry.js → p-fc92dab6.entry.js} +1 -1
  192. package/dist/lime-crm-building-blocks/{p-f52125a0.entry.js → p-fcb3499b.entry.js} +1 -1
  193. package/dist/types/components/info-tile/info-tile-context-provider.d.ts +35 -0
  194. package/dist/types/components/info-tile/info-tile.d.ts +7 -0
  195. package/package.json +4 -4
  196. package/dist/lime-crm-building-blocks/p-11aa4103.js +0 -1
  197. package/dist/lime-crm-building-blocks/p-1556b545.js +0 -2
  198. package/dist/lime-crm-building-blocks/p-206575e4.entry.js +0 -1
  199. package/dist/lime-crm-building-blocks/p-4838284a.js +0 -1
  200. package/dist/lime-crm-building-blocks/p-a200954f.entry.js +0 -1
@@ -1,9 +1,9 @@
1
- import { getElement } from '@stencil/core/internal/client';
1
+ import { setErrorHandler, getElement } from '@stencil/core/internal/client';
2
2
 
3
3
  const c = {
4
4
  Route: "route"
5
5
  };
6
- function De(t) {
6
+ function Ye(t) {
7
7
  return t && [
8
8
  "belongsto",
9
9
  "hasone",
@@ -11,22 +11,22 @@ function De(t) {
11
11
  "hasandbelongstomany"
12
12
  ].includes(t.type);
13
13
  }
14
- function Me(t) {
14
+ function qe(t) {
15
15
  return t && ["belongsto", "hasone"].includes(t.type);
16
16
  }
17
- const rt = "state.limetypes";
18
- c.LimeTypeRepository = rt;
19
- var C = function(t, e) {
20
- return C = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
17
+ const st = "state.limetypes";
18
+ c.LimeTypeRepository = st;
19
+ var A = function(t, e) {
20
+ return A = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
21
21
  r.__proto__ = n;
22
22
  } || function(r, n) {
23
23
  for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
24
- }, C(t, e);
24
+ }, A(t, e);
25
25
  };
26
- function y(t, e) {
26
+ function m(t, e) {
27
27
  if (typeof e != "function" && e !== null)
28
28
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
29
- C(t, e);
29
+ A(t, e);
30
30
  function r() {
31
31
  this.constructor = t;
32
32
  }
@@ -42,7 +42,7 @@ function O(t) {
42
42
  };
43
43
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
44
44
  }
45
- function A(t, e) {
45
+ function P(t, e) {
46
46
  var r = typeof Symbol == "function" && t[Symbol.iterator];
47
47
  if (!r) return t;
48
48
  var n = r.call(t), o, i = [], s;
@@ -59,7 +59,7 @@ function A(t, e) {
59
59
  }
60
60
  return i;
61
61
  }
62
- function R(t, e, r) {
62
+ function I(t, e, r) {
63
63
  if (r || arguments.length === 2) for (var n = 0, o = e.length, i; n < o; n++)
64
64
  (i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
65
65
  return t.concat(i || Array.prototype.slice.call(e));
@@ -67,13 +67,13 @@ function R(t, e, r) {
67
67
  function p(t) {
68
68
  return typeof t == "function";
69
69
  }
70
- function Q(t) {
70
+ function K(t) {
71
71
  var e = function(n) {
72
72
  Error.call(n), n.stack = new Error().stack;
73
73
  }, r = t(e);
74
74
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
75
75
  }
76
- var g = Q(function(t) {
76
+ var w = K(function(t) {
77
77
  return function(r) {
78
78
  t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
79
79
  ` + r.map(function(n, o) {
@@ -82,13 +82,13 @@ var g = Q(function(t) {
82
82
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
83
83
  };
84
84
  });
85
- function w(t, e) {
85
+ function j(t, e) {
86
86
  if (t) {
87
87
  var r = t.indexOf(e);
88
88
  0 <= r && t.splice(r, 1);
89
89
  }
90
90
  }
91
- var S = function() {
91
+ var _ = (function() {
92
92
  function t(e) {
93
93
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
94
94
  }
@@ -101,8 +101,8 @@ var S = function() {
101
101
  if (this._parentage = null, Array.isArray(s))
102
102
  try {
103
103
  for (var u = O(s), a = u.next(); !a.done; a = u.next()) {
104
- var _ = a.value;
105
- _.remove(this);
104
+ var C = a.value;
105
+ C.remove(this);
106
106
  }
107
107
  } catch (f) {
108
108
  e = { error: f };
@@ -115,37 +115,37 @@ var S = function() {
115
115
  }
116
116
  else
117
117
  s.remove(this);
118
- var I = this.initialTeardown;
119
- if (p(I))
118
+ var M = this.initialTeardown;
119
+ if (p(M))
120
120
  try {
121
- I();
121
+ M();
122
122
  } catch (f) {
123
- i = f instanceof g ? f.errors : [f];
123
+ i = f instanceof w ? f.errors : [f];
124
124
  }
125
- var j = this._finalizers;
126
- if (j) {
125
+ var N = this._finalizers;
126
+ if (N) {
127
127
  this._finalizers = null;
128
128
  try {
129
- for (var b = O(j), d = b.next(); !d.done; d = b.next()) {
130
- var et = d.value;
129
+ for (var b = O(N), y = b.next(); !y.done; y = b.next()) {
130
+ var ot = y.value;
131
131
  try {
132
- D(et);
132
+ D(ot);
133
133
  } catch (f) {
134
- i = i ?? [], f instanceof g ? i = R(R([], A(i)), A(f.errors)) : i.push(f);
134
+ i = i ?? [], f instanceof w ? i = I(I([], P(i)), P(f.errors)) : i.push(f);
135
135
  }
136
136
  }
137
137
  } catch (f) {
138
138
  n = { error: f };
139
139
  } finally {
140
140
  try {
141
- d && !d.done && (o = b.return) && o.call(b);
141
+ y && !y.done && (o = b.return) && o.call(b);
142
142
  } finally {
143
143
  if (n) throw n.error;
144
144
  }
145
145
  }
146
146
  }
147
147
  if (i)
148
- throw new g(i);
148
+ throw new w(i);
149
149
  }
150
150
  }, t.prototype.add = function(e) {
151
151
  var r;
@@ -168,52 +168,52 @@ var S = function() {
168
168
  this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
169
169
  }, t.prototype._removeParent = function(e) {
170
170
  var r = this._parentage;
171
- r === e ? this._parentage = null : Array.isArray(r) && w(r, e);
171
+ r === e ? this._parentage = null : Array.isArray(r) && j(r, e);
172
172
  }, t.prototype.remove = function(e) {
173
173
  var r = this._finalizers;
174
- r && w(r, e), e instanceof t && e._removeParent(this);
175
- }, t.EMPTY = function() {
174
+ r && j(r, e), e instanceof t && e._removeParent(this);
175
+ }, t.EMPTY = (function() {
176
176
  var e = new t();
177
177
  return e.closed = !0, e;
178
- }(), t;
179
- }(), Y = S.EMPTY;
180
- function q(t) {
181
- return t instanceof S || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
178
+ })(), t;
179
+ })(), X = _.EMPTY;
180
+ function J(t) {
181
+ return t instanceof _ || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
182
182
  }
183
183
  function D(t) {
184
184
  p(t) ? t() : t.unsubscribe();
185
185
  }
186
- var nt = {
186
+ var ct = {
187
187
  Promise: void 0
188
- }, ot = {
188
+ }, ut = {
189
189
  setTimeout: function(t, e) {
190
190
  for (var r = [], n = 2; n < arguments.length; n++)
191
191
  r[n - 2] = arguments[n];
192
- return setTimeout.apply(void 0, R([t, e], A(r)));
192
+ return setTimeout.apply(void 0, I([t, e], P(r)));
193
193
  },
194
194
  clearTimeout: function(t) {
195
195
  return clearTimeout(t);
196
196
  },
197
197
  delegate: void 0
198
198
  };
199
- function it(t) {
200
- ot.setTimeout(function() {
199
+ function at(t) {
200
+ ut.setTimeout(function() {
201
201
  throw t;
202
202
  });
203
203
  }
204
- function M() {
204
+ function $() {
205
205
  }
206
- function m(t) {
206
+ function E(t) {
207
207
  t();
208
208
  }
209
- var K = function(t) {
210
- y(e, t);
209
+ var Z = (function(t) {
210
+ m(e, t);
211
211
  function e(r) {
212
212
  var n = t.call(this) || this;
213
- return n.isStopped = !1, r ? (n.destination = r, q(r) && r.add(n)) : n.destination = ut, n;
213
+ return n.isStopped = !1, r ? (n.destination = r, J(r) && r.add(n)) : n.destination = pt, n;
214
214
  }
215
215
  return e.create = function(r, n, o) {
216
- return new P(r, n, o);
216
+ return new x(r, n, o);
217
217
  }, e.prototype.next = function(r) {
218
218
  this.isStopped || this._next(r);
219
219
  }, e.prototype.error = function(r) {
@@ -237,7 +237,7 @@ var K = function(t) {
237
237
  this.unsubscribe();
238
238
  }
239
239
  }, e;
240
- }(S), st = function() {
240
+ })(_), lt = (function() {
241
241
  function t(e) {
242
242
  this.partialObserver = e;
243
243
  }
@@ -268,43 +268,43 @@ var K = function(t) {
268
268
  v(r);
269
269
  }
270
270
  }, t;
271
- }(), P = function(t) {
272
- y(e, t);
271
+ })(), x = (function(t) {
272
+ m(e, t);
273
273
  function e(r, n, o) {
274
274
  var i = t.call(this) || this, s;
275
275
  return p(r) || !r ? s = {
276
276
  next: r ?? void 0,
277
277
  error: n ?? void 0,
278
278
  complete: o ?? void 0
279
- } : s = r, i.destination = new st(s), i;
279
+ } : s = r, i.destination = new lt(s), i;
280
280
  }
281
281
  return e;
282
- }(K);
282
+ })(Z);
283
283
  function v(t) {
284
- it(t);
284
+ at(t);
285
285
  }
286
- function ct(t) {
286
+ function ft(t) {
287
287
  throw t;
288
288
  }
289
- var ut = {
289
+ var pt = {
290
290
  closed: !0,
291
- next: M,
292
- error: ct,
293
- complete: M
294
- }, at = function() {
291
+ next: $,
292
+ error: ft,
293
+ complete: $
294
+ }, ht = (function() {
295
295
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
296
- }();
297
- function lt(t) {
296
+ })();
297
+ function dt(t) {
298
298
  return t;
299
299
  }
300
- function ft(t) {
301
- return t.length === 0 ? lt : t.length === 1 ? t[0] : function(r) {
300
+ function yt(t) {
301
+ return t.length === 0 ? dt : t.length === 1 ? t[0] : function(r) {
302
302
  return t.reduce(function(n, o) {
303
303
  return o(n);
304
304
  }, r);
305
305
  };
306
306
  }
307
- var N = function() {
307
+ var L = (function() {
308
308
  function t(e) {
309
309
  e && (this._subscribe = e);
310
310
  }
@@ -312,8 +312,8 @@ var N = function() {
312
312
  var r = new t();
313
313
  return r.source = this, r.operator = e, r;
314
314
  }, t.prototype.subscribe = function(e, r, n) {
315
- var o = this, i = ht(e) ? e : new P(e, r, n);
316
- return m(function() {
315
+ var o = this, i = bt(e) ? e : new x(e, r, n);
316
+ return E(function() {
317
317
  var s = o, u = s.operator, a = s.source;
318
318
  i.add(u ? u.call(i, a) : a ? o._subscribe(i) : o._trySubscribe(i));
319
319
  }), i;
@@ -325,8 +325,8 @@ var N = function() {
325
325
  }
326
326
  }, t.prototype.forEach = function(e, r) {
327
327
  var n = this;
328
- return r = x(r), new r(function(o, i) {
329
- var s = new P({
328
+ return r = T(r), new r(function(o, i) {
329
+ var s = new x({
330
330
  next: function(u) {
331
331
  try {
332
332
  e(u);
@@ -342,15 +342,15 @@ var N = function() {
342
342
  }, t.prototype._subscribe = function(e) {
343
343
  var r;
344
344
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
345
- }, t.prototype[at] = function() {
345
+ }, t.prototype[ht] = function() {
346
346
  return this;
347
347
  }, t.prototype.pipe = function() {
348
348
  for (var e = [], r = 0; r < arguments.length; r++)
349
349
  e[r] = arguments[r];
350
- return ft(e)(this);
350
+ return yt(e)(this);
351
351
  }, t.prototype.toPromise = function(e) {
352
352
  var r = this;
353
- return e = x(e), new e(function(n, o) {
353
+ return e = T(e), new e(function(n, o) {
354
354
  var i;
355
355
  r.subscribe(function(s) {
356
356
  return i = s;
@@ -363,36 +363,36 @@ var N = function() {
363
363
  }, t.create = function(e) {
364
364
  return new t(e);
365
365
  }, t;
366
- }();
367
- function x(t) {
366
+ })();
367
+ function T(t) {
368
368
  var e;
369
- return (e = t ?? nt.Promise) !== null && e !== void 0 ? e : Promise;
369
+ return (e = t ?? ct.Promise) !== null && e !== void 0 ? e : Promise;
370
370
  }
371
- function pt(t) {
371
+ function mt(t) {
372
372
  return t && p(t.next) && p(t.error) && p(t.complete);
373
373
  }
374
- function ht(t) {
375
- return t && t instanceof K || pt(t) && q(t);
374
+ function bt(t) {
375
+ return t && t instanceof Z || mt(t) && J(t);
376
376
  }
377
- var dt = Q(function(t) {
377
+ var vt = K(function(t) {
378
378
  return function() {
379
379
  t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
380
380
  };
381
- }), X = function(t) {
382
- y(e, t);
381
+ }), z = (function(t) {
382
+ m(e, t);
383
383
  function e() {
384
384
  var r = t.call(this) || this;
385
385
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
386
386
  }
387
387
  return e.prototype.lift = function(r) {
388
- var n = new $(this, this);
388
+ var n = new V(this, this);
389
389
  return n.operator = r, n;
390
390
  }, e.prototype._throwIfClosed = function() {
391
391
  if (this.closed)
392
- throw new dt();
392
+ throw new vt();
393
393
  }, e.prototype.next = function(r) {
394
394
  var n = this;
395
- m(function() {
395
+ E(function() {
396
396
  var o, i;
397
397
  if (n._throwIfClosed(), !n.isStopped) {
398
398
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -401,8 +401,8 @@ var dt = Q(function(t) {
401
401
  var a = u.value;
402
402
  a.next(r);
403
403
  }
404
- } catch (_) {
405
- o = { error: _ };
404
+ } catch (C) {
405
+ o = { error: C };
406
406
  } finally {
407
407
  try {
408
408
  u && !u.done && (i = s.return) && i.call(s);
@@ -414,7 +414,7 @@ var dt = Q(function(t) {
414
414
  });
415
415
  }, e.prototype.error = function(r) {
416
416
  var n = this;
417
- m(function() {
417
+ E(function() {
418
418
  if (n._throwIfClosed(), !n.isStopped) {
419
419
  n.hasError = n.isStopped = !0, n.thrownError = r;
420
420
  for (var o = n.observers; o.length; )
@@ -423,7 +423,7 @@ var dt = Q(function(t) {
423
423
  });
424
424
  }, e.prototype.complete = function() {
425
425
  var r = this;
426
- m(function() {
426
+ E(function() {
427
427
  if (r._throwIfClosed(), !r.isStopped) {
428
428
  r.isStopped = !0;
429
429
  for (var n = r.observers; n.length; )
@@ -445,20 +445,20 @@ var dt = Q(function(t) {
445
445
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
446
446
  }, e.prototype._innerSubscribe = function(r) {
447
447
  var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
448
- return i || s ? Y : (this.currentObservers = null, u.push(r), new S(function() {
449
- n.currentObservers = null, w(u, r);
448
+ return i || s ? X : (this.currentObservers = null, u.push(r), new _(function() {
449
+ n.currentObservers = null, j(u, r);
450
450
  }));
451
451
  }, e.prototype._checkFinalizedStatuses = function(r) {
452
452
  var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
453
453
  o ? r.error(i) : s && r.complete();
454
454
  }, e.prototype.asObservable = function() {
455
- var r = new N();
455
+ var r = new L();
456
456
  return r.source = this, r;
457
457
  }, e.create = function(r, n) {
458
- return new $(r, n);
458
+ return new V(r, n);
459
459
  }, e;
460
- }(N), $ = function(t) {
461
- y(e, t);
460
+ })(L), V = (function(t) {
461
+ m(e, t);
462
462
  function e(r, n) {
463
463
  var o = t.call(this) || this;
464
464
  return o.destination = r, o.source = n, o;
@@ -474,10 +474,10 @@ var dt = Q(function(t) {
474
474
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
475
475
  }, e.prototype._subscribe = function(r) {
476
476
  var n, o;
477
- return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o : Y;
477
+ return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o : X;
478
478
  }, e;
479
- }(X), yt = function(t) {
480
- y(e, t);
479
+ })(z), gt = (function(t) {
480
+ m(e, t);
481
481
  function e(r) {
482
482
  var n = t.call(this) || this;
483
483
  return n._value = r, n;
@@ -499,77 +499,77 @@ var dt = Q(function(t) {
499
499
  }, e.prototype.next = function(r) {
500
500
  t.prototype.next.call(this, this._value = r);
501
501
  }, e;
502
- }(X);
503
- function bt(t) {
502
+ })(z);
503
+ function Et(t) {
504
504
  return t;
505
505
  }
506
506
  function l(t, e) {
507
507
  return (r, n) => {
508
- const o = vt(
508
+ const o = St(
509
509
  r,
510
510
  n,
511
511
  t,
512
512
  e
513
513
  );
514
- o.length === 1 && mt(r, o);
514
+ o.length === 1 && _t(r, o);
515
515
  };
516
516
  }
517
- const T = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
518
- function vt(t, e, r, n) {
519
- let o = T.get(t);
520
- return o || (o = [], T.set(t, o)), o.push({
517
+ const F = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap();
518
+ function St(t, e, r, n) {
519
+ let o = F.get(t);
520
+ return o || (o = [], F.set(t, o)), o.push({
521
521
  options: r,
522
522
  name: e,
523
- optionFactory: n.optionFactory || bt,
523
+ optionFactory: n.optionFactory || Et,
524
524
  service: {
525
525
  name: n.name,
526
526
  method: n.method || "subscribe"
527
527
  }
528
528
  }), o;
529
529
  }
530
- function mt(t, e) {
531
- t.connectedCallback = Z(
530
+ function _t(t, e) {
531
+ t.connectedCallback = et(
532
532
  t.connectedCallback,
533
533
  e
534
- ), t.componentWillLoad = Et(
534
+ ), t.componentWillLoad = Ct(
535
535
  t.componentWillLoad,
536
536
  e
537
- ), t.componentDidUnload = L(
537
+ ), t.componentDidUnload = U(
538
538
  t.componentDidUnload
539
- ), t.disconnectedCallback = L(
539
+ ), t.disconnectedCallback = U(
540
540
  t.disconnectedCallback
541
541
  );
542
542
  }
543
- function Z(t, e) {
543
+ function et(t, e) {
544
544
  return async function(...r) {
545
- J.set(this, !0), E.set(this, []), await z(this);
546
- const n = new yt(this.context);
547
- _t(this, "context", n);
545
+ tt.set(this, !0), S.set(this, []), await rt(this);
546
+ const n = new gt(this.context);
547
+ Rt(this, "context", n);
548
548
  for (const o of e)
549
- o.options = o.optionFactory(o.options, this), St(o.options) && (o.options.context = n), gt(this, o);
549
+ o.options = o.optionFactory(o.options, this), wt(o.options) && (o.options.context = n), At(this, o);
550
550
  if (t)
551
551
  return t.apply(this, r);
552
552
  };
553
553
  }
554
- function Et(t, e) {
554
+ function Ct(t, e) {
555
555
  return async function(...r) {
556
- return J.get(this) === !0 ? (await z(this), t ? t.apply(this, r) : void 0) : Z(t, e).apply(this, r);
556
+ return tt.get(this) === !0 ? (await rt(this), t ? t.apply(this, r) : void 0) : et(t, e).apply(this, r);
557
557
  };
558
558
  }
559
- function L(t) {
559
+ function U(t) {
560
560
  return async function(...e) {
561
561
  let r;
562
- return t && (r = t.apply(this, e)), Ct(this), r;
562
+ return t && (r = t.apply(this, e)), Ot(this), r;
563
563
  };
564
564
  }
565
- function St(t) {
565
+ function wt(t) {
566
566
  return "context" in t;
567
567
  }
568
- function z(t) {
568
+ function rt(t) {
569
569
  const e = [];
570
- return t.platform || e.push(V(t, "platform")), t.context || e.push(V(t, "context")), e.length === 0 ? Promise.resolve() : Promise.all(e);
570
+ return t.platform || e.push(k(t, "platform")), t.context || e.push(k(t, "context")), e.length === 0 ? Promise.resolve() : Promise.all(e);
571
571
  }
572
- function V(t, e) {
572
+ function k(t, e) {
573
573
  const r = getElement(t);
574
574
  return new Promise((n) => {
575
575
  Object.defineProperty(r, e, {
@@ -580,7 +580,7 @@ function V(t, e) {
580
580
  });
581
581
  });
582
582
  }
583
- function _t(t, e, r) {
583
+ function Rt(t, e, r) {
584
584
  const n = getElement(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
585
585
  Object.getPrototypeOf(n),
586
586
  e
@@ -593,241 +593,371 @@ function _t(t, e, r) {
593
593
  }
594
594
  });
595
595
  }
596
- function gt(t, e) {
597
- const r = At(t, e);
596
+ function At(t, e) {
597
+ const r = It(t, e);
598
598
  if (typeof r != "function")
599
599
  return;
600
- E.get(t).push(r);
600
+ S.get(t).push(r);
601
601
  }
602
- function Ct(t) {
603
- const e = E.get(t);
602
+ function Ot(t) {
603
+ const e = S.get(t);
604
604
  for (const r of e) r();
605
- E.set(t, []);
605
+ S.set(t, []);
606
606
  }
607
- function Ot(t, e) {
607
+ function Pt(t, e) {
608
608
  return (r) => {
609
609
  t[e] = r;
610
610
  };
611
611
  }
612
- function At(t, e) {
612
+ function It(t, e) {
613
613
  const r = { ...e.options };
614
- Rt(r, t);
614
+ jt(r, t);
615
615
  const n = e.service.name, o = t.platform;
616
616
  if (!o.has(n))
617
617
  throw new Error(`Service ${n} does not exist`);
618
618
  return o.get(n)[e.service.method](
619
- Ot(t, e.name),
619
+ Pt(t, e.name),
620
620
  r
621
621
  );
622
622
  }
623
- function Rt(t, e) {
623
+ function jt(t, e) {
624
624
  t.filter && (t.filter = t.filter.map((r) => r.bind(e))), t.map && (t.map = t.map.map((r) => r.bind(e)));
625
625
  }
626
- function Te(t = {}) {
626
+ function Ze(t = {}) {
627
627
  const e = {
628
628
  name: c.LimeTypeRepository
629
629
  };
630
630
  return l(t, e);
631
631
  }
632
- function Le(t = {}) {
632
+ function ze(t = {}) {
633
633
  const e = {
634
634
  name: c.LimeTypeRepository
635
635
  };
636
- return t.map = [wt, ...t.map || []], t.context = null, l(t, e);
636
+ return t.map = [xt, ...t.map || []], t.context = null, l(t, e);
637
637
  }
638
- function wt(t) {
638
+ function xt(t) {
639
639
  const { limetype: e } = this.context;
640
640
  return t[e];
641
641
  }
642
- const Pt = "state.limeobjects";
643
- c.LimeObjectRepository = Pt;
644
- function Ge(t = {}) {
642
+ const Mt = "state.limeobjects";
643
+ c.LimeObjectRepository = Mt;
644
+ function ir(t = {}) {
645
645
  const e = {
646
646
  name: c.LimeObjectRepository
647
647
  };
648
- return t.map = [It, ...t.map || []], t.context = null, l(t, e);
648
+ return t.map = [Nt, ...t.map || []], t.context = null, l(t, e);
649
649
  }
650
- function It(t) {
650
+ function Nt(t) {
651
651
  const { limetype: e, id: r } = this.context;
652
652
  if (t[e])
653
653
  return t[e].find((n) => n.id === r);
654
654
  }
655
- function h(t) {
655
+ function d(t) {
656
656
  return (e) => {
657
- Mt(e, t.id), Nt(e, t.id);
657
+ Lt(e, t.id), Tt(e, t.id);
658
658
  };
659
659
  }
660
- function Mt(t, e) {
660
+ function Lt(t, e) {
661
661
  t.commandId = e;
662
662
  }
663
- function Nt(t, e) {
663
+ function Tt(t, e) {
664
664
  Object.defineProperty(t, Symbol.hasInstance, {
665
- value: (r) => $t(r).includes(e)
665
+ value: (r) => Ft(r).includes(e)
666
666
  });
667
667
  }
668
- function xt(t) {
668
+ function Vt(t) {
669
669
  return typeof t == "string" ? t : t && t.constructor && t.constructor.commandId ? t.constructor.commandId : t && t.commandId ? t.commandId : null;
670
670
  }
671
- function $t(t) {
671
+ function Ft(t) {
672
672
  let e = [], r, n = t;
673
- for (; r = xt(n); )
673
+ for (; r = Vt(n); )
674
674
  e = [...e, r], n = Object.getPrototypeOf(n);
675
675
  return [...new Set(e)];
676
676
  }
677
- const Tt = "commandBus";
678
- c.CommandBus = Tt;
679
- var Lt = Object.getOwnPropertyDescriptor, Vt = (t, e, r, n) => {
680
- for (var o = n > 1 ? void 0 : n ? Lt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
677
+ const Ut = "commandBus";
678
+ c.CommandBus = Ut;
679
+ var kt = Object.getOwnPropertyDescriptor, Bt = (t, e, r, n) => {
680
+ for (var o = n > 1 ? void 0 : n ? kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
681
681
  (s = t[i]) && (o = s(o) || o);
682
682
  return o;
683
683
  };
684
- const Ut = "limeobject.bulk-create-dialog";
685
- let U = class {
684
+ const Ht = "limeobject.bulk-create-dialog";
685
+ let B = class {
686
+ context;
687
+ /**
688
+ * A query describing what limeobjects to create new limeobjects from. Each object from the result will result in a
689
+ * new related limeobject to be created
690
+ */
691
+ filter;
692
+ /**
693
+ * The name of the relation on the limetype to create objects of
694
+ */
695
+ relation;
686
696
  };
687
- U = Vt([
688
- h({
689
- id: Ut
697
+ B = Bt([
698
+ d({
699
+ id: Ht
690
700
  })
691
- ], U);
692
- var Ft = Object.getOwnPropertyDescriptor, kt = (t, e, r, n) => {
693
- for (var o = n > 1 ? void 0 : n ? Ft(e, r) : e, i = t.length - 1, s; i >= 0; i--)
701
+ ], B);
702
+ var Wt = Object.getOwnPropertyDescriptor, Gt = (t, e, r, n) => {
703
+ for (var o = n > 1 ? void 0 : n ? Wt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
694
704
  (s = t[i]) && (o = s(o) || o);
695
705
  return o;
696
706
  };
697
- const Bt = "limeobject.create-dialog";
698
- let F = class {
699
- constructor() {
700
- this.route = !1;
701
- }
707
+ const Qt = "limeobject.create-dialog";
708
+ let H = class {
709
+ /**
710
+ * The limetype of the object to create
711
+ */
712
+ limetype;
713
+ /**
714
+ * Default data to populate the form with
715
+ */
716
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
717
+ limeobject;
718
+ /**
719
+ * Specifies if routing to limeobject should be done after confirmation
720
+ */
721
+ route = !1;
722
+ /*
723
+ * Title of the dialog
724
+ */
725
+ title;
726
+ /*
727
+ * Subtitle of the dialog
728
+ */
729
+ subtitle;
730
+ /*
731
+ * Current context
732
+ */
733
+ context;
734
+ /**
735
+ * When `context` is used, this is the name of the relation on the
736
+ * reference {@link LimeObject} to use when auto attaching the new object.
737
+ *
738
+ */
739
+ autoAttachRelation;
740
+ /**
741
+ * Specifies any command that can be used to save the result of the dialog.
742
+ * If not specified, it will default to the {@link SaveLimeObjectCommand}
743
+ */
744
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
745
+ saveCommand;
702
746
  };
703
- F = kt([
704
- h({
705
- id: Bt
747
+ H = Gt([
748
+ d({
749
+ id: Qt
706
750
  })
707
- ], F);
708
- var Gt = Object.getOwnPropertyDescriptor, Wt = (t, e, r, n) => {
709
- for (var o = n > 1 ? void 0 : n ? Gt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
751
+ ], H);
752
+ var Yt = Object.getOwnPropertyDescriptor, qt = (t, e, r, n) => {
753
+ for (var o = n > 1 ? void 0 : n ? Yt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
710
754
  (s = t[i]) && (o = s(o) || o);
711
755
  return o;
712
756
  };
713
- const Ht = "limeobject.delete-object";
714
- let k = class {
757
+ const Kt = "limeobject.delete-object";
758
+ let W = class {
759
+ context;
715
760
  };
716
- k = Wt([
717
- h({
718
- id: Ht
761
+ W = qt([
762
+ d({
763
+ id: Kt
719
764
  })
720
- ], k);
721
- var Qt = Object.getOwnPropertyDescriptor, Yt = (t, e, r, n) => {
722
- for (var o = n > 1 ? void 0 : n ? Qt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
765
+ ], W);
766
+ var Xt = Object.getOwnPropertyDescriptor, Jt = (t, e, r, n) => {
767
+ for (var o = n > 1 ? void 0 : n ? Xt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
723
768
  (s = t[i]) && (o = s(o) || o);
724
769
  return o;
725
770
  };
726
- const qt = "limeobject.object-access";
727
- let B = class {
771
+ const Zt = "limeobject.object-access";
772
+ let G = class {
773
+ context;
728
774
  };
729
- B = Yt([
730
- h({
731
- id: qt
775
+ G = Jt([
776
+ d({
777
+ id: Zt
732
778
  })
733
- ], B);
734
- var Kt = Object.getOwnPropertyDescriptor, Xt = (t, e, r, n) => {
735
- for (var o = n > 1 ? void 0 : n ? Kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
779
+ ], G);
780
+ var zt = Object.getOwnPropertyDescriptor, te = (t, e, r, n) => {
781
+ for (var o = n > 1 ? void 0 : n ? zt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
736
782
  (s = t[i]) && (o = s(o) || o);
737
783
  return o;
738
784
  };
739
- const Jt = "limeobject.save-object";
740
- let G = class {
741
- constructor() {
742
- this.route = !1;
743
- }
785
+ const ee = "limeobject.save-object";
786
+ let Q = class {
787
+ context;
788
+ /**
789
+ * The limeobject to save
790
+ */
791
+ limeobject;
792
+ /**
793
+ * Specifies if routing to limeobject should be done after confirmation
794
+ */
795
+ route = !1;
796
+ /**
797
+ * @beta
798
+ * Specifies an optional save label to be displayed in the create-object dialog
799
+ */
800
+ label;
744
801
  };
745
- G = Xt([
746
- h({
747
- id: Jt
802
+ Q = te([
803
+ d({
804
+ id: ee
748
805
  })
749
- ], G);
750
- var Zt = /* @__PURE__ */ ((t) => (t.AND = "AND", t.OR = "OR", t.NOT = "!", t.EQUALS = "=", t.NOT_EQUALS = "!=", t.GREATER = ">", t.LESS = "<", t.IN = "IN", t.BEGINS = "=?", t.LIKE = "?", t.LESS_OR_EQUAL = "<=", t.GREATER_OR_EQUAL = ">=", t.ENDS = "=$", t))(Zt || {});
751
- const We = {
806
+ ], Q);
807
+ var re = /* @__PURE__ */ ((t) => (t.AND = "AND", t.OR = "OR", t.NOT = "!", t.EQUALS = "=", t.NOT_EQUALS = "!=", t.GREATER = ">", t.LESS = "<", t.IN = "IN", t.BEGINS = "=?", t.LIKE = "?", t.LESS_OR_EQUAL = "<=", t.GREATER_OR_EQUAL = ">=", t.ENDS = "=$", t))(re || {});
808
+ const sr = {
752
809
  Count: "COUNT",
753
810
  Sum: "SUM",
754
811
  Average: "AVG",
755
812
  Maximum: "MAX",
756
813
  Minimum: "MIN"
757
- }, zt = "query";
758
- c.Query = zt;
759
- const He = {
814
+ }, ne = "query";
815
+ c.Query = ne;
816
+ const cr = {
760
817
  Get: "GET",
761
818
  Post: "POST",
762
819
  Put: "PUT",
763
820
  Delete: "DELETE",
764
821
  Patch: "PATCH"
765
- }, te = "http";
766
- c.Http = te;
767
- const ee = "eventDispatcher";
768
- c.EventDispatcher = ee;
769
- const re = "translate";
770
- c.Translate = re;
771
- const ne = "dialog";
772
- c.Dialog = ne;
773
- const oe = "keybindingRegistry";
774
- c.KeybindingRegistry = oe;
775
- const ie = "navigator";
776
- c.Navigator = ie;
777
- var se = Object.getOwnPropertyDescriptor, ce = (t, e, r, n) => {
778
- for (var o = n > 1 ? void 0 : n ? se(e, r) : e, i = t.length - 1, s; i >= 0; i--)
822
+ }, oe = "http";
823
+ c.Http = oe;
824
+ const ie = "eventDispatcher";
825
+ c.EventDispatcher = ie;
826
+ const se = "translate";
827
+ c.Translate = se;
828
+ const ce = "dialog";
829
+ c.Dialog = ce;
830
+ const ue = "keybindingRegistry";
831
+ c.KeybindingRegistry = ue;
832
+ const ae = "navigator";
833
+ c.Navigator = ae;
834
+ var le = Object.getOwnPropertyDescriptor, fe = (t, e, r, n) => {
835
+ for (var o = n > 1 ? void 0 : n ? le(e, r) : e, i = t.length - 1, s; i >= 0; i--)
779
836
  (s = t[i]) && (o = s(o) || o);
780
837
  return o;
781
838
  };
782
- const ue = "navigator.navigate";
783
- let W = class {
839
+ const pe = "navigator.navigate";
840
+ let Y = class {
841
+ path;
842
+ query;
843
+ hash;
844
+ state;
784
845
  };
785
- W = ce([
786
- h({
787
- id: ue
846
+ Y = fe([
847
+ d({
848
+ id: pe
788
849
  })
789
- ], W);
790
- const ae = "notifications";
791
- c.Notification = ae;
792
- const le = "routeRegistry";
793
- c.RouteRegistry = le;
794
- const he = "state.tasks";
795
- c.TaskRepository = he;
796
- const de = "state.configs";
797
- c.ConfigRepository = de;
798
- function Ye(t) {
850
+ ], Y);
851
+ const he = "notifications";
852
+ c.Notification = he;
853
+ const de = "routeRegistry";
854
+ c.RouteRegistry = de;
855
+ const be = "state.tasks";
856
+ c.TaskRepository = be;
857
+ const ve = "state.configs";
858
+ c.ConfigRepository = ve;
859
+ function ar(t) {
799
860
  const e = {
800
861
  name: c.ConfigRepository
801
862
  };
802
863
  return l(t, e);
803
864
  }
804
- const ye = "state.device";
805
- c.Device = ye;
806
- const be = "state.filters";
807
- c.FilterRepository = be;
808
- function Ke(t = {}) {
865
+ const ge = "state.device";
866
+ c.Device = ge;
867
+ const Ee = "state.filters";
868
+ c.FilterRepository = Ee;
869
+ function fr(t = {}) {
809
870
  const e = {
810
871
  name: c.FilterRepository
811
872
  };
812
873
  return l(t, e);
813
874
  }
814
- const ve = "state.user-data";
815
- c.UserDataRepository = ve;
816
- const me = "state.application";
817
- c.Application = me;
818
- const ge = "userPreferences";
819
- c.UserPreferencesRepository = ge;
820
- const Ce = "datetimeformatter";
821
- c.DateTimeFormatter = Ce;
822
- const Oe = "conditionRegistry";
823
- c.ConditionRegistry = Oe;
824
- const Ae = "viewFactoryRegistry";
825
- c.ViewFactoryRegistry = Ae;
826
- const Re = "webComponentRegistry";
827
- c.WebComponentRegistry = Re;
828
- const we = "state.notifications";
829
- c.NotificationRepository = we;
830
- const Pe = "pollerFactory";
831
- c.PollerFactory = Pe;
875
+ const Se = "state.user-data";
876
+ c.UserDataRepository = Se;
877
+ const _e = "state.application";
878
+ c.Application = _e;
879
+ const Ae = "userPreferences";
880
+ c.UserPreferencesRepository = Ae;
881
+ const Oe = "datetimeformatter";
882
+ c.DateTimeFormatter = Oe;
883
+ const Pe = "conditionRegistry";
884
+ c.ConditionRegistry = Pe;
885
+ const Ie = "viewFactoryRegistry";
886
+ c.ViewFactoryRegistry = Ie;
887
+ const je = "webComponentRegistry";
888
+ c.WebComponentRegistry = je;
889
+ const xe = "state.notifications";
890
+ c.NotificationRepository = xe;
891
+ const Me = "pollerFactory";
892
+ c.PollerFactory = Me;
893
+ const Ne = "logger";
894
+ c.Logger = Ne;
895
+ let h, g;
896
+ function De(t) {
897
+ const e = window.Lime?.logger?.createLogger;
898
+ return typeof e != "function" ? (console.warn(
899
+ `Logger factory is not configured. Returning console logger for scope "${t}".`
900
+ ), console) : (g === void 0 && (g = Te($e())), g && (t = `${g}:${t}`), e(t));
901
+ }
902
+ function $e() {
903
+ return h !== void 0 ? h : import.meta !== void 0 && typeof import.meta.url == "string" ? (h = import.meta.url, h) : (h = Le(), h);
904
+ }
905
+ function Le() {
906
+ try {
907
+ const t = new Error(".").stack;
908
+ if (!t)
909
+ return null;
910
+ const e = t.split(`
911
+ `);
912
+ for (const r of e) {
913
+ const n = r.match(/(https?:\/\/[^)\s:]+)/);
914
+ if (n)
915
+ return n[1];
916
+ }
917
+ return null;
918
+ } catch {
919
+ return null;
920
+ }
921
+ }
922
+ function Te(t) {
923
+ if (!t) return null;
924
+ const e = Ve(t) || Fe(t) || Ue(t) || ke(t);
925
+ return e || null;
926
+ }
927
+ function Ve(t) {
928
+ const e = /\/([^/]+)-lwc-components\//, r = t.match(e);
929
+ return r ? r[1] : null;
930
+ }
931
+ function Fe(t) {
932
+ const e = /\/packages\/(?:@[^/]+\/)?([^/]+)/, r = t.match(e);
933
+ return r ? r[1] : null;
934
+ }
935
+ function Ue(t) {
936
+ const e = t.indexOf("+");
937
+ if (e === -1)
938
+ return null;
939
+ const r = t.slice(0, e), n = r.lastIndexOf("/");
940
+ return n === -1 ? null : r.slice(n + 1);
941
+ }
942
+ function ke(t) {
943
+ const e = /\/static\/([^/]+)\//, r = t.match(e);
944
+ return r ? r[1] : null;
945
+ }
946
+ const Be = "problemRepository";
947
+ c.ProblemRepository = Be;
948
+ const He = "aiContextRegistry";
949
+ c.AIContextRegistry = He;
950
+ let R = null;
951
+ function We(t, e) {
952
+ R || (R = De("uncaught-error"));
953
+ const r = {};
954
+ e && (r.element = e.tagName, e.id && (r.elementId = e.id));
955
+ const n = t instanceof Error ? t.message : String(t), o = t instanceof Error ? t : void 0;
956
+ R.error(n, o, r);
957
+ }
958
+ try {
959
+ setErrorHandler(We);
960
+ } catch {
961
+ }
832
962
 
833
- export { De as D, Ge as G, He as H, Ke as K, Le as L, Me as M, Te as T, We as W, Ye as Y, Zt as Z, c, h };
963
+ export { Ye as Y, Ze as Z, ar as a, cr as b, c, d, fr as f, ir as i, qe as q, re as r, sr as s, ze as z };