@limetech/lime-web-components 6.2.0 → 6.4.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 +16 -0
- package/README.md +1 -1
- package/dist/action/action.d.ts +1 -28
- package/dist/action/action.d.ts.map +1 -1
- package/dist/application/decorators/session.d.ts.map +1 -1
- package/dist/application/decorators/user.d.ts.map +1 -1
- package/dist/application/session.d.ts.map +1 -1
- package/dist/commandbus/commandbus.d.ts +4 -4
- package/dist/commandbus/commandbus.d.ts.map +1 -1
- package/dist/commandbus/commandbus.spec.d.ts +2 -2
- package/dist/commandbus/commandbus.spec.d.ts.map +1 -1
- package/dist/conditionregistry/conditionregistry.d.ts +8 -0
- package/dist/conditionregistry/conditionregistry.d.ts.map +1 -1
- package/dist/config/repository.d.ts.map +1 -1
- package/dist/core/icon.d.ts +28 -0
- package/dist/core/icon.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/metadata.d.ts +1 -1
- package/dist/core/metadata.d.ts.map +1 -1
- package/dist/core/platform.d.ts.map +1 -1
- package/dist/core/state.d.ts.map +1 -1
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/filter/repository.d.ts +1 -1
- package/dist/http/http.d.ts +3 -3
- package/dist/http/http.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +30 -27
- package/dist/index.esm.js.map +1 -1
- package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
- package/dist/limeobject/limeobject.d.ts.map +1 -1
- package/dist/limeobject/repository.d.ts.map +1 -1
- package/dist/limetype/decorator.d.ts.map +1 -1
- package/dist/limetype/property.d.ts +32 -0
- package/dist/limetype/property.d.ts.map +1 -1
- package/dist/notifications/notifications.d.ts +9 -0
- package/dist/notifications/notifications.d.ts.map +1 -1
- package/dist/query/query.d.ts.map +1 -1
- package/dist/task/repository.d.ts.map +1 -1
- package/dist/userdata/repository.d.ts.map +1 -1
- package/dist/userpreferences/repository.d.ts.map +1 -1
- package/package.json +12 -30
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
|
+
}, je = "idle-state";
|
|
5
|
+
function De(t) {
|
|
6
6
|
return t && [
|
|
7
7
|
"belongsto",
|
|
8
8
|
"hasone",
|
|
@@ -10,7 +10,7 @@ function Me(t) {
|
|
|
10
10
|
"hasandbelongstomany"
|
|
11
11
|
].includes(t.type);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Me(t) {
|
|
14
14
|
return t && ["belongsto", "hasone"].includes(t.type);
|
|
15
15
|
}
|
|
16
16
|
function Ne(t) {
|
|
@@ -137,14 +137,14 @@ var S = function() {
|
|
|
137
137
|
} catch (f) {
|
|
138
138
|
i = f instanceof g ? f.errors : [f];
|
|
139
139
|
}
|
|
140
|
-
var
|
|
141
|
-
if (
|
|
140
|
+
var j = this._finalizers;
|
|
141
|
+
if (j) {
|
|
142
142
|
this._finalizers = null;
|
|
143
143
|
try {
|
|
144
|
-
for (var b = O(
|
|
144
|
+
for (var b = O(j), d = b.next(); !d.done; d = b.next()) {
|
|
145
145
|
var et = d.value;
|
|
146
146
|
try {
|
|
147
|
-
|
|
147
|
+
D(et);
|
|
148
148
|
} catch (f) {
|
|
149
149
|
i = i ?? [], f instanceof g ? i = R(R([], A(i)), A(f.errors)) : i.push(f);
|
|
150
150
|
}
|
|
@@ -166,7 +166,7 @@ var S = function() {
|
|
|
166
166
|
var r;
|
|
167
167
|
if (e && e !== this)
|
|
168
168
|
if (this.closed)
|
|
169
|
-
|
|
169
|
+
D(e);
|
|
170
170
|
else {
|
|
171
171
|
if (e instanceof t) {
|
|
172
172
|
if (e.closed || e._hasParent(this))
|
|
@@ -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 D(t) {
|
|
199
199
|
p(t) ? t() : t.unsubscribe();
|
|
200
200
|
}
|
|
201
201
|
var nt = {
|
|
@@ -216,7 +216,7 @@ function it(t) {
|
|
|
216
216
|
throw t;
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function M() {
|
|
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: M,
|
|
307
307
|
error: ct,
|
|
308
|
-
complete:
|
|
308
|
+
complete: M
|
|
309
309
|
}, at = function() {
|
|
310
310
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
311
311
|
}();
|
|
@@ -559,9 +559,10 @@ 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
|
-
|
|
562
|
+
_t(this, "context", n);
|
|
563
|
+
for (const o of e)
|
|
563
564
|
o.options = o.optionFactory(o.options, this), St(o.options) && (o.options.context = n), gt(this, o);
|
|
564
|
-
|
|
565
|
+
if (t)
|
|
565
566
|
return t.apply(this, r);
|
|
566
567
|
};
|
|
567
568
|
}
|
|
@@ -581,7 +582,7 @@ function St(t) {
|
|
|
581
582
|
}
|
|
582
583
|
function z(t) {
|
|
583
584
|
const e = [];
|
|
584
|
-
return t.platform || e.push(V(t, "platform")), t.context || e.push(V(t, "context")), e.length ? Promise.
|
|
585
|
+
return t.platform || e.push(V(t, "platform")), t.context || e.push(V(t, "context")), e.length === 0 ? Promise.resolve() : Promise.all(e);
|
|
585
586
|
}
|
|
586
587
|
function V(t, e) {
|
|
587
588
|
const r = H(t);
|
|
@@ -614,7 +615,9 @@ function gt(t, e) {
|
|
|
614
615
|
E.get(t).push(r);
|
|
615
616
|
}
|
|
616
617
|
function Ct(t) {
|
|
617
|
-
|
|
618
|
+
const e = E.get(t);
|
|
619
|
+
for (const r of e) r();
|
|
620
|
+
E.set(t, []);
|
|
618
621
|
}
|
|
619
622
|
function Ot(t, e) {
|
|
620
623
|
return (r) => {
|
|
@@ -663,12 +666,12 @@ function Fe(t, e) {
|
|
|
663
666
|
function ke(t, e) {
|
|
664
667
|
return t.properties[e];
|
|
665
668
|
}
|
|
666
|
-
const tt = (t) => (e) =>
|
|
669
|
+
const tt = (t) => (e) => e?.label === t, Pt = "state.limeobjects";
|
|
667
670
|
c.LimeObjectRepository = Pt;
|
|
668
671
|
function Be(t = {}) {
|
|
669
672
|
const e = {
|
|
670
673
|
name: c.LimeObjectRepository,
|
|
671
|
-
optionFactory:
|
|
674
|
+
optionFactory: jt
|
|
672
675
|
};
|
|
673
676
|
return l(t, e);
|
|
674
677
|
}
|
|
@@ -683,16 +686,16 @@ function It(t) {
|
|
|
683
686
|
if (t[e])
|
|
684
687
|
return t[e].find((n) => n.id === r);
|
|
685
688
|
}
|
|
686
|
-
function
|
|
689
|
+
function jt(t, e) {
|
|
687
690
|
return t.getLimetype && (t.limetype = t.getLimetype(e)), t;
|
|
688
691
|
}
|
|
689
|
-
var
|
|
692
|
+
var Dt = /* @__PURE__ */ ((t) => (t.Received = "command.received", t.Handled = "command.handled", t.Failed = "command.failed", t))(Dt || {});
|
|
690
693
|
function h(t) {
|
|
691
694
|
return (e) => {
|
|
692
|
-
|
|
695
|
+
Mt(e, t.id), Nt(e, t.id);
|
|
693
696
|
};
|
|
694
697
|
}
|
|
695
|
-
function
|
|
698
|
+
function Mt(t, e) {
|
|
696
699
|
t.commandId = e;
|
|
697
700
|
}
|
|
698
701
|
function Nt(t, e) {
|
|
@@ -707,7 +710,7 @@ function $t(t) {
|
|
|
707
710
|
let e = [], r, n = t;
|
|
708
711
|
for (; r = xt(n); )
|
|
709
712
|
e = [...e, r], n = Object.getPrototypeOf(n);
|
|
710
|
-
return
|
|
713
|
+
return [...new Set(e)];
|
|
711
714
|
}
|
|
712
715
|
const Tt = "commandBus";
|
|
713
716
|
c.CommandBus = Tt;
|
|
@@ -920,11 +923,11 @@ export {
|
|
|
920
923
|
We as AggregateOperator,
|
|
921
924
|
U as BulkCreateDialogCommand,
|
|
922
925
|
h as Command,
|
|
923
|
-
|
|
926
|
+
Dt as CommandEventName,
|
|
924
927
|
F as CreateLimeobjectDialogCommand,
|
|
925
928
|
k as DeleteObjectCommand,
|
|
926
929
|
He as HttpMethod,
|
|
927
|
-
|
|
930
|
+
je as IdleStateEventName,
|
|
928
931
|
W as NavigateCommand,
|
|
929
932
|
B as OpenObjectAccessDialogCommand,
|
|
930
933
|
Zt as Operator,
|
|
@@ -955,8 +958,8 @@ export {
|
|
|
955
958
|
Ne as isDate,
|
|
956
959
|
$e as isFloat,
|
|
957
960
|
tr as isLimeObjectCondition,
|
|
958
|
-
|
|
959
|
-
|
|
961
|
+
De as isRelation,
|
|
962
|
+
Me as isSingleRelation,
|
|
960
963
|
xe as isString
|
|
961
964
|
};
|
|
962
965
|
//# sourceMappingURL=index.esm.js.map
|