@limetech/lime-web-components 6.13.1 → 6.13.2-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/ai-context/ai-context-registry.d.ts +23 -11
- package/dist/ai-context/ai-context-registry.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1006 -1092
- package/dist/index.esm.js.map +1 -1
- package/dist/limeobject/repository.d.ts +14 -0
- package/dist/limeobject/repository.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.esm.js
CHANGED
|
@@ -1,1109 +1,1023 @@
|
|
|
1
|
-
import { getElement as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { getElement as e, setErrorHandler as t } from "@stencil/core";
|
|
2
|
+
//#region src/core/platform.ts
|
|
3
|
+
var n = { Route: "route" }, r = "idle-state";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/limetype/property.ts
|
|
6
|
+
function i(e) {
|
|
7
|
+
return e && [
|
|
8
|
+
"belongsto",
|
|
9
|
+
"hasone",
|
|
10
|
+
"hasmany",
|
|
11
|
+
"hasandbelongstomany"
|
|
12
|
+
].includes(e.type);
|
|
13
|
+
}
|
|
14
|
+
function a(e) {
|
|
15
|
+
return e && ["belongsto", "hasone"].includes(e.type);
|
|
16
|
+
}
|
|
17
|
+
function o(e) {
|
|
18
|
+
return e && [
|
|
19
|
+
"time",
|
|
20
|
+
"timeofday",
|
|
21
|
+
"date",
|
|
22
|
+
"year",
|
|
23
|
+
"quarter",
|
|
24
|
+
"month"
|
|
25
|
+
].includes(e.type);
|
|
26
|
+
}
|
|
27
|
+
function s(e) {
|
|
28
|
+
return e && [
|
|
29
|
+
"string",
|
|
30
|
+
"text",
|
|
31
|
+
"phone",
|
|
32
|
+
"link"
|
|
33
|
+
].includes(e.type);
|
|
34
|
+
}
|
|
35
|
+
function c(e) {
|
|
36
|
+
return e && ["decimal", "percent"].includes(e.type);
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/limetype/types.ts
|
|
40
|
+
n.LimeTypeRepository = "state.limetypes";
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region node_modules/tslib/tslib.es6.mjs
|
|
43
|
+
var l = function(e, t) {
|
|
44
|
+
return l = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
45
|
+
e.__proto__ = t;
|
|
46
|
+
} || function(e, t) {
|
|
47
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
48
|
+
}, l(e, t);
|
|
40
49
|
};
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
function
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
function
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
50
|
+
function u(e, t) {
|
|
51
|
+
if (typeof t != "function" && t !== null) throw TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
52
|
+
l(e, t);
|
|
53
|
+
function n() {
|
|
54
|
+
this.constructor = e;
|
|
55
|
+
}
|
|
56
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
57
|
+
}
|
|
58
|
+
function d(e) {
|
|
59
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
60
|
+
if (n) return n.call(e);
|
|
61
|
+
if (e && typeof e.length == "number") return { next: function() {
|
|
62
|
+
return e && r >= e.length && (e = void 0), {
|
|
63
|
+
value: e && e[r++],
|
|
64
|
+
done: !e
|
|
65
|
+
};
|
|
66
|
+
} };
|
|
67
|
+
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
68
|
+
}
|
|
69
|
+
function f(e, t) {
|
|
70
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
71
|
+
if (!n) return e;
|
|
72
|
+
var r = n.call(e), i, a = [], o;
|
|
73
|
+
try {
|
|
74
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
|
|
75
|
+
} catch (e) {
|
|
76
|
+
o = { error: e };
|
|
77
|
+
} finally {
|
|
78
|
+
try {
|
|
79
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
80
|
+
} finally {
|
|
81
|
+
if (o) throw o.error;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return a;
|
|
85
|
+
}
|
|
86
|
+
function p(e, t, n) {
|
|
87
|
+
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
88
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
92
|
+
function m(e) {
|
|
93
|
+
return typeof e == "function";
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
97
|
+
function h(e) {
|
|
98
|
+
var t = e(function(e) {
|
|
99
|
+
Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
|
|
100
|
+
});
|
|
101
|
+
return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
105
|
+
var g = h(function(e) {
|
|
106
|
+
return function(t) {
|
|
107
|
+
e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
|
|
108
|
+
return t + 1 + ") " + e.toString();
|
|
109
|
+
}).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t;
|
|
110
|
+
};
|
|
99
111
|
});
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
return clearTimeout(t);
|
|
211
|
-
},
|
|
212
|
-
delegate: void 0
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
114
|
+
function _(e, t) {
|
|
115
|
+
if (e) {
|
|
116
|
+
var n = e.indexOf(t);
|
|
117
|
+
0 <= n && e.splice(n, 1);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
122
|
+
var v = function() {
|
|
123
|
+
function e(e) {
|
|
124
|
+
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
125
|
+
}
|
|
126
|
+
return e.prototype.unsubscribe = function() {
|
|
127
|
+
var e, t, n, r, i;
|
|
128
|
+
if (!this.closed) {
|
|
129
|
+
this.closed = !0;
|
|
130
|
+
var a = this._parentage;
|
|
131
|
+
if (a) if (this._parentage = null, Array.isArray(a)) try {
|
|
132
|
+
for (var o = d(a), s = o.next(); !s.done; s = o.next()) s.value.remove(this);
|
|
133
|
+
} catch (t) {
|
|
134
|
+
e = { error: t };
|
|
135
|
+
} finally {
|
|
136
|
+
try {
|
|
137
|
+
s && !s.done && (t = o.return) && t.call(o);
|
|
138
|
+
} finally {
|
|
139
|
+
if (e) throw e.error;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
else a.remove(this);
|
|
143
|
+
var c = this.initialTeardown;
|
|
144
|
+
if (m(c)) try {
|
|
145
|
+
c();
|
|
146
|
+
} catch (e) {
|
|
147
|
+
i = e instanceof g ? e.errors : [e];
|
|
148
|
+
}
|
|
149
|
+
var l = this._finalizers;
|
|
150
|
+
if (l) {
|
|
151
|
+
this._finalizers = null;
|
|
152
|
+
try {
|
|
153
|
+
for (var u = d(l), h = u.next(); !h.done; h = u.next()) {
|
|
154
|
+
var _ = h.value;
|
|
155
|
+
try {
|
|
156
|
+
b(_);
|
|
157
|
+
} catch (e) {
|
|
158
|
+
i ??= [], e instanceof g ? i = p(p([], f(i)), f(e.errors)) : i.push(e);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
} catch (e) {
|
|
162
|
+
n = { error: e };
|
|
163
|
+
} finally {
|
|
164
|
+
try {
|
|
165
|
+
h && !h.done && (r = u.return) && r.call(u);
|
|
166
|
+
} finally {
|
|
167
|
+
if (n) throw n.error;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
if (i) throw new g(i);
|
|
172
|
+
}
|
|
173
|
+
}, e.prototype.add = function(t) {
|
|
174
|
+
if (t && t !== this) if (this.closed) b(t);
|
|
175
|
+
else {
|
|
176
|
+
if (t instanceof e) {
|
|
177
|
+
if (t.closed || t._hasParent(this)) return;
|
|
178
|
+
t._addParent(this);
|
|
179
|
+
}
|
|
180
|
+
(this._finalizers = this._finalizers ?? []).push(t);
|
|
181
|
+
}
|
|
182
|
+
}, e.prototype._hasParent = function(e) {
|
|
183
|
+
var t = this._parentage;
|
|
184
|
+
return t === e || Array.isArray(t) && t.includes(e);
|
|
185
|
+
}, e.prototype._addParent = function(e) {
|
|
186
|
+
var t = this._parentage;
|
|
187
|
+
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
188
|
+
}, e.prototype._removeParent = function(e) {
|
|
189
|
+
var t = this._parentage;
|
|
190
|
+
t === e ? this._parentage = null : Array.isArray(t) && _(t, e);
|
|
191
|
+
}, e.prototype.remove = function(t) {
|
|
192
|
+
var n = this._finalizers;
|
|
193
|
+
n && _(n, t), t instanceof e && t._removeParent(this);
|
|
194
|
+
}, e.EMPTY = (function() {
|
|
195
|
+
var t = new e();
|
|
196
|
+
return t.closed = !0, t;
|
|
197
|
+
})(), e;
|
|
198
|
+
}(), ee = v.EMPTY;
|
|
199
|
+
function y(e) {
|
|
200
|
+
return e instanceof v || e && "closed" in e && m(e.remove) && m(e.add) && m(e.unsubscribe);
|
|
201
|
+
}
|
|
202
|
+
function b(e) {
|
|
203
|
+
m(e) ? e() : e.unsubscribe();
|
|
204
|
+
}
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region node_modules/rxjs/dist/esm5/internal/config.js
|
|
207
|
+
var x = {
|
|
208
|
+
onUnhandledError: null,
|
|
209
|
+
onStoppedNotification: null,
|
|
210
|
+
Promise: void 0,
|
|
211
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
212
|
+
useDeprecatedNextContext: !1
|
|
213
|
+
}, S = {
|
|
214
|
+
setTimeout: function(e, t) {
|
|
215
|
+
var n = [...arguments].slice(2), r = S.delegate;
|
|
216
|
+
return r?.setTimeout ? r.setTimeout.apply(r, p([e, t], f(n))) : setTimeout.apply(void 0, p([e, t], f(n)));
|
|
217
|
+
},
|
|
218
|
+
clearTimeout: function(e) {
|
|
219
|
+
return (S.delegate?.clearTimeout || clearTimeout)(e);
|
|
220
|
+
},
|
|
221
|
+
delegate: void 0
|
|
213
222
|
};
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
return e.create = function(r, n, o) {
|
|
231
|
-
return new x(r, n, o);
|
|
232
|
-
}, e.prototype.next = function(r) {
|
|
233
|
-
this.isStopped || this._next(r);
|
|
234
|
-
}, e.prototype.error = function(r) {
|
|
235
|
-
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
236
|
-
}, e.prototype.complete = function() {
|
|
237
|
-
this.isStopped || (this.isStopped = !0, this._complete());
|
|
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
|
-
this.destination.next(r);
|
|
242
|
-
}, e.prototype._error = function(r) {
|
|
243
|
-
try {
|
|
244
|
-
this.destination.error(r);
|
|
245
|
-
} finally {
|
|
246
|
-
this.unsubscribe();
|
|
247
|
-
}
|
|
248
|
-
}, e.prototype._complete = function() {
|
|
249
|
-
try {
|
|
250
|
-
this.destination.complete();
|
|
251
|
-
} finally {
|
|
252
|
-
this.unsubscribe();
|
|
253
|
-
}
|
|
254
|
-
}, e;
|
|
255
|
-
})(_), lt = (function() {
|
|
256
|
-
function t(e) {
|
|
257
|
-
this.partialObserver = e;
|
|
258
|
-
}
|
|
259
|
-
return t.prototype.next = function(e) {
|
|
260
|
-
var r = this.partialObserver;
|
|
261
|
-
if (r.next)
|
|
262
|
-
try {
|
|
263
|
-
r.next(e);
|
|
264
|
-
} catch (n) {
|
|
265
|
-
v(n);
|
|
266
|
-
}
|
|
267
|
-
}, t.prototype.error = function(e) {
|
|
268
|
-
var r = this.partialObserver;
|
|
269
|
-
if (r.error)
|
|
270
|
-
try {
|
|
271
|
-
r.error(e);
|
|
272
|
-
} catch (n) {
|
|
273
|
-
v(n);
|
|
274
|
-
}
|
|
275
|
-
else
|
|
276
|
-
v(e);
|
|
277
|
-
}, t.prototype.complete = function() {
|
|
278
|
-
var e = this.partialObserver;
|
|
279
|
-
if (e.complete)
|
|
280
|
-
try {
|
|
281
|
-
e.complete();
|
|
282
|
-
} catch (r) {
|
|
283
|
-
v(r);
|
|
284
|
-
}
|
|
285
|
-
}, t;
|
|
286
|
-
})(), x = (function(t) {
|
|
287
|
-
m(e, t);
|
|
288
|
-
function e(r, n, o) {
|
|
289
|
-
var i = t.call(this) || this, s;
|
|
290
|
-
return p(r) || !r ? s = {
|
|
291
|
-
next: r ?? void 0,
|
|
292
|
-
error: n ?? void 0,
|
|
293
|
-
complete: o ?? void 0
|
|
294
|
-
} : s = r, i.destination = new lt(s), i;
|
|
295
|
-
}
|
|
296
|
-
return e;
|
|
297
|
-
})(Z);
|
|
298
|
-
function v(t) {
|
|
299
|
-
at(t);
|
|
300
|
-
}
|
|
301
|
-
function ft(t) {
|
|
302
|
-
throw t;
|
|
303
|
-
}
|
|
304
|
-
var pt = {
|
|
305
|
-
closed: !0,
|
|
306
|
-
next: $,
|
|
307
|
-
error: ft,
|
|
308
|
-
complete: $
|
|
309
|
-
}, ht = (function() {
|
|
310
|
-
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
223
|
+
//#endregion
|
|
224
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
225
|
+
function te(e) {
|
|
226
|
+
S.setTimeout(function() {
|
|
227
|
+
var t = x.onUnhandledError;
|
|
228
|
+
if (t) t(e);
|
|
229
|
+
else throw e;
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
234
|
+
function C() {}
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
237
|
+
var ne = (function() {
|
|
238
|
+
return w("C", void 0, void 0);
|
|
311
239
|
})();
|
|
312
|
-
function
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
function
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
240
|
+
function re(e) {
|
|
241
|
+
return w("E", void 0, e);
|
|
242
|
+
}
|
|
243
|
+
function ie(e) {
|
|
244
|
+
return w("N", e, void 0);
|
|
245
|
+
}
|
|
246
|
+
function w(e, t, n) {
|
|
247
|
+
return {
|
|
248
|
+
kind: e,
|
|
249
|
+
value: t,
|
|
250
|
+
error: n
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/errorContext.js
|
|
255
|
+
var T = null;
|
|
256
|
+
function E(e) {
|
|
257
|
+
if (x.useDeprecatedSynchronousErrorHandling) {
|
|
258
|
+
var t = !T;
|
|
259
|
+
if (t && (T = {
|
|
260
|
+
errorThrown: !1,
|
|
261
|
+
error: null
|
|
262
|
+
}), e(), t) {
|
|
263
|
+
var n = T, r = n.errorThrown, i = n.error;
|
|
264
|
+
if (T = null, r) throw i;
|
|
265
|
+
}
|
|
266
|
+
} else e();
|
|
267
|
+
}
|
|
268
|
+
function ae(e) {
|
|
269
|
+
x.useDeprecatedSynchronousErrorHandling && T && (T.errorThrown = !0, T.error = e);
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
273
|
+
var oe = function(e) {
|
|
274
|
+
u(t, e);
|
|
275
|
+
function t(t) {
|
|
276
|
+
var n = e.call(this) || this;
|
|
277
|
+
return n.isStopped = !1, t ? (n.destination = t, y(t) && t.add(n)) : n.destination = ue, n;
|
|
278
|
+
}
|
|
279
|
+
return t.create = function(e, t, n) {
|
|
280
|
+
return new O(e, t, n);
|
|
281
|
+
}, t.prototype.next = function(e) {
|
|
282
|
+
this.isStopped ? A(ie(e), this) : this._next(e);
|
|
283
|
+
}, t.prototype.error = function(e) {
|
|
284
|
+
this.isStopped ? A(re(e), this) : (this.isStopped = !0, this._error(e));
|
|
285
|
+
}, t.prototype.complete = function() {
|
|
286
|
+
this.isStopped ? A(ne, this) : (this.isStopped = !0, this._complete());
|
|
287
|
+
}, t.prototype.unsubscribe = function() {
|
|
288
|
+
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
289
|
+
}, t.prototype._next = function(e) {
|
|
290
|
+
this.destination.next(e);
|
|
291
|
+
}, t.prototype._error = function(e) {
|
|
292
|
+
try {
|
|
293
|
+
this.destination.error(e);
|
|
294
|
+
} finally {
|
|
295
|
+
this.unsubscribe();
|
|
296
|
+
}
|
|
297
|
+
}, t.prototype._complete = function() {
|
|
298
|
+
try {
|
|
299
|
+
this.destination.complete();
|
|
300
|
+
} finally {
|
|
301
|
+
this.unsubscribe();
|
|
302
|
+
}
|
|
303
|
+
}, t;
|
|
304
|
+
}(v), se = Function.prototype.bind;
|
|
305
|
+
function D(e, t) {
|
|
306
|
+
return se.call(e, t);
|
|
307
|
+
}
|
|
308
|
+
var ce = function() {
|
|
309
|
+
function e(e) {
|
|
310
|
+
this.partialObserver = e;
|
|
311
|
+
}
|
|
312
|
+
return e.prototype.next = function(e) {
|
|
313
|
+
var t = this.partialObserver;
|
|
314
|
+
if (t.next) try {
|
|
315
|
+
t.next(e);
|
|
316
|
+
} catch (e) {
|
|
317
|
+
k(e);
|
|
318
|
+
}
|
|
319
|
+
}, e.prototype.error = function(e) {
|
|
320
|
+
var t = this.partialObserver;
|
|
321
|
+
if (t.error) try {
|
|
322
|
+
t.error(e);
|
|
323
|
+
} catch (e) {
|
|
324
|
+
k(e);
|
|
325
|
+
}
|
|
326
|
+
else k(e);
|
|
327
|
+
}, e.prototype.complete = function() {
|
|
328
|
+
var e = this.partialObserver;
|
|
329
|
+
if (e.complete) try {
|
|
330
|
+
e.complete();
|
|
331
|
+
} catch (e) {
|
|
332
|
+
k(e);
|
|
333
|
+
}
|
|
334
|
+
}, e;
|
|
335
|
+
}(), O = function(e) {
|
|
336
|
+
u(t, e);
|
|
337
|
+
function t(t, n, r) {
|
|
338
|
+
var i = e.call(this) || this, a;
|
|
339
|
+
if (m(t) || !t) a = {
|
|
340
|
+
next: t ?? void 0,
|
|
341
|
+
error: n ?? void 0,
|
|
342
|
+
complete: r ?? void 0
|
|
343
|
+
};
|
|
344
|
+
else {
|
|
345
|
+
var o;
|
|
346
|
+
i && x.useDeprecatedNextContext ? (o = Object.create(t), o.unsubscribe = function() {
|
|
347
|
+
return i.unsubscribe();
|
|
348
|
+
}, a = {
|
|
349
|
+
next: t.next && D(t.next, o),
|
|
350
|
+
error: t.error && D(t.error, o),
|
|
351
|
+
complete: t.complete && D(t.complete, o)
|
|
352
|
+
}) : a = t;
|
|
353
|
+
}
|
|
354
|
+
return i.destination = new ce(a), i;
|
|
355
|
+
}
|
|
356
|
+
return t;
|
|
357
|
+
}(oe);
|
|
358
|
+
function k(e) {
|
|
359
|
+
x.useDeprecatedSynchronousErrorHandling ? ae(e) : te(e);
|
|
360
|
+
}
|
|
361
|
+
function le(e) {
|
|
362
|
+
throw e;
|
|
363
|
+
}
|
|
364
|
+
function A(e, t) {
|
|
365
|
+
var n = x.onStoppedNotification;
|
|
366
|
+
n && S.setTimeout(function() {
|
|
367
|
+
return n(e, t);
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
var ue = {
|
|
371
|
+
closed: !0,
|
|
372
|
+
next: C,
|
|
373
|
+
error: le,
|
|
374
|
+
complete: C
|
|
375
|
+
}, de = (function() {
|
|
376
|
+
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
381
377
|
})();
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
function
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
function
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
function
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
function
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
function
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
378
|
+
//#endregion
|
|
379
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
380
|
+
function fe(e) {
|
|
381
|
+
return e;
|
|
382
|
+
}
|
|
383
|
+
//#endregion
|
|
384
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
385
|
+
function pe(e) {
|
|
386
|
+
return e.length === 0 ? fe : e.length === 1 ? e[0] : function(t) {
|
|
387
|
+
return e.reduce(function(e, t) {
|
|
388
|
+
return t(e);
|
|
389
|
+
}, t);
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
394
|
+
var j = function() {
|
|
395
|
+
function e(e) {
|
|
396
|
+
e && (this._subscribe = e);
|
|
397
|
+
}
|
|
398
|
+
return e.prototype.lift = function(t) {
|
|
399
|
+
var n = new e();
|
|
400
|
+
return n.source = this, n.operator = t, n;
|
|
401
|
+
}, e.prototype.subscribe = function(e, t, n) {
|
|
402
|
+
var r = this, i = he(e) ? e : new O(e, t, n);
|
|
403
|
+
return E(function() {
|
|
404
|
+
var e = r, t = e.operator, n = e.source;
|
|
405
|
+
i.add(t ? t.call(i, n) : n ? r._subscribe(i) : r._trySubscribe(i));
|
|
406
|
+
}), i;
|
|
407
|
+
}, e.prototype._trySubscribe = function(e) {
|
|
408
|
+
try {
|
|
409
|
+
return this._subscribe(e);
|
|
410
|
+
} catch (t) {
|
|
411
|
+
e.error(t);
|
|
412
|
+
}
|
|
413
|
+
}, e.prototype.forEach = function(e, t) {
|
|
414
|
+
var n = this;
|
|
415
|
+
return t = M(t), new t(function(t, r) {
|
|
416
|
+
var i = new O({
|
|
417
|
+
next: function(t) {
|
|
418
|
+
try {
|
|
419
|
+
e(t);
|
|
420
|
+
} catch (e) {
|
|
421
|
+
r(e), i.unsubscribe();
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
error: r,
|
|
425
|
+
complete: t
|
|
426
|
+
});
|
|
427
|
+
n.subscribe(i);
|
|
428
|
+
});
|
|
429
|
+
}, e.prototype._subscribe = function(e) {
|
|
430
|
+
return this.source?.subscribe(e);
|
|
431
|
+
}, e.prototype[de] = function() {
|
|
432
|
+
return this;
|
|
433
|
+
}, e.prototype.pipe = function() {
|
|
434
|
+
return pe([...arguments])(this);
|
|
435
|
+
}, e.prototype.toPromise = function(e) {
|
|
436
|
+
var t = this;
|
|
437
|
+
return e = M(e), new e(function(e, n) {
|
|
438
|
+
var r;
|
|
439
|
+
t.subscribe(function(e) {
|
|
440
|
+
return r = e;
|
|
441
|
+
}, function(e) {
|
|
442
|
+
return n(e);
|
|
443
|
+
}, function() {
|
|
444
|
+
return e(r);
|
|
445
|
+
});
|
|
446
|
+
});
|
|
447
|
+
}, e.create = function(t) {
|
|
448
|
+
return new e(t);
|
|
449
|
+
}, e;
|
|
450
|
+
}();
|
|
451
|
+
function M(e) {
|
|
452
|
+
return e ?? x.Promise ?? Promise;
|
|
453
|
+
}
|
|
454
|
+
function me(e) {
|
|
455
|
+
return e && m(e.next) && m(e.error) && m(e.complete);
|
|
456
|
+
}
|
|
457
|
+
function he(e) {
|
|
458
|
+
return e && e instanceof oe || me(e) && y(e);
|
|
459
|
+
}
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
462
|
+
var ge = h(function(e) {
|
|
463
|
+
return function() {
|
|
464
|
+
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
465
|
+
};
|
|
466
|
+
}), N = function(e) {
|
|
467
|
+
u(t, e);
|
|
468
|
+
function t() {
|
|
469
|
+
var t = e.call(this) || this;
|
|
470
|
+
return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
|
|
471
|
+
}
|
|
472
|
+
return t.prototype.lift = function(e) {
|
|
473
|
+
var t = new P(this, this);
|
|
474
|
+
return t.operator = e, t;
|
|
475
|
+
}, t.prototype._throwIfClosed = function() {
|
|
476
|
+
if (this.closed) throw new ge();
|
|
477
|
+
}, t.prototype.next = function(e) {
|
|
478
|
+
var t = this;
|
|
479
|
+
E(function() {
|
|
480
|
+
var n, r;
|
|
481
|
+
if (t._throwIfClosed(), !t.isStopped) {
|
|
482
|
+
t.currentObservers ||= Array.from(t.observers);
|
|
483
|
+
try {
|
|
484
|
+
for (var i = d(t.currentObservers), a = i.next(); !a.done; a = i.next()) a.value.next(e);
|
|
485
|
+
} catch (e) {
|
|
486
|
+
n = { error: e };
|
|
487
|
+
} finally {
|
|
488
|
+
try {
|
|
489
|
+
a && !a.done && (r = i.return) && r.call(i);
|
|
490
|
+
} finally {
|
|
491
|
+
if (n) throw n.error;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}, t.prototype.error = function(e) {
|
|
497
|
+
var t = this;
|
|
498
|
+
E(function() {
|
|
499
|
+
if (t._throwIfClosed(), !t.isStopped) {
|
|
500
|
+
t.hasError = t.isStopped = !0, t.thrownError = e;
|
|
501
|
+
for (var n = t.observers; n.length;) n.shift().error(e);
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
}, t.prototype.complete = function() {
|
|
505
|
+
var e = this;
|
|
506
|
+
E(function() {
|
|
507
|
+
if (e._throwIfClosed(), !e.isStopped) {
|
|
508
|
+
e.isStopped = !0;
|
|
509
|
+
for (var t = e.observers; t.length;) t.shift().complete();
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
}, t.prototype.unsubscribe = function() {
|
|
513
|
+
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
514
|
+
}, Object.defineProperty(t.prototype, "observed", {
|
|
515
|
+
get: function() {
|
|
516
|
+
return this.observers?.length > 0;
|
|
517
|
+
},
|
|
518
|
+
enumerable: !1,
|
|
519
|
+
configurable: !0
|
|
520
|
+
}), t.prototype._trySubscribe = function(t) {
|
|
521
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, t);
|
|
522
|
+
}, t.prototype._subscribe = function(e) {
|
|
523
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
524
|
+
}, t.prototype._innerSubscribe = function(e) {
|
|
525
|
+
var t = this, n = this, r = n.hasError, i = n.isStopped, a = n.observers;
|
|
526
|
+
return r || i ? ee : (this.currentObservers = null, a.push(e), new v(function() {
|
|
527
|
+
t.currentObservers = null, _(a, e);
|
|
528
|
+
}));
|
|
529
|
+
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
530
|
+
var t = this, n = t.hasError, r = t.thrownError, i = t.isStopped;
|
|
531
|
+
n ? e.error(r) : i && e.complete();
|
|
532
|
+
}, t.prototype.asObservable = function() {
|
|
533
|
+
var e = new j();
|
|
534
|
+
return e.source = this, e;
|
|
535
|
+
}, t.create = function(e, t) {
|
|
536
|
+
return new P(e, t);
|
|
537
|
+
}, t;
|
|
538
|
+
}(j), P = function(e) {
|
|
539
|
+
u(t, e);
|
|
540
|
+
function t(t, n) {
|
|
541
|
+
var r = e.call(this) || this;
|
|
542
|
+
return r.destination = t, r.source = n, r;
|
|
543
|
+
}
|
|
544
|
+
return t.prototype.next = function(e) {
|
|
545
|
+
var t, n;
|
|
546
|
+
(n = (t = this.destination)?.next) == null || n.call(t, e);
|
|
547
|
+
}, t.prototype.error = function(e) {
|
|
548
|
+
var t, n;
|
|
549
|
+
(n = (t = this.destination)?.error) == null || n.call(t, e);
|
|
550
|
+
}, t.prototype.complete = function() {
|
|
551
|
+
var e, t;
|
|
552
|
+
(t = (e = this.destination)?.complete) == null || t.call(e);
|
|
553
|
+
}, t.prototype._subscribe = function(e) {
|
|
554
|
+
return this.source?.subscribe(e) ?? ee;
|
|
555
|
+
}, t;
|
|
556
|
+
}(N), _e = function(e) {
|
|
557
|
+
u(t, e);
|
|
558
|
+
function t(t) {
|
|
559
|
+
var n = e.call(this) || this;
|
|
560
|
+
return n._value = t, n;
|
|
561
|
+
}
|
|
562
|
+
return Object.defineProperty(t.prototype, "value", {
|
|
563
|
+
get: function() {
|
|
564
|
+
return this.getValue();
|
|
565
|
+
},
|
|
566
|
+
enumerable: !1,
|
|
567
|
+
configurable: !0
|
|
568
|
+
}), t.prototype._subscribe = function(t) {
|
|
569
|
+
var n = e.prototype._subscribe.call(this, t);
|
|
570
|
+
return !n.closed && t.next(this._value), n;
|
|
571
|
+
}, t.prototype.getValue = function() {
|
|
572
|
+
var e = this, t = e.hasError, n = e.thrownError, r = e._value;
|
|
573
|
+
if (t) throw n;
|
|
574
|
+
return this._throwIfClosed(), r;
|
|
575
|
+
}, t.prototype.next = function(t) {
|
|
576
|
+
e.prototype.next.call(this, this._value = t);
|
|
577
|
+
}, t;
|
|
578
|
+
}(N);
|
|
579
|
+
//#endregion
|
|
580
|
+
//#region src/core/decorators/factory.ts
|
|
581
|
+
function ve(e) {
|
|
582
|
+
return e;
|
|
583
|
+
}
|
|
584
|
+
function F(e, t) {
|
|
585
|
+
return (n, r) => {
|
|
586
|
+
let i = be(n, r, e, t);
|
|
587
|
+
i.length === 1 && xe(n, i);
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
var I = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap();
|
|
591
|
+
function be(e, t, n, r) {
|
|
592
|
+
let i = I.get(e);
|
|
593
|
+
return i || (i = [], I.set(e, i)), i.push({
|
|
594
|
+
options: n,
|
|
595
|
+
name: t,
|
|
596
|
+
optionFactory: r.optionFactory || ve,
|
|
597
|
+
service: {
|
|
598
|
+
name: r.name,
|
|
599
|
+
method: r.method || "subscribe"
|
|
600
|
+
}
|
|
601
|
+
}), i;
|
|
602
|
+
}
|
|
603
|
+
function xe(e, t) {
|
|
604
|
+
e.connectedCallback = Se(e.connectedCallback, t), e.componentWillLoad = Ce(e.componentWillLoad, t), e.componentDidUnload = R(e.componentDidUnload), e.disconnectedCallback = R(e.disconnectedCallback);
|
|
605
|
+
}
|
|
606
|
+
function Se(e, t) {
|
|
607
|
+
return async function(...n) {
|
|
608
|
+
ye.set(this, !0), L.set(this, []), await z(this);
|
|
609
|
+
let r = new _e(this.context);
|
|
610
|
+
Te(this, "context", r);
|
|
611
|
+
for (let e of t) e.options = e.optionFactory(e.options, this), we(e.options) && (e.options.context = r), Ee(this, e);
|
|
612
|
+
if (e) return e.apply(this, n);
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
function Ce(e, t) {
|
|
616
|
+
return async function(...n) {
|
|
617
|
+
return ye.get(this) === !0 ? (await z(this), e ? e.apply(this, n) : void 0) : Se(e, t).apply(this, n);
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
function R(e) {
|
|
621
|
+
return async function(...t) {
|
|
622
|
+
let n;
|
|
623
|
+
return e && (n = e.apply(this, t)), De(this), n;
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
function we(e) {
|
|
627
|
+
return "context" in e;
|
|
628
|
+
}
|
|
629
|
+
function z(e) {
|
|
630
|
+
let t = [];
|
|
631
|
+
return e.platform || t.push(B(e, "platform")), e.context || t.push(B(e, "context")), t.length === 0 ? Promise.resolve() : Promise.all(t);
|
|
632
|
+
}
|
|
633
|
+
function B(t, n) {
|
|
634
|
+
let r = e(t);
|
|
635
|
+
return new Promise((e) => {
|
|
636
|
+
Object.defineProperty(r, n, {
|
|
637
|
+
configurable: !0,
|
|
638
|
+
set: (t) => {
|
|
639
|
+
delete r[n], r[n] = t, e();
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
function Te(t, n, r) {
|
|
645
|
+
let i = e(t), { get: a, set: o } = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i), n);
|
|
646
|
+
Object.defineProperty(i, n, {
|
|
647
|
+
configurable: !0,
|
|
648
|
+
get: a,
|
|
649
|
+
set: function(e) {
|
|
650
|
+
o.call(this, e), r.next(e);
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
function Ee(e, t) {
|
|
655
|
+
let n = ke(e, t);
|
|
656
|
+
typeof n == "function" && L.get(e).push(n);
|
|
657
|
+
}
|
|
658
|
+
function De(e) {
|
|
659
|
+
let t = L.get(e);
|
|
660
|
+
for (let e of t) e();
|
|
661
|
+
L.set(e, []);
|
|
662
|
+
}
|
|
663
|
+
function Oe(e, t) {
|
|
664
|
+
return (n) => {
|
|
665
|
+
e[t] = n;
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
function ke(e, t) {
|
|
669
|
+
let n = { ...t.options };
|
|
670
|
+
Ae(n, e);
|
|
671
|
+
let r = t.service.name, i = e.platform;
|
|
672
|
+
if (!i.has(r)) throw Error(`Service ${r} does not exist`);
|
|
673
|
+
return i.get(r)[t.service.method](Oe(e, t.name), n);
|
|
674
|
+
}
|
|
675
|
+
function Ae(e, t) {
|
|
676
|
+
e.filter &&= e.filter.map((e) => e.bind(t)), e.map &&= e.map.map((e) => e.bind(t));
|
|
677
|
+
}
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/limetype/decorator.ts
|
|
680
|
+
function je(e = {}) {
|
|
681
|
+
return F(e, { name: n.LimeTypeRepository });
|
|
682
|
+
}
|
|
683
|
+
function Me(e = {}) {
|
|
684
|
+
let t = { name: n.LimeTypeRepository };
|
|
685
|
+
return e.map = [Ne, ...e.map || []], e.context = null, F(e, t);
|
|
686
|
+
}
|
|
687
|
+
function Ne(e) {
|
|
688
|
+
let { limetype: t } = this.context;
|
|
689
|
+
return e[t];
|
|
690
|
+
}
|
|
691
|
+
//#endregion
|
|
692
|
+
//#region src/limetype/find-limetype-by-label.ts
|
|
693
|
+
var Pe = (e) => (t) => Object.values(t).find(V(e));
|
|
694
|
+
//#endregion
|
|
695
|
+
//#region src/limetype/get-properties-by-type.ts
|
|
696
|
+
function Fe(e, t) {
|
|
697
|
+
return Object.values(e.properties).filter((e) => e.type === t);
|
|
698
|
+
}
|
|
699
|
+
//#endregion
|
|
700
|
+
//#region src/limetype/get-property-by-label.ts
|
|
701
|
+
function Ie(e, t) {
|
|
702
|
+
return Object.values(e.properties).find(V(t));
|
|
703
|
+
}
|
|
704
|
+
//#endregion
|
|
705
|
+
//#region src/limetype/get-property-by-name.ts
|
|
706
|
+
function Le(e, t) {
|
|
707
|
+
return e.properties[t];
|
|
708
|
+
}
|
|
709
|
+
//#endregion
|
|
710
|
+
//#region src/limetype/has-label.ts
|
|
711
|
+
var V = (e) => (t) => t?.label === e;
|
|
712
|
+
//#endregion
|
|
713
|
+
//#region src/limeobject/types.ts
|
|
714
|
+
n.LimeObjectRepository = "state.limeobjects";
|
|
715
|
+
//#endregion
|
|
716
|
+
//#region src/limeobject/decorator.ts
|
|
717
|
+
function Re(e = {}) {
|
|
718
|
+
return F(e, {
|
|
719
|
+
name: n.LimeObjectRepository,
|
|
720
|
+
optionFactory: Ve
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
function ze(e = {}) {
|
|
724
|
+
let t = { name: n.LimeObjectRepository };
|
|
725
|
+
return e.map = [Be, ...e.map || []], e.context = null, F(e, t);
|
|
726
|
+
}
|
|
727
|
+
function Be(e) {
|
|
728
|
+
let { limetype: t, id: n } = this.context;
|
|
729
|
+
if (e[t]) return e[t].find((e) => e.id === n);
|
|
730
|
+
}
|
|
731
|
+
function Ve(e, t) {
|
|
732
|
+
return e.getLimetype && (e.limetype = e.getLimetype(t)), e;
|
|
733
|
+
}
|
|
734
|
+
//#endregion
|
|
735
|
+
//#region src/commandbus/commandbus.ts
|
|
736
|
+
var He = /* @__PURE__ */ function(e) {
|
|
737
|
+
return e.Received = "command.received", e.Handled = "command.handled", e.Failed = "command.failed", e;
|
|
738
|
+
}({});
|
|
739
|
+
function H(e) {
|
|
740
|
+
return (t) => {
|
|
741
|
+
Ue(t, e.id), We(t, e.id);
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
function Ue(e, t) {
|
|
745
|
+
e.commandId = t;
|
|
746
|
+
}
|
|
747
|
+
function We(e, t) {
|
|
748
|
+
Object.defineProperty(e, Symbol.hasInstance, { value: (e) => W(e).includes(t) });
|
|
749
|
+
}
|
|
750
|
+
function U(e) {
|
|
751
|
+
return typeof e == "string" ? e : e && e.constructor && e.constructor.commandId ? e.constructor.commandId : e && e.commandId ? e.commandId : null;
|
|
752
|
+
}
|
|
753
|
+
function W(e) {
|
|
754
|
+
let t = [], n, r = e;
|
|
755
|
+
for (; n = U(r);) t = [...t, n], r = Object.getPrototypeOf(r);
|
|
756
|
+
return [...new Set(t)];
|
|
757
|
+
}
|
|
758
|
+
//#endregion
|
|
759
|
+
//#region src/commandbus/types.ts
|
|
760
|
+
n.CommandBus = "commandBus";
|
|
761
|
+
//#endregion
|
|
762
|
+
//#region \0@oxc-project+runtime@0.122.0/helpers/decorate.js
|
|
763
|
+
function G(e, t, n, r) {
|
|
764
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
765
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
766
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
767
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
768
|
+
}
|
|
769
|
+
//#endregion
|
|
770
|
+
//#region src/limeobject/commands/bulk-create-dialog.ts
|
|
771
|
+
var Ge = "limeobject.bulk-create-dialog", K = class {
|
|
772
|
+
context;
|
|
773
|
+
filter;
|
|
774
|
+
relation;
|
|
721
775
|
};
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
776
|
+
K = G([H({ id: Ge })], K);
|
|
777
|
+
//#endregion
|
|
778
|
+
//#region src/limeobject/commands/create-dialog.ts
|
|
779
|
+
var Ke = "limeobject.create-dialog", q = class {
|
|
780
|
+
limetype;
|
|
781
|
+
limeobject;
|
|
782
|
+
route = !1;
|
|
783
|
+
title;
|
|
784
|
+
subtitle;
|
|
785
|
+
context;
|
|
786
|
+
autoAttachRelation;
|
|
787
|
+
saveCommand;
|
|
734
788
|
};
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
var Wt = Object.getOwnPropertyDescriptor, Gt = (t, e, r, n) => {
|
|
741
|
-
for (var o = n > 1 ? void 0 : n ? Wt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
742
|
-
(s = t[i]) && (o = s(o) || o);
|
|
743
|
-
return o;
|
|
789
|
+
q = G([H({ id: Ke })], q);
|
|
790
|
+
//#endregion
|
|
791
|
+
//#region src/limeobject/commands/delete-object.ts
|
|
792
|
+
var qe = "limeobject.delete-object", J = class {
|
|
793
|
+
context;
|
|
744
794
|
};
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
limetype;
|
|
751
|
-
/**
|
|
752
|
-
* Default data to populate the form with
|
|
753
|
-
*/
|
|
754
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
755
|
-
limeobject;
|
|
756
|
-
/**
|
|
757
|
-
* Specifies if routing to limeobject should be done after confirmation
|
|
758
|
-
*/
|
|
759
|
-
route = !1;
|
|
760
|
-
/*
|
|
761
|
-
* Title of the dialog
|
|
762
|
-
*/
|
|
763
|
-
title;
|
|
764
|
-
/*
|
|
765
|
-
* Subtitle of the dialog
|
|
766
|
-
*/
|
|
767
|
-
subtitle;
|
|
768
|
-
/*
|
|
769
|
-
* Current context
|
|
770
|
-
*/
|
|
771
|
-
context;
|
|
772
|
-
/**
|
|
773
|
-
* When `context` is used, this is the name of the relation on the
|
|
774
|
-
* reference {@link LimeObject} to use when auto attaching the new object.
|
|
775
|
-
*
|
|
776
|
-
*/
|
|
777
|
-
autoAttachRelation;
|
|
778
|
-
/**
|
|
779
|
-
* Specifies any command that can be used to save the result of the dialog.
|
|
780
|
-
* If not specified, it will default to the {@link SaveLimeObjectCommand}
|
|
781
|
-
*/
|
|
782
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
783
|
-
saveCommand;
|
|
795
|
+
J = G([H({ id: qe })], J);
|
|
796
|
+
//#endregion
|
|
797
|
+
//#region src/limeobject/commands/object-access.ts
|
|
798
|
+
var Je = "limeobject.object-access", Y = class {
|
|
799
|
+
context;
|
|
784
800
|
};
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
return o;
|
|
801
|
+
Y = G([H({ id: Je })], Y);
|
|
802
|
+
//#endregion
|
|
803
|
+
//#region src/limeobject/commands/save-object.ts
|
|
804
|
+
var Ye = "limeobject.save-object", X = class {
|
|
805
|
+
context;
|
|
806
|
+
limeobject;
|
|
807
|
+
route = !1;
|
|
808
|
+
label;
|
|
794
809
|
};
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
810
|
+
X = G([H({ id: Ye })], X);
|
|
811
|
+
//#endregion
|
|
812
|
+
//#region src/query/query.ts
|
|
813
|
+
var Xe = /* @__PURE__ */ function(e) {
|
|
814
|
+
return 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;
|
|
815
|
+
}({}), Ze = {
|
|
816
|
+
Count: "COUNT",
|
|
817
|
+
Sum: "SUM",
|
|
818
|
+
Average: "AVG",
|
|
819
|
+
Maximum: "MAX",
|
|
820
|
+
Minimum: "MIN"
|
|
798
821
|
};
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
var
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region src/query/types.ts
|
|
824
|
+
n.Query = "query";
|
|
825
|
+
//#endregion
|
|
826
|
+
//#region src/http/http.ts
|
|
827
|
+
var Qe = {
|
|
828
|
+
Get: "GET",
|
|
829
|
+
Post: "POST",
|
|
830
|
+
Put: "PUT",
|
|
831
|
+
Delete: "DELETE",
|
|
832
|
+
Patch: "PATCH"
|
|
808
833
|
};
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
834
|
+
//#endregion
|
|
835
|
+
//#region src/navigator/types.ts
|
|
836
|
+
n.Http = "http", n.EventDispatcher = "eventDispatcher", n.Translate = "translate", n.Dialog = "dialog", n.KeybindingRegistry = "keybindingRegistry", n.Navigator = "navigator";
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region src/navigator/decorator.ts
|
|
839
|
+
function $e(e) {
|
|
840
|
+
let t = { name: n.Navigator };
|
|
841
|
+
return F({
|
|
842
|
+
context: null,
|
|
843
|
+
...e
|
|
844
|
+
}, t);
|
|
845
|
+
}
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region src/navigator/command.ts
|
|
848
|
+
var et = "navigator.navigate", Z = class {
|
|
849
|
+
path;
|
|
850
|
+
query;
|
|
851
|
+
hash;
|
|
852
|
+
state;
|
|
812
853
|
};
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
var
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
854
|
+
//#endregion
|
|
855
|
+
//#region src/routeregistry/types.ts
|
|
856
|
+
Z = G([H({ id: et })], Z), n.Notification = "notifications", n.RouteRegistry = "routeRegistry";
|
|
857
|
+
//#endregion
|
|
858
|
+
//#region src/task/repository.ts
|
|
859
|
+
var tt = /* @__PURE__ */ function(e) {
|
|
860
|
+
return e.Pending = "PENDING", e.Started = "STARTED", e.Retry = "RETRY", e.Success = "SUCCESS", e.Failure = "FAILURE", e;
|
|
861
|
+
}({}), nt = /* @__PURE__ */ function(e) {
|
|
862
|
+
return e.Created = "task.created", e.Success = "task.success", e.Failed = "task.failed", e;
|
|
863
|
+
}({});
|
|
864
|
+
//#endregion
|
|
865
|
+
//#region src/config/types.ts
|
|
866
|
+
n.TaskRepository = "state.tasks", n.ConfigRepository = "state.configs";
|
|
867
|
+
//#endregion
|
|
868
|
+
//#region src/config/decorator.ts
|
|
869
|
+
function rt(e) {
|
|
870
|
+
return F(e, { name: n.ConfigRepository });
|
|
871
|
+
}
|
|
872
|
+
//#endregion
|
|
873
|
+
//#region src/device/types.ts
|
|
874
|
+
n.Device = "state.device";
|
|
875
|
+
//#endregion
|
|
876
|
+
//#region src/device/decorator.ts
|
|
877
|
+
function it(e = {}) {
|
|
878
|
+
return F(e, { name: n.Device });
|
|
879
|
+
}
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region src/filter/types.ts
|
|
882
|
+
n.FilterRepository = "state.filters";
|
|
883
|
+
//#endregion
|
|
884
|
+
//#region src/filter/decorator.ts
|
|
885
|
+
function at(e = {}) {
|
|
886
|
+
return F(e, { name: n.FilterRepository });
|
|
887
|
+
}
|
|
888
|
+
//#endregion
|
|
889
|
+
//#region src/userdata/types.ts
|
|
890
|
+
n.UserDataRepository = "state.user-data";
|
|
891
|
+
//#endregion
|
|
892
|
+
//#region src/userdata/decorator.ts
|
|
893
|
+
function ot(e = {}) {
|
|
894
|
+
return F(e, { name: n.UserDataRepository });
|
|
895
|
+
}
|
|
896
|
+
//#endregion
|
|
897
|
+
//#region src/application/types.ts
|
|
898
|
+
n.Application = "state.application";
|
|
899
|
+
//#endregion
|
|
900
|
+
//#region src/application/decorators/application.ts
|
|
901
|
+
function st(e = {}) {
|
|
902
|
+
let t = { name: n.Application };
|
|
903
|
+
return e.map = [ct, ...e.map || []], F(e, t);
|
|
904
|
+
}
|
|
905
|
+
function ct(e) {
|
|
906
|
+
return e.applicationName;
|
|
907
|
+
}
|
|
908
|
+
//#endregion
|
|
909
|
+
//#region src/application/decorators/user.ts
|
|
910
|
+
function lt(e = {}) {
|
|
911
|
+
let t = { name: n.Application };
|
|
912
|
+
return e.map = [ut, ...e.map || []], F(e, t);
|
|
913
|
+
}
|
|
914
|
+
function ut(e) {
|
|
915
|
+
return e.currentUser;
|
|
916
|
+
}
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region src/application/decorators/session.ts
|
|
919
|
+
function dt(e = {}) {
|
|
920
|
+
let t = { name: n.Application };
|
|
921
|
+
return e.map = [ft, ...e.map || []], F(e, t);
|
|
922
|
+
}
|
|
923
|
+
function ft(e) {
|
|
924
|
+
return e.session;
|
|
925
|
+
}
|
|
926
|
+
//#endregion
|
|
927
|
+
//#region src/datetimeformatter/types.ts
|
|
928
|
+
n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetimeformatter";
|
|
929
|
+
//#endregion
|
|
930
|
+
//#region src/conditionregistry/conditionregistry.ts
|
|
931
|
+
function pt(e) {
|
|
932
|
+
return e.type === "limeobject";
|
|
933
|
+
}
|
|
934
|
+
function mt(e) {
|
|
935
|
+
return e.type === "action";
|
|
936
|
+
}
|
|
937
|
+
//#endregion
|
|
938
|
+
//#region src/poller/types.ts
|
|
939
|
+
n.ConditionRegistry = "conditionRegistry", n.ViewFactoryRegistry = "viewFactoryRegistry", n.WebComponentRegistry = "webComponentRegistry", n.NotificationRepository = "state.notifications", n.PollerFactory = "pollerFactory";
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region src/logger/logger.ts
|
|
942
|
+
var ht = {
|
|
943
|
+
Debug: "debug",
|
|
944
|
+
Info: "info",
|
|
945
|
+
Warn: "warn",
|
|
946
|
+
Error: "error"
|
|
822
947
|
};
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
948
|
+
//#endregion
|
|
949
|
+
//#region src/logger/types.ts
|
|
950
|
+
n.Logger = "logger";
|
|
951
|
+
//#endregion
|
|
952
|
+
//#region src/logger/factory.ts
|
|
953
|
+
var Q, $;
|
|
954
|
+
function gt(e) {
|
|
955
|
+
let t = window.Lime?.logger?.createLogger;
|
|
956
|
+
return typeof t == "function" ? ($ === void 0 && ($ = yt(_t())), $ && (e = `${$}:${e}`), t(e)) : (console.warn(`Logger factory is not configured. Returning console logger for scope "${e}".`), console);
|
|
957
|
+
}
|
|
958
|
+
function _t() {
|
|
959
|
+
return Q === void 0 ? typeof import.meta.url == "string" ? (Q = import.meta.url, Q) : (Q = vt(), Q) : Q;
|
|
960
|
+
}
|
|
961
|
+
function vt() {
|
|
962
|
+
try {
|
|
963
|
+
let e = (/* @__PURE__ */ Error(".")).stack;
|
|
964
|
+
if (!e) return null;
|
|
965
|
+
let t = e.split("\n");
|
|
966
|
+
for (let e of t) {
|
|
967
|
+
let t = e.match(/(https?:\/\/[^)\s:]+)/);
|
|
968
|
+
if (t) return t[1];
|
|
969
|
+
}
|
|
970
|
+
return null;
|
|
971
|
+
} catch {
|
|
972
|
+
return null;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
function yt(e) {
|
|
976
|
+
return e && (bt(e) || xt(e) || St(e) || Ct(e)) || null;
|
|
977
|
+
}
|
|
978
|
+
function bt(e) {
|
|
979
|
+
let t = e.match(/\/([^/]+)-lwc-components\//);
|
|
980
|
+
return t ? t[1] : null;
|
|
981
|
+
}
|
|
982
|
+
function xt(e) {
|
|
983
|
+
let t = e.match(/\/packages\/(?:@[^/]+\/)?([^/]+)/);
|
|
984
|
+
return t ? t[1] : null;
|
|
985
|
+
}
|
|
986
|
+
function St(e) {
|
|
987
|
+
let t = e.indexOf("+");
|
|
988
|
+
if (t === -1) return null;
|
|
989
|
+
let n = e.slice(0, t), r = n.lastIndexOf("/");
|
|
990
|
+
return r === -1 ? null : n.slice(r + 1);
|
|
991
|
+
}
|
|
992
|
+
function Ct(e) {
|
|
993
|
+
let t = e.match(/\/static\/([^/]+)\//);
|
|
994
|
+
return t ? t[1] : null;
|
|
995
|
+
}
|
|
996
|
+
//#endregion
|
|
997
|
+
//#region src/problem/problem.ts
|
|
998
|
+
var wt = {
|
|
999
|
+
Low: "low",
|
|
1000
|
+
Medium: "medium",
|
|
1001
|
+
High: "high",
|
|
1002
|
+
Critical: "critical"
|
|
839
1003
|
};
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
var
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
}, ne = "query";
|
|
853
|
-
c.Query = ne;
|
|
854
|
-
const cr = {
|
|
855
|
-
Get: "GET",
|
|
856
|
-
Post: "POST",
|
|
857
|
-
Put: "PUT",
|
|
858
|
-
Delete: "DELETE",
|
|
859
|
-
Patch: "PATCH"
|
|
860
|
-
}, oe = "http";
|
|
861
|
-
c.Http = oe;
|
|
862
|
-
const ie = "eventDispatcher";
|
|
863
|
-
c.EventDispatcher = ie;
|
|
864
|
-
const se = "translate";
|
|
865
|
-
c.Translate = se;
|
|
866
|
-
const ce = "dialog";
|
|
867
|
-
c.Dialog = ce;
|
|
868
|
-
const ue = "keybindingRegistry";
|
|
869
|
-
c.KeybindingRegistry = ue;
|
|
870
|
-
const ae = "navigator";
|
|
871
|
-
c.Navigator = ae;
|
|
872
|
-
function ur(t) {
|
|
873
|
-
const e = {
|
|
874
|
-
name: c.Navigator
|
|
875
|
-
};
|
|
876
|
-
return l({ context: null, ...t }, e);
|
|
877
|
-
}
|
|
878
|
-
var le = Object.getOwnPropertyDescriptor, fe = (t, e, r, n) => {
|
|
879
|
-
for (var o = n > 1 ? void 0 : n ? le(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
880
|
-
(s = t[i]) && (o = s(o) || o);
|
|
881
|
-
return o;
|
|
882
|
-
};
|
|
883
|
-
const pe = "navigator.navigate";
|
|
884
|
-
let Y = class {
|
|
885
|
-
path;
|
|
886
|
-
query;
|
|
887
|
-
hash;
|
|
888
|
-
state;
|
|
889
|
-
};
|
|
890
|
-
Y = fe([
|
|
891
|
-
d({
|
|
892
|
-
id: pe
|
|
893
|
-
})
|
|
894
|
-
], Y);
|
|
895
|
-
const he = "notifications";
|
|
896
|
-
c.Notification = he;
|
|
897
|
-
const de = "routeRegistry";
|
|
898
|
-
c.RouteRegistry = de;
|
|
899
|
-
var ye = /* @__PURE__ */ ((t) => (t.Pending = "PENDING", t.Started = "STARTED", t.Retry = "RETRY", t.Success = "SUCCESS", t.Failure = "FAILURE", t))(ye || {}), me = /* @__PURE__ */ ((t) => (t.Created = "task.created", t.Success = "task.success", t.Failed = "task.failed", t))(me || {});
|
|
900
|
-
const be = "state.tasks";
|
|
901
|
-
c.TaskRepository = be;
|
|
902
|
-
const ve = "state.configs";
|
|
903
|
-
c.ConfigRepository = ve;
|
|
904
|
-
function ar(t) {
|
|
905
|
-
const e = {
|
|
906
|
-
name: c.ConfigRepository
|
|
907
|
-
};
|
|
908
|
-
return l(t, e);
|
|
909
|
-
}
|
|
910
|
-
const ge = "state.device";
|
|
911
|
-
c.Device = ge;
|
|
912
|
-
function lr(t = {}) {
|
|
913
|
-
const e = {
|
|
914
|
-
name: c.Device
|
|
915
|
-
};
|
|
916
|
-
return l(t, e);
|
|
917
|
-
}
|
|
918
|
-
const Ee = "state.filters";
|
|
919
|
-
c.FilterRepository = Ee;
|
|
920
|
-
function fr(t = {}) {
|
|
921
|
-
const e = {
|
|
922
|
-
name: c.FilterRepository
|
|
923
|
-
};
|
|
924
|
-
return l(t, e);
|
|
925
|
-
}
|
|
926
|
-
const Se = "state.user-data";
|
|
927
|
-
c.UserDataRepository = Se;
|
|
928
|
-
function pr(t = {}) {
|
|
929
|
-
const e = {
|
|
930
|
-
name: c.UserDataRepository
|
|
931
|
-
};
|
|
932
|
-
return l(t, e);
|
|
933
|
-
}
|
|
934
|
-
const _e = "state.application";
|
|
935
|
-
c.Application = _e;
|
|
936
|
-
function hr(t = {}) {
|
|
937
|
-
const e = {
|
|
938
|
-
name: c.Application
|
|
939
|
-
};
|
|
940
|
-
return t.map = [Ce, ...t.map || []], l(t, e);
|
|
941
|
-
}
|
|
942
|
-
function Ce(t) {
|
|
943
|
-
return t.applicationName;
|
|
944
|
-
}
|
|
945
|
-
function dr(t = {}) {
|
|
946
|
-
const e = {
|
|
947
|
-
name: c.Application
|
|
948
|
-
};
|
|
949
|
-
return t.map = [we, ...t.map || []], l(t, e);
|
|
950
|
-
}
|
|
951
|
-
function we(t) {
|
|
952
|
-
return t.currentUser;
|
|
953
|
-
}
|
|
954
|
-
function yr(t = {}) {
|
|
955
|
-
const e = {
|
|
956
|
-
name: c.Application
|
|
957
|
-
};
|
|
958
|
-
return t.map = [Re, ...t.map || []], l(t, e);
|
|
959
|
-
}
|
|
960
|
-
function Re(t) {
|
|
961
|
-
return t.session;
|
|
962
|
-
}
|
|
963
|
-
const Ae = "userPreferences";
|
|
964
|
-
c.UserPreferencesRepository = Ae;
|
|
965
|
-
const Oe = "datetimeformatter";
|
|
966
|
-
c.DateTimeFormatter = Oe;
|
|
967
|
-
function mr(t) {
|
|
968
|
-
return t.type === "limeobject";
|
|
969
|
-
}
|
|
970
|
-
function br(t) {
|
|
971
|
-
return t.type === "action";
|
|
972
|
-
}
|
|
973
|
-
const Pe = "conditionRegistry";
|
|
974
|
-
c.ConditionRegistry = Pe;
|
|
975
|
-
const Ie = "viewFactoryRegistry";
|
|
976
|
-
c.ViewFactoryRegistry = Ie;
|
|
977
|
-
const je = "webComponentRegistry";
|
|
978
|
-
c.WebComponentRegistry = je;
|
|
979
|
-
const xe = "state.notifications";
|
|
980
|
-
c.NotificationRepository = xe;
|
|
981
|
-
const Me = "pollerFactory";
|
|
982
|
-
c.PollerFactory = Me;
|
|
983
|
-
const vr = {
|
|
984
|
-
Debug: "debug",
|
|
985
|
-
Info: "info",
|
|
986
|
-
Warn: "warn",
|
|
987
|
-
Error: "error"
|
|
988
|
-
}, Ne = "logger";
|
|
989
|
-
c.Logger = Ne;
|
|
990
|
-
let h, g;
|
|
991
|
-
function De(t) {
|
|
992
|
-
const e = window.Lime?.logger?.createLogger;
|
|
993
|
-
return typeof e != "function" ? (console.warn(
|
|
994
|
-
`Logger factory is not configured. Returning console logger for scope "${t}".`
|
|
995
|
-
), console) : (g === void 0 && (g = Te($e())), g && (t = `${g}:${t}`), e(t));
|
|
996
|
-
}
|
|
997
|
-
function $e() {
|
|
998
|
-
return h !== void 0 ? h : import.meta !== void 0 && typeof import.meta.url == "string" ? (h = import.meta.url, h) : (h = Le(), h);
|
|
999
|
-
}
|
|
1000
|
-
function Le() {
|
|
1001
|
-
try {
|
|
1002
|
-
const t = new Error(".").stack;
|
|
1003
|
-
if (!t)
|
|
1004
|
-
return null;
|
|
1005
|
-
const e = t.split(`
|
|
1006
|
-
`);
|
|
1007
|
-
for (const r of e) {
|
|
1008
|
-
const n = r.match(/(https?:\/\/[^)\s:]+)/);
|
|
1009
|
-
if (n)
|
|
1010
|
-
return n[1];
|
|
1011
|
-
}
|
|
1012
|
-
return null;
|
|
1013
|
-
} catch {
|
|
1014
|
-
return null;
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
function Te(t) {
|
|
1018
|
-
if (!t) return null;
|
|
1019
|
-
const e = Ve(t) || Fe(t) || Ue(t) || ke(t);
|
|
1020
|
-
return e || null;
|
|
1021
|
-
}
|
|
1022
|
-
function Ve(t) {
|
|
1023
|
-
const e = /\/([^/]+)-lwc-components\//, r = t.match(e);
|
|
1024
|
-
return r ? r[1] : null;
|
|
1025
|
-
}
|
|
1026
|
-
function Fe(t) {
|
|
1027
|
-
const e = /\/packages\/(?:@[^/]+\/)?([^/]+)/, r = t.match(e);
|
|
1028
|
-
return r ? r[1] : null;
|
|
1029
|
-
}
|
|
1030
|
-
function Ue(t) {
|
|
1031
|
-
const e = t.indexOf("+");
|
|
1032
|
-
if (e === -1)
|
|
1033
|
-
return null;
|
|
1034
|
-
const r = t.slice(0, e), n = r.lastIndexOf("/");
|
|
1035
|
-
return n === -1 ? null : r.slice(n + 1);
|
|
1036
|
-
}
|
|
1037
|
-
function ke(t) {
|
|
1038
|
-
const e = /\/static\/([^/]+)\//, r = t.match(e);
|
|
1039
|
-
return r ? r[1] : null;
|
|
1040
|
-
}
|
|
1041
|
-
const gr = {
|
|
1042
|
-
Low: "low",
|
|
1043
|
-
Medium: "medium",
|
|
1044
|
-
High: "high",
|
|
1045
|
-
Critical: "critical"
|
|
1046
|
-
}, Be = "problemRepository";
|
|
1047
|
-
c.ProblemRepository = Be;
|
|
1048
|
-
const He = "aiContextRegistry";
|
|
1049
|
-
c.AIContextRegistry = He;
|
|
1050
|
-
let R = null;
|
|
1051
|
-
function We(t, e) {
|
|
1052
|
-
R || (R = De("uncaught-error"));
|
|
1053
|
-
const r = {};
|
|
1054
|
-
e && (r.element = e.tagName, e.id && (r.elementId = e.id));
|
|
1055
|
-
const n = t instanceof Error ? t.message : String(t), o = t instanceof Error ? t : void 0;
|
|
1056
|
-
R.error(n, o, r);
|
|
1004
|
+
//#endregion
|
|
1005
|
+
//#region src/ai-context/types.ts
|
|
1006
|
+
n.ProblemRepository = "problemRepository", n.AIContextRegistry = "aiContextRegistry";
|
|
1007
|
+
//#endregion
|
|
1008
|
+
//#region src/error/error.ts
|
|
1009
|
+
var Tt = null;
|
|
1010
|
+
function Et(e, t) {
|
|
1011
|
+
Tt ||= gt("uncaught-error");
|
|
1012
|
+
let n = {};
|
|
1013
|
+
t && (n.element = t.tagName, t.id && (n.elementId = t.id));
|
|
1014
|
+
let r = e instanceof Error ? e.message : String(e), i = e instanceof Error ? e : void 0;
|
|
1015
|
+
Tt.error(r, i, n);
|
|
1057
1016
|
}
|
|
1058
1017
|
try {
|
|
1059
|
-
|
|
1060
|
-
} catch {
|
|
1061
|
-
|
|
1062
|
-
export {
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
d as Command,
|
|
1066
|
-
$t as CommandEventName,
|
|
1067
|
-
H as CreateLimeobjectDialogCommand,
|
|
1068
|
-
W as DeleteObjectCommand,
|
|
1069
|
-
cr as HttpMethod,
|
|
1070
|
-
Qe as IdleStateEventName,
|
|
1071
|
-
vr as LogLevel,
|
|
1072
|
-
Y as NavigateCommand,
|
|
1073
|
-
G as OpenObjectAccessDialogCommand,
|
|
1074
|
-
re as Operator,
|
|
1075
|
-
c as PlatformServiceName,
|
|
1076
|
-
gr as ProblemSeverity,
|
|
1077
|
-
Q as SaveLimeObjectCommand,
|
|
1078
|
-
hr as SelectApplicationName,
|
|
1079
|
-
ar as SelectConfig,
|
|
1080
|
-
ir as SelectCurrentLimeObject,
|
|
1081
|
-
ze as SelectCurrentLimeType,
|
|
1082
|
-
dr as SelectCurrentUser,
|
|
1083
|
-
lr as SelectDevice,
|
|
1084
|
-
fr as SelectFilters,
|
|
1085
|
-
or as SelectLimeObjects,
|
|
1086
|
-
Ze as SelectLimeTypes,
|
|
1087
|
-
ur as SelectQueryParam,
|
|
1088
|
-
yr as SelectSession,
|
|
1089
|
-
pr as SelectUserData,
|
|
1090
|
-
me as TaskEventType,
|
|
1091
|
-
ye as TaskState,
|
|
1092
|
-
De as createLogger,
|
|
1093
|
-
tr as findLimetypeByLabel,
|
|
1094
|
-
Vt as getCommandId,
|
|
1095
|
-
Ft as getCommandIds,
|
|
1096
|
-
Te as getPackageNameFromUrl,
|
|
1097
|
-
er as getPropertiesByType,
|
|
1098
|
-
rr as getPropertyByLabel,
|
|
1099
|
-
nr as getPropertyByName,
|
|
1100
|
-
nt as hasLabel,
|
|
1101
|
-
br as isActionCondition,
|
|
1102
|
-
Ke as isDate,
|
|
1103
|
-
Je as isFloat,
|
|
1104
|
-
mr as isLimeObjectCondition,
|
|
1105
|
-
Ye as isRelation,
|
|
1106
|
-
qe as isSingleRelation,
|
|
1107
|
-
Xe as isString
|
|
1108
|
-
};
|
|
1109
|
-
//# sourceMappingURL=index.esm.js.map
|
|
1018
|
+
t(Et);
|
|
1019
|
+
} catch {}
|
|
1020
|
+
//#endregion
|
|
1021
|
+
export { Ze as AggregateOperator, K as BulkCreateDialogCommand, H as Command, He as CommandEventName, q as CreateLimeobjectDialogCommand, J as DeleteObjectCommand, Qe as HttpMethod, r as IdleStateEventName, ht as LogLevel, Z as NavigateCommand, Y as OpenObjectAccessDialogCommand, Xe as Operator, n as PlatformServiceName, wt as ProblemSeverity, X as SaveLimeObjectCommand, st as SelectApplicationName, rt as SelectConfig, ze as SelectCurrentLimeObject, Me as SelectCurrentLimeType, lt as SelectCurrentUser, it as SelectDevice, at as SelectFilters, Re as SelectLimeObjects, je as SelectLimeTypes, $e as SelectQueryParam, dt as SelectSession, ot as SelectUserData, nt as TaskEventType, tt as TaskState, gt as createLogger, Pe as findLimetypeByLabel, U as getCommandId, W as getCommandIds, yt as getPackageNameFromUrl, Fe as getPropertiesByType, Ie as getPropertyByLabel, Le as getPropertyByName, V as hasLabel, mt as isActionCondition, o as isDate, c as isFloat, pt as isLimeObjectCondition, i as isRelation, a as isSingleRelation, s as isString };
|
|
1022
|
+
|
|
1023
|
+
//# sourceMappingURL=index.esm.js.map
|