@limetech/lime-web-components 6.0.0 → 6.2.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 +18 -0
- package/dist/commandbus/commandbus.d.ts +29 -4
- package/dist/commandbus/commandbus.d.ts.map +1 -1
- package/dist/commandbus/commandbus.spec.d.ts +12 -0
- package/dist/commandbus/commandbus.spec.d.ts.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +199 -193
- package/dist/index.esm.js.map +1 -1
- package/dist/limeobject/commands/bulk-create-dialog.d.ts +7 -0
- package/dist/limeobject/commands/bulk-create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/create-dialog.d.ts +7 -0
- package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/delete-object.d.ts +7 -0
- package/dist/limeobject/commands/delete-object.d.ts.map +1 -1
- package/dist/limeobject/commands/object-access.d.ts +7 -0
- package/dist/limeobject/commands/object-access.d.ts.map +1 -1
- package/dist/limeobject/commands/save-object.d.ts +7 -0
- package/dist/limeobject/commands/save-object.d.ts.map +1 -1
- package/dist/navigator/command.d.ts +7 -0
- package/dist/navigator/command.d.ts.map +1 -1
- package/dist/view/registry.d.ts +7 -7
- package/dist/view/registry.d.ts.map +1 -1
- package/package.json +11 -10
package/dist/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getElement as H } from "@stencil/core";
|
|
2
2
|
const c = {
|
|
3
3
|
Route: "route"
|
|
4
|
-
},
|
|
5
|
-
function
|
|
4
|
+
}, De = "idle-state";
|
|
5
|
+
function Me(t) {
|
|
6
6
|
return t && [
|
|
7
7
|
"belongsto",
|
|
8
8
|
"hasone",
|
|
@@ -10,10 +10,10 @@ function we(t) {
|
|
|
10
10
|
"hasandbelongstomany"
|
|
11
11
|
].includes(t.type);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function je(t) {
|
|
14
14
|
return t && ["belongsto", "hasone"].includes(t.type);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Ne(t) {
|
|
17
17
|
return t && [
|
|
18
18
|
"time",
|
|
19
19
|
"timeofday",
|
|
@@ -23,10 +23,10 @@ function Ae(t) {
|
|
|
23
23
|
"month"
|
|
24
24
|
].includes(t.type);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function xe(t) {
|
|
27
27
|
return t && ["string", "text", "phone", "link"].includes(t.type);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function $e(t) {
|
|
30
30
|
return t && ["decimal", "percent"].includes(t.type);
|
|
31
31
|
}
|
|
32
32
|
const rt = "state.limetypes";
|
|
@@ -47,7 +47,7 @@ function y(t, e) {
|
|
|
47
47
|
}
|
|
48
48
|
t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function O(t) {
|
|
51
51
|
var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
|
|
52
52
|
if (r) return r.call(t);
|
|
53
53
|
if (t && typeof t.length == "number") return {
|
|
@@ -57,7 +57,7 @@ function R(t) {
|
|
|
57
57
|
};
|
|
58
58
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function A(t, e) {
|
|
61
61
|
var r = typeof Symbol == "function" && t[Symbol.iterator];
|
|
62
62
|
if (!r) return t;
|
|
63
63
|
var n = r.call(t), o, i = [], s;
|
|
@@ -74,7 +74,7 @@ function w(t, e) {
|
|
|
74
74
|
}
|
|
75
75
|
return i;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function R(t, e, r) {
|
|
78
78
|
if (r || arguments.length === 2) for (var n = 0, o = e.length, i; n < o; n++)
|
|
79
79
|
(i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
|
|
80
80
|
return t.concat(i || Array.prototype.slice.call(e));
|
|
@@ -88,7 +88,7 @@ function Q(t) {
|
|
|
88
88
|
}, r = t(e);
|
|
89
89
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
90
90
|
}
|
|
91
|
-
var
|
|
91
|
+
var g = Q(function(t) {
|
|
92
92
|
return function(r) {
|
|
93
93
|
t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
94
94
|
` + r.map(function(n, o) {
|
|
@@ -97,7 +97,7 @@ var _ = Q(function(t) {
|
|
|
97
97
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
98
98
|
};
|
|
99
99
|
});
|
|
100
|
-
function
|
|
100
|
+
function w(t, e) {
|
|
101
101
|
if (t) {
|
|
102
102
|
var r = t.indexOf(e);
|
|
103
103
|
0 <= r && t.splice(r, 1);
|
|
@@ -115,9 +115,9 @@ var S = function() {
|
|
|
115
115
|
if (s)
|
|
116
116
|
if (this._parentage = null, Array.isArray(s))
|
|
117
117
|
try {
|
|
118
|
-
for (var u =
|
|
119
|
-
var
|
|
120
|
-
|
|
118
|
+
for (var u = O(s), a = u.next(); !a.done; a = u.next()) {
|
|
119
|
+
var _ = a.value;
|
|
120
|
+
_.remove(this);
|
|
121
121
|
}
|
|
122
122
|
} catch (f) {
|
|
123
123
|
e = { error: f };
|
|
@@ -135,18 +135,18 @@ var S = function() {
|
|
|
135
135
|
try {
|
|
136
136
|
I();
|
|
137
137
|
} catch (f) {
|
|
138
|
-
i = f instanceof
|
|
138
|
+
i = f instanceof g ? f.errors : [f];
|
|
139
139
|
}
|
|
140
|
-
var
|
|
141
|
-
if (
|
|
140
|
+
var D = this._finalizers;
|
|
141
|
+
if (D) {
|
|
142
142
|
this._finalizers = null;
|
|
143
143
|
try {
|
|
144
|
-
for (var b =
|
|
144
|
+
for (var b = O(D), d = b.next(); !d.done; d = b.next()) {
|
|
145
145
|
var et = d.value;
|
|
146
146
|
try {
|
|
147
|
-
|
|
147
|
+
M(et);
|
|
148
148
|
} catch (f) {
|
|
149
|
-
i = i ?? [], f instanceof
|
|
149
|
+
i = i ?? [], f instanceof g ? i = R(R([], A(i)), A(f.errors)) : i.push(f);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
} catch (f) {
|
|
@@ -160,13 +160,13 @@ var S = function() {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
if (i)
|
|
163
|
-
throw new
|
|
163
|
+
throw new g(i);
|
|
164
164
|
}
|
|
165
165
|
}, t.prototype.add = function(e) {
|
|
166
166
|
var r;
|
|
167
167
|
if (e && e !== this)
|
|
168
168
|
if (this.closed)
|
|
169
|
-
|
|
169
|
+
M(e);
|
|
170
170
|
else {
|
|
171
171
|
if (e instanceof t) {
|
|
172
172
|
if (e.closed || e._hasParent(this))
|
|
@@ -183,10 +183,10 @@ var S = function() {
|
|
|
183
183
|
this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
|
|
184
184
|
}, t.prototype._removeParent = function(e) {
|
|
185
185
|
var r = this._parentage;
|
|
186
|
-
r === e ? this._parentage = null : Array.isArray(r) &&
|
|
186
|
+
r === e ? this._parentage = null : Array.isArray(r) && w(r, e);
|
|
187
187
|
}, t.prototype.remove = function(e) {
|
|
188
188
|
var r = this._finalizers;
|
|
189
|
-
r &&
|
|
189
|
+
r && w(r, e), e instanceof t && e._removeParent(this);
|
|
190
190
|
}, t.EMPTY = function() {
|
|
191
191
|
var e = new t();
|
|
192
192
|
return e.closed = !0, e;
|
|
@@ -195,7 +195,7 @@ var S = function() {
|
|
|
195
195
|
function q(t) {
|
|
196
196
|
return t instanceof S || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function M(t) {
|
|
199
199
|
p(t) ? t() : t.unsubscribe();
|
|
200
200
|
}
|
|
201
201
|
var nt = {
|
|
@@ -204,7 +204,7 @@ var nt = {
|
|
|
204
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,
|
|
207
|
+
return setTimeout.apply(void 0, R([t, e], A(r)));
|
|
208
208
|
},
|
|
209
209
|
clearTimeout: function(t) {
|
|
210
210
|
return clearTimeout(t);
|
|
@@ -216,7 +216,7 @@ function it(t) {
|
|
|
216
216
|
throw t;
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function j() {
|
|
220
220
|
}
|
|
221
221
|
function m(t) {
|
|
222
222
|
t();
|
|
@@ -303,9 +303,9 @@ function ct(t) {
|
|
|
303
303
|
}
|
|
304
304
|
var ut = {
|
|
305
305
|
closed: !0,
|
|
306
|
-
next:
|
|
306
|
+
next: j,
|
|
307
307
|
error: ct,
|
|
308
|
-
complete:
|
|
308
|
+
complete: j
|
|
309
309
|
}, at = function() {
|
|
310
310
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
311
311
|
}();
|
|
@@ -319,7 +319,7 @@ function ft(t) {
|
|
|
319
319
|
}, r);
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
|
-
var
|
|
322
|
+
var N = function() {
|
|
323
323
|
function t(e) {
|
|
324
324
|
e && (this._subscribe = e);
|
|
325
325
|
}
|
|
@@ -340,7 +340,7 @@ var D = function() {
|
|
|
340
340
|
}
|
|
341
341
|
}, t.prototype.forEach = function(e, r) {
|
|
342
342
|
var n = this;
|
|
343
|
-
return r =
|
|
343
|
+
return r = x(r), new r(function(o, i) {
|
|
344
344
|
var s = new P({
|
|
345
345
|
next: function(u) {
|
|
346
346
|
try {
|
|
@@ -365,7 +365,7 @@ var D = function() {
|
|
|
365
365
|
return ft(e)(this);
|
|
366
366
|
}, t.prototype.toPromise = function(e) {
|
|
367
367
|
var r = this;
|
|
368
|
-
return e =
|
|
368
|
+
return e = x(e), new e(function(n, o) {
|
|
369
369
|
var i;
|
|
370
370
|
r.subscribe(function(s) {
|
|
371
371
|
return i = s;
|
|
@@ -379,7 +379,7 @@ var D = function() {
|
|
|
379
379
|
return new t(e);
|
|
380
380
|
}, t;
|
|
381
381
|
}();
|
|
382
|
-
function
|
|
382
|
+
function x(t) {
|
|
383
383
|
var e;
|
|
384
384
|
return (e = t ?? nt.Promise) !== null && e !== void 0 ? e : Promise;
|
|
385
385
|
}
|
|
@@ -400,7 +400,7 @@ var dt = Q(function(t) {
|
|
|
400
400
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
401
401
|
}
|
|
402
402
|
return e.prototype.lift = function(r) {
|
|
403
|
-
var n = new
|
|
403
|
+
var n = new $(this, this);
|
|
404
404
|
return n.operator = r, n;
|
|
405
405
|
}, e.prototype._throwIfClosed = function() {
|
|
406
406
|
if (this.closed)
|
|
@@ -412,12 +412,12 @@ var dt = Q(function(t) {
|
|
|
412
412
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
413
413
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
414
414
|
try {
|
|
415
|
-
for (var s =
|
|
415
|
+
for (var s = O(n.currentObservers), u = s.next(); !u.done; u = s.next()) {
|
|
416
416
|
var a = u.value;
|
|
417
417
|
a.next(r);
|
|
418
418
|
}
|
|
419
|
-
} catch (
|
|
420
|
-
o = { error:
|
|
419
|
+
} catch (_) {
|
|
420
|
+
o = { error: _ };
|
|
421
421
|
} finally {
|
|
422
422
|
try {
|
|
423
423
|
u && !u.done && (i = s.return) && i.call(s);
|
|
@@ -461,18 +461,18 @@ var dt = Q(function(t) {
|
|
|
461
461
|
}, e.prototype._innerSubscribe = function(r) {
|
|
462
462
|
var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
|
|
463
463
|
return i || s ? Y : (this.currentObservers = null, u.push(r), new S(function() {
|
|
464
|
-
n.currentObservers = null,
|
|
464
|
+
n.currentObservers = null, w(u, r);
|
|
465
465
|
}));
|
|
466
466
|
}, e.prototype._checkFinalizedStatuses = function(r) {
|
|
467
467
|
var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
|
|
468
468
|
o ? r.error(i) : s && r.complete();
|
|
469
469
|
}, e.prototype.asObservable = function() {
|
|
470
|
-
var r = new
|
|
470
|
+
var r = new N();
|
|
471
471
|
return r.source = this, r;
|
|
472
472
|
}, e.create = function(r, n) {
|
|
473
|
-
return new
|
|
473
|
+
return new $(r, n);
|
|
474
474
|
}, e;
|
|
475
|
-
}(
|
|
475
|
+
}(N), $ = function(t) {
|
|
476
476
|
y(e, t);
|
|
477
477
|
function e(r, n) {
|
|
478
478
|
var o = t.call(this) || this;
|
|
@@ -529,10 +529,10 @@ function l(t, e) {
|
|
|
529
529
|
o.length === 1 && mt(r, o);
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
|
-
const
|
|
532
|
+
const T = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
|
|
533
533
|
function vt(t, e, r, n) {
|
|
534
|
-
let o =
|
|
535
|
-
return o || (o = [],
|
|
534
|
+
let o = T.get(t);
|
|
535
|
+
return o || (o = [], T.set(t, o)), o.push({
|
|
536
536
|
options: r,
|
|
537
537
|
name: e,
|
|
538
538
|
optionFactory: n.optionFactory || bt,
|
|
@@ -559,8 +559,8 @@ function Z(t, e) {
|
|
|
559
559
|
return async function(...r) {
|
|
560
560
|
J.set(this, !0), E.set(this, []), await z(this);
|
|
561
561
|
const n = new yt(this.context);
|
|
562
|
-
if (
|
|
563
|
-
o.options = o.optionFactory(o.options, this), St(o.options) && (o.options.context = n),
|
|
562
|
+
if (_t(this, "context", n), e.forEach((o) => {
|
|
563
|
+
o.options = o.optionFactory(o.options, this), St(o.options) && (o.options.context = n), gt(this, o);
|
|
564
564
|
}), t)
|
|
565
565
|
return t.apply(this, r);
|
|
566
566
|
};
|
|
@@ -594,7 +594,7 @@ function V(t, e) {
|
|
|
594
594
|
});
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function
|
|
597
|
+
function _t(t, e, r) {
|
|
598
598
|
const n = H(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
|
|
599
599
|
Object.getPrototypeOf(n),
|
|
600
600
|
e
|
|
@@ -607,8 +607,8 @@ function gt(t, e, r) {
|
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
|
-
function
|
|
611
|
-
const r =
|
|
610
|
+
function gt(t, e) {
|
|
611
|
+
const r = At(t, e);
|
|
612
612
|
if (typeof r != "function")
|
|
613
613
|
return;
|
|
614
614
|
E.get(t).push(r);
|
|
@@ -616,63 +616,63 @@ function _t(t, e) {
|
|
|
616
616
|
function Ct(t) {
|
|
617
617
|
E.get(t).forEach((r) => r()), E.set(t, []);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Ot(t, e) {
|
|
620
620
|
return (r) => {
|
|
621
621
|
t[e] = r;
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function At(t, e) {
|
|
625
625
|
const r = { ...e.options };
|
|
626
|
-
|
|
626
|
+
Rt(r, t);
|
|
627
627
|
const n = e.service.name, o = t.platform;
|
|
628
628
|
if (!o.has(n))
|
|
629
629
|
throw new Error(`Service ${n} does not exist`);
|
|
630
630
|
return o.get(n)[e.service.method](
|
|
631
|
-
|
|
631
|
+
Ot(t, e.name),
|
|
632
632
|
r
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Rt(t, e) {
|
|
636
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
|
|
638
|
+
function Te(t = {}) {
|
|
639
639
|
const e = {
|
|
640
640
|
name: c.LimeTypeRepository
|
|
641
641
|
};
|
|
642
642
|
return l(t, e);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Le(t = {}) {
|
|
645
645
|
const e = {
|
|
646
646
|
name: c.LimeTypeRepository
|
|
647
647
|
};
|
|
648
|
-
return t.map = [
|
|
648
|
+
return t.map = [wt, ...t.map || []], t.context = null, l(t, e);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function wt(t) {
|
|
651
651
|
const { limetype: e } = this.context;
|
|
652
652
|
return t[e];
|
|
653
653
|
}
|
|
654
|
-
const
|
|
655
|
-
function
|
|
654
|
+
const Ve = (t) => (e) => Object.values(e).find(tt(t));
|
|
655
|
+
function Ue(t, e) {
|
|
656
656
|
return Object.values(t.properties).filter(
|
|
657
657
|
(r) => r.type === e
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Fe(t, e) {
|
|
661
661
|
return Object.values(t.properties).find(tt(e));
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function ke(t, e) {
|
|
664
664
|
return t.properties[e];
|
|
665
665
|
}
|
|
666
666
|
const tt = (t) => (e) => (e == null ? void 0 : e.label) === t, Pt = "state.limeobjects";
|
|
667
667
|
c.LimeObjectRepository = Pt;
|
|
668
|
-
function
|
|
668
|
+
function Be(t = {}) {
|
|
669
669
|
const e = {
|
|
670
670
|
name: c.LimeObjectRepository,
|
|
671
|
-
optionFactory:
|
|
671
|
+
optionFactory: Dt
|
|
672
672
|
};
|
|
673
673
|
return l(t, e);
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Ge(t = {}) {
|
|
676
676
|
const e = {
|
|
677
677
|
name: c.LimeObjectRepository
|
|
678
678
|
};
|
|
@@ -683,274 +683,280 @@ function It(t) {
|
|
|
683
683
|
if (t[e])
|
|
684
684
|
return t[e].find((n) => n.id === r);
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function Dt(t, e) {
|
|
687
687
|
return t.getLimetype && (t.limetype = t.getLimetype(e)), t;
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var Mt = /* @__PURE__ */ ((t) => (t.Received = "command.received", t.Handled = "command.handled", t.Failed = "command.failed", t))(Mt || {});
|
|
690
690
|
function h(t) {
|
|
691
691
|
return (e) => {
|
|
692
|
-
|
|
692
|
+
jt(e, t.id), Nt(e, t.id);
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function jt(t, e) {
|
|
696
696
|
t.commandId = e;
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Nt(t, e) {
|
|
699
699
|
Object.defineProperty(t, Symbol.hasInstance, {
|
|
700
|
-
value: (r) =>
|
|
700
|
+
value: (r) => $t(r).includes(e)
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function xt(t) {
|
|
704
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
|
|
706
|
+
function $t(t) {
|
|
707
707
|
let e = [], r, n = t;
|
|
708
|
-
for (; r =
|
|
708
|
+
for (; r = xt(n); )
|
|
709
709
|
e = [...e, r], n = Object.getPrototypeOf(n);
|
|
710
710
|
return Array.from(new Set(e));
|
|
711
711
|
}
|
|
712
|
-
const
|
|
713
|
-
c.CommandBus =
|
|
712
|
+
const Tt = "commandBus";
|
|
713
|
+
c.CommandBus = Tt;
|
|
714
714
|
var Lt = Object.getOwnPropertyDescriptor, Vt = (t, e, r, n) => {
|
|
715
715
|
for (var o = n > 1 ? void 0 : n ? Lt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
716
716
|
(s = t[i]) && (o = s(o) || o);
|
|
717
717
|
return o;
|
|
718
718
|
};
|
|
719
|
+
const Ut = "limeobject.bulk-create-dialog";
|
|
719
720
|
let U = class {
|
|
720
721
|
};
|
|
721
722
|
U = Vt([
|
|
722
723
|
h({
|
|
723
|
-
id:
|
|
724
|
+
id: Ut
|
|
724
725
|
})
|
|
725
726
|
], U);
|
|
726
|
-
var
|
|
727
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
727
|
+
var Ft = Object.getOwnPropertyDescriptor, kt = (t, e, r, n) => {
|
|
728
|
+
for (var o = n > 1 ? void 0 : n ? Ft(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
728
729
|
(s = t[i]) && (o = s(o) || o);
|
|
729
730
|
return o;
|
|
730
731
|
};
|
|
732
|
+
const Bt = "limeobject.create-dialog";
|
|
731
733
|
let F = class {
|
|
732
734
|
constructor() {
|
|
733
735
|
this.route = !1;
|
|
734
736
|
}
|
|
735
737
|
};
|
|
736
|
-
F =
|
|
738
|
+
F = kt([
|
|
737
739
|
h({
|
|
738
|
-
id:
|
|
740
|
+
id: Bt
|
|
739
741
|
})
|
|
740
742
|
], F);
|
|
741
|
-
var
|
|
742
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
743
|
+
var Gt = Object.getOwnPropertyDescriptor, Wt = (t, e, r, n) => {
|
|
744
|
+
for (var o = n > 1 ? void 0 : n ? Gt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
743
745
|
(s = t[i]) && (o = s(o) || o);
|
|
744
746
|
return o;
|
|
745
747
|
};
|
|
748
|
+
const Ht = "limeobject.delete-object";
|
|
746
749
|
let k = class {
|
|
747
750
|
};
|
|
748
|
-
k =
|
|
751
|
+
k = Wt([
|
|
749
752
|
h({
|
|
750
|
-
id:
|
|
753
|
+
id: Ht
|
|
751
754
|
})
|
|
752
755
|
], k);
|
|
753
|
-
var
|
|
754
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
756
|
+
var Qt = Object.getOwnPropertyDescriptor, Yt = (t, e, r, n) => {
|
|
757
|
+
for (var o = n > 1 ? void 0 : n ? Qt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
755
758
|
(s = t[i]) && (o = s(o) || o);
|
|
756
759
|
return o;
|
|
757
760
|
};
|
|
761
|
+
const qt = "limeobject.object-access";
|
|
758
762
|
let B = class {
|
|
759
763
|
};
|
|
760
|
-
B =
|
|
764
|
+
B = Yt([
|
|
761
765
|
h({
|
|
762
|
-
id:
|
|
766
|
+
id: qt
|
|
763
767
|
})
|
|
764
768
|
], B);
|
|
765
|
-
var
|
|
766
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
769
|
+
var Kt = Object.getOwnPropertyDescriptor, Xt = (t, e, r, n) => {
|
|
770
|
+
for (var o = n > 1 ? void 0 : n ? Kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
767
771
|
(s = t[i]) && (o = s(o) || o);
|
|
768
772
|
return o;
|
|
769
773
|
};
|
|
774
|
+
const Jt = "limeobject.save-object";
|
|
770
775
|
let G = class {
|
|
771
776
|
constructor() {
|
|
772
777
|
this.route = !1;
|
|
773
778
|
}
|
|
774
779
|
};
|
|
775
|
-
G =
|
|
780
|
+
G = Xt([
|
|
776
781
|
h({
|
|
777
|
-
id:
|
|
782
|
+
id: Jt
|
|
778
783
|
})
|
|
779
784
|
], G);
|
|
780
|
-
var
|
|
781
|
-
const
|
|
785
|
+
var Zt = /* @__PURE__ */ ((t) => (t.AND = "AND", t.OR = "OR", t.NOT = "!", t.EQUALS = "=", t.NOT_EQUALS = "!=", t.GREATER = ">", t.LESS = "<", t.IN = "IN", t.BEGINS = "=?", t.LIKE = "?", t.LESS_OR_EQUAL = "<=", t.GREATER_OR_EQUAL = ">=", t.ENDS = "=$", t))(Zt || {});
|
|
786
|
+
const We = {
|
|
782
787
|
Count: "COUNT",
|
|
783
788
|
Sum: "SUM",
|
|
784
789
|
Average: "AVG",
|
|
785
790
|
Maximum: "MAX",
|
|
786
791
|
Minimum: "MIN"
|
|
787
|
-
},
|
|
788
|
-
c.Query =
|
|
789
|
-
const
|
|
792
|
+
}, zt = "query";
|
|
793
|
+
c.Query = zt;
|
|
794
|
+
const He = {
|
|
790
795
|
Get: "GET",
|
|
791
796
|
Post: "POST",
|
|
792
797
|
Put: "PUT",
|
|
793
798
|
Delete: "DELETE",
|
|
794
799
|
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
|
|
800
|
+
}, te = "http";
|
|
801
|
+
c.Http = te;
|
|
802
|
+
const ee = "eventDispatcher";
|
|
803
|
+
c.EventDispatcher = ee;
|
|
804
|
+
const re = "translate";
|
|
805
|
+
c.Translate = re;
|
|
806
|
+
const ne = "dialog";
|
|
807
|
+
c.Dialog = ne;
|
|
808
|
+
const oe = "keybindingRegistry";
|
|
809
|
+
c.KeybindingRegistry = oe;
|
|
810
|
+
const ie = "navigator";
|
|
811
|
+
c.Navigator = ie;
|
|
812
|
+
function Qe(t) {
|
|
808
813
|
const e = {
|
|
809
814
|
name: c.Navigator
|
|
810
815
|
};
|
|
811
816
|
return l({ context: null, ...t }, e);
|
|
812
817
|
}
|
|
813
|
-
var
|
|
814
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
818
|
+
var se = Object.getOwnPropertyDescriptor, ce = (t, e, r, n) => {
|
|
819
|
+
for (var o = n > 1 ? void 0 : n ? se(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
815
820
|
(s = t[i]) && (o = s(o) || o);
|
|
816
821
|
return o;
|
|
817
822
|
};
|
|
823
|
+
const ue = "navigator.navigate";
|
|
818
824
|
let W = class {
|
|
819
825
|
};
|
|
820
|
-
W =
|
|
826
|
+
W = ce([
|
|
821
827
|
h({
|
|
822
|
-
id:
|
|
828
|
+
id: ue
|
|
823
829
|
})
|
|
824
830
|
], 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
|
|
831
|
+
const ae = "notifications";
|
|
832
|
+
c.Notification = ae;
|
|
833
|
+
const le = "routeRegistry";
|
|
834
|
+
c.RouteRegistry = le;
|
|
835
|
+
var fe = /* @__PURE__ */ ((t) => (t.Pending = "PENDING", t.Started = "STARTED", t.Retry = "RETRY", t.Success = "SUCCESS", t.Failure = "FAILURE", t))(fe || {}), pe = /* @__PURE__ */ ((t) => (t.Created = "task.created", t.Success = "task.success", t.Failed = "task.failed", t))(pe || {});
|
|
836
|
+
const he = "state.tasks";
|
|
837
|
+
c.TaskRepository = he;
|
|
838
|
+
const de = "state.configs";
|
|
839
|
+
c.ConfigRepository = de;
|
|
840
|
+
function Ye(t) {
|
|
835
841
|
const e = {
|
|
836
842
|
name: c.ConfigRepository
|
|
837
843
|
};
|
|
838
844
|
return l(t, e);
|
|
839
845
|
}
|
|
840
|
-
const
|
|
841
|
-
c.Device =
|
|
842
|
-
function
|
|
846
|
+
const ye = "state.device";
|
|
847
|
+
c.Device = ye;
|
|
848
|
+
function qe(t = {}) {
|
|
843
849
|
const e = {
|
|
844
850
|
name: c.Device
|
|
845
851
|
};
|
|
846
852
|
return l(t, e);
|
|
847
853
|
}
|
|
848
|
-
const
|
|
849
|
-
c.FilterRepository =
|
|
850
|
-
function
|
|
854
|
+
const be = "state.filters";
|
|
855
|
+
c.FilterRepository = be;
|
|
856
|
+
function Ke(t = {}) {
|
|
851
857
|
const e = {
|
|
852
858
|
name: c.FilterRepository
|
|
853
859
|
};
|
|
854
860
|
return l(t, e);
|
|
855
861
|
}
|
|
856
|
-
const
|
|
857
|
-
c.UserDataRepository =
|
|
858
|
-
function
|
|
862
|
+
const ve = "state.user-data";
|
|
863
|
+
c.UserDataRepository = ve;
|
|
864
|
+
function Xe(t = {}) {
|
|
859
865
|
const e = {
|
|
860
866
|
name: c.UserDataRepository
|
|
861
867
|
};
|
|
862
868
|
return l(t, e);
|
|
863
869
|
}
|
|
864
|
-
const
|
|
865
|
-
c.Application =
|
|
866
|
-
function
|
|
870
|
+
const me = "state.application";
|
|
871
|
+
c.Application = me;
|
|
872
|
+
function Je(t = {}) {
|
|
867
873
|
const e = {
|
|
868
874
|
name: c.Application
|
|
869
875
|
};
|
|
870
|
-
return t.map = [
|
|
876
|
+
return t.map = [Ee, ...t.map || []], l(t, e);
|
|
871
877
|
}
|
|
872
|
-
function
|
|
878
|
+
function Ee(t) {
|
|
873
879
|
return t.applicationName;
|
|
874
880
|
}
|
|
875
|
-
function
|
|
881
|
+
function Ze(t = {}) {
|
|
876
882
|
const e = {
|
|
877
883
|
name: c.Application
|
|
878
884
|
};
|
|
879
|
-
return t.map = [
|
|
885
|
+
return t.map = [Se, ...t.map || []], l(t, e);
|
|
880
886
|
}
|
|
881
|
-
function
|
|
887
|
+
function Se(t) {
|
|
882
888
|
return t.currentUser;
|
|
883
889
|
}
|
|
884
|
-
function
|
|
890
|
+
function ze(t = {}) {
|
|
885
891
|
const e = {
|
|
886
892
|
name: c.Application
|
|
887
893
|
};
|
|
888
|
-
return t.map = [
|
|
894
|
+
return t.map = [_e, ...t.map || []], l(t, e);
|
|
889
895
|
}
|
|
890
|
-
function
|
|
896
|
+
function _e(t) {
|
|
891
897
|
return t.session;
|
|
892
898
|
}
|
|
893
|
-
const
|
|
894
|
-
c.UserPreferencesRepository =
|
|
895
|
-
const
|
|
896
|
-
c.DateTimeFormatter =
|
|
897
|
-
function
|
|
899
|
+
const ge = "userPreferences";
|
|
900
|
+
c.UserPreferencesRepository = ge;
|
|
901
|
+
const Ce = "datetimeformatter";
|
|
902
|
+
c.DateTimeFormatter = Ce;
|
|
903
|
+
function tr(t) {
|
|
898
904
|
return t.type === "limeobject";
|
|
899
905
|
}
|
|
900
|
-
function
|
|
906
|
+
function er(t) {
|
|
901
907
|
return t.type === "action";
|
|
902
908
|
}
|
|
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 =
|
|
909
|
+
const Oe = "conditionRegistry";
|
|
910
|
+
c.ConditionRegistry = Oe;
|
|
911
|
+
const Ae = "viewFactoryRegistry";
|
|
912
|
+
c.ViewFactoryRegistry = Ae;
|
|
913
|
+
const Re = "webComponentRegistry";
|
|
914
|
+
c.WebComponentRegistry = Re;
|
|
915
|
+
const we = "state.notifications";
|
|
916
|
+
c.NotificationRepository = we;
|
|
917
|
+
const Pe = "pollerFactory";
|
|
918
|
+
c.PollerFactory = Pe;
|
|
913
919
|
export {
|
|
914
|
-
|
|
920
|
+
We as AggregateOperator,
|
|
915
921
|
U as BulkCreateDialogCommand,
|
|
916
922
|
h as Command,
|
|
917
|
-
|
|
923
|
+
Mt as CommandEventName,
|
|
918
924
|
F as CreateLimeobjectDialogCommand,
|
|
919
925
|
k as DeleteObjectCommand,
|
|
920
|
-
|
|
921
|
-
|
|
926
|
+
He as HttpMethod,
|
|
927
|
+
De as IdleStateEventName,
|
|
922
928
|
W as NavigateCommand,
|
|
923
929
|
B as OpenObjectAccessDialogCommand,
|
|
924
|
-
|
|
930
|
+
Zt as Operator,
|
|
925
931
|
c as PlatformServiceName,
|
|
926
932
|
G as SaveLimeObjectCommand,
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
933
|
+
Je as SelectApplicationName,
|
|
934
|
+
Ye as SelectConfig,
|
|
935
|
+
Ge as SelectCurrentLimeObject,
|
|
936
|
+
Le as SelectCurrentLimeType,
|
|
937
|
+
Ze as SelectCurrentUser,
|
|
938
|
+
qe as SelectDevice,
|
|
939
|
+
Ke as SelectFilters,
|
|
940
|
+
Be as SelectLimeObjects,
|
|
941
|
+
Te as SelectLimeTypes,
|
|
942
|
+
Qe as SelectQueryParam,
|
|
943
|
+
ze as SelectSession,
|
|
944
|
+
Xe as SelectUserData,
|
|
945
|
+
pe as TaskEventType,
|
|
946
|
+
fe as TaskState,
|
|
947
|
+
Ve as findLimetypeByLabel,
|
|
948
|
+
xt as getCommandId,
|
|
949
|
+
$t as getCommandIds,
|
|
950
|
+
Ue as getPropertiesByType,
|
|
951
|
+
Fe as getPropertyByLabel,
|
|
952
|
+
ke as getPropertyByName,
|
|
947
953
|
tt as hasLabel,
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
954
|
+
er as isActionCondition,
|
|
955
|
+
Ne as isDate,
|
|
956
|
+
$e as isFloat,
|
|
957
|
+
tr as isLimeObjectCondition,
|
|
958
|
+
Me as isRelation,
|
|
959
|
+
je as isSingleRelation,
|
|
960
|
+
xe as isString
|
|
955
961
|
};
|
|
956
962
|
//# sourceMappingURL=index.esm.js.map
|