@limetech/lime-web-components 6.0.0-beta.2 → 6.1.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 CHANGED
@@ -1,29 +1,12 @@
1
- ## [6.0.0-beta.2](https://github.com/Lundalogik/lime-web-components/compare/v6.0.0-beta.1...v6.0.0-beta.2) (2025-03-25)
1
+ ## [6.1.0](https://github.com/Lundalogik/lime-web-components/compare/v6.0.0...v6.1.0) (2025-06-12)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
6
 
7
- * **action:** add hideLabel to action interface ([1c75f1a](https://github.com/Lundalogik/lime-web-components/commit/1c75f1aed7e35b6f5792176b1e3a2569868606c5))
8
- * **view:** add interfaces for layouts ([d3759e4](https://github.com/Lundalogik/lime-web-components/commit/d3759e43b88eb922551671be2efb48bcd2459cc8)), closes [Lundalogik/crm-feature#3190](https://github.com/Lundalogik/crm-feature/issues/3190)
9
-
10
- ## [5.46.0](https://github.com/Lundalogik/lime-web-components/compare/v5.45.0...v5.46.0) (2025-03-06)
11
-
12
-
13
- ### Features
14
-
15
-
16
- * **action:** add hideLabel to action interface ([1c75f1a](https://github.com/Lundalogik/lime-web-components/commit/1c75f1aed7e35b6f5792176b1e3a2569868606c5))
17
-
18
- ## [5.45.0](https://github.com/Lundalogik/lime-web-components/compare/v5.44.0...v5.45.0) (2025-03-05)
19
-
20
-
21
- ### Features
22
-
23
-
24
- * **view:** add interfaces for layouts ([d3759e4](https://github.com/Lundalogik/lime-web-components/commit/d3759e43b88eb922551671be2efb48bcd2459cc8)), closes [Lundalogik/crm-feature#3190](https://github.com/Lundalogik/crm-feature/issues/3190)
7
+ * **view:** add support for typed data in ViewFactoryRegistry ([621e811](https://github.com/Lundalogik/lime-web-components/commit/621e811821375ac66921b17bf8818d959862a5fe))
25
8
 
26
- ## [6.0.0-beta.1](https://github.com/Lundalogik/lime-web-components/compare/v5.44.0...v6.0.0-beta.1) (2025-02-10)
9
+ ## [6.0.0](https://github.com/Lundalogik/lime-web-components/compare/v5.46.0...v6.0.0) (2025-05-15)
27
10
 
28
11
 
29
12
  ### ⚠ BREAKING CHANGES
@@ -44,21 +27,37 @@ service instead
44
27
  ### Miscellaneous Chores
45
28
 
46
29
 
47
- * remove old ES5 build ([e423de0](https://github.com/Lundalogik/lime-web-components/commit/e423de08f5321827a293a5ef232418ec2474e461))
30
+ * remove old ES5 build ([ccda8ee](https://github.com/Lundalogik/lime-web-components/commit/ccda8eeeb6cc16c6679acf7f88e22120f3732b66))
48
31
 
49
32
  ### Documentation
50
33
 
51
34
 
52
- * promote most beta services to public ([40279af](https://github.com/Lundalogik/lime-web-components/commit/40279af94f00e903c701a8060a898ad1190ad30e))
35
+ * promote most beta services to public ([4c6317b](https://github.com/Lundalogik/lime-web-components/commit/4c6317b87328bbe1b5d935ae325ff704d384f818))
53
36
 
54
37
  ### Code Refactoring
55
38
 
56
39
 
57
- * **application:** remove language from session ([c2f1967](https://github.com/Lundalogik/lime-web-components/commit/c2f1967933edcc7a47a1ab482969d40a0fc5885a))
58
- * **limeobject:** remove deprecated properties ([701e085](https://github.com/Lundalogik/lime-web-components/commit/701e085a673566f74196b514b07f1d8908aa28ae))
59
- * **platform:** remove route service ([c819e8c](https://github.com/Lundalogik/lime-web-components/commit/c819e8c871e94e85d2b19609d84016a2edaf8e4b))
60
- * **query:** improve `Expression` type ([1a46df5](https://github.com/Lundalogik/lime-web-components/commit/1a46df52eb92a1a07b799798ded16325a55b5b8c))
61
- * **testing:** remove package ([a2fb402](https://github.com/Lundalogik/lime-web-components/commit/a2fb40286853c065d044fb213e42bc7e66405450))
40
+ * **application:** remove language from session ([91f43ab](https://github.com/Lundalogik/lime-web-components/commit/91f43abae1af2756a6a988ef6b1832e6df193cea))
41
+ * **limeobject:** remove deprecated properties ([3a62a76](https://github.com/Lundalogik/lime-web-components/commit/3a62a76669671a33b874c6c907ddd1e196a8f05f))
42
+ * **platform:** remove route service ([c231c8c](https://github.com/Lundalogik/lime-web-components/commit/c231c8c16e10f67629e25f7af1ead939dc805aaa))
43
+ * **query:** improve `Expression` type ([3de655b](https://github.com/Lundalogik/lime-web-components/commit/3de655b179933c1300b30913caab90b43008c127))
44
+ * **testing:** remove package ([ffec7b2](https://github.com/Lundalogik/lime-web-components/commit/ffec7b229428c867d00bf52ed3d4c4df9d03d50d))
45
+
46
+ ## [5.46.0](https://github.com/Lundalogik/lime-web-components/compare/v5.45.0...v5.46.0) (2025-03-06)
47
+
48
+
49
+ ### Features
50
+
51
+
52
+ * **action:** add hideLabel to action interface ([1c75f1a](https://github.com/Lundalogik/lime-web-components/commit/1c75f1aed7e35b6f5792176b1e3a2569868606c5))
53
+
54
+ ## [5.45.0](https://github.com/Lundalogik/lime-web-components/compare/v5.44.0...v5.45.0) (2025-03-05)
55
+
56
+
57
+ ### Features
58
+
59
+
60
+ * **view:** add interfaces for layouts ([d3759e4](https://github.com/Lundalogik/lime-web-components/commit/d3759e43b88eb922551671be2efb48bcd2459cc8)), closes [Lundalogik/crm-feature#3190](https://github.com/Lundalogik/crm-feature/issues/3190)
62
61
 
63
62
  ## [5.44.0](https://github.com/Lundalogik/lime-web-components/compare/v5.43.0...v5.44.0) (2025-01-27)
64
63
 
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("@stencil/core"),c={Route:"route"},ne="idle-state";function re(e){return e&&["belongsto","hasone","hasmany","hasandbelongstomany"].includes(e.type)}function ie(e){return e&&["belongsto","hasone"].includes(e.type)}function oe(e){return e&&["time","timeofday","date","year","quarter","month"].includes(e.type)}function se(e){return e&&["string","text","phone","link"].includes(e.type)}function ce(e){return e&&["decimal","percent"].includes(e.type)}const ae="state.limetypes";c.LimeTypeRepository=ae;var _=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},_(e,t)};function h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function O(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function R(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function A(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function p(e){return typeof e=="function"}function B(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var C=B(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
2
- `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=n}});function w(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var E=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=O(s),u=a.next();!u.done;u=a.next()){var g=u.value;g.remove(this)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var I=this.initialTeardown;if(p(I))try{I()}catch(f){o=f instanceof C?f.errors:[f]}var D=this._finalizers;if(D){this._finalizers=null;try{for(var y=O(D),m=y.next();!m.done;m=y.next()){var te=m.value;try{L(te)}catch(f){o=o??[],f instanceof C?o=A(A([],R(o)),R(f.errors)):o.push(f)}}}catch(f){r={error:f}}finally{try{m&&!m.done&&(i=y.return)&&i.call(y)}finally{if(r)throw r.error}}}if(o)throw new C(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)L(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&w(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&w(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),k=E.EMPTY;function G(e){return e instanceof E||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function L(e){p(e)?e():e.unsubscribe()}var ue={Promise:void 0},le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,A([e,t],R(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fe(e){le.setTimeout(function(){throw e})}function N(){}function v(e){e()}var H=function(e){h(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,G(n)&&n.add(r)):r.destination=me,r}return t.create=function(n,r,i){return new P(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(E),pe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){b(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){b(r)}else b(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){b(n)}},e}(),P=function(e){h(t,e);function t(n,r,i){var o=e.call(this)||this,s;return p(n)||!n?s={next:n??void 0,error:r??void 0,complete:i??void 0}:s=n,o.destination=new pe(s),o}return t}(H);function b(e){fe(e)}function de(e){throw e}var me={closed:!0,next:N,error:de,complete:N},he=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ye(e){return e}function be(e){return e.length===0?ye:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var T=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=Se(t)?t:new P(t,n,r);return v(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=x(n),new n(function(i,o){var s=new P({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[he]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return be(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=x(t),new t(function(r,i){var o;n.subscribe(function(s){return o=s},function(s){return i(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function x(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function ve(e){return e&&p(e.next)&&p(e.error)&&p(e.complete)}function Se(e){return e&&e instanceof H||ve(e)&&G(e)}var Ee=B(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Q=function(e){h(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new M(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ee},t.prototype.next=function(n){var r=this;v(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=O(r.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(n)}}catch(g){i={error:g}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;v(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;v(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?k:(this.currentObservers=null,a.push(n),new E(function(){r.currentObservers=null,w(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,s=r.isStopped;i?n.error(o):s&&n.complete()},t.prototype.asObservable=function(){var n=new T;return n.source=this,n},t.create=function(n,r){return new M(n,r)},t}(T),M=function(e){h(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:k},t}(Q),ge=function(e){h(t,e);function t(n){var r=e.call(this)||this;return r._value=n,r}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var r=e.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},t.prototype.getValue=function(){var n=this,r=n.hasError,i=n.thrownError,o=n._value;if(r)throw i;return this._throwIfClosed(),o},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Q);function Ce(e){return e}function l(e,t){return(n,r)=>{const i=_e(n,r,e,t);i.length===1&&Oe(n,i)}}const $=new WeakMap,S=new WeakMap,W=new WeakMap;function _e(e,t,n,r){let i=$.get(e);return i||(i=[],$.set(e,i)),i.push({options:n,name:t,optionFactory:r.optionFactory||Ce,service:{name:r.name,method:r.method||"subscribe"}}),i}function Oe(e,t){e.connectedCallback=Y(e.connectedCallback,t),e.componentWillLoad=Re(e.componentWillLoad,t),e.componentDidUnload=V(e.componentDidUnload),e.disconnectedCallback=V(e.disconnectedCallback)}function Y(e,t){return async function(...n){W.set(this,!0),S.set(this,[]),await q(this);const r=new ge(this.context);if(we(this,"context",r),t.forEach(i=>{i.options=i.optionFactory(i.options,this),Ae(i.options)&&(i.options.context=r),Pe(this,i)}),e)return e.apply(this,n)}}function Re(e,t){return async function(...n){return W.get(this)===!0?(await q(this),e?e.apply(this,n):void 0):Y(e,t).apply(this,n)}}function V(e){return async function(...t){let n;return e&&(n=e.apply(this,t)),je(this),n}}function Ae(e){return"context"in e}function q(e){const t=[];return e.platform||t.push(U(e,"platform")),e.context||t.push(U(e,"context")),t.length?Promise.all(t):Promise.resolve()}function U(e,t){const n=F.getElement(e);return new Promise(r=>{Object.defineProperty(n,t,{configurable:!0,set:i=>{delete n[t],n[t]=i,r()}})})}function we(e,t,n){const r=F.getElement(e),{get:i,set:o}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),t);Object.defineProperty(r,t,{configurable:!0,get:i,set:function(s){o.call(this,s),n.next(s)}})}function Pe(e,t){const n=De(e,t);if(typeof n!="function")return;S.get(e).push(n)}function je(e){S.get(e).forEach(n=>n()),S.set(e,[])}function Ie(e,t){return n=>{e[t]=n}}function De(e,t){const n={...t.options};Le(n,e);const r=t.service.name,i=e.platform;if(!i.has(r))throw new Error(`Service ${r} does not exist`);return i.get(r)[t.service.method](Ie(e,t.name),n)}function Le(e,t){e.filter&&(e.filter=e.filter.map(n=>n.bind(t))),e.map&&(e.map=e.map.map(n=>n.bind(t)))}function Ne(e={}){const t={name:c.LimeTypeRepository};return l(e,t)}function Te(e={}){const t={name:c.LimeTypeRepository};return e.map=[xe,...e.map||[]],e.context=null,l(e,t)}function xe(e){const{limetype:t}=this.context;return e[t]}const Me=e=>t=>Object.values(t).find(j(e));function $e(e,t){return Object.values(e.properties).filter(n=>n.type===t)}function Ve(e,t){return Object.values(e.properties).find(j(t))}function Ue(e,t){return e.properties[t]}const j=e=>t=>(t==null?void 0:t.label)===e,Fe="state.limeobjects";c.LimeObjectRepository=Fe;function Be(e={}){const t={name:c.LimeObjectRepository,optionFactory:He};return l(e,t)}function ke(e={}){const t={name:c.LimeObjectRepository};return e.map=[Ge,...e.map||[]],e.context=null,l(e,t)}function Ge(e){const{limetype:t,id:n}=this.context;if(e[t])return e[t].find(r=>r.id===n)}function He(e,t){return e.getLimetype&&(e.limetype=e.getLimetype(t)),e}var K=(e=>(e.Received="command.received",e.Handled="command.handled",e.Failed="command.failed",e))(K||{});function d(e){return t=>{Qe(t,e.id),We(t,e.id)}}function Qe(e,t){e.commandId=t}function We(e,t){Object.defineProperty(e,Symbol.hasInstance,{value:n=>J(n).includes(t)})}function X(e){return typeof e=="string"?e:e&&e.constructor&&e.constructor.commandId?e.constructor.commandId:e&&e.commandId?e.commandId:null}function J(e){let t=[],n,r=e;for(;n=X(r);)t=[...t,n],r=Object.getPrototypeOf(r);return Array.from(new Set(t))}const Ye="commandBus";c.CommandBus=Ye;var qe=Object.getOwnPropertyDescriptor,Ke=(e,t,n,r)=>{for(var i=r>1?void 0:r?qe(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.BulkCreateDialogCommand=class{};exports.BulkCreateDialogCommand=Ke([d({id:"limeobject.bulk-create-dialog"})],exports.BulkCreateDialogCommand);var Xe=Object.getOwnPropertyDescriptor,Je=(e,t,n,r)=>{for(var i=r>1?void 0:r?Xe(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.CreateLimeobjectDialogCommand=class{constructor(){this.route=!1}};exports.CreateLimeobjectDialogCommand=Je([d({id:"limeobject.create-dialog"})],exports.CreateLimeobjectDialogCommand);var Ze=Object.getOwnPropertyDescriptor,ze=(e,t,n,r)=>{for(var i=r>1?void 0:r?Ze(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.DeleteObjectCommand=class{};exports.DeleteObjectCommand=ze([d({id:"limeobject.delete-object"})],exports.DeleteObjectCommand);var et=Object.getOwnPropertyDescriptor,tt=(e,t,n,r)=>{for(var i=r>1?void 0:r?et(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.OpenObjectAccessDialogCommand=class{};exports.OpenObjectAccessDialogCommand=tt([d({id:"limeobject.object-access"})],exports.OpenObjectAccessDialogCommand);var nt=Object.getOwnPropertyDescriptor,rt=(e,t,n,r)=>{for(var i=r>1?void 0:r?nt(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.SaveLimeObjectCommand=class{constructor(){this.route=!1}};exports.SaveLimeObjectCommand=rt([d({id:"limeobject.save-object"})],exports.SaveLimeObjectCommand);var Z=(e=>(e.AND="AND",e.OR="OR",e.NOT="!",e.EQUALS="=",e.NOT_EQUALS="!=",e.GREATER=">",e.LESS="<",e.IN="IN",e.BEGINS="=?",e.LIKE="?",e.LESS_OR_EQUAL="<=",e.GREATER_OR_EQUAL=">=",e.ENDS="=$",e))(Z||{});const it={Count:"COUNT",Sum:"SUM",Average:"AVG",Maximum:"MAX",Minimum:"MIN"},ot="query";c.Query=ot;const st={Get:"GET",Post:"POST",Put:"PUT",Delete:"DELETE",Patch:"PATCH"},ct="http";c.Http=ct;const at="eventDispatcher";c.EventDispatcher=at;const ut="translate";c.Translate=ut;const lt="dialog";c.Dialog=lt;const ft="keybindingRegistry";c.KeybindingRegistry=ft;const pt="navigator";c.Navigator=pt;function dt(e){const t={name:c.Navigator};return l({context:null,...e},t)}var mt=Object.getOwnPropertyDescriptor,ht=(e,t,n,r)=>{for(var i=r>1?void 0:r?mt(t,n):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=s(i)||i);return i};exports.NavigateCommand=class{};exports.NavigateCommand=ht([d({id:"navigator.navigate"})],exports.NavigateCommand);const yt="notifications";c.Notification=yt;const bt="routeRegistry";c.RouteRegistry=bt;var z=(e=>(e.Pending="PENDING",e.Started="STARTED",e.Retry="RETRY",e.Success="SUCCESS",e.Failure="FAILURE",e))(z||{}),ee=(e=>(e.Created="task.created",e.Success="task.success",e.Failed="task.failed",e))(ee||{});const vt="state.tasks";c.TaskRepository=vt;const St="state.configs";c.ConfigRepository=St;function Et(e){const t={name:c.ConfigRepository};return l(e,t)}const gt="state.device";c.Device=gt;function Ct(e={}){const t={name:c.Device};return l(e,t)}const _t="state.filters";c.FilterRepository=_t;function Ot(e={}){const t={name:c.FilterRepository};return l(e,t)}const Rt="state.user-data";c.UserDataRepository=Rt;function At(e={}){const t={name:c.UserDataRepository};return l(e,t)}const wt="state.application";c.Application=wt;function Pt(e={}){const t={name:c.Application};return e.map=[jt,...e.map||[]],l(e,t)}function jt(e){return e.applicationName}function It(e={}){const t={name:c.Application};return e.map=[Dt,...e.map||[]],l(e,t)}function Dt(e){return e.currentUser}function Lt(e={}){const t={name:c.Application};return e.map=[Nt,...e.map||[]],l(e,t)}function Nt(e){return e.session}const Tt="userPreferences";c.UserPreferencesRepository=Tt;const xt="datetimeformatter";c.DateTimeFormatter=xt;function Mt(e){return e.type==="limeobject"}function $t(e){return e.type==="action"}const Vt="conditionRegistry";c.ConditionRegistry=Vt;const Ut="viewFactoryRegistry";c.ViewFactoryRegistry=Ut;const Ft="webComponentRegistry";c.WebComponentRegistry=Ft;const Bt="state.notifications";c.NotificationRepository=Bt;const kt="pollerFactory";c.PollerFactory=kt;exports.AggregateOperator=it;exports.Command=d;exports.CommandEventName=K;exports.HttpMethod=st;exports.IdleStateEventName=ne;exports.Operator=Z;exports.PlatformServiceName=c;exports.SelectApplicationName=Pt;exports.SelectConfig=Et;exports.SelectCurrentLimeObject=ke;exports.SelectCurrentLimeType=Te;exports.SelectCurrentUser=It;exports.SelectDevice=Ct;exports.SelectFilters=Ot;exports.SelectLimeObjects=Be;exports.SelectLimeTypes=Ne;exports.SelectQueryParam=dt;exports.SelectSession=Lt;exports.SelectUserData=At;exports.TaskEventType=ee;exports.TaskState=z;exports.findLimetypeByLabel=Me;exports.getCommandId=X;exports.getCommandIds=J;exports.getPropertiesByType=$e;exports.getPropertyByLabel=Ve;exports.getPropertyByName=Ue;exports.hasLabel=j;exports.isActionCondition=$t;exports.isDate=oe;exports.isFloat=ce;exports.isLimeObjectCondition=Mt;exports.isRelation=re;exports.isSingleRelation=ie;exports.isString=se;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("@stencil/core"),c={Route:"route"},re="idle-state";function ne(e){return e&&["belongsto","hasone","hasmany","hasandbelongstomany"].includes(e.type)}function oe(e){return e&&["belongsto","hasone"].includes(e.type)}function ie(e){return e&&["time","timeofday","date","year","quarter","month"].includes(e.type)}function se(e){return e&&["string","text","phone","link"].includes(e.type)}function ce(e){return e&&["decimal","percent"].includes(e.type)}const ae="state.limetypes";c.LimeTypeRepository=ae;var _=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},_(e,t)};function h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function O(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function R(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function A(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function p(e){return typeof e=="function"}function B(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var C=B(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
+ `+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function w(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var E=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=O(s),u=a.next();!u.done;u=a.next()){var g=u.value;g.remove(this)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var I=this.initialTeardown;if(p(I))try{I()}catch(f){i=f instanceof C?f.errors:[f]}var D=this._finalizers;if(D){this._finalizers=null;try{for(var y=O(D),m=y.next();!m.done;m=y.next()){var te=m.value;try{L(te)}catch(f){i=i??[],f instanceof C?i=A(A([],R(i)),R(f.errors)):i.push(f)}}}catch(f){n={error:f}}finally{try{m&&!m.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(i)throw new C(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)L(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&w(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&w(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),k=E.EMPTY;function G(e){return e instanceof E||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function L(e){p(e)?e():e.unsubscribe()}var ue={Promise:void 0},le={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,A([e,t],R(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fe(e){le.setTimeout(function(){throw e})}function N(){}function v(e){e()}var H=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,G(r)&&r.add(n)):n.destination=me,n}return t.create=function(r,n,o){return new P(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(E),pe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){b(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){b(n)}else b(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){b(r)}},e}(),P=function(e){h(t,e);function t(r,n,o){var i=e.call(this)||this,s;return p(r)||!r?s={next:r??void 0,error:n??void 0,complete:o??void 0}:s=r,i.destination=new pe(s),i}return t}(H);function b(e){fe(e)}function de(e){throw e}var me={closed:!0,next:N,error:de,complete:N},he=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ye(e){return e}function be(e){return e.length===0?ye:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var T=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Se(t)?t:new P(t,r,n);return v(function(){var s=o,a=s.operator,u=s.source;i.add(a?a.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=x(r),new r(function(o,i){var s=new P({next:function(a){try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[he]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return be(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=x(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function x(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function ve(e){return e&&p(e.next)&&p(e.error)&&p(e.complete)}function Se(e){return e&&e instanceof H||ve(e)&&G(e)}var Ee=B(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Q=function(e){h(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new M(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ee},t.prototype.next=function(r){var n=this;v(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=O(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(g){o={error:g}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;v(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;v(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?k:(this.currentObservers=null,a.push(r),new E(function(){n.currentObservers=null,w(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new T;return r.source=this,r},t.create=function(r,n){return new M(r,n)},t}(T),M=function(e){h(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:k},t}(Q),ge=function(e){h(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t}(Q);function Ce(e){return e}function l(e,t){return(r,n)=>{const o=_e(r,n,e,t);o.length===1&&Oe(r,o)}}const $=new WeakMap,S=new WeakMap,W=new WeakMap;function _e(e,t,r,n){let o=$.get(e);return o||(o=[],$.set(e,o)),o.push({options:r,name:t,optionFactory:n.optionFactory||Ce,service:{name:n.name,method:n.method||"subscribe"}}),o}function Oe(e,t){e.connectedCallback=Y(e.connectedCallback,t),e.componentWillLoad=Re(e.componentWillLoad,t),e.componentDidUnload=V(e.componentDidUnload),e.disconnectedCallback=V(e.disconnectedCallback)}function Y(e,t){return async function(...r){W.set(this,!0),S.set(this,[]),await q(this);const n=new ge(this.context);if(we(this,"context",n),t.forEach(o=>{o.options=o.optionFactory(o.options,this),Ae(o.options)&&(o.options.context=n),Pe(this,o)}),e)return e.apply(this,r)}}function Re(e,t){return async function(...r){return W.get(this)===!0?(await q(this),e?e.apply(this,r):void 0):Y(e,t).apply(this,r)}}function V(e){return async function(...t){let r;return e&&(r=e.apply(this,t)),je(this),r}}function Ae(e){return"context"in e}function q(e){const t=[];return e.platform||t.push(U(e,"platform")),e.context||t.push(U(e,"context")),t.length?Promise.all(t):Promise.resolve()}function U(e,t){const r=F.getElement(e);return new Promise(n=>{Object.defineProperty(r,t,{configurable:!0,set:o=>{delete r[t],r[t]=o,n()}})})}function we(e,t,r){const n=F.getElement(e),{get:o,set:i}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),t);Object.defineProperty(n,t,{configurable:!0,get:o,set:function(s){i.call(this,s),r.next(s)}})}function Pe(e,t){const r=De(e,t);if(typeof r!="function")return;S.get(e).push(r)}function je(e){S.get(e).forEach(r=>r()),S.set(e,[])}function Ie(e,t){return r=>{e[t]=r}}function De(e,t){const r={...t.options};Le(r,e);const n=t.service.name,o=e.platform;if(!o.has(n))throw new Error(`Service ${n} does not exist`);return o.get(n)[t.service.method](Ie(e,t.name),r)}function Le(e,t){e.filter&&(e.filter=e.filter.map(r=>r.bind(t))),e.map&&(e.map=e.map.map(r=>r.bind(t)))}function Ne(e={}){const t={name:c.LimeTypeRepository};return l(e,t)}function Te(e={}){const t={name:c.LimeTypeRepository};return e.map=[xe,...e.map||[]],e.context=null,l(e,t)}function xe(e){const{limetype:t}=this.context;return e[t]}const Me=e=>t=>Object.values(t).find(j(e));function $e(e,t){return Object.values(e.properties).filter(r=>r.type===t)}function Ve(e,t){return Object.values(e.properties).find(j(t))}function Ue(e,t){return e.properties[t]}const j=e=>t=>(t==null?void 0:t.label)===e,Fe="state.limeobjects";c.LimeObjectRepository=Fe;function Be(e={}){const t={name:c.LimeObjectRepository,optionFactory:He};return l(e,t)}function ke(e={}){const t={name:c.LimeObjectRepository};return e.map=[Ge,...e.map||[]],e.context=null,l(e,t)}function Ge(e){const{limetype:t,id:r}=this.context;if(e[t])return e[t].find(n=>n.id===r)}function He(e,t){return e.getLimetype&&(e.limetype=e.getLimetype(t)),e}var K=(e=>(e.Received="command.received",e.Handled="command.handled",e.Failed="command.failed",e))(K||{});function d(e){return t=>{Qe(t,e.id),We(t,e.id)}}function Qe(e,t){e.commandId=t}function We(e,t){Object.defineProperty(e,Symbol.hasInstance,{value:r=>J(r).includes(t)})}function X(e){return typeof e=="string"?e:e&&e.constructor&&e.constructor.commandId?e.constructor.commandId:e&&e.commandId?e.commandId:null}function J(e){let t=[],r,n=e;for(;r=X(n);)t=[...t,r],n=Object.getPrototypeOf(n);return Array.from(new Set(t))}const Ye="commandBus";c.CommandBus=Ye;var qe=Object.getOwnPropertyDescriptor,Ke=(e,t,r,n)=>{for(var o=n>1?void 0:n?qe(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.BulkCreateDialogCommand=class{};exports.BulkCreateDialogCommand=Ke([d({id:"limeobject.bulk-create-dialog"})],exports.BulkCreateDialogCommand);var Xe=Object.getOwnPropertyDescriptor,Je=(e,t,r,n)=>{for(var o=n>1?void 0:n?Xe(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.CreateLimeobjectDialogCommand=class{constructor(){this.route=!1}};exports.CreateLimeobjectDialogCommand=Je([d({id:"limeobject.create-dialog"})],exports.CreateLimeobjectDialogCommand);var Ze=Object.getOwnPropertyDescriptor,ze=(e,t,r,n)=>{for(var o=n>1?void 0:n?Ze(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.DeleteObjectCommand=class{};exports.DeleteObjectCommand=ze([d({id:"limeobject.delete-object"})],exports.DeleteObjectCommand);var et=Object.getOwnPropertyDescriptor,tt=(e,t,r,n)=>{for(var o=n>1?void 0:n?et(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.OpenObjectAccessDialogCommand=class{};exports.OpenObjectAccessDialogCommand=tt([d({id:"limeobject.object-access"})],exports.OpenObjectAccessDialogCommand);var rt=Object.getOwnPropertyDescriptor,nt=(e,t,r,n)=>{for(var o=n>1?void 0:n?rt(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.SaveLimeObjectCommand=class{constructor(){this.route=!1}};exports.SaveLimeObjectCommand=nt([d({id:"limeobject.save-object"})],exports.SaveLimeObjectCommand);var Z=(e=>(e.AND="AND",e.OR="OR",e.NOT="!",e.EQUALS="=",e.NOT_EQUALS="!=",e.GREATER=">",e.LESS="<",e.IN="IN",e.BEGINS="=?",e.LIKE="?",e.LESS_OR_EQUAL="<=",e.GREATER_OR_EQUAL=">=",e.ENDS="=$",e))(Z||{});const ot={Count:"COUNT",Sum:"SUM",Average:"AVG",Maximum:"MAX",Minimum:"MIN"},it="query";c.Query=it;const st={Get:"GET",Post:"POST",Put:"PUT",Delete:"DELETE",Patch:"PATCH"},ct="http";c.Http=ct;const at="eventDispatcher";c.EventDispatcher=at;const ut="translate";c.Translate=ut;const lt="dialog";c.Dialog=lt;const ft="keybindingRegistry";c.KeybindingRegistry=ft;const pt="navigator";c.Navigator=pt;function dt(e){const t={name:c.Navigator};return l({context:null,...e},t)}var mt=Object.getOwnPropertyDescriptor,ht=(e,t,r,n)=>{for(var o=n>1?void 0:n?mt(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=s(o)||o);return o};exports.NavigateCommand=class{};exports.NavigateCommand=ht([d({id:"navigator.navigate"})],exports.NavigateCommand);const yt="notifications";c.Notification=yt;const bt="routeRegistry";c.RouteRegistry=bt;var z=(e=>(e.Pending="PENDING",e.Started="STARTED",e.Retry="RETRY",e.Success="SUCCESS",e.Failure="FAILURE",e))(z||{}),ee=(e=>(e.Created="task.created",e.Success="task.success",e.Failed="task.failed",e))(ee||{});const vt="state.tasks";c.TaskRepository=vt;const St="state.configs";c.ConfigRepository=St;function Et(e){const t={name:c.ConfigRepository};return l(e,t)}const gt="state.device";c.Device=gt;function Ct(e={}){const t={name:c.Device};return l(e,t)}const _t="state.filters";c.FilterRepository=_t;function Ot(e={}){const t={name:c.FilterRepository};return l(e,t)}const Rt="state.user-data";c.UserDataRepository=Rt;function At(e={}){const t={name:c.UserDataRepository};return l(e,t)}const wt="state.application";c.Application=wt;function Pt(e={}){const t={name:c.Application};return e.map=[jt,...e.map||[]],l(e,t)}function jt(e){return e.applicationName}function It(e={}){const t={name:c.Application};return e.map=[Dt,...e.map||[]],l(e,t)}function Dt(e){return e.currentUser}function Lt(e={}){const t={name:c.Application};return e.map=[Nt,...e.map||[]],l(e,t)}function Nt(e){return e.session}const Tt="userPreferences";c.UserPreferencesRepository=Tt;const xt="datetimeformatter";c.DateTimeFormatter=xt;function Mt(e){return e.type==="limeobject"}function $t(e){return e.type==="action"}const Vt="conditionRegistry";c.ConditionRegistry=Vt;const Ut="viewFactoryRegistry";c.ViewFactoryRegistry=Ut;const Ft="webComponentRegistry";c.WebComponentRegistry=Ft;const Bt="state.notifications";c.NotificationRepository=Bt;const kt="pollerFactory";c.PollerFactory=kt;exports.AggregateOperator=ot;exports.Command=d;exports.CommandEventName=K;exports.HttpMethod=st;exports.IdleStateEventName=re;exports.Operator=Z;exports.PlatformServiceName=c;exports.SelectApplicationName=Pt;exports.SelectConfig=Et;exports.SelectCurrentLimeObject=ke;exports.SelectCurrentLimeType=Te;exports.SelectCurrentUser=It;exports.SelectDevice=Ct;exports.SelectFilters=Ot;exports.SelectLimeObjects=Be;exports.SelectLimeTypes=Ne;exports.SelectQueryParam=dt;exports.SelectSession=Lt;exports.SelectUserData=At;exports.TaskEventType=ee;exports.TaskState=z;exports.findLimetypeByLabel=Me;exports.getCommandId=X;exports.getCommandIds=J;exports.getPropertiesByType=$e;exports.getPropertyByLabel=Ve;exports.getPropertyByName=Ue;exports.hasLabel=j;exports.isActionCondition=$t;exports.isDate=ie;exports.isFloat=ce;exports.isLimeObjectCondition=Mt;exports.isRelation=ne;exports.isSingleRelation=oe;exports.isString=se;
4
4
  //# sourceMappingURL=index.cjs.js.map