@limetech/lime-web-components 6.0.0-beta.2 → 6.0.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.
package/dist/index.esm.js CHANGED
@@ -1,114 +1,114 @@
1
1
  import { getElement as H } from "@stencil/core";
2
2
  const c = {
3
3
  Route: "route"
4
- }, Rt = "idle-state";
5
- function wt(e) {
6
- return e && [
4
+ }, Re = "idle-state";
5
+ function we(t) {
6
+ return t && [
7
7
  "belongsto",
8
8
  "hasone",
9
9
  "hasmany",
10
10
  "hasandbelongstomany"
11
- ].includes(e.type);
11
+ ].includes(t.type);
12
12
  }
13
- function Ot(e) {
14
- return e && ["belongsto", "hasone"].includes(e.type);
13
+ function Oe(t) {
14
+ return t && ["belongsto", "hasone"].includes(t.type);
15
15
  }
16
- function At(e) {
17
- return e && [
16
+ function Ae(t) {
17
+ return t && [
18
18
  "time",
19
19
  "timeofday",
20
20
  "date",
21
21
  "year",
22
22
  "quarter",
23
23
  "month"
24
- ].includes(e.type);
24
+ ].includes(t.type);
25
25
  }
26
- function Pt(e) {
27
- return e && ["string", "text", "phone", "link"].includes(e.type);
26
+ function Pe(t) {
27
+ return t && ["string", "text", "phone", "link"].includes(t.type);
28
28
  }
29
- function It(e) {
30
- return e && ["decimal", "percent"].includes(e.type);
29
+ function Ie(t) {
30
+ return t && ["decimal", "percent"].includes(t.type);
31
31
  }
32
- const re = "state.limetypes";
33
- c.LimeTypeRepository = re;
34
- var C = function(e, t) {
32
+ const rt = "state.limetypes";
33
+ c.LimeTypeRepository = rt;
34
+ var C = function(t, e) {
35
35
  return C = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
36
36
  r.__proto__ = n;
37
37
  } || function(r, n) {
38
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
39
- }, C(e, t);
38
+ for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
39
+ }, C(t, e);
40
40
  };
41
- function y(e, t) {
42
- if (typeof t != "function" && t !== null)
43
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
44
- C(e, t);
41
+ function y(t, e) {
42
+ if (typeof e != "function" && e !== null)
43
+ throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
44
+ C(t, e);
45
45
  function r() {
46
- this.constructor = e;
46
+ this.constructor = t;
47
47
  }
48
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
48
+ t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
49
49
  }
50
- function R(e) {
51
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
52
- if (r) return r.call(e);
53
- if (e && typeof e.length == "number") return {
50
+ function R(t) {
51
+ var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
52
+ if (r) return r.call(t);
53
+ if (t && typeof t.length == "number") return {
54
54
  next: function() {
55
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
55
+ return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
56
56
  }
57
57
  };
58
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
58
+ throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
59
59
  }
60
- function w(e, t) {
61
- var r = typeof Symbol == "function" && e[Symbol.iterator];
62
- if (!r) return e;
63
- var n = r.call(e), i, o = [], s;
60
+ function w(t, e) {
61
+ var r = typeof Symbol == "function" && t[Symbol.iterator];
62
+ if (!r) return t;
63
+ var n = r.call(t), o, i = [], s;
64
64
  try {
65
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
65
+ for (; (e === void 0 || e-- > 0) && !(o = n.next()).done; ) i.push(o.value);
66
66
  } catch (u) {
67
67
  s = { error: u };
68
68
  } finally {
69
69
  try {
70
- i && !i.done && (r = n.return) && r.call(n);
70
+ o && !o.done && (r = n.return) && r.call(n);
71
71
  } finally {
72
72
  if (s) throw s.error;
73
73
  }
74
74
  }
75
- return o;
75
+ return i;
76
76
  }
77
- function O(e, t, r) {
78
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
79
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
80
- return e.concat(o || Array.prototype.slice.call(t));
77
+ function O(t, e, r) {
78
+ if (r || arguments.length === 2) for (var n = 0, o = e.length, i; n < o; n++)
79
+ (i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
80
+ return t.concat(i || Array.prototype.slice.call(e));
81
81
  }
82
- function p(e) {
83
- return typeof e == "function";
82
+ function p(t) {
83
+ return typeof t == "function";
84
84
  }
85
- function Q(e) {
86
- var t = function(n) {
85
+ function Q(t) {
86
+ var e = function(n) {
87
87
  Error.call(n), n.stack = new Error().stack;
88
- }, r = e(t);
88
+ }, r = t(e);
89
89
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
90
90
  }
91
- var _ = Q(function(e) {
91
+ var _ = Q(function(t) {
92
92
  return function(r) {
93
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
94
- ` + r.map(function(n, i) {
95
- return i + 1 + ") " + n.toString();
93
+ t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
94
+ ` + r.map(function(n, o) {
95
+ return o + 1 + ") " + n.toString();
96
96
  }).join(`
97
97
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
98
98
  };
99
99
  });
100
- function A(e, t) {
101
- if (e) {
102
- var r = e.indexOf(t);
103
- 0 <= r && e.splice(r, 1);
100
+ function A(t, e) {
101
+ if (t) {
102
+ var r = t.indexOf(e);
103
+ 0 <= r && t.splice(r, 1);
104
104
  }
105
105
  }
106
106
  var S = function() {
107
- function e(t) {
108
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
107
+ function t(e) {
108
+ this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
109
109
  }
110
- return e.prototype.unsubscribe = function() {
111
- var t, r, n, i, o;
110
+ return t.prototype.unsubscribe = function() {
111
+ var e, r, n, o, i;
112
112
  if (!this.closed) {
113
113
  this.closed = !0;
114
114
  var s = this._parentage;
@@ -120,12 +120,12 @@ var S = function() {
120
120
  g.remove(this);
121
121
  }
122
122
  } catch (f) {
123
- t = { error: f };
123
+ e = { error: f };
124
124
  } finally {
125
125
  try {
126
126
  a && !a.done && (r = u.return) && r.call(u);
127
127
  } finally {
128
- if (t) throw t.error;
128
+ if (e) throw e.error;
129
129
  }
130
130
  }
131
131
  else
@@ -135,280 +135,280 @@ var S = function() {
135
135
  try {
136
136
  I();
137
137
  } catch (f) {
138
- o = f instanceof _ ? f.errors : [f];
138
+ i = f instanceof _ ? f.errors : [f];
139
139
  }
140
140
  var j = this._finalizers;
141
141
  if (j) {
142
142
  this._finalizers = null;
143
143
  try {
144
- for (var b = R(j), h = b.next(); !h.done; h = b.next()) {
145
- var te = h.value;
144
+ for (var b = R(j), d = b.next(); !d.done; d = b.next()) {
145
+ var et = d.value;
146
146
  try {
147
- x(te);
147
+ x(et);
148
148
  } catch (f) {
149
- o = o ?? [], f instanceof _ ? o = O(O([], w(o)), w(f.errors)) : o.push(f);
149
+ i = i ?? [], f instanceof _ ? i = O(O([], w(i)), w(f.errors)) : i.push(f);
150
150
  }
151
151
  }
152
152
  } catch (f) {
153
153
  n = { error: f };
154
154
  } finally {
155
155
  try {
156
- h && !h.done && (i = b.return) && i.call(b);
156
+ d && !d.done && (o = b.return) && o.call(b);
157
157
  } finally {
158
158
  if (n) throw n.error;
159
159
  }
160
160
  }
161
161
  }
162
- if (o)
163
- throw new _(o);
162
+ if (i)
163
+ throw new _(i);
164
164
  }
165
- }, e.prototype.add = function(t) {
165
+ }, t.prototype.add = function(e) {
166
166
  var r;
167
- if (t && t !== this)
167
+ if (e && e !== this)
168
168
  if (this.closed)
169
- x(t);
169
+ x(e);
170
170
  else {
171
- if (t instanceof e) {
172
- if (t.closed || t._hasParent(this))
171
+ if (e instanceof t) {
172
+ if (e.closed || e._hasParent(this))
173
173
  return;
174
- t._addParent(this);
174
+ e._addParent(this);
175
175
  }
176
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
176
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
177
177
  }
178
- }, e.prototype._hasParent = function(t) {
178
+ }, t.prototype._hasParent = function(e) {
179
179
  var r = this._parentage;
180
- return r === t || Array.isArray(r) && r.includes(t);
181
- }, e.prototype._addParent = function(t) {
180
+ return r === e || Array.isArray(r) && r.includes(e);
181
+ }, t.prototype._addParent = function(e) {
182
182
  var r = this._parentage;
183
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
184
- }, e.prototype._removeParent = function(t) {
183
+ this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
184
+ }, t.prototype._removeParent = function(e) {
185
185
  var r = this._parentage;
186
- r === t ? this._parentage = null : Array.isArray(r) && A(r, t);
187
- }, e.prototype.remove = function(t) {
186
+ r === e ? this._parentage = null : Array.isArray(r) && A(r, e);
187
+ }, t.prototype.remove = function(e) {
188
188
  var r = this._finalizers;
189
- r && A(r, t), t instanceof e && t._removeParent(this);
190
- }, e.EMPTY = function() {
191
- var t = new e();
192
- return t.closed = !0, t;
193
- }(), e;
189
+ r && A(r, e), e instanceof t && e._removeParent(this);
190
+ }, t.EMPTY = function() {
191
+ var e = new t();
192
+ return e.closed = !0, e;
193
+ }(), t;
194
194
  }(), Y = S.EMPTY;
195
- function q(e) {
196
- return e instanceof S || e && "closed" in e && p(e.remove) && p(e.add) && p(e.unsubscribe);
195
+ function q(t) {
196
+ return t instanceof S || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
197
197
  }
198
- function x(e) {
199
- p(e) ? e() : e.unsubscribe();
198
+ function x(t) {
199
+ p(t) ? t() : t.unsubscribe();
200
200
  }
201
- var ne = {
201
+ var nt = {
202
202
  Promise: void 0
203
- }, ie = {
204
- setTimeout: function(e, t) {
203
+ }, ot = {
204
+ setTimeout: function(t, e) {
205
205
  for (var r = [], n = 2; n < arguments.length; n++)
206
206
  r[n - 2] = arguments[n];
207
- return setTimeout.apply(void 0, O([e, t], w(r)));
207
+ return setTimeout.apply(void 0, O([t, e], w(r)));
208
208
  },
209
- clearTimeout: function(e) {
210
- return clearTimeout(e);
209
+ clearTimeout: function(t) {
210
+ return clearTimeout(t);
211
211
  },
212
212
  delegate: void 0
213
213
  };
214
- function oe(e) {
215
- ie.setTimeout(function() {
216
- throw e;
214
+ function it(t) {
215
+ ot.setTimeout(function() {
216
+ throw t;
217
217
  });
218
218
  }
219
219
  function N() {
220
220
  }
221
- function v(e) {
222
- e();
221
+ function m(t) {
222
+ t();
223
223
  }
224
- var K = function(e) {
225
- y(t, e);
226
- function t(r) {
227
- var n = e.call(this) || this;
228
- return n.isStopped = !1, r ? (n.destination = r, q(r) && r.add(n)) : n.destination = ue, n;
224
+ var K = function(t) {
225
+ y(e, t);
226
+ function e(r) {
227
+ var n = t.call(this) || this;
228
+ return n.isStopped = !1, r ? (n.destination = r, q(r) && r.add(n)) : n.destination = ut, n;
229
229
  }
230
- return t.create = function(r, n, i) {
231
- return new P(r, n, i);
232
- }, t.prototype.next = function(r) {
230
+ return e.create = function(r, n, o) {
231
+ return new P(r, n, o);
232
+ }, e.prototype.next = function(r) {
233
233
  this.isStopped || this._next(r);
234
- }, t.prototype.error = function(r) {
234
+ }, e.prototype.error = function(r) {
235
235
  this.isStopped || (this.isStopped = !0, this._error(r));
236
- }, t.prototype.complete = function() {
236
+ }, e.prototype.complete = function() {
237
237
  this.isStopped || (this.isStopped = !0, this._complete());
238
- }, t.prototype.unsubscribe = function() {
239
- this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
240
- }, t.prototype._next = function(r) {
238
+ }, e.prototype.unsubscribe = function() {
239
+ this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
240
+ }, e.prototype._next = function(r) {
241
241
  this.destination.next(r);
242
- }, t.prototype._error = function(r) {
242
+ }, e.prototype._error = function(r) {
243
243
  try {
244
244
  this.destination.error(r);
245
245
  } finally {
246
246
  this.unsubscribe();
247
247
  }
248
- }, t.prototype._complete = function() {
248
+ }, e.prototype._complete = function() {
249
249
  try {
250
250
  this.destination.complete();
251
251
  } finally {
252
252
  this.unsubscribe();
253
253
  }
254
- }, t;
255
- }(S), se = function() {
256
- function e(t) {
257
- this.partialObserver = t;
254
+ }, e;
255
+ }(S), st = function() {
256
+ function t(e) {
257
+ this.partialObserver = e;
258
258
  }
259
- return e.prototype.next = function(t) {
259
+ return t.prototype.next = function(e) {
260
260
  var r = this.partialObserver;
261
261
  if (r.next)
262
262
  try {
263
- r.next(t);
263
+ r.next(e);
264
264
  } catch (n) {
265
- m(n);
265
+ v(n);
266
266
  }
267
- }, e.prototype.error = function(t) {
267
+ }, t.prototype.error = function(e) {
268
268
  var r = this.partialObserver;
269
269
  if (r.error)
270
270
  try {
271
- r.error(t);
271
+ r.error(e);
272
272
  } catch (n) {
273
- m(n);
273
+ v(n);
274
274
  }
275
275
  else
276
- m(t);
277
- }, e.prototype.complete = function() {
278
- var t = this.partialObserver;
279
- if (t.complete)
276
+ v(e);
277
+ }, t.prototype.complete = function() {
278
+ var e = this.partialObserver;
279
+ if (e.complete)
280
280
  try {
281
- t.complete();
281
+ e.complete();
282
282
  } catch (r) {
283
- m(r);
283
+ v(r);
284
284
  }
285
- }, e;
286
- }(), P = function(e) {
287
- y(t, e);
288
- function t(r, n, i) {
289
- var o = e.call(this) || this, s;
285
+ }, t;
286
+ }(), P = function(t) {
287
+ y(e, t);
288
+ function e(r, n, o) {
289
+ var i = t.call(this) || this, s;
290
290
  return p(r) || !r ? s = {
291
291
  next: r ?? void 0,
292
292
  error: n ?? void 0,
293
- complete: i ?? void 0
294
- } : s = r, o.destination = new se(s), o;
293
+ complete: o ?? void 0
294
+ } : s = r, i.destination = new st(s), i;
295
295
  }
296
- return t;
296
+ return e;
297
297
  }(K);
298
- function m(e) {
299
- oe(e);
298
+ function v(t) {
299
+ it(t);
300
300
  }
301
- function ce(e) {
302
- throw e;
301
+ function ct(t) {
302
+ throw t;
303
303
  }
304
- var ue = {
304
+ var ut = {
305
305
  closed: !0,
306
306
  next: N,
307
- error: ce,
307
+ error: ct,
308
308
  complete: N
309
- }, ae = function() {
309
+ }, at = function() {
310
310
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
311
311
  }();
312
- function le(e) {
313
- return e;
312
+ function lt(t) {
313
+ return t;
314
314
  }
315
- function fe(e) {
316
- return e.length === 0 ? le : e.length === 1 ? e[0] : function(r) {
317
- return e.reduce(function(n, i) {
318
- return i(n);
315
+ function ft(t) {
316
+ return t.length === 0 ? lt : t.length === 1 ? t[0] : function(r) {
317
+ return t.reduce(function(n, o) {
318
+ return o(n);
319
319
  }, r);
320
320
  };
321
321
  }
322
322
  var D = function() {
323
- function e(t) {
324
- t && (this._subscribe = t);
323
+ function t(e) {
324
+ e && (this._subscribe = e);
325
325
  }
326
- return e.prototype.lift = function(t) {
327
- var r = new e();
328
- return r.source = this, r.operator = t, r;
329
- }, e.prototype.subscribe = function(t, r, n) {
330
- var i = this, o = de(t) ? t : new P(t, r, n);
331
- return v(function() {
332
- var s = i, u = s.operator, a = s.source;
333
- o.add(u ? u.call(o, a) : a ? i._subscribe(o) : i._trySubscribe(o));
334
- }), o;
335
- }, e.prototype._trySubscribe = function(t) {
326
+ return t.prototype.lift = function(e) {
327
+ var r = new t();
328
+ return r.source = this, r.operator = e, r;
329
+ }, t.prototype.subscribe = function(e, r, n) {
330
+ var o = this, i = ht(e) ? e : new P(e, r, n);
331
+ return m(function() {
332
+ var s = o, u = s.operator, a = s.source;
333
+ i.add(u ? u.call(i, a) : a ? o._subscribe(i) : o._trySubscribe(i));
334
+ }), i;
335
+ }, t.prototype._trySubscribe = function(e) {
336
336
  try {
337
- return this._subscribe(t);
337
+ return this._subscribe(e);
338
338
  } catch (r) {
339
- t.error(r);
339
+ e.error(r);
340
340
  }
341
- }, e.prototype.forEach = function(t, r) {
341
+ }, t.prototype.forEach = function(e, r) {
342
342
  var n = this;
343
- return r = M(r), new r(function(i, o) {
343
+ return r = M(r), new r(function(o, i) {
344
344
  var s = new P({
345
345
  next: function(u) {
346
346
  try {
347
- t(u);
347
+ e(u);
348
348
  } catch (a) {
349
- o(a), s.unsubscribe();
349
+ i(a), s.unsubscribe();
350
350
  }
351
351
  },
352
- error: o,
353
- complete: i
352
+ error: i,
353
+ complete: o
354
354
  });
355
355
  n.subscribe(s);
356
356
  });
357
- }, e.prototype._subscribe = function(t) {
357
+ }, t.prototype._subscribe = function(e) {
358
358
  var r;
359
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
360
- }, e.prototype[ae] = function() {
359
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
360
+ }, t.prototype[at] = function() {
361
361
  return this;
362
- }, e.prototype.pipe = function() {
363
- for (var t = [], r = 0; r < arguments.length; r++)
364
- t[r] = arguments[r];
365
- return fe(t)(this);
366
- }, e.prototype.toPromise = function(t) {
362
+ }, t.prototype.pipe = function() {
363
+ for (var e = [], r = 0; r < arguments.length; r++)
364
+ e[r] = arguments[r];
365
+ return ft(e)(this);
366
+ }, t.prototype.toPromise = function(e) {
367
367
  var r = this;
368
- return t = M(t), new t(function(n, i) {
369
- var o;
368
+ return e = M(e), new e(function(n, o) {
369
+ var i;
370
370
  r.subscribe(function(s) {
371
- return o = s;
371
+ return i = s;
372
372
  }, function(s) {
373
- return i(s);
373
+ return o(s);
374
374
  }, function() {
375
- return n(o);
375
+ return n(i);
376
376
  });
377
377
  });
378
- }, e.create = function(t) {
379
- return new e(t);
380
- }, e;
378
+ }, t.create = function(e) {
379
+ return new t(e);
380
+ }, t;
381
381
  }();
382
- function M(e) {
383
- var t;
384
- return (t = e ?? ne.Promise) !== null && t !== void 0 ? t : Promise;
382
+ function M(t) {
383
+ var e;
384
+ return (e = t ?? nt.Promise) !== null && e !== void 0 ? e : Promise;
385
385
  }
386
- function pe(e) {
387
- return e && p(e.next) && p(e.error) && p(e.complete);
386
+ function pt(t) {
387
+ return t && p(t.next) && p(t.error) && p(t.complete);
388
388
  }
389
- function de(e) {
390
- return e && e instanceof K || pe(e) && q(e);
389
+ function ht(t) {
390
+ return t && t instanceof K || pt(t) && q(t);
391
391
  }
392
- var he = Q(function(e) {
392
+ var dt = Q(function(t) {
393
393
  return function() {
394
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
394
+ t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
395
395
  };
396
- }), X = function(e) {
397
- y(t, e);
398
- function t() {
399
- var r = e.call(this) || this;
396
+ }), X = function(t) {
397
+ y(e, t);
398
+ function e() {
399
+ var r = t.call(this) || this;
400
400
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
401
401
  }
402
- return t.prototype.lift = function(r) {
402
+ return e.prototype.lift = function(r) {
403
403
  var n = new T(this, this);
404
404
  return n.operator = r, n;
405
- }, t.prototype._throwIfClosed = function() {
405
+ }, e.prototype._throwIfClosed = function() {
406
406
  if (this.closed)
407
- throw new he();
408
- }, t.prototype.next = function(r) {
407
+ throw new dt();
408
+ }, e.prototype.next = function(r) {
409
409
  var n = this;
410
- v(function() {
411
- var i, o;
410
+ m(function() {
411
+ var o, i;
412
412
  if (n._throwIfClosed(), !n.isStopped) {
413
413
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
414
414
  try {
@@ -417,540 +417,540 @@ var he = Q(function(e) {
417
417
  a.next(r);
418
418
  }
419
419
  } catch (g) {
420
- i = { error: g };
420
+ o = { error: g };
421
421
  } finally {
422
422
  try {
423
- u && !u.done && (o = s.return) && o.call(s);
423
+ u && !u.done && (i = s.return) && i.call(s);
424
424
  } finally {
425
- if (i) throw i.error;
425
+ if (o) throw o.error;
426
426
  }
427
427
  }
428
428
  }
429
429
  });
430
- }, t.prototype.error = function(r) {
430
+ }, e.prototype.error = function(r) {
431
431
  var n = this;
432
- v(function() {
432
+ m(function() {
433
433
  if (n._throwIfClosed(), !n.isStopped) {
434
434
  n.hasError = n.isStopped = !0, n.thrownError = r;
435
- for (var i = n.observers; i.length; )
436
- i.shift().error(r);
435
+ for (var o = n.observers; o.length; )
436
+ o.shift().error(r);
437
437
  }
438
438
  });
439
- }, t.prototype.complete = function() {
439
+ }, e.prototype.complete = function() {
440
440
  var r = this;
441
- v(function() {
441
+ m(function() {
442
442
  if (r._throwIfClosed(), !r.isStopped) {
443
443
  r.isStopped = !0;
444
444
  for (var n = r.observers; n.length; )
445
445
  n.shift().complete();
446
446
  }
447
447
  });
448
- }, t.prototype.unsubscribe = function() {
448
+ }, e.prototype.unsubscribe = function() {
449
449
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
450
- }, Object.defineProperty(t.prototype, "observed", {
450
+ }, Object.defineProperty(e.prototype, "observed", {
451
451
  get: function() {
452
452
  var r;
453
453
  return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
454
454
  },
455
455
  enumerable: !1,
456
456
  configurable: !0
457
- }), t.prototype._trySubscribe = function(r) {
458
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
459
- }, t.prototype._subscribe = function(r) {
457
+ }), e.prototype._trySubscribe = function(r) {
458
+ return this._throwIfClosed(), t.prototype._trySubscribe.call(this, r);
459
+ }, e.prototype._subscribe = function(r) {
460
460
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
461
- }, t.prototype._innerSubscribe = function(r) {
462
- var n = this, i = this, o = i.hasError, s = i.isStopped, u = i.observers;
463
- return o || s ? Y : (this.currentObservers = null, u.push(r), new S(function() {
461
+ }, e.prototype._innerSubscribe = function(r) {
462
+ var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
463
+ return i || s ? Y : (this.currentObservers = null, u.push(r), new S(function() {
464
464
  n.currentObservers = null, A(u, r);
465
465
  }));
466
- }, t.prototype._checkFinalizedStatuses = function(r) {
467
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
468
- i ? r.error(o) : s && r.complete();
469
- }, t.prototype.asObservable = function() {
466
+ }, e.prototype._checkFinalizedStatuses = function(r) {
467
+ var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
468
+ o ? r.error(i) : s && r.complete();
469
+ }, e.prototype.asObservable = function() {
470
470
  var r = new D();
471
471
  return r.source = this, r;
472
- }, t.create = function(r, n) {
472
+ }, e.create = function(r, n) {
473
473
  return new T(r, n);
474
- }, t;
475
- }(D), T = function(e) {
476
- y(t, e);
477
- function t(r, n) {
478
- var i = e.call(this) || this;
479
- return i.destination = r, i.source = n, i;
474
+ }, e;
475
+ }(D), T = function(t) {
476
+ y(e, t);
477
+ function e(r, n) {
478
+ var o = t.call(this) || this;
479
+ return o.destination = r, o.source = n, o;
480
480
  }
481
- return t.prototype.next = function(r) {
482
- var n, i;
483
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
484
- }, t.prototype.error = function(r) {
485
- var n, i;
486
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
487
- }, t.prototype.complete = function() {
481
+ return e.prototype.next = function(r) {
482
+ var n, o;
483
+ (o = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || o === void 0 || o.call(n, r);
484
+ }, e.prototype.error = function(r) {
485
+ var n, o;
486
+ (o = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || o === void 0 || o.call(n, r);
487
+ }, e.prototype.complete = function() {
488
488
  var r, n;
489
489
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
490
- }, t.prototype._subscribe = function(r) {
491
- var n, i;
492
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Y;
493
- }, t;
494
- }(X), ye = function(e) {
495
- y(t, e);
496
- function t(r) {
497
- var n = e.call(this) || this;
490
+ }, e.prototype._subscribe = function(r) {
491
+ var n, o;
492
+ return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o : Y;
493
+ }, e;
494
+ }(X), yt = function(t) {
495
+ y(e, t);
496
+ function e(r) {
497
+ var n = t.call(this) || this;
498
498
  return n._value = r, n;
499
499
  }
500
- return Object.defineProperty(t.prototype, "value", {
500
+ return Object.defineProperty(e.prototype, "value", {
501
501
  get: function() {
502
502
  return this.getValue();
503
503
  },
504
504
  enumerable: !1,
505
505
  configurable: !0
506
- }), t.prototype._subscribe = function(r) {
507
- var n = e.prototype._subscribe.call(this, r);
506
+ }), e.prototype._subscribe = function(r) {
507
+ var n = t.prototype._subscribe.call(this, r);
508
508
  return !n.closed && r.next(this._value), n;
509
- }, t.prototype.getValue = function() {
510
- var r = this, n = r.hasError, i = r.thrownError, o = r._value;
509
+ }, e.prototype.getValue = function() {
510
+ var r = this, n = r.hasError, o = r.thrownError, i = r._value;
511
511
  if (n)
512
- throw i;
513
- return this._throwIfClosed(), o;
514
- }, t.prototype.next = function(r) {
515
- e.prototype.next.call(this, this._value = r);
516
- }, t;
512
+ throw o;
513
+ return this._throwIfClosed(), i;
514
+ }, e.prototype.next = function(r) {
515
+ t.prototype.next.call(this, this._value = r);
516
+ }, e;
517
517
  }(X);
518
- function be(e) {
519
- return e;
518
+ function bt(t) {
519
+ return t;
520
520
  }
521
- function l(e, t) {
521
+ function l(t, e) {
522
522
  return (r, n) => {
523
- const i = me(
523
+ const o = vt(
524
524
  r,
525
525
  n,
526
- e,
527
- t
526
+ t,
527
+ e
528
528
  );
529
- i.length === 1 && ve(r, i);
529
+ o.length === 1 && mt(r, o);
530
530
  };
531
531
  }
532
532
  const $ = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
533
- function me(e, t, r, n) {
534
- let i = $.get(e);
535
- return i || (i = [], $.set(e, i)), i.push({
533
+ function vt(t, e, r, n) {
534
+ let o = $.get(t);
535
+ return o || (o = [], $.set(t, o)), o.push({
536
536
  options: r,
537
- name: t,
538
- optionFactory: n.optionFactory || be,
537
+ name: e,
538
+ optionFactory: n.optionFactory || bt,
539
539
  service: {
540
540
  name: n.name,
541
541
  method: n.method || "subscribe"
542
542
  }
543
- }), i;
544
- }
545
- function ve(e, t) {
546
- e.connectedCallback = Z(
547
- e.connectedCallback,
548
- t
549
- ), e.componentWillLoad = Ee(
550
- e.componentWillLoad,
551
- t
552
- ), e.componentDidUnload = L(
553
- e.componentDidUnload
554
- ), e.disconnectedCallback = L(
555
- e.disconnectedCallback
543
+ }), o;
544
+ }
545
+ function mt(t, e) {
546
+ t.connectedCallback = Z(
547
+ t.connectedCallback,
548
+ e
549
+ ), t.componentWillLoad = Et(
550
+ t.componentWillLoad,
551
+ e
552
+ ), t.componentDidUnload = L(
553
+ t.componentDidUnload
554
+ ), t.disconnectedCallback = L(
555
+ t.disconnectedCallback
556
556
  );
557
557
  }
558
- function Z(e, t) {
558
+ function Z(t, e) {
559
559
  return async function(...r) {
560
560
  J.set(this, !0), E.set(this, []), await z(this);
561
- const n = new ye(this.context);
562
- if (ge(this, "context", n), t.forEach((i) => {
563
- i.options = i.optionFactory(i.options, this), Se(i.options) && (i.options.context = n), _e(this, i);
564
- }), e)
565
- return e.apply(this, r);
561
+ const n = new yt(this.context);
562
+ if (gt(this, "context", n), e.forEach((o) => {
563
+ o.options = o.optionFactory(o.options, this), St(o.options) && (o.options.context = n), _t(this, o);
564
+ }), t)
565
+ return t.apply(this, r);
566
566
  };
567
567
  }
568
- function Ee(e, t) {
568
+ function Et(t, e) {
569
569
  return async function(...r) {
570
- return J.get(this) === !0 ? (await z(this), e ? e.apply(this, r) : void 0) : Z(e, t).apply(this, r);
570
+ return J.get(this) === !0 ? (await z(this), t ? t.apply(this, r) : void 0) : Z(t, e).apply(this, r);
571
571
  };
572
572
  }
573
- function L(e) {
574
- return async function(...t) {
573
+ function L(t) {
574
+ return async function(...e) {
575
575
  let r;
576
- return e && (r = e.apply(this, t)), Ce(this), r;
576
+ return t && (r = t.apply(this, e)), Ct(this), r;
577
577
  };
578
578
  }
579
- function Se(e) {
580
- return "context" in e;
579
+ function St(t) {
580
+ return "context" in t;
581
581
  }
582
- function z(e) {
583
- const t = [];
584
- return e.platform || t.push(V(e, "platform")), e.context || t.push(V(e, "context")), t.length ? Promise.all(t) : Promise.resolve();
582
+ function z(t) {
583
+ const e = [];
584
+ return t.platform || e.push(V(t, "platform")), t.context || e.push(V(t, "context")), e.length ? Promise.all(e) : Promise.resolve();
585
585
  }
586
- function V(e, t) {
587
- const r = H(e);
586
+ function V(t, e) {
587
+ const r = H(t);
588
588
  return new Promise((n) => {
589
- Object.defineProperty(r, t, {
589
+ Object.defineProperty(r, e, {
590
590
  configurable: !0,
591
- set: (i) => {
592
- delete r[t], r[t] = i, n();
591
+ set: (o) => {
592
+ delete r[e], r[e] = o, n();
593
593
  }
594
594
  });
595
595
  });
596
596
  }
597
- function ge(e, t, r) {
598
- const n = H(e), { get: i, set: o } = Object.getOwnPropertyDescriptor(
597
+ function gt(t, e, r) {
598
+ const n = H(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
599
599
  Object.getPrototypeOf(n),
600
- t
600
+ e
601
601
  );
602
- Object.defineProperty(n, t, {
602
+ Object.defineProperty(n, e, {
603
603
  configurable: !0,
604
- get: i,
604
+ get: o,
605
605
  set: function(s) {
606
- o.call(this, s), r.next(s);
606
+ i.call(this, s), r.next(s);
607
607
  }
608
608
  });
609
609
  }
610
- function _e(e, t) {
611
- const r = we(e, t);
610
+ function _t(t, e) {
611
+ const r = wt(t, e);
612
612
  if (typeof r != "function")
613
613
  return;
614
- E.get(e).push(r);
614
+ E.get(t).push(r);
615
615
  }
616
- function Ce(e) {
617
- E.get(e).forEach((r) => r()), E.set(e, []);
616
+ function Ct(t) {
617
+ E.get(t).forEach((r) => r()), E.set(t, []);
618
618
  }
619
- function Re(e, t) {
619
+ function Rt(t, e) {
620
620
  return (r) => {
621
- e[t] = r;
621
+ t[e] = r;
622
622
  };
623
623
  }
624
- function we(e, t) {
625
- const r = { ...t.options };
626
- Oe(r, e);
627
- const n = t.service.name, i = e.platform;
628
- if (!i.has(n))
624
+ function wt(t, e) {
625
+ const r = { ...e.options };
626
+ Ot(r, t);
627
+ const n = e.service.name, o = t.platform;
628
+ if (!o.has(n))
629
629
  throw new Error(`Service ${n} does not exist`);
630
- return i.get(n)[t.service.method](
631
- Re(e, t.name),
630
+ return o.get(n)[e.service.method](
631
+ Rt(t, e.name),
632
632
  r
633
633
  );
634
634
  }
635
- function Oe(e, t) {
636
- e.filter && (e.filter = e.filter.map((r) => r.bind(t))), e.map && (e.map = e.map.map((r) => r.bind(t)));
635
+ function Ot(t, e) {
636
+ t.filter && (t.filter = t.filter.map((r) => r.bind(e))), t.map && (t.map = t.map.map((r) => r.bind(e)));
637
637
  }
638
- function jt(e = {}) {
639
- const t = {
638
+ function je(t = {}) {
639
+ const e = {
640
640
  name: c.LimeTypeRepository
641
641
  };
642
- return l(e, t);
642
+ return l(t, e);
643
643
  }
644
- function xt(e = {}) {
645
- const t = {
644
+ function xe(t = {}) {
645
+ const e = {
646
646
  name: c.LimeTypeRepository
647
647
  };
648
- return e.map = [Ae, ...e.map || []], e.context = null, l(e, t);
648
+ return t.map = [At, ...t.map || []], t.context = null, l(t, e);
649
649
  }
650
- function Ae(e) {
651
- const { limetype: t } = this.context;
652
- return e[t];
650
+ function At(t) {
651
+ const { limetype: e } = this.context;
652
+ return t[e];
653
653
  }
654
- const Nt = (e) => (t) => Object.values(t).find(ee(e));
655
- function Dt(e, t) {
656
- return Object.values(e.properties).filter(
657
- (r) => r.type === t
654
+ const Ne = (t) => (e) => Object.values(e).find(tt(t));
655
+ function De(t, e) {
656
+ return Object.values(t.properties).filter(
657
+ (r) => r.type === e
658
658
  );
659
659
  }
660
- function Mt(e, t) {
661
- return Object.values(e.properties).find(ee(t));
660
+ function Me(t, e) {
661
+ return Object.values(t.properties).find(tt(e));
662
662
  }
663
- function Tt(e, t) {
664
- return e.properties[t];
663
+ function Te(t, e) {
664
+ return t.properties[e];
665
665
  }
666
- const ee = (e) => (t) => (t == null ? void 0 : t.label) === e, Pe = "state.limeobjects";
667
- c.LimeObjectRepository = Pe;
668
- function $t(e = {}) {
669
- const t = {
666
+ const tt = (t) => (e) => (e == null ? void 0 : e.label) === t, Pt = "state.limeobjects";
667
+ c.LimeObjectRepository = Pt;
668
+ function $e(t = {}) {
669
+ const e = {
670
670
  name: c.LimeObjectRepository,
671
- optionFactory: je
671
+ optionFactory: jt
672
672
  };
673
- return l(e, t);
673
+ return l(t, e);
674
674
  }
675
- function Lt(e = {}) {
676
- const t = {
675
+ function Le(t = {}) {
676
+ const e = {
677
677
  name: c.LimeObjectRepository
678
678
  };
679
- return e.map = [Ie, ...e.map || []], e.context = null, l(e, t);
679
+ return t.map = [It, ...t.map || []], t.context = null, l(t, e);
680
680
  }
681
- function Ie(e) {
682
- const { limetype: t, id: r } = this.context;
683
- if (e[t])
684
- return e[t].find((n) => n.id === r);
681
+ function It(t) {
682
+ const { limetype: e, id: r } = this.context;
683
+ if (t[e])
684
+ return t[e].find((n) => n.id === r);
685
685
  }
686
- function je(e, t) {
687
- return e.getLimetype && (e.limetype = e.getLimetype(t)), e;
686
+ function jt(t, e) {
687
+ return t.getLimetype && (t.limetype = t.getLimetype(e)), t;
688
688
  }
689
- var xe = /* @__PURE__ */ ((e) => (e.Received = "command.received", e.Handled = "command.handled", e.Failed = "command.failed", e))(xe || {});
690
- function d(e) {
691
- return (t) => {
692
- Ne(t, e.id), De(t, e.id);
689
+ var xt = /* @__PURE__ */ ((t) => (t.Received = "command.received", t.Handled = "command.handled", t.Failed = "command.failed", t))(xt || {});
690
+ function h(t) {
691
+ return (e) => {
692
+ Nt(e, t.id), Dt(e, t.id);
693
693
  };
694
694
  }
695
- function Ne(e, t) {
696
- e.commandId = t;
695
+ function Nt(t, e) {
696
+ t.commandId = e;
697
697
  }
698
- function De(e, t) {
699
- Object.defineProperty(e, Symbol.hasInstance, {
700
- value: (r) => Te(r).includes(t)
698
+ function Dt(t, e) {
699
+ Object.defineProperty(t, Symbol.hasInstance, {
700
+ value: (r) => Tt(r).includes(e)
701
701
  });
702
702
  }
703
- function Me(e) {
704
- return typeof e == "string" ? e : e && e.constructor && e.constructor.commandId ? e.constructor.commandId : e && e.commandId ? e.commandId : null;
703
+ function Mt(t) {
704
+ return typeof t == "string" ? t : t && t.constructor && t.constructor.commandId ? t.constructor.commandId : t && t.commandId ? t.commandId : null;
705
705
  }
706
- function Te(e) {
707
- let t = [], r, n = e;
708
- for (; r = Me(n); )
709
- t = [...t, r], n = Object.getPrototypeOf(n);
710
- return Array.from(new Set(t));
706
+ function Tt(t) {
707
+ let e = [], r, n = t;
708
+ for (; r = Mt(n); )
709
+ e = [...e, r], n = Object.getPrototypeOf(n);
710
+ return Array.from(new Set(e));
711
711
  }
712
- const $e = "commandBus";
713
- c.CommandBus = $e;
714
- var Le = Object.getOwnPropertyDescriptor, Ve = (e, t, r, n) => {
715
- for (var i = n > 1 ? void 0 : n ? Le(t, r) : t, o = e.length - 1, s; o >= 0; o--)
716
- (s = e[o]) && (i = s(i) || i);
717
- return i;
712
+ const $t = "commandBus";
713
+ c.CommandBus = $t;
714
+ var Lt = Object.getOwnPropertyDescriptor, Vt = (t, e, r, n) => {
715
+ for (var o = n > 1 ? void 0 : n ? Lt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
716
+ (s = t[i]) && (o = s(o) || o);
717
+ return o;
718
718
  };
719
719
  let U = class {
720
720
  };
721
- U = Ve([
722
- d({
721
+ U = Vt([
722
+ h({
723
723
  id: "limeobject.bulk-create-dialog"
724
724
  })
725
725
  ], U);
726
- var Ue = Object.getOwnPropertyDescriptor, Fe = (e, t, r, n) => {
727
- for (var i = n > 1 ? void 0 : n ? Ue(t, r) : t, o = e.length - 1, s; o >= 0; o--)
728
- (s = e[o]) && (i = s(i) || i);
729
- return i;
726
+ var Ut = Object.getOwnPropertyDescriptor, Ft = (t, e, r, n) => {
727
+ for (var o = n > 1 ? void 0 : n ? Ut(e, r) : e, i = t.length - 1, s; i >= 0; i--)
728
+ (s = t[i]) && (o = s(o) || o);
729
+ return o;
730
730
  };
731
731
  let F = class {
732
732
  constructor() {
733
733
  this.route = !1;
734
734
  }
735
735
  };
736
- F = Fe([
737
- d({
736
+ F = Ft([
737
+ h({
738
738
  id: "limeobject.create-dialog"
739
739
  })
740
740
  ], F);
741
- var ke = Object.getOwnPropertyDescriptor, Be = (e, t, r, n) => {
742
- for (var i = n > 1 ? void 0 : n ? ke(t, r) : t, o = e.length - 1, s; o >= 0; o--)
743
- (s = e[o]) && (i = s(i) || i);
744
- return i;
741
+ var kt = Object.getOwnPropertyDescriptor, Bt = (t, e, r, n) => {
742
+ for (var o = n > 1 ? void 0 : n ? kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
743
+ (s = t[i]) && (o = s(o) || o);
744
+ return o;
745
745
  };
746
746
  let k = class {
747
747
  };
748
- k = Be([
749
- d({
748
+ k = Bt([
749
+ h({
750
750
  id: "limeobject.delete-object"
751
751
  })
752
752
  ], k);
753
- var Ge = Object.getOwnPropertyDescriptor, We = (e, t, r, n) => {
754
- for (var i = n > 1 ? void 0 : n ? Ge(t, r) : t, o = e.length - 1, s; o >= 0; o--)
755
- (s = e[o]) && (i = s(i) || i);
756
- return i;
753
+ var Gt = Object.getOwnPropertyDescriptor, Wt = (t, e, r, n) => {
754
+ for (var o = n > 1 ? void 0 : n ? Gt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
755
+ (s = t[i]) && (o = s(o) || o);
756
+ return o;
757
757
  };
758
758
  let B = class {
759
759
  };
760
- B = We([
761
- d({
760
+ B = Wt([
761
+ h({
762
762
  id: "limeobject.object-access"
763
763
  })
764
764
  ], B);
765
- var He = Object.getOwnPropertyDescriptor, Qe = (e, t, r, n) => {
766
- for (var i = n > 1 ? void 0 : n ? He(t, r) : t, o = e.length - 1, s; o >= 0; o--)
767
- (s = e[o]) && (i = s(i) || i);
768
- return i;
765
+ var Ht = Object.getOwnPropertyDescriptor, Qt = (t, e, r, n) => {
766
+ for (var o = n > 1 ? void 0 : n ? Ht(e, r) : e, i = t.length - 1, s; i >= 0; i--)
767
+ (s = t[i]) && (o = s(o) || o);
768
+ return o;
769
769
  };
770
770
  let G = class {
771
771
  constructor() {
772
772
  this.route = !1;
773
773
  }
774
774
  };
775
- G = Qe([
776
- d({
775
+ G = Qt([
776
+ h({
777
777
  id: "limeobject.save-object"
778
778
  })
779
779
  ], G);
780
- var Ye = /* @__PURE__ */ ((e) => (e.AND = "AND", e.OR = "OR", e.NOT = "!", e.EQUALS = "=", e.NOT_EQUALS = "!=", e.GREATER = ">", e.LESS = "<", e.IN = "IN", e.BEGINS = "=?", e.LIKE = "?", e.LESS_OR_EQUAL = "<=", e.GREATER_OR_EQUAL = ">=", e.ENDS = "=$", e))(Ye || {});
781
- const Vt = {
780
+ var Yt = /* @__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))(Yt || {});
781
+ const Ve = {
782
782
  Count: "COUNT",
783
783
  Sum: "SUM",
784
784
  Average: "AVG",
785
785
  Maximum: "MAX",
786
786
  Minimum: "MIN"
787
- }, qe = "query";
788
- c.Query = qe;
789
- const Ut = {
787
+ }, qt = "query";
788
+ c.Query = qt;
789
+ const Ue = {
790
790
  Get: "GET",
791
791
  Post: "POST",
792
792
  Put: "PUT",
793
793
  Delete: "DELETE",
794
794
  Patch: "PATCH"
795
- }, Ke = "http";
796
- c.Http = Ke;
797
- const Xe = "eventDispatcher";
798
- c.EventDispatcher = Xe;
799
- const Je = "translate";
800
- c.Translate = Je;
801
- const Ze = "dialog";
802
- c.Dialog = Ze;
803
- const ze = "keybindingRegistry";
804
- c.KeybindingRegistry = ze;
805
- const et = "navigator";
806
- c.Navigator = et;
807
- function Ft(e) {
808
- const t = {
795
+ }, Kt = "http";
796
+ c.Http = Kt;
797
+ const Xt = "eventDispatcher";
798
+ c.EventDispatcher = Xt;
799
+ const Jt = "translate";
800
+ c.Translate = Jt;
801
+ const Zt = "dialog";
802
+ c.Dialog = Zt;
803
+ const zt = "keybindingRegistry";
804
+ c.KeybindingRegistry = zt;
805
+ const te = "navigator";
806
+ c.Navigator = te;
807
+ function Fe(t) {
808
+ const e = {
809
809
  name: c.Navigator
810
810
  };
811
- return l({ context: null, ...e }, t);
811
+ return l({ context: null, ...t }, e);
812
812
  }
813
- var tt = Object.getOwnPropertyDescriptor, rt = (e, t, r, n) => {
814
- for (var i = n > 1 ? void 0 : n ? tt(t, r) : t, o = e.length - 1, s; o >= 0; o--)
815
- (s = e[o]) && (i = s(i) || i);
816
- return i;
813
+ var ee = Object.getOwnPropertyDescriptor, re = (t, e, r, n) => {
814
+ for (var o = n > 1 ? void 0 : n ? ee(e, r) : e, i = t.length - 1, s; i >= 0; i--)
815
+ (s = t[i]) && (o = s(o) || o);
816
+ return o;
817
817
  };
818
818
  let W = class {
819
819
  };
820
- W = rt([
821
- d({
820
+ W = re([
821
+ h({
822
822
  id: "navigator.navigate"
823
823
  })
824
824
  ], W);
825
- const nt = "notifications";
826
- c.Notification = nt;
827
- const it = "routeRegistry";
828
- c.RouteRegistry = it;
829
- var ot = /* @__PURE__ */ ((e) => (e.Pending = "PENDING", e.Started = "STARTED", e.Retry = "RETRY", e.Success = "SUCCESS", e.Failure = "FAILURE", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Created = "task.created", e.Success = "task.success", e.Failed = "task.failed", e))(st || {});
830
- const ct = "state.tasks";
831
- c.TaskRepository = ct;
832
- const ut = "state.configs";
833
- c.ConfigRepository = ut;
834
- function kt(e) {
835
- const t = {
825
+ const ne = "notifications";
826
+ c.Notification = ne;
827
+ const oe = "routeRegistry";
828
+ c.RouteRegistry = oe;
829
+ var ie = /* @__PURE__ */ ((t) => (t.Pending = "PENDING", t.Started = "STARTED", t.Retry = "RETRY", t.Success = "SUCCESS", t.Failure = "FAILURE", t))(ie || {}), se = /* @__PURE__ */ ((t) => (t.Created = "task.created", t.Success = "task.success", t.Failed = "task.failed", t))(se || {});
830
+ const ce = "state.tasks";
831
+ c.TaskRepository = ce;
832
+ const ue = "state.configs";
833
+ c.ConfigRepository = ue;
834
+ function ke(t) {
835
+ const e = {
836
836
  name: c.ConfigRepository
837
837
  };
838
- return l(e, t);
838
+ return l(t, e);
839
839
  }
840
- const at = "state.device";
841
- c.Device = at;
842
- function Bt(e = {}) {
843
- const t = {
840
+ const ae = "state.device";
841
+ c.Device = ae;
842
+ function Be(t = {}) {
843
+ const e = {
844
844
  name: c.Device
845
845
  };
846
- return l(e, t);
846
+ return l(t, e);
847
847
  }
848
- const lt = "state.filters";
849
- c.FilterRepository = lt;
850
- function Gt(e = {}) {
851
- const t = {
848
+ const le = "state.filters";
849
+ c.FilterRepository = le;
850
+ function Ge(t = {}) {
851
+ const e = {
852
852
  name: c.FilterRepository
853
853
  };
854
- return l(e, t);
854
+ return l(t, e);
855
855
  }
856
- const ft = "state.user-data";
857
- c.UserDataRepository = ft;
858
- function Wt(e = {}) {
859
- const t = {
856
+ const fe = "state.user-data";
857
+ c.UserDataRepository = fe;
858
+ function We(t = {}) {
859
+ const e = {
860
860
  name: c.UserDataRepository
861
861
  };
862
- return l(e, t);
862
+ return l(t, e);
863
863
  }
864
- const pt = "state.application";
865
- c.Application = pt;
866
- function Ht(e = {}) {
867
- const t = {
864
+ const pe = "state.application";
865
+ c.Application = pe;
866
+ function He(t = {}) {
867
+ const e = {
868
868
  name: c.Application
869
869
  };
870
- return e.map = [dt, ...e.map || []], l(e, t);
870
+ return t.map = [he, ...t.map || []], l(t, e);
871
871
  }
872
- function dt(e) {
873
- return e.applicationName;
872
+ function he(t) {
873
+ return t.applicationName;
874
874
  }
875
- function Qt(e = {}) {
876
- const t = {
875
+ function Qe(t = {}) {
876
+ const e = {
877
877
  name: c.Application
878
878
  };
879
- return e.map = [ht, ...e.map || []], l(e, t);
879
+ return t.map = [de, ...t.map || []], l(t, e);
880
880
  }
881
- function ht(e) {
882
- return e.currentUser;
881
+ function de(t) {
882
+ return t.currentUser;
883
883
  }
884
- function Yt(e = {}) {
885
- const t = {
884
+ function Ye(t = {}) {
885
+ const e = {
886
886
  name: c.Application
887
887
  };
888
- return e.map = [yt, ...e.map || []], l(e, t);
889
- }
890
- function yt(e) {
891
- return e.session;
892
- }
893
- const bt = "userPreferences";
894
- c.UserPreferencesRepository = bt;
895
- const mt = "datetimeformatter";
896
- c.DateTimeFormatter = mt;
897
- function qt(e) {
898
- return e.type === "limeobject";
899
- }
900
- function Kt(e) {
901
- return e.type === "action";
902
- }
903
- const vt = "conditionRegistry";
904
- c.ConditionRegistry = vt;
905
- const Et = "viewFactoryRegistry";
906
- c.ViewFactoryRegistry = Et;
907
- const St = "webComponentRegistry";
908
- c.WebComponentRegistry = St;
909
- const gt = "state.notifications";
910
- c.NotificationRepository = gt;
911
- const _t = "pollerFactory";
912
- c.PollerFactory = _t;
888
+ return t.map = [ye, ...t.map || []], l(t, e);
889
+ }
890
+ function ye(t) {
891
+ return t.session;
892
+ }
893
+ const be = "userPreferences";
894
+ c.UserPreferencesRepository = be;
895
+ const ve = "datetimeformatter";
896
+ c.DateTimeFormatter = ve;
897
+ function qe(t) {
898
+ return t.type === "limeobject";
899
+ }
900
+ function Ke(t) {
901
+ return t.type === "action";
902
+ }
903
+ const me = "conditionRegistry";
904
+ c.ConditionRegistry = me;
905
+ const Ee = "viewFactoryRegistry";
906
+ c.ViewFactoryRegistry = Ee;
907
+ const Se = "webComponentRegistry";
908
+ c.WebComponentRegistry = Se;
909
+ const ge = "state.notifications";
910
+ c.NotificationRepository = ge;
911
+ const _e = "pollerFactory";
912
+ c.PollerFactory = _e;
913
913
  export {
914
- Vt as AggregateOperator,
914
+ Ve as AggregateOperator,
915
915
  U as BulkCreateDialogCommand,
916
- d as Command,
917
- xe as CommandEventName,
916
+ h as Command,
917
+ xt as CommandEventName,
918
918
  F as CreateLimeobjectDialogCommand,
919
919
  k as DeleteObjectCommand,
920
- Ut as HttpMethod,
921
- Rt as IdleStateEventName,
920
+ Ue as HttpMethod,
921
+ Re as IdleStateEventName,
922
922
  W as NavigateCommand,
923
923
  B as OpenObjectAccessDialogCommand,
924
- Ye as Operator,
924
+ Yt as Operator,
925
925
  c as PlatformServiceName,
926
926
  G as SaveLimeObjectCommand,
927
- Ht as SelectApplicationName,
928
- kt as SelectConfig,
929
- Lt as SelectCurrentLimeObject,
930
- xt as SelectCurrentLimeType,
931
- Qt as SelectCurrentUser,
932
- Bt as SelectDevice,
933
- Gt as SelectFilters,
934
- $t as SelectLimeObjects,
935
- jt as SelectLimeTypes,
936
- Ft as SelectQueryParam,
937
- Yt as SelectSession,
938
- Wt as SelectUserData,
939
- st as TaskEventType,
940
- ot as TaskState,
941
- Nt as findLimetypeByLabel,
942
- Me as getCommandId,
943
- Te as getCommandIds,
944
- Dt as getPropertiesByType,
945
- Mt as getPropertyByLabel,
946
- Tt as getPropertyByName,
947
- ee as hasLabel,
948
- Kt as isActionCondition,
949
- At as isDate,
950
- It as isFloat,
951
- qt as isLimeObjectCondition,
952
- wt as isRelation,
953
- Ot as isSingleRelation,
954
- Pt as isString
927
+ He as SelectApplicationName,
928
+ ke as SelectConfig,
929
+ Le as SelectCurrentLimeObject,
930
+ xe as SelectCurrentLimeType,
931
+ Qe as SelectCurrentUser,
932
+ Be as SelectDevice,
933
+ Ge as SelectFilters,
934
+ $e as SelectLimeObjects,
935
+ je as SelectLimeTypes,
936
+ Fe as SelectQueryParam,
937
+ Ye as SelectSession,
938
+ We as SelectUserData,
939
+ se as TaskEventType,
940
+ ie as TaskState,
941
+ Ne as findLimetypeByLabel,
942
+ Mt as getCommandId,
943
+ Tt as getCommandIds,
944
+ De as getPropertiesByType,
945
+ Me as getPropertyByLabel,
946
+ Te as getPropertyByName,
947
+ tt as hasLabel,
948
+ Ke as isActionCondition,
949
+ Ae as isDate,
950
+ Ie as isFloat,
951
+ qe as isLimeObjectCondition,
952
+ we as isRelation,
953
+ Oe as isSingleRelation,
954
+ Pe as isString
955
955
  };
956
956
  //# sourceMappingURL=index.esm.js.map