@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/CHANGELOG.md +24 -33
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +536 -536
- package/dist/index.esm.js.map +1 -1
- package/package.json +17 -14
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
|
-
},
|
|
5
|
-
function
|
|
6
|
-
return
|
|
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(
|
|
11
|
+
].includes(t.type);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return
|
|
13
|
+
function Oe(t) {
|
|
14
|
+
return t && ["belongsto", "hasone"].includes(t.type);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
return
|
|
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(
|
|
24
|
+
].includes(t.type);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
26
|
+
function Pe(t) {
|
|
27
|
+
return t && ["string", "text", "phone", "link"].includes(t.type);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
return
|
|
29
|
+
function Ie(t) {
|
|
30
|
+
return t && ["decimal", "percent"].includes(t.type);
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
c.LimeTypeRepository =
|
|
34
|
-
var C = function(
|
|
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
|
|
39
|
-
}, C(
|
|
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(
|
|
42
|
-
if (typeof
|
|
43
|
-
throw new TypeError("Class extends value " + String(
|
|
44
|
-
C(
|
|
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 =
|
|
46
|
+
this.constructor = t;
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
|
|
49
49
|
}
|
|
50
|
-
function R(
|
|
51
|
-
var
|
|
52
|
-
if (r) return r.call(
|
|
53
|
-
if (
|
|
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
|
|
55
|
+
return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
throw new TypeError(
|
|
58
|
+
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
59
59
|
}
|
|
60
|
-
function w(
|
|
61
|
-
var r = typeof Symbol == "function" &&
|
|
62
|
-
if (!r) return
|
|
63
|
-
var n = r.call(
|
|
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 (; (
|
|
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
|
-
|
|
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
|
|
75
|
+
return i;
|
|
76
76
|
}
|
|
77
|
-
function O(
|
|
78
|
-
if (r || arguments.length === 2) for (var n = 0,
|
|
79
|
-
(
|
|
80
|
-
return
|
|
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(
|
|
83
|
-
return typeof
|
|
82
|
+
function p(t) {
|
|
83
|
+
return typeof t == "function";
|
|
84
84
|
}
|
|
85
|
-
function Q(
|
|
86
|
-
var
|
|
85
|
+
function Q(t) {
|
|
86
|
+
var e = function(n) {
|
|
87
87
|
Error.call(n), n.stack = new Error().stack;
|
|
88
|
-
}, r = e
|
|
88
|
+
}, r = t(e);
|
|
89
89
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
90
90
|
}
|
|
91
|
-
var _ = Q(function(
|
|
91
|
+
var _ = Q(function(t) {
|
|
92
92
|
return function(r) {
|
|
93
|
-
|
|
94
|
-
` + r.map(function(n,
|
|
95
|
-
return
|
|
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(
|
|
101
|
-
if (
|
|
102
|
-
var r =
|
|
103
|
-
0 <= r &&
|
|
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
|
|
108
|
-
this.initialTeardown =
|
|
107
|
+
function t(e) {
|
|
108
|
+
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
109
109
|
}
|
|
110
|
-
return
|
|
111
|
-
var
|
|
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
|
-
|
|
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 (
|
|
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
|
-
|
|
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),
|
|
145
|
-
var
|
|
144
|
+
for (var b = R(j), d = b.next(); !d.done; d = b.next()) {
|
|
145
|
+
var et = d.value;
|
|
146
146
|
try {
|
|
147
|
-
x(
|
|
147
|
+
x(et);
|
|
148
148
|
} catch (f) {
|
|
149
|
-
|
|
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
|
-
|
|
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 (
|
|
163
|
-
throw new _(
|
|
162
|
+
if (i)
|
|
163
|
+
throw new _(i);
|
|
164
164
|
}
|
|
165
|
-
},
|
|
165
|
+
}, t.prototype.add = function(e) {
|
|
166
166
|
var r;
|
|
167
|
-
if (
|
|
167
|
+
if (e && e !== this)
|
|
168
168
|
if (this.closed)
|
|
169
|
-
x(
|
|
169
|
+
x(e);
|
|
170
170
|
else {
|
|
171
|
-
if (
|
|
172
|
-
if (
|
|
171
|
+
if (e instanceof t) {
|
|
172
|
+
if (e.closed || e._hasParent(this))
|
|
173
173
|
return;
|
|
174
|
-
|
|
174
|
+
e._addParent(this);
|
|
175
175
|
}
|
|
176
|
-
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(
|
|
176
|
+
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
|
|
177
177
|
}
|
|
178
|
-
},
|
|
178
|
+
}, t.prototype._hasParent = function(e) {
|
|
179
179
|
var r = this._parentage;
|
|
180
|
-
return r ===
|
|
181
|
-
},
|
|
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(
|
|
184
|
-
},
|
|
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 ===
|
|
187
|
-
},
|
|
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,
|
|
190
|
-
},
|
|
191
|
-
var
|
|
192
|
-
return
|
|
193
|
-
}(),
|
|
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(
|
|
196
|
-
return
|
|
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(
|
|
199
|
-
p(
|
|
198
|
+
function x(t) {
|
|
199
|
+
p(t) ? t() : t.unsubscribe();
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var nt = {
|
|
202
202
|
Promise: void 0
|
|
203
|
-
},
|
|
204
|
-
setTimeout: function(
|
|
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([
|
|
207
|
+
return setTimeout.apply(void 0, O([t, e], w(r)));
|
|
208
208
|
},
|
|
209
|
-
clearTimeout: function(
|
|
210
|
-
return clearTimeout(
|
|
209
|
+
clearTimeout: function(t) {
|
|
210
|
+
return clearTimeout(t);
|
|
211
211
|
},
|
|
212
212
|
delegate: void 0
|
|
213
213
|
};
|
|
214
|
-
function
|
|
215
|
-
|
|
216
|
-
throw
|
|
214
|
+
function it(t) {
|
|
215
|
+
ot.setTimeout(function() {
|
|
216
|
+
throw t;
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
function N() {
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
221
|
+
function m(t) {
|
|
222
|
+
t();
|
|
223
223
|
}
|
|
224
|
-
var K = function(
|
|
225
|
-
y(
|
|
226
|
-
function
|
|
227
|
-
var n =
|
|
228
|
-
return n.isStopped = !1, r ? (n.destination = r, q(r) && r.add(n)) : n.destination =
|
|
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
|
|
231
|
-
return new P(r, n,
|
|
232
|
-
},
|
|
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
|
-
},
|
|
234
|
+
}, e.prototype.error = function(r) {
|
|
235
235
|
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
236
|
-
},
|
|
236
|
+
}, e.prototype.complete = function() {
|
|
237
237
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
238
|
-
},
|
|
239
|
-
this.closed || (this.isStopped = !0,
|
|
240
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
248
|
+
}, e.prototype._complete = function() {
|
|
249
249
|
try {
|
|
250
250
|
this.destination.complete();
|
|
251
251
|
} finally {
|
|
252
252
|
this.unsubscribe();
|
|
253
253
|
}
|
|
254
|
-
},
|
|
255
|
-
}(S),
|
|
256
|
-
function e
|
|
257
|
-
this.partialObserver =
|
|
254
|
+
}, e;
|
|
255
|
+
}(S), st = function() {
|
|
256
|
+
function t(e) {
|
|
257
|
+
this.partialObserver = e;
|
|
258
258
|
}
|
|
259
|
-
return
|
|
259
|
+
return t.prototype.next = function(e) {
|
|
260
260
|
var r = this.partialObserver;
|
|
261
261
|
if (r.next)
|
|
262
262
|
try {
|
|
263
|
-
r.next(
|
|
263
|
+
r.next(e);
|
|
264
264
|
} catch (n) {
|
|
265
|
-
|
|
265
|
+
v(n);
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, t.prototype.error = function(e) {
|
|
268
268
|
var r = this.partialObserver;
|
|
269
269
|
if (r.error)
|
|
270
270
|
try {
|
|
271
|
-
r.error(
|
|
271
|
+
r.error(e);
|
|
272
272
|
} catch (n) {
|
|
273
|
-
|
|
273
|
+
v(n);
|
|
274
274
|
}
|
|
275
275
|
else
|
|
276
|
-
|
|
277
|
-
},
|
|
278
|
-
var
|
|
279
|
-
if (
|
|
276
|
+
v(e);
|
|
277
|
+
}, t.prototype.complete = function() {
|
|
278
|
+
var e = this.partialObserver;
|
|
279
|
+
if (e.complete)
|
|
280
280
|
try {
|
|
281
|
-
|
|
281
|
+
e.complete();
|
|
282
282
|
} catch (r) {
|
|
283
|
-
|
|
283
|
+
v(r);
|
|
284
284
|
}
|
|
285
|
-
},
|
|
286
|
-
}(), P = function(
|
|
287
|
-
y(
|
|
288
|
-
function
|
|
289
|
-
var
|
|
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:
|
|
294
|
-
} : s = r,
|
|
293
|
+
complete: o ?? void 0
|
|
294
|
+
} : s = r, i.destination = new st(s), i;
|
|
295
295
|
}
|
|
296
|
-
return
|
|
296
|
+
return e;
|
|
297
297
|
}(K);
|
|
298
|
-
function
|
|
299
|
-
|
|
298
|
+
function v(t) {
|
|
299
|
+
it(t);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
throw
|
|
301
|
+
function ct(t) {
|
|
302
|
+
throw t;
|
|
303
303
|
}
|
|
304
|
-
var
|
|
304
|
+
var ut = {
|
|
305
305
|
closed: !0,
|
|
306
306
|
next: N,
|
|
307
|
-
error:
|
|
307
|
+
error: ct,
|
|
308
308
|
complete: N
|
|
309
|
-
},
|
|
309
|
+
}, at = function() {
|
|
310
310
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
311
311
|
}();
|
|
312
|
-
function
|
|
313
|
-
return
|
|
312
|
+
function lt(t) {
|
|
313
|
+
return t;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
return
|
|
317
|
-
return
|
|
318
|
-
return
|
|
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
|
|
324
|
-
|
|
323
|
+
function t(e) {
|
|
324
|
+
e && (this._subscribe = e);
|
|
325
325
|
}
|
|
326
|
-
return
|
|
327
|
-
var r = new
|
|
328
|
-
return r.source = this, r.operator =
|
|
329
|
-
},
|
|
330
|
-
var
|
|
331
|
-
return
|
|
332
|
-
var s =
|
|
333
|
-
|
|
334
|
-
}),
|
|
335
|
-
},
|
|
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(
|
|
337
|
+
return this._subscribe(e);
|
|
338
338
|
} catch (r) {
|
|
339
|
-
|
|
339
|
+
e.error(r);
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, t.prototype.forEach = function(e, r) {
|
|
342
342
|
var n = this;
|
|
343
|
-
return r = M(r), new r(function(
|
|
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
|
-
|
|
347
|
+
e(u);
|
|
348
348
|
} catch (a) {
|
|
349
|
-
|
|
349
|
+
i(a), s.unsubscribe();
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
|
-
error:
|
|
353
|
-
complete:
|
|
352
|
+
error: i,
|
|
353
|
+
complete: o
|
|
354
354
|
});
|
|
355
355
|
n.subscribe(s);
|
|
356
356
|
});
|
|
357
|
-
},
|
|
357
|
+
}, t.prototype._subscribe = function(e) {
|
|
358
358
|
var r;
|
|
359
|
-
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(
|
|
360
|
-
},
|
|
359
|
+
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
|
|
360
|
+
}, t.prototype[at] = function() {
|
|
361
361
|
return this;
|
|
362
|
-
},
|
|
363
|
-
for (var
|
|
364
|
-
|
|
365
|
-
return
|
|
366
|
-
},
|
|
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
|
|
369
|
-
var
|
|
368
|
+
return e = M(e), new e(function(n, o) {
|
|
369
|
+
var i;
|
|
370
370
|
r.subscribe(function(s) {
|
|
371
|
-
return
|
|
371
|
+
return i = s;
|
|
372
372
|
}, function(s) {
|
|
373
|
-
return
|
|
373
|
+
return o(s);
|
|
374
374
|
}, function() {
|
|
375
|
-
return n(
|
|
375
|
+
return n(i);
|
|
376
376
|
});
|
|
377
377
|
});
|
|
378
|
-
},
|
|
379
|
-
return new e
|
|
380
|
-
},
|
|
378
|
+
}, t.create = function(e) {
|
|
379
|
+
return new t(e);
|
|
380
|
+
}, t;
|
|
381
381
|
}();
|
|
382
|
-
function M(
|
|
383
|
-
var
|
|
384
|
-
return (
|
|
382
|
+
function M(t) {
|
|
383
|
+
var e;
|
|
384
|
+
return (e = t ?? nt.Promise) !== null && e !== void 0 ? e : Promise;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
return
|
|
386
|
+
function pt(t) {
|
|
387
|
+
return t && p(t.next) && p(t.error) && p(t.complete);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
return
|
|
389
|
+
function ht(t) {
|
|
390
|
+
return t && t instanceof K || pt(t) && q(t);
|
|
391
391
|
}
|
|
392
|
-
var
|
|
392
|
+
var dt = Q(function(t) {
|
|
393
393
|
return function() {
|
|
394
|
-
|
|
394
|
+
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
395
395
|
};
|
|
396
|
-
}), X = function(
|
|
397
|
-
y(
|
|
398
|
-
function
|
|
399
|
-
var r =
|
|
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
|
|
402
|
+
return e.prototype.lift = function(r) {
|
|
403
403
|
var n = new T(this, this);
|
|
404
404
|
return n.operator = r, n;
|
|
405
|
-
},
|
|
405
|
+
}, e.prototype._throwIfClosed = function() {
|
|
406
406
|
if (this.closed)
|
|
407
|
-
throw new
|
|
408
|
-
},
|
|
407
|
+
throw new dt();
|
|
408
|
+
}, e.prototype.next = function(r) {
|
|
409
409
|
var n = this;
|
|
410
|
-
|
|
411
|
-
var
|
|
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
|
-
|
|
420
|
+
o = { error: g };
|
|
421
421
|
} finally {
|
|
422
422
|
try {
|
|
423
|
-
u && !u.done && (
|
|
423
|
+
u && !u.done && (i = s.return) && i.call(s);
|
|
424
424
|
} finally {
|
|
425
|
-
if (
|
|
425
|
+
if (o) throw o.error;
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
|
-
},
|
|
430
|
+
}, e.prototype.error = function(r) {
|
|
431
431
|
var n = this;
|
|
432
|
-
|
|
432
|
+
m(function() {
|
|
433
433
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
434
434
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
435
|
-
for (var
|
|
436
|
-
|
|
435
|
+
for (var o = n.observers; o.length; )
|
|
436
|
+
o.shift().error(r);
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
|
-
},
|
|
439
|
+
}, e.prototype.complete = function() {
|
|
440
440
|
var r = this;
|
|
441
|
-
|
|
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
|
-
},
|
|
448
|
+
}, e.prototype.unsubscribe = function() {
|
|
449
449
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
450
|
-
}, Object.defineProperty(
|
|
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
|
-
}),
|
|
458
|
-
return this._throwIfClosed(),
|
|
459
|
-
},
|
|
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
|
-
},
|
|
462
|
-
var n = this,
|
|
463
|
-
return
|
|
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
|
-
},
|
|
467
|
-
var n = this,
|
|
468
|
-
|
|
469
|
-
},
|
|
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
|
-
},
|
|
472
|
+
}, e.create = function(r, n) {
|
|
473
473
|
return new T(r, n);
|
|
474
|
-
},
|
|
475
|
-
}(D), T = function(
|
|
476
|
-
y(
|
|
477
|
-
function
|
|
478
|
-
var
|
|
479
|
-
return
|
|
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
|
|
482
|
-
var n,
|
|
483
|
-
(
|
|
484
|
-
},
|
|
485
|
-
var n,
|
|
486
|
-
(
|
|
487
|
-
},
|
|
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
|
-
},
|
|
491
|
-
var n,
|
|
492
|
-
return (
|
|
493
|
-
},
|
|
494
|
-
}(X),
|
|
495
|
-
y(
|
|
496
|
-
function
|
|
497
|
-
var n =
|
|
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(
|
|
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
|
-
}),
|
|
507
|
-
var n =
|
|
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
|
-
},
|
|
510
|
-
var r = this, n = r.hasError,
|
|
509
|
+
}, e.prototype.getValue = function() {
|
|
510
|
+
var r = this, n = r.hasError, o = r.thrownError, i = r._value;
|
|
511
511
|
if (n)
|
|
512
|
-
throw
|
|
513
|
-
return this._throwIfClosed(),
|
|
514
|
-
},
|
|
515
|
-
|
|
516
|
-
},
|
|
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
|
|
519
|
-
return
|
|
518
|
+
function bt(t) {
|
|
519
|
+
return t;
|
|
520
520
|
}
|
|
521
|
-
function l(
|
|
521
|
+
function l(t, e) {
|
|
522
522
|
return (r, n) => {
|
|
523
|
-
const
|
|
523
|
+
const o = vt(
|
|
524
524
|
r,
|
|
525
525
|
n,
|
|
526
|
-
|
|
527
|
-
|
|
526
|
+
t,
|
|
527
|
+
e
|
|
528
528
|
);
|
|
529
|
-
|
|
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
|
|
534
|
-
let
|
|
535
|
-
return
|
|
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:
|
|
538
|
-
optionFactory: n.optionFactory ||
|
|
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
|
-
}),
|
|
544
|
-
}
|
|
545
|
-
function
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
),
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
),
|
|
553
|
-
|
|
554
|
-
),
|
|
555
|
-
|
|
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(
|
|
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
|
|
562
|
-
if (
|
|
563
|
-
|
|
564
|
-
}),
|
|
565
|
-
return
|
|
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
|
|
568
|
+
function Et(t, e) {
|
|
569
569
|
return async function(...r) {
|
|
570
|
-
return J.get(this) === !0 ? (await z(this),
|
|
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(
|
|
574
|
-
return async function(...
|
|
573
|
+
function L(t) {
|
|
574
|
+
return async function(...e) {
|
|
575
575
|
let r;
|
|
576
|
-
return
|
|
576
|
+
return t && (r = t.apply(this, e)), Ct(this), r;
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
return "context" in
|
|
579
|
+
function St(t) {
|
|
580
|
+
return "context" in t;
|
|
581
581
|
}
|
|
582
|
-
function z(
|
|
583
|
-
const
|
|
584
|
-
return
|
|
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(
|
|
587
|
-
const r = H(
|
|
586
|
+
function V(t, e) {
|
|
587
|
+
const r = H(t);
|
|
588
588
|
return new Promise((n) => {
|
|
589
|
-
Object.defineProperty(r,
|
|
589
|
+
Object.defineProperty(r, e, {
|
|
590
590
|
configurable: !0,
|
|
591
|
-
set: (
|
|
592
|
-
delete r[
|
|
591
|
+
set: (o) => {
|
|
592
|
+
delete r[e], r[e] = o, n();
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function
|
|
598
|
-
const n = H(
|
|
597
|
+
function gt(t, e, r) {
|
|
598
|
+
const n = H(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
|
|
599
599
|
Object.getPrototypeOf(n),
|
|
600
|
-
|
|
600
|
+
e
|
|
601
601
|
);
|
|
602
|
-
Object.defineProperty(n,
|
|
602
|
+
Object.defineProperty(n, e, {
|
|
603
603
|
configurable: !0,
|
|
604
|
-
get:
|
|
604
|
+
get: o,
|
|
605
605
|
set: function(s) {
|
|
606
|
-
|
|
606
|
+
i.call(this, s), r.next(s);
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
|
-
function
|
|
611
|
-
const r =
|
|
610
|
+
function _t(t, e) {
|
|
611
|
+
const r = wt(t, e);
|
|
612
612
|
if (typeof r != "function")
|
|
613
613
|
return;
|
|
614
|
-
E.get(
|
|
614
|
+
E.get(t).push(r);
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
E.get(
|
|
616
|
+
function Ct(t) {
|
|
617
|
+
E.get(t).forEach((r) => r()), E.set(t, []);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Rt(t, e) {
|
|
620
620
|
return (r) => {
|
|
621
|
-
e
|
|
621
|
+
t[e] = r;
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
const r = { ...
|
|
626
|
-
|
|
627
|
-
const n =
|
|
628
|
-
if (!
|
|
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
|
|
631
|
-
|
|
630
|
+
return o.get(n)[e.service.method](
|
|
631
|
+
Rt(t, e.name),
|
|
632
632
|
r
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
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
|
|
639
|
-
const
|
|
638
|
+
function je(t = {}) {
|
|
639
|
+
const e = {
|
|
640
640
|
name: c.LimeTypeRepository
|
|
641
641
|
};
|
|
642
|
-
return l(
|
|
642
|
+
return l(t, e);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
const
|
|
644
|
+
function xe(t = {}) {
|
|
645
|
+
const e = {
|
|
646
646
|
name: c.LimeTypeRepository
|
|
647
647
|
};
|
|
648
|
-
return
|
|
648
|
+
return t.map = [At, ...t.map || []], t.context = null, l(t, e);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
651
|
-
const { limetype:
|
|
652
|
-
return e
|
|
650
|
+
function At(t) {
|
|
651
|
+
const { limetype: e } = this.context;
|
|
652
|
+
return t[e];
|
|
653
653
|
}
|
|
654
|
-
const
|
|
655
|
-
function
|
|
656
|
-
return Object.values(
|
|
657
|
-
(r) => r.type ===
|
|
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
|
|
661
|
-
return Object.values(
|
|
660
|
+
function Me(t, e) {
|
|
661
|
+
return Object.values(t.properties).find(tt(e));
|
|
662
662
|
}
|
|
663
|
-
function
|
|
664
|
-
return
|
|
663
|
+
function Te(t, e) {
|
|
664
|
+
return t.properties[e];
|
|
665
665
|
}
|
|
666
|
-
const
|
|
667
|
-
c.LimeObjectRepository =
|
|
668
|
-
function $t
|
|
669
|
-
const
|
|
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:
|
|
671
|
+
optionFactory: jt
|
|
672
672
|
};
|
|
673
|
-
return l(
|
|
673
|
+
return l(t, e);
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
const
|
|
675
|
+
function Le(t = {}) {
|
|
676
|
+
const e = {
|
|
677
677
|
name: c.LimeObjectRepository
|
|
678
678
|
};
|
|
679
|
-
return
|
|
679
|
+
return t.map = [It, ...t.map || []], t.context = null, l(t, e);
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
const { limetype:
|
|
683
|
-
if (e
|
|
684
|
-
return e
|
|
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
|
|
687
|
-
return
|
|
686
|
+
function jt(t, e) {
|
|
687
|
+
return t.getLimetype && (t.limetype = t.getLimetype(e)), t;
|
|
688
688
|
}
|
|
689
|
-
var
|
|
690
|
-
function
|
|
691
|
-
return (
|
|
692
|
-
|
|
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
|
|
696
|
-
|
|
695
|
+
function Nt(t, e) {
|
|
696
|
+
t.commandId = e;
|
|
697
697
|
}
|
|
698
|
-
function
|
|
699
|
-
Object.defineProperty(
|
|
700
|
-
value: (r) =>
|
|
698
|
+
function Dt(t, e) {
|
|
699
|
+
Object.defineProperty(t, Symbol.hasInstance, {
|
|
700
|
+
value: (r) => Tt(r).includes(e)
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
|
-
function
|
|
704
|
-
return typeof
|
|
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
|
|
707
|
-
let
|
|
708
|
-
for (; r =
|
|
709
|
-
|
|
710
|
-
return Array.from(new Set(
|
|
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 $
|
|
713
|
-
c.CommandBus = $
|
|
714
|
-
var
|
|
715
|
-
for (var
|
|
716
|
-
(s =
|
|
717
|
-
return
|
|
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 =
|
|
722
|
-
|
|
721
|
+
U = Vt([
|
|
722
|
+
h({
|
|
723
723
|
id: "limeobject.bulk-create-dialog"
|
|
724
724
|
})
|
|
725
725
|
], U);
|
|
726
|
-
var
|
|
727
|
-
for (var
|
|
728
|
-
(s =
|
|
729
|
-
return
|
|
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 =
|
|
737
|
-
|
|
736
|
+
F = Ft([
|
|
737
|
+
h({
|
|
738
738
|
id: "limeobject.create-dialog"
|
|
739
739
|
})
|
|
740
740
|
], F);
|
|
741
|
-
var
|
|
742
|
-
for (var
|
|
743
|
-
(s =
|
|
744
|
-
return
|
|
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 =
|
|
749
|
-
|
|
748
|
+
k = Bt([
|
|
749
|
+
h({
|
|
750
750
|
id: "limeobject.delete-object"
|
|
751
751
|
})
|
|
752
752
|
], k);
|
|
753
|
-
var
|
|
754
|
-
for (var
|
|
755
|
-
(s =
|
|
756
|
-
return
|
|
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 =
|
|
761
|
-
|
|
760
|
+
B = Wt([
|
|
761
|
+
h({
|
|
762
762
|
id: "limeobject.object-access"
|
|
763
763
|
})
|
|
764
764
|
], B);
|
|
765
|
-
var
|
|
766
|
-
for (var
|
|
767
|
-
(s =
|
|
768
|
-
return
|
|
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 =
|
|
776
|
-
|
|
775
|
+
G = Qt([
|
|
776
|
+
h({
|
|
777
777
|
id: "limeobject.save-object"
|
|
778
778
|
})
|
|
779
779
|
], G);
|
|
780
|
-
var
|
|
781
|
-
const
|
|
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
|
-
},
|
|
788
|
-
c.Query =
|
|
789
|
-
const
|
|
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
|
-
},
|
|
796
|
-
c.Http =
|
|
797
|
-
const
|
|
798
|
-
c.EventDispatcher =
|
|
799
|
-
const
|
|
800
|
-
c.Translate =
|
|
801
|
-
const
|
|
802
|
-
c.Dialog =
|
|
803
|
-
const
|
|
804
|
-
c.KeybindingRegistry =
|
|
805
|
-
const
|
|
806
|
-
c.Navigator =
|
|
807
|
-
function
|
|
808
|
-
const
|
|
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, ...
|
|
811
|
+
return l({ context: null, ...t }, e);
|
|
812
812
|
}
|
|
813
|
-
var
|
|
814
|
-
for (var
|
|
815
|
-
(s =
|
|
816
|
-
return
|
|
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 =
|
|
821
|
-
|
|
820
|
+
W = re([
|
|
821
|
+
h({
|
|
822
822
|
id: "navigator.navigate"
|
|
823
823
|
})
|
|
824
824
|
], W);
|
|
825
|
-
const
|
|
826
|
-
c.Notification =
|
|
827
|
-
const
|
|
828
|
-
c.RouteRegistry =
|
|
829
|
-
var
|
|
830
|
-
const
|
|
831
|
-
c.TaskRepository =
|
|
832
|
-
const
|
|
833
|
-
c.ConfigRepository =
|
|
834
|
-
function
|
|
835
|
-
const
|
|
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(
|
|
838
|
+
return l(t, e);
|
|
839
839
|
}
|
|
840
|
-
const
|
|
841
|
-
c.Device =
|
|
842
|
-
function
|
|
843
|
-
const
|
|
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(
|
|
846
|
+
return l(t, e);
|
|
847
847
|
}
|
|
848
|
-
const
|
|
849
|
-
c.FilterRepository =
|
|
850
|
-
function
|
|
851
|
-
const
|
|
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(
|
|
854
|
+
return l(t, e);
|
|
855
855
|
}
|
|
856
|
-
const
|
|
857
|
-
c.UserDataRepository =
|
|
858
|
-
function
|
|
859
|
-
const
|
|
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(
|
|
862
|
+
return l(t, e);
|
|
863
863
|
}
|
|
864
|
-
const
|
|
865
|
-
c.Application =
|
|
866
|
-
function
|
|
867
|
-
const
|
|
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
|
|
870
|
+
return t.map = [he, ...t.map || []], l(t, e);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
873
|
-
return
|
|
872
|
+
function he(t) {
|
|
873
|
+
return t.applicationName;
|
|
874
874
|
}
|
|
875
|
-
function
|
|
876
|
-
const
|
|
875
|
+
function Qe(t = {}) {
|
|
876
|
+
const e = {
|
|
877
877
|
name: c.Application
|
|
878
878
|
};
|
|
879
|
-
return
|
|
879
|
+
return t.map = [de, ...t.map || []], l(t, e);
|
|
880
880
|
}
|
|
881
|
-
function
|
|
882
|
-
return
|
|
881
|
+
function de(t) {
|
|
882
|
+
return t.currentUser;
|
|
883
883
|
}
|
|
884
|
-
function
|
|
885
|
-
const
|
|
884
|
+
function Ye(t = {}) {
|
|
885
|
+
const e = {
|
|
886
886
|
name: c.Application
|
|
887
887
|
};
|
|
888
|
-
return
|
|
889
|
-
}
|
|
890
|
-
function
|
|
891
|
-
return
|
|
892
|
-
}
|
|
893
|
-
const
|
|
894
|
-
c.UserPreferencesRepository =
|
|
895
|
-
const
|
|
896
|
-
c.DateTimeFormatter =
|
|
897
|
-
function
|
|
898
|
-
return
|
|
899
|
-
}
|
|
900
|
-
function
|
|
901
|
-
return
|
|
902
|
-
}
|
|
903
|
-
const
|
|
904
|
-
c.ConditionRegistry =
|
|
905
|
-
const
|
|
906
|
-
c.ViewFactoryRegistry =
|
|
907
|
-
const
|
|
908
|
-
c.WebComponentRegistry =
|
|
909
|
-
const
|
|
910
|
-
c.NotificationRepository =
|
|
911
|
-
const
|
|
912
|
-
c.PollerFactory =
|
|
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
|
-
|
|
914
|
+
Ve as AggregateOperator,
|
|
915
915
|
U as BulkCreateDialogCommand,
|
|
916
|
-
|
|
917
|
-
|
|
916
|
+
h as Command,
|
|
917
|
+
xt as CommandEventName,
|
|
918
918
|
F as CreateLimeobjectDialogCommand,
|
|
919
919
|
k as DeleteObjectCommand,
|
|
920
|
-
|
|
921
|
-
|
|
920
|
+
Ue as HttpMethod,
|
|
921
|
+
Re as IdleStateEventName,
|
|
922
922
|
W as NavigateCommand,
|
|
923
923
|
B as OpenObjectAccessDialogCommand,
|
|
924
|
-
|
|
924
|
+
Yt as Operator,
|
|
925
925
|
c as PlatformServiceName,
|
|
926
926
|
G as SaveLimeObjectCommand,
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
$
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
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
|