@limetech/lime-web-components 6.3.0 → 6.4.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/action/action.d.ts +1 -28
  4. package/dist/action/action.d.ts.map +1 -1
  5. package/dist/application/decorators/session.d.ts.map +1 -1
  6. package/dist/application/decorators/user.d.ts.map +1 -1
  7. package/dist/application/session.d.ts.map +1 -1
  8. package/dist/commandbus/commandbus.d.ts +1 -1
  9. package/dist/commandbus/commandbus.d.ts.map +1 -1
  10. package/dist/commandbus/commandbus.spec.d.ts.map +1 -1
  11. package/dist/conditionregistry/conditionregistry.d.ts +8 -0
  12. package/dist/conditionregistry/conditionregistry.d.ts.map +1 -1
  13. package/dist/config/repository.d.ts.map +1 -1
  14. package/dist/core/icon.d.ts +28 -0
  15. package/dist/core/icon.d.ts.map +1 -0
  16. package/dist/core/index.d.ts +1 -0
  17. package/dist/core/index.d.ts.map +1 -1
  18. package/dist/core/metadata.d.ts +1 -1
  19. package/dist/core/metadata.d.ts.map +1 -1
  20. package/dist/core/platform.d.ts.map +1 -1
  21. package/dist/core/state.d.ts.map +1 -1
  22. package/dist/dialog/dialog.d.ts.map +1 -1
  23. package/dist/filter/repository.d.ts +1 -1
  24. package/dist/http/http.d.ts +3 -3
  25. package/dist/http/http.d.ts.map +1 -1
  26. package/dist/index.cjs.js +1 -1
  27. package/dist/index.cjs.js.map +1 -1
  28. package/dist/index.esm.js +8 -5
  29. package/dist/index.esm.js.map +1 -1
  30. package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
  31. package/dist/limeobject/limeobject.d.ts.map +1 -1
  32. package/dist/limeobject/repository.d.ts.map +1 -1
  33. package/dist/limetype/decorator.d.ts.map +1 -1
  34. package/dist/limetype/property.d.ts +32 -0
  35. package/dist/limetype/property.d.ts.map +1 -1
  36. package/dist/notifications/notifications.d.ts +9 -0
  37. package/dist/notifications/notifications.d.ts.map +1 -1
  38. package/dist/query/query.d.ts.map +1 -1
  39. package/dist/task/repository.d.ts.map +1 -1
  40. package/dist/userdata/repository.d.ts.map +1 -1
  41. package/dist/userpreferences/repository.d.ts.map +1 -1
  42. package/package.json +15 -32
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
- if (_t(this, "context", n), e.forEach((o) => {
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
- }), t)
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.all(e) : Promise.resolve();
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
- E.get(t).forEach((r) => r()), E.set(t, []);
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 Array.from(new Set(e));
713
+ return [...new Set(e)];
711
714
  }
712
715
  const Tt = "commandBus";
713
716
  c.CommandBus = Tt;