@limetech/lime-web-components 6.2.0 → 6.3.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/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
- }, De = "idle-state";
5
- function Me(t) {
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 je(t) {
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 D = this._finalizers;
141
- if (D) {
140
+ var j = this._finalizers;
141
+ if (j) {
142
142
  this._finalizers = null;
143
143
  try {
144
- for (var b = O(D), d = b.next(); !d.done; d = b.next()) {
144
+ for (var b = O(j), d = b.next(); !d.done; d = b.next()) {
145
145
  var et = d.value;
146
146
  try {
147
- M(et);
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
- M(e);
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 M(t) {
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 j() {
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: j,
306
+ next: M,
307
307
  error: ct,
308
- complete: j
308
+ complete: M
309
309
  }, at = function() {
310
310
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
311
311
  }();
@@ -663,12 +663,12 @@ function Fe(t, e) {
663
663
  function ke(t, e) {
664
664
  return t.properties[e];
665
665
  }
666
- const tt = (t) => (e) => (e == null ? void 0 : e.label) === t, Pt = "state.limeobjects";
666
+ const tt = (t) => (e) => e?.label === t, Pt = "state.limeobjects";
667
667
  c.LimeObjectRepository = Pt;
668
668
  function Be(t = {}) {
669
669
  const e = {
670
670
  name: c.LimeObjectRepository,
671
- optionFactory: Dt
671
+ optionFactory: jt
672
672
  };
673
673
  return l(t, e);
674
674
  }
@@ -683,16 +683,16 @@ function It(t) {
683
683
  if (t[e])
684
684
  return t[e].find((n) => n.id === r);
685
685
  }
686
- function Dt(t, e) {
686
+ function jt(t, e) {
687
687
  return t.getLimetype && (t.limetype = t.getLimetype(e)), t;
688
688
  }
689
- var Mt = /* @__PURE__ */ ((t) => (t.Received = "command.received", t.Handled = "command.handled", t.Failed = "command.failed", t))(Mt || {});
689
+ var Dt = /* @__PURE__ */ ((t) => (t.Received = "command.received", t.Handled = "command.handled", t.Failed = "command.failed", t))(Dt || {});
690
690
  function h(t) {
691
691
  return (e) => {
692
- jt(e, t.id), Nt(e, t.id);
692
+ Mt(e, t.id), Nt(e, t.id);
693
693
  };
694
694
  }
695
- function jt(t, e) {
695
+ function Mt(t, e) {
696
696
  t.commandId = e;
697
697
  }
698
698
  function Nt(t, e) {
@@ -920,11 +920,11 @@ export {
920
920
  We as AggregateOperator,
921
921
  U as BulkCreateDialogCommand,
922
922
  h as Command,
923
- Mt as CommandEventName,
923
+ Dt as CommandEventName,
924
924
  F as CreateLimeobjectDialogCommand,
925
925
  k as DeleteObjectCommand,
926
926
  He as HttpMethod,
927
- De as IdleStateEventName,
927
+ je as IdleStateEventName,
928
928
  W as NavigateCommand,
929
929
  B as OpenObjectAccessDialogCommand,
930
930
  Zt as Operator,
@@ -955,8 +955,8 @@ export {
955
955
  Ne as isDate,
956
956
  $e as isFloat,
957
957
  tr as isLimeObjectCondition,
958
- Me as isRelation,
959
- je as isSingleRelation,
958
+ De as isRelation,
959
+ Me as isSingleRelation,
960
960
  xe as isString
961
961
  };
962
962
  //# sourceMappingURL=index.esm.js.map