@limetech/lime-web-components 6.3.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 +8 -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 +1 -1
- package/dist/commandbus/commandbus.d.ts.map +1 -1
- 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 +8 -5
- 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
|
@@ -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) => {
|
|
@@ -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;
|