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