@limetech/lime-crm-building-blocks 1.105.3 → 1.106.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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/{index-ff255a0d.js → index-519b904a.js} +4 -1
- package/dist/cjs/{index.esm-d785eb6e.js → index.esm-b68bd570.js} +398 -268
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/{lime-query-validation-6d419d03.js → lime-query-validation-5eb432fe.js} +7 -7
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-item_2.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +84 -9
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +7 -7
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +18 -18
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +12 -12
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +4 -4
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-loader.cjs.entry.js +3 -3
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-property-selector.cjs.entry.js +4 -4
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +11 -7
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/{limetype-f2e4376e.js → limetype-b91060e7.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/info-tile/info-tile-context-provider.js +46 -0
- package/dist/collection/components/info-tile/info-tile.js +30 -1
- package/dist/collection/components/text-editor/text-editor.css +3 -0
- package/dist/collection/components/text-editor/text-editor.js +11 -1
- package/dist/components/index.esm.js +389 -259
- package/dist/components/kanban-group.js +2 -2
- package/dist/components/lime-query-filter-builder.js +5 -5
- package/dist/components/lime-query-filter-comparison.js +14 -14
- package/dist/components/lime-query-filter-expression.js +12 -12
- package/dist/components/lime-query-validation.js +7 -7
- package/dist/components/lime-query-value-input.js +3 -3
- package/dist/components/limebb-info-tile.js +83 -8
- package/dist/components/limebb-lime-query-builder.js +2 -2
- package/dist/components/limebb-lime-query-response-format-builder.js +2 -2
- package/dist/components/limebb-limeobject-file-viewer.js +3 -3
- package/dist/components/limebb-loader.js +2 -2
- package/dist/components/limebb-text-editor.js +9 -5
- package/dist/components/limetype.js +2 -2
- package/dist/components/property-selector.js +2 -2
- package/dist/esm/{index-96dd111f.js → index-d86e55c0.js} +4 -2
- package/dist/esm/{index.esm-bb569663.js → index.esm-863d7783.js} +389 -259
- package/dist/esm/lime-crm-building-blocks.js +2 -2
- package/dist/esm/{lime-query-validation-237ee440.js → lime-query-validation-84253575.js} +7 -7
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-item_2.entry.js +2 -2
- package/dist/esm/limebb-chat-list.entry.js +2 -2
- package/dist/esm/limebb-component-config.entry.js +2 -2
- package/dist/esm/limebb-component-picker.entry.js +2 -2
- package/dist/esm/limebb-currency-picker.entry.js +2 -2
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +2 -2
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +1 -1
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-empty-state.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +2 -2
- package/dist/esm/limebb-feed.entry.js +2 -2
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +84 -9
- package/dist/esm/limebb-kanban-group.entry.js +3 -3
- package/dist/esm/limebb-kanban-item.entry.js +2 -2
- package/dist/esm/limebb-kanban.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +7 -7
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +18 -18
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +12 -12
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +4 -4
- package/dist/esm/limebb-live-docs-info.entry.js +1 -1
- package/dist/esm/limebb-loader.entry.js +3 -3
- package/dist/esm/limebb-locale-picker.entry.js +2 -2
- package/dist/esm/limebb-mention-group-counter.entry.js +1 -1
- package/dist/esm/limebb-mention.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +1 -1
- package/dist/esm/limebb-notification-item.entry.js +2 -2
- package/dist/esm/limebb-notification-list.entry.js +2 -2
- package/dist/esm/limebb-percentage-visualizer.entry.js +1 -1
- package/dist/esm/limebb-property-selector.entry.js +4 -4
- package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +11 -7
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/{limetype-c0e041f7.js → limetype-09477163.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-e9d23ef7.entry.js → p-0bab7df6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-218b7f38.entry.js → p-0c290fd8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2fdcb868.entry.js → p-0da02112.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3932077b.entry.js → p-17baea44.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2673c79e.entry.js → p-228573ab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-351de229.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3b1fcd5b.js +1 -0
- package/dist/lime-crm-building-blocks/{p-6c56121c.entry.js → p-3da67f32.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-568b7520.entry.js → p-4ca1caf4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3175883d.entry.js → p-4fa58e0e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-52cf8641.js +2 -0
- package/dist/lime-crm-building-blocks/{p-7271f47a.entry.js → p-52fb8909.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-25e1a434.entry.js → p-579be797.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-eb81bceb.entry.js → p-5f12cdea.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-20bfca36.js → p-6aeb7b9b.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1be0eec7.entry.js → p-77b97c9f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c0ec1ddf.entry.js → p-7c04361c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5464f0de.entry.js → p-7ce112a7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9031f136.entry.js → p-85cae2a1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-61282e1a.entry.js → p-92062bd6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-10ac8b3e.entry.js → p-937e9144.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-09ce8be4.entry.js → p-9624acfd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3a406a20.entry.js → p-973146f7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8491aaa1.entry.js → p-9b4617bd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ef042c82.entry.js → p-9d41c07e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-9f2a9cf5.js +1 -0
- package/dist/lime-crm-building-blocks/{p-fdd5600b.entry.js → p-a9160103.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-03af0e66.entry.js → p-a9807878.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-80b9d946.entry.js → p-a9ef0153.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7d2188aa.entry.js → p-aec5cbca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2faaacbc.entry.js → p-b4bd67e2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-19ff678d.entry.js → p-bd6b5a42.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-098ee6c1.entry.js → p-bd92871a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9c2062bc.entry.js → p-c3c0c738.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ff0b244b.entry.js → p-c678ba6d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ee1b00b9.entry.js → p-cbbcec09.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-28346b49.entry.js → p-d37e8baa.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cfa1a4ad.entry.js → p-d51d607b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-00da9b24.entry.js → p-d880ba5e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-761c7c7c.entry.js → p-da511a18.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f7ea292d.entry.js → p-dd6861b1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ddfd5196.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-32534eb7.entry.js → p-e03755ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-292631ea.entry.js → p-e79f16ca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8c4eb49f.entry.js → p-eaf58ba4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-01cff04f.entry.js → p-eb56d4eb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ee0e42dd.entry.js → p-f1eee3bb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5dc574a3.entry.js → p-f97ea913.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4caa8bbe.entry.js → p-fb292b3f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bc18b0e7.entry.js → p-fc92dab6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f52125a0.entry.js → p-fcb3499b.entry.js} +1 -1
- package/dist/types/components/info-tile/info-tile-context-provider.d.ts +35 -0
- package/dist/types/components/info-tile/info-tile.d.ts +4 -0
- package/package.json +4 -4
- package/dist/lime-crm-building-blocks/p-11aa4103.js +0 -1
- package/dist/lime-crm-building-blocks/p-1556b545.js +0 -2
- package/dist/lime-crm-building-blocks/p-206575e4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-45caed2d.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4838284a.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as getElement } from './index-
|
|
1
|
+
import { g as getElement, a as setErrorHandler } from './index-d86e55c0.js';
|
|
2
2
|
|
|
3
3
|
const c = {
|
|
4
4
|
Route: "route"
|
|
5
5
|
};
|
|
6
|
-
function
|
|
6
|
+
function Ye(t) {
|
|
7
7
|
return t && [
|
|
8
8
|
"belongsto",
|
|
9
9
|
"hasone",
|
|
@@ -11,22 +11,22 @@ function De(t) {
|
|
|
11
11
|
"hasandbelongstomany"
|
|
12
12
|
].includes(t.type);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function qe(t) {
|
|
15
15
|
return t && ["belongsto", "hasone"].includes(t.type);
|
|
16
16
|
}
|
|
17
|
-
const
|
|
18
|
-
c.LimeTypeRepository =
|
|
19
|
-
var
|
|
20
|
-
return
|
|
17
|
+
const st = "state.limetypes";
|
|
18
|
+
c.LimeTypeRepository = st;
|
|
19
|
+
var A = function(t, e) {
|
|
20
|
+
return A = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
21
21
|
r.__proto__ = n;
|
|
22
22
|
} || function(r, n) {
|
|
23
23
|
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
|
|
24
|
-
},
|
|
24
|
+
}, A(t, e);
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function m(t, e) {
|
|
27
27
|
if (typeof e != "function" && e !== null)
|
|
28
28
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
29
|
-
|
|
29
|
+
A(t, e);
|
|
30
30
|
function r() {
|
|
31
31
|
this.constructor = t;
|
|
32
32
|
}
|
|
@@ -42,7 +42,7 @@ function O(t) {
|
|
|
42
42
|
};
|
|
43
43
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function P(t, e) {
|
|
46
46
|
var r = typeof Symbol == "function" && t[Symbol.iterator];
|
|
47
47
|
if (!r) return t;
|
|
48
48
|
var n = r.call(t), o, i = [], s;
|
|
@@ -59,7 +59,7 @@ function A(t, e) {
|
|
|
59
59
|
}
|
|
60
60
|
return i;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function I(t, e, r) {
|
|
63
63
|
if (r || arguments.length === 2) for (var n = 0, o = e.length, i; n < o; n++)
|
|
64
64
|
(i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
|
|
65
65
|
return t.concat(i || Array.prototype.slice.call(e));
|
|
@@ -67,13 +67,13 @@ function R(t, e, r) {
|
|
|
67
67
|
function p(t) {
|
|
68
68
|
return typeof t == "function";
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function K(t) {
|
|
71
71
|
var e = function(n) {
|
|
72
72
|
Error.call(n), n.stack = new Error().stack;
|
|
73
73
|
}, r = t(e);
|
|
74
74
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
75
75
|
}
|
|
76
|
-
var
|
|
76
|
+
var w = K(function(t) {
|
|
77
77
|
return function(r) {
|
|
78
78
|
t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
79
79
|
` + r.map(function(n, o) {
|
|
@@ -82,13 +82,13 @@ var g = Q(function(t) {
|
|
|
82
82
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
83
83
|
};
|
|
84
84
|
});
|
|
85
|
-
function
|
|
85
|
+
function j(t, e) {
|
|
86
86
|
if (t) {
|
|
87
87
|
var r = t.indexOf(e);
|
|
88
88
|
0 <= r && t.splice(r, 1);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
var
|
|
91
|
+
var _ = (function() {
|
|
92
92
|
function t(e) {
|
|
93
93
|
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
94
94
|
}
|
|
@@ -101,8 +101,8 @@ var S = function() {
|
|
|
101
101
|
if (this._parentage = null, Array.isArray(s))
|
|
102
102
|
try {
|
|
103
103
|
for (var u = O(s), a = u.next(); !a.done; a = u.next()) {
|
|
104
|
-
var
|
|
105
|
-
|
|
104
|
+
var C = a.value;
|
|
105
|
+
C.remove(this);
|
|
106
106
|
}
|
|
107
107
|
} catch (f) {
|
|
108
108
|
e = { error: f };
|
|
@@ -115,37 +115,37 @@ var S = function() {
|
|
|
115
115
|
}
|
|
116
116
|
else
|
|
117
117
|
s.remove(this);
|
|
118
|
-
var
|
|
119
|
-
if (p(
|
|
118
|
+
var M = this.initialTeardown;
|
|
119
|
+
if (p(M))
|
|
120
120
|
try {
|
|
121
|
-
|
|
121
|
+
M();
|
|
122
122
|
} catch (f) {
|
|
123
|
-
i = f instanceof
|
|
123
|
+
i = f instanceof w ? f.errors : [f];
|
|
124
124
|
}
|
|
125
|
-
var
|
|
126
|
-
if (
|
|
125
|
+
var N = this._finalizers;
|
|
126
|
+
if (N) {
|
|
127
127
|
this._finalizers = null;
|
|
128
128
|
try {
|
|
129
|
-
for (var b = O(
|
|
130
|
-
var
|
|
129
|
+
for (var b = O(N), y = b.next(); !y.done; y = b.next()) {
|
|
130
|
+
var ot = y.value;
|
|
131
131
|
try {
|
|
132
|
-
D(
|
|
132
|
+
D(ot);
|
|
133
133
|
} catch (f) {
|
|
134
|
-
i = i ?? [], f instanceof
|
|
134
|
+
i = i ?? [], f instanceof w ? i = I(I([], P(i)), P(f.errors)) : i.push(f);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
} catch (f) {
|
|
138
138
|
n = { error: f };
|
|
139
139
|
} finally {
|
|
140
140
|
try {
|
|
141
|
-
|
|
141
|
+
y && !y.done && (o = b.return) && o.call(b);
|
|
142
142
|
} finally {
|
|
143
143
|
if (n) throw n.error;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
if (i)
|
|
148
|
-
throw new
|
|
148
|
+
throw new w(i);
|
|
149
149
|
}
|
|
150
150
|
}, t.prototype.add = function(e) {
|
|
151
151
|
var r;
|
|
@@ -168,52 +168,52 @@ var S = function() {
|
|
|
168
168
|
this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
|
|
169
169
|
}, t.prototype._removeParent = function(e) {
|
|
170
170
|
var r = this._parentage;
|
|
171
|
-
r === e ? this._parentage = null : Array.isArray(r) &&
|
|
171
|
+
r === e ? this._parentage = null : Array.isArray(r) && j(r, e);
|
|
172
172
|
}, t.prototype.remove = function(e) {
|
|
173
173
|
var r = this._finalizers;
|
|
174
|
-
r &&
|
|
175
|
-
}, t.EMPTY = function() {
|
|
174
|
+
r && j(r, e), e instanceof t && e._removeParent(this);
|
|
175
|
+
}, t.EMPTY = (function() {
|
|
176
176
|
var e = new t();
|
|
177
177
|
return e.closed = !0, e;
|
|
178
|
-
}(), t;
|
|
179
|
-
}(),
|
|
180
|
-
function
|
|
181
|
-
return t instanceof
|
|
178
|
+
})(), t;
|
|
179
|
+
})(), X = _.EMPTY;
|
|
180
|
+
function J(t) {
|
|
181
|
+
return t instanceof _ || t && "closed" in t && p(t.remove) && p(t.add) && p(t.unsubscribe);
|
|
182
182
|
}
|
|
183
183
|
function D(t) {
|
|
184
184
|
p(t) ? t() : t.unsubscribe();
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ct = {
|
|
187
187
|
Promise: void 0
|
|
188
|
-
},
|
|
188
|
+
}, ut = {
|
|
189
189
|
setTimeout: function(t, e) {
|
|
190
190
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
191
191
|
r[n - 2] = arguments[n];
|
|
192
|
-
return setTimeout.apply(void 0,
|
|
192
|
+
return setTimeout.apply(void 0, I([t, e], P(r)));
|
|
193
193
|
},
|
|
194
194
|
clearTimeout: function(t) {
|
|
195
195
|
return clearTimeout(t);
|
|
196
196
|
},
|
|
197
197
|
delegate: void 0
|
|
198
198
|
};
|
|
199
|
-
function
|
|
200
|
-
|
|
199
|
+
function at(t) {
|
|
200
|
+
ut.setTimeout(function() {
|
|
201
201
|
throw t;
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function $() {
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function E(t) {
|
|
207
207
|
t();
|
|
208
208
|
}
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var Z = (function(t) {
|
|
210
|
+
m(e, t);
|
|
211
211
|
function e(r) {
|
|
212
212
|
var n = t.call(this) || this;
|
|
213
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
213
|
+
return n.isStopped = !1, r ? (n.destination = r, J(r) && r.add(n)) : n.destination = pt, n;
|
|
214
214
|
}
|
|
215
215
|
return e.create = function(r, n, o) {
|
|
216
|
-
return new
|
|
216
|
+
return new x(r, n, o);
|
|
217
217
|
}, e.prototype.next = function(r) {
|
|
218
218
|
this.isStopped || this._next(r);
|
|
219
219
|
}, e.prototype.error = function(r) {
|
|
@@ -237,7 +237,7 @@ var K = function(t) {
|
|
|
237
237
|
this.unsubscribe();
|
|
238
238
|
}
|
|
239
239
|
}, e;
|
|
240
|
-
}(
|
|
240
|
+
})(_), lt = (function() {
|
|
241
241
|
function t(e) {
|
|
242
242
|
this.partialObserver = e;
|
|
243
243
|
}
|
|
@@ -268,43 +268,43 @@ var K = function(t) {
|
|
|
268
268
|
v(r);
|
|
269
269
|
}
|
|
270
270
|
}, t;
|
|
271
|
-
}(),
|
|
272
|
-
|
|
271
|
+
})(), x = (function(t) {
|
|
272
|
+
m(e, t);
|
|
273
273
|
function e(r, n, o) {
|
|
274
274
|
var i = t.call(this) || this, s;
|
|
275
275
|
return p(r) || !r ? s = {
|
|
276
276
|
next: r ?? void 0,
|
|
277
277
|
error: n ?? void 0,
|
|
278
278
|
complete: o ?? void 0
|
|
279
|
-
} : s = r, i.destination = new
|
|
279
|
+
} : s = r, i.destination = new lt(s), i;
|
|
280
280
|
}
|
|
281
281
|
return e;
|
|
282
|
-
}(
|
|
282
|
+
})(Z);
|
|
283
283
|
function v(t) {
|
|
284
|
-
|
|
284
|
+
at(t);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function ft(t) {
|
|
287
287
|
throw t;
|
|
288
288
|
}
|
|
289
|
-
var
|
|
289
|
+
var pt = {
|
|
290
290
|
closed: !0,
|
|
291
|
-
next:
|
|
292
|
-
error:
|
|
293
|
-
complete:
|
|
294
|
-
},
|
|
291
|
+
next: $,
|
|
292
|
+
error: ft,
|
|
293
|
+
complete: $
|
|
294
|
+
}, ht = (function() {
|
|
295
295
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
296
|
-
}();
|
|
297
|
-
function
|
|
296
|
+
})();
|
|
297
|
+
function dt(t) {
|
|
298
298
|
return t;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
return t.length === 0 ?
|
|
300
|
+
function yt(t) {
|
|
301
|
+
return t.length === 0 ? dt : t.length === 1 ? t[0] : function(r) {
|
|
302
302
|
return t.reduce(function(n, o) {
|
|
303
303
|
return o(n);
|
|
304
304
|
}, r);
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
|
-
var
|
|
307
|
+
var L = (function() {
|
|
308
308
|
function t(e) {
|
|
309
309
|
e && (this._subscribe = e);
|
|
310
310
|
}
|
|
@@ -312,8 +312,8 @@ var N = function() {
|
|
|
312
312
|
var r = new t();
|
|
313
313
|
return r.source = this, r.operator = e, r;
|
|
314
314
|
}, t.prototype.subscribe = function(e, r, n) {
|
|
315
|
-
var o = this, i =
|
|
316
|
-
return
|
|
315
|
+
var o = this, i = bt(e) ? e : new x(e, r, n);
|
|
316
|
+
return E(function() {
|
|
317
317
|
var s = o, u = s.operator, a = s.source;
|
|
318
318
|
i.add(u ? u.call(i, a) : a ? o._subscribe(i) : o._trySubscribe(i));
|
|
319
319
|
}), i;
|
|
@@ -325,8 +325,8 @@ var N = function() {
|
|
|
325
325
|
}
|
|
326
326
|
}, t.prototype.forEach = function(e, r) {
|
|
327
327
|
var n = this;
|
|
328
|
-
return r =
|
|
329
|
-
var s = new
|
|
328
|
+
return r = T(r), new r(function(o, i) {
|
|
329
|
+
var s = new x({
|
|
330
330
|
next: function(u) {
|
|
331
331
|
try {
|
|
332
332
|
e(u);
|
|
@@ -342,15 +342,15 @@ var N = function() {
|
|
|
342
342
|
}, t.prototype._subscribe = function(e) {
|
|
343
343
|
var r;
|
|
344
344
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
|
|
345
|
-
}, t.prototype[
|
|
345
|
+
}, t.prototype[ht] = function() {
|
|
346
346
|
return this;
|
|
347
347
|
}, t.prototype.pipe = function() {
|
|
348
348
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
349
349
|
e[r] = arguments[r];
|
|
350
|
-
return
|
|
350
|
+
return yt(e)(this);
|
|
351
351
|
}, t.prototype.toPromise = function(e) {
|
|
352
352
|
var r = this;
|
|
353
|
-
return e =
|
|
353
|
+
return e = T(e), new e(function(n, o) {
|
|
354
354
|
var i;
|
|
355
355
|
r.subscribe(function(s) {
|
|
356
356
|
return i = s;
|
|
@@ -363,36 +363,36 @@ var N = function() {
|
|
|
363
363
|
}, t.create = function(e) {
|
|
364
364
|
return new t(e);
|
|
365
365
|
}, t;
|
|
366
|
-
}();
|
|
367
|
-
function
|
|
366
|
+
})();
|
|
367
|
+
function T(t) {
|
|
368
368
|
var e;
|
|
369
|
-
return (e = t ??
|
|
369
|
+
return (e = t ?? ct.Promise) !== null && e !== void 0 ? e : Promise;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function mt(t) {
|
|
372
372
|
return t && p(t.next) && p(t.error) && p(t.complete);
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
return t && t instanceof
|
|
374
|
+
function bt(t) {
|
|
375
|
+
return t && t instanceof Z || mt(t) && J(t);
|
|
376
376
|
}
|
|
377
|
-
var
|
|
377
|
+
var vt = K(function(t) {
|
|
378
378
|
return function() {
|
|
379
379
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
380
380
|
};
|
|
381
|
-
}),
|
|
382
|
-
|
|
381
|
+
}), z = (function(t) {
|
|
382
|
+
m(e, t);
|
|
383
383
|
function e() {
|
|
384
384
|
var r = t.call(this) || this;
|
|
385
385
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
386
386
|
}
|
|
387
387
|
return e.prototype.lift = function(r) {
|
|
388
|
-
var n = new
|
|
388
|
+
var n = new V(this, this);
|
|
389
389
|
return n.operator = r, n;
|
|
390
390
|
}, e.prototype._throwIfClosed = function() {
|
|
391
391
|
if (this.closed)
|
|
392
|
-
throw new
|
|
392
|
+
throw new vt();
|
|
393
393
|
}, e.prototype.next = function(r) {
|
|
394
394
|
var n = this;
|
|
395
|
-
|
|
395
|
+
E(function() {
|
|
396
396
|
var o, i;
|
|
397
397
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
398
398
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -401,8 +401,8 @@ var dt = Q(function(t) {
|
|
|
401
401
|
var a = u.value;
|
|
402
402
|
a.next(r);
|
|
403
403
|
}
|
|
404
|
-
} catch (
|
|
405
|
-
o = { error:
|
|
404
|
+
} catch (C) {
|
|
405
|
+
o = { error: C };
|
|
406
406
|
} finally {
|
|
407
407
|
try {
|
|
408
408
|
u && !u.done && (i = s.return) && i.call(s);
|
|
@@ -414,7 +414,7 @@ var dt = Q(function(t) {
|
|
|
414
414
|
});
|
|
415
415
|
}, e.prototype.error = function(r) {
|
|
416
416
|
var n = this;
|
|
417
|
-
|
|
417
|
+
E(function() {
|
|
418
418
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
419
419
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
420
420
|
for (var o = n.observers; o.length; )
|
|
@@ -423,7 +423,7 @@ var dt = Q(function(t) {
|
|
|
423
423
|
});
|
|
424
424
|
}, e.prototype.complete = function() {
|
|
425
425
|
var r = this;
|
|
426
|
-
|
|
426
|
+
E(function() {
|
|
427
427
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
428
428
|
r.isStopped = !0;
|
|
429
429
|
for (var n = r.observers; n.length; )
|
|
@@ -445,20 +445,20 @@ var dt = Q(function(t) {
|
|
|
445
445
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
446
446
|
}, e.prototype._innerSubscribe = function(r) {
|
|
447
447
|
var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
|
|
448
|
-
return i || s ?
|
|
449
|
-
n.currentObservers = null,
|
|
448
|
+
return i || s ? X : (this.currentObservers = null, u.push(r), new _(function() {
|
|
449
|
+
n.currentObservers = null, j(u, r);
|
|
450
450
|
}));
|
|
451
451
|
}, e.prototype._checkFinalizedStatuses = function(r) {
|
|
452
452
|
var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
|
|
453
453
|
o ? r.error(i) : s && r.complete();
|
|
454
454
|
}, e.prototype.asObservable = function() {
|
|
455
|
-
var r = new
|
|
455
|
+
var r = new L();
|
|
456
456
|
return r.source = this, r;
|
|
457
457
|
}, e.create = function(r, n) {
|
|
458
|
-
return new
|
|
458
|
+
return new V(r, n);
|
|
459
459
|
}, e;
|
|
460
|
-
}(
|
|
461
|
-
|
|
460
|
+
})(L), V = (function(t) {
|
|
461
|
+
m(e, t);
|
|
462
462
|
function e(r, n) {
|
|
463
463
|
var o = t.call(this) || this;
|
|
464
464
|
return o.destination = r, o.source = n, o;
|
|
@@ -474,10 +474,10 @@ var dt = Q(function(t) {
|
|
|
474
474
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
475
475
|
}, e.prototype._subscribe = function(r) {
|
|
476
476
|
var n, o;
|
|
477
|
-
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o :
|
|
477
|
+
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && o !== void 0 ? o : X;
|
|
478
478
|
}, e;
|
|
479
|
-
}(
|
|
480
|
-
|
|
479
|
+
})(z), gt = (function(t) {
|
|
480
|
+
m(e, t);
|
|
481
481
|
function e(r) {
|
|
482
482
|
var n = t.call(this) || this;
|
|
483
483
|
return n._value = r, n;
|
|
@@ -499,77 +499,77 @@ var dt = Q(function(t) {
|
|
|
499
499
|
}, e.prototype.next = function(r) {
|
|
500
500
|
t.prototype.next.call(this, this._value = r);
|
|
501
501
|
}, e;
|
|
502
|
-
}(
|
|
503
|
-
function
|
|
502
|
+
})(z);
|
|
503
|
+
function Et(t) {
|
|
504
504
|
return t;
|
|
505
505
|
}
|
|
506
506
|
function l(t, e) {
|
|
507
507
|
return (r, n) => {
|
|
508
|
-
const o =
|
|
508
|
+
const o = St(
|
|
509
509
|
r,
|
|
510
510
|
n,
|
|
511
511
|
t,
|
|
512
512
|
e
|
|
513
513
|
);
|
|
514
|
-
o.length === 1 &&
|
|
514
|
+
o.length === 1 && _t(r, o);
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
|
-
const
|
|
518
|
-
function
|
|
519
|
-
let o =
|
|
520
|
-
return o || (o = [],
|
|
517
|
+
const F = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap();
|
|
518
|
+
function St(t, e, r, n) {
|
|
519
|
+
let o = F.get(t);
|
|
520
|
+
return o || (o = [], F.set(t, o)), o.push({
|
|
521
521
|
options: r,
|
|
522
522
|
name: e,
|
|
523
|
-
optionFactory: n.optionFactory ||
|
|
523
|
+
optionFactory: n.optionFactory || Et,
|
|
524
524
|
service: {
|
|
525
525
|
name: n.name,
|
|
526
526
|
method: n.method || "subscribe"
|
|
527
527
|
}
|
|
528
528
|
}), o;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
t.connectedCallback =
|
|
530
|
+
function _t(t, e) {
|
|
531
|
+
t.connectedCallback = et(
|
|
532
532
|
t.connectedCallback,
|
|
533
533
|
e
|
|
534
|
-
), t.componentWillLoad =
|
|
534
|
+
), t.componentWillLoad = Ct(
|
|
535
535
|
t.componentWillLoad,
|
|
536
536
|
e
|
|
537
|
-
), t.componentDidUnload =
|
|
537
|
+
), t.componentDidUnload = U(
|
|
538
538
|
t.componentDidUnload
|
|
539
|
-
), t.disconnectedCallback =
|
|
539
|
+
), t.disconnectedCallback = U(
|
|
540
540
|
t.disconnectedCallback
|
|
541
541
|
);
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function et(t, e) {
|
|
544
544
|
return async function(...r) {
|
|
545
|
-
|
|
546
|
-
const n = new
|
|
547
|
-
|
|
545
|
+
tt.set(this, !0), S.set(this, []), await rt(this);
|
|
546
|
+
const n = new gt(this.context);
|
|
547
|
+
Rt(this, "context", n);
|
|
548
548
|
for (const o of e)
|
|
549
|
-
o.options = o.optionFactory(o.options, this),
|
|
549
|
+
o.options = o.optionFactory(o.options, this), wt(o.options) && (o.options.context = n), At(this, o);
|
|
550
550
|
if (t)
|
|
551
551
|
return t.apply(this, r);
|
|
552
552
|
};
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Ct(t, e) {
|
|
555
555
|
return async function(...r) {
|
|
556
|
-
return
|
|
556
|
+
return tt.get(this) === !0 ? (await rt(this), t ? t.apply(this, r) : void 0) : et(t, e).apply(this, r);
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function U(t) {
|
|
560
560
|
return async function(...e) {
|
|
561
561
|
let r;
|
|
562
|
-
return t && (r = t.apply(this, e)),
|
|
562
|
+
return t && (r = t.apply(this, e)), Ot(this), r;
|
|
563
563
|
};
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function wt(t) {
|
|
566
566
|
return "context" in t;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function rt(t) {
|
|
569
569
|
const e = [];
|
|
570
|
-
return t.platform || e.push(
|
|
570
|
+
return t.platform || e.push(k(t, "platform")), t.context || e.push(k(t, "context")), e.length === 0 ? Promise.resolve() : Promise.all(e);
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function k(t, e) {
|
|
573
573
|
const r = getElement(t);
|
|
574
574
|
return new Promise((n) => {
|
|
575
575
|
Object.defineProperty(r, e, {
|
|
@@ -580,7 +580,7 @@ function V(t, e) {
|
|
|
580
580
|
});
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function Rt(t, e, r) {
|
|
584
584
|
const n = getElement(t), { get: o, set: i } = Object.getOwnPropertyDescriptor(
|
|
585
585
|
Object.getPrototypeOf(n),
|
|
586
586
|
e
|
|
@@ -593,241 +593,371 @@ function _t(t, e, r) {
|
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
|
-
function
|
|
597
|
-
const r =
|
|
596
|
+
function At(t, e) {
|
|
597
|
+
const r = It(t, e);
|
|
598
598
|
if (typeof r != "function")
|
|
599
599
|
return;
|
|
600
|
-
|
|
600
|
+
S.get(t).push(r);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
const e =
|
|
602
|
+
function Ot(t) {
|
|
603
|
+
const e = S.get(t);
|
|
604
604
|
for (const r of e) r();
|
|
605
|
-
|
|
605
|
+
S.set(t, []);
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Pt(t, e) {
|
|
608
608
|
return (r) => {
|
|
609
609
|
t[e] = r;
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function It(t, e) {
|
|
613
613
|
const r = { ...e.options };
|
|
614
|
-
|
|
614
|
+
jt(r, t);
|
|
615
615
|
const n = e.service.name, o = t.platform;
|
|
616
616
|
if (!o.has(n))
|
|
617
617
|
throw new Error(`Service ${n} does not exist`);
|
|
618
618
|
return o.get(n)[e.service.method](
|
|
619
|
-
|
|
619
|
+
Pt(t, e.name),
|
|
620
620
|
r
|
|
621
621
|
);
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function jt(t, e) {
|
|
624
624
|
t.filter && (t.filter = t.filter.map((r) => r.bind(e))), t.map && (t.map = t.map.map((r) => r.bind(e)));
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Ze(t = {}) {
|
|
627
627
|
const e = {
|
|
628
628
|
name: c.LimeTypeRepository
|
|
629
629
|
};
|
|
630
630
|
return l(t, e);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function ze(t = {}) {
|
|
633
633
|
const e = {
|
|
634
634
|
name: c.LimeTypeRepository
|
|
635
635
|
};
|
|
636
|
-
return t.map = [
|
|
636
|
+
return t.map = [xt, ...t.map || []], t.context = null, l(t, e);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function xt(t) {
|
|
639
639
|
const { limetype: e } = this.context;
|
|
640
640
|
return t[e];
|
|
641
641
|
}
|
|
642
|
-
const
|
|
643
|
-
c.LimeObjectRepository =
|
|
644
|
-
function
|
|
642
|
+
const Mt = "state.limeobjects";
|
|
643
|
+
c.LimeObjectRepository = Mt;
|
|
644
|
+
function ir(t = {}) {
|
|
645
645
|
const e = {
|
|
646
646
|
name: c.LimeObjectRepository
|
|
647
647
|
};
|
|
648
|
-
return t.map = [
|
|
648
|
+
return t.map = [Nt, ...t.map || []], t.context = null, l(t, e);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Nt(t) {
|
|
651
651
|
const { limetype: e, id: r } = this.context;
|
|
652
652
|
if (t[e])
|
|
653
653
|
return t[e].find((n) => n.id === r);
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function d(t) {
|
|
656
656
|
return (e) => {
|
|
657
|
-
|
|
657
|
+
Lt(e, t.id), Tt(e, t.id);
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Lt(t, e) {
|
|
661
661
|
t.commandId = e;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Tt(t, e) {
|
|
664
664
|
Object.defineProperty(t, Symbol.hasInstance, {
|
|
665
|
-
value: (r) =>
|
|
665
|
+
value: (r) => Ft(r).includes(e)
|
|
666
666
|
});
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function Vt(t) {
|
|
669
669
|
return typeof t == "string" ? t : t && t.constructor && t.constructor.commandId ? t.constructor.commandId : t && t.commandId ? t.commandId : null;
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function Ft(t) {
|
|
672
672
|
let e = [], r, n = t;
|
|
673
|
-
for (; r =
|
|
673
|
+
for (; r = Vt(n); )
|
|
674
674
|
e = [...e, r], n = Object.getPrototypeOf(n);
|
|
675
675
|
return [...new Set(e)];
|
|
676
676
|
}
|
|
677
|
-
const
|
|
678
|
-
c.CommandBus =
|
|
679
|
-
var
|
|
680
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
677
|
+
const Ut = "commandBus";
|
|
678
|
+
c.CommandBus = Ut;
|
|
679
|
+
var kt = Object.getOwnPropertyDescriptor, Bt = (t, e, r, n) => {
|
|
680
|
+
for (var o = n > 1 ? void 0 : n ? kt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
681
681
|
(s = t[i]) && (o = s(o) || o);
|
|
682
682
|
return o;
|
|
683
683
|
};
|
|
684
|
-
const
|
|
685
|
-
let
|
|
684
|
+
const Ht = "limeobject.bulk-create-dialog";
|
|
685
|
+
let B = class {
|
|
686
|
+
context;
|
|
687
|
+
/**
|
|
688
|
+
* A query describing what limeobjects to create new limeobjects from. Each object from the result will result in a
|
|
689
|
+
* new related limeobject to be created
|
|
690
|
+
*/
|
|
691
|
+
filter;
|
|
692
|
+
/**
|
|
693
|
+
* The name of the relation on the limetype to create objects of
|
|
694
|
+
*/
|
|
695
|
+
relation;
|
|
686
696
|
};
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
id:
|
|
697
|
+
B = Bt([
|
|
698
|
+
d({
|
|
699
|
+
id: Ht
|
|
690
700
|
})
|
|
691
|
-
],
|
|
692
|
-
var
|
|
693
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
701
|
+
], B);
|
|
702
|
+
var Wt = Object.getOwnPropertyDescriptor, Gt = (t, e, r, n) => {
|
|
703
|
+
for (var o = n > 1 ? void 0 : n ? Wt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
694
704
|
(s = t[i]) && (o = s(o) || o);
|
|
695
705
|
return o;
|
|
696
706
|
};
|
|
697
|
-
const
|
|
698
|
-
let
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
707
|
+
const Qt = "limeobject.create-dialog";
|
|
708
|
+
let H = class {
|
|
709
|
+
/**
|
|
710
|
+
* The limetype of the object to create
|
|
711
|
+
*/
|
|
712
|
+
limetype;
|
|
713
|
+
/**
|
|
714
|
+
* Default data to populate the form with
|
|
715
|
+
*/
|
|
716
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
717
|
+
limeobject;
|
|
718
|
+
/**
|
|
719
|
+
* Specifies if routing to limeobject should be done after confirmation
|
|
720
|
+
*/
|
|
721
|
+
route = !1;
|
|
722
|
+
/*
|
|
723
|
+
* Title of the dialog
|
|
724
|
+
*/
|
|
725
|
+
title;
|
|
726
|
+
/*
|
|
727
|
+
* Subtitle of the dialog
|
|
728
|
+
*/
|
|
729
|
+
subtitle;
|
|
730
|
+
/*
|
|
731
|
+
* Current context
|
|
732
|
+
*/
|
|
733
|
+
context;
|
|
734
|
+
/**
|
|
735
|
+
* When `context` is used, this is the name of the relation on the
|
|
736
|
+
* reference {@link LimeObject} to use when auto attaching the new object.
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
739
|
+
autoAttachRelation;
|
|
740
|
+
/**
|
|
741
|
+
* Specifies any command that can be used to save the result of the dialog.
|
|
742
|
+
* If not specified, it will default to the {@link SaveLimeObjectCommand}
|
|
743
|
+
*/
|
|
744
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
745
|
+
saveCommand;
|
|
702
746
|
};
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
id:
|
|
747
|
+
H = Gt([
|
|
748
|
+
d({
|
|
749
|
+
id: Qt
|
|
706
750
|
})
|
|
707
|
-
],
|
|
708
|
-
var
|
|
709
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
751
|
+
], H);
|
|
752
|
+
var Yt = Object.getOwnPropertyDescriptor, qt = (t, e, r, n) => {
|
|
753
|
+
for (var o = n > 1 ? void 0 : n ? Yt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
710
754
|
(s = t[i]) && (o = s(o) || o);
|
|
711
755
|
return o;
|
|
712
756
|
};
|
|
713
|
-
const
|
|
714
|
-
let
|
|
757
|
+
const Kt = "limeobject.delete-object";
|
|
758
|
+
let W = class {
|
|
759
|
+
context;
|
|
715
760
|
};
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
id:
|
|
761
|
+
W = qt([
|
|
762
|
+
d({
|
|
763
|
+
id: Kt
|
|
719
764
|
})
|
|
720
|
-
],
|
|
721
|
-
var
|
|
722
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
765
|
+
], W);
|
|
766
|
+
var Xt = Object.getOwnPropertyDescriptor, Jt = (t, e, r, n) => {
|
|
767
|
+
for (var o = n > 1 ? void 0 : n ? Xt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
723
768
|
(s = t[i]) && (o = s(o) || o);
|
|
724
769
|
return o;
|
|
725
770
|
};
|
|
726
|
-
const
|
|
727
|
-
let
|
|
771
|
+
const Zt = "limeobject.object-access";
|
|
772
|
+
let G = class {
|
|
773
|
+
context;
|
|
728
774
|
};
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
id:
|
|
775
|
+
G = Jt([
|
|
776
|
+
d({
|
|
777
|
+
id: Zt
|
|
732
778
|
})
|
|
733
|
-
],
|
|
734
|
-
var
|
|
735
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
779
|
+
], G);
|
|
780
|
+
var zt = Object.getOwnPropertyDescriptor, te = (t, e, r, n) => {
|
|
781
|
+
for (var o = n > 1 ? void 0 : n ? zt(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
736
782
|
(s = t[i]) && (o = s(o) || o);
|
|
737
783
|
return o;
|
|
738
784
|
};
|
|
739
|
-
const
|
|
740
|
-
let
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
785
|
+
const ee = "limeobject.save-object";
|
|
786
|
+
let Q = class {
|
|
787
|
+
context;
|
|
788
|
+
/**
|
|
789
|
+
* The limeobject to save
|
|
790
|
+
*/
|
|
791
|
+
limeobject;
|
|
792
|
+
/**
|
|
793
|
+
* Specifies if routing to limeobject should be done after confirmation
|
|
794
|
+
*/
|
|
795
|
+
route = !1;
|
|
796
|
+
/**
|
|
797
|
+
* @beta
|
|
798
|
+
* Specifies an optional save label to be displayed in the create-object dialog
|
|
799
|
+
*/
|
|
800
|
+
label;
|
|
744
801
|
};
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
id:
|
|
802
|
+
Q = te([
|
|
803
|
+
d({
|
|
804
|
+
id: ee
|
|
748
805
|
})
|
|
749
|
-
],
|
|
750
|
-
var
|
|
751
|
-
const
|
|
806
|
+
], Q);
|
|
807
|
+
var re = /* @__PURE__ */ ((t) => (t.AND = "AND", t.OR = "OR", t.NOT = "!", t.EQUALS = "=", t.NOT_EQUALS = "!=", t.GREATER = ">", t.LESS = "<", t.IN = "IN", t.BEGINS = "=?", t.LIKE = "?", t.LESS_OR_EQUAL = "<=", t.GREATER_OR_EQUAL = ">=", t.ENDS = "=$", t))(re || {});
|
|
808
|
+
const sr = {
|
|
752
809
|
Count: "COUNT",
|
|
753
810
|
Sum: "SUM",
|
|
754
811
|
Average: "AVG",
|
|
755
812
|
Maximum: "MAX",
|
|
756
813
|
Minimum: "MIN"
|
|
757
|
-
},
|
|
758
|
-
c.Query =
|
|
759
|
-
const
|
|
814
|
+
}, ne = "query";
|
|
815
|
+
c.Query = ne;
|
|
816
|
+
const cr = {
|
|
760
817
|
Get: "GET",
|
|
761
818
|
Post: "POST",
|
|
762
819
|
Put: "PUT",
|
|
763
820
|
Delete: "DELETE",
|
|
764
821
|
Patch: "PATCH"
|
|
765
|
-
},
|
|
766
|
-
c.Http =
|
|
767
|
-
const
|
|
768
|
-
c.EventDispatcher =
|
|
769
|
-
const
|
|
770
|
-
c.Translate =
|
|
771
|
-
const
|
|
772
|
-
c.Dialog =
|
|
773
|
-
const
|
|
774
|
-
c.KeybindingRegistry =
|
|
775
|
-
const
|
|
776
|
-
c.Navigator =
|
|
777
|
-
var
|
|
778
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
822
|
+
}, oe = "http";
|
|
823
|
+
c.Http = oe;
|
|
824
|
+
const ie = "eventDispatcher";
|
|
825
|
+
c.EventDispatcher = ie;
|
|
826
|
+
const se = "translate";
|
|
827
|
+
c.Translate = se;
|
|
828
|
+
const ce = "dialog";
|
|
829
|
+
c.Dialog = ce;
|
|
830
|
+
const ue = "keybindingRegistry";
|
|
831
|
+
c.KeybindingRegistry = ue;
|
|
832
|
+
const ae = "navigator";
|
|
833
|
+
c.Navigator = ae;
|
|
834
|
+
var le = Object.getOwnPropertyDescriptor, fe = (t, e, r, n) => {
|
|
835
|
+
for (var o = n > 1 ? void 0 : n ? le(e, r) : e, i = t.length - 1, s; i >= 0; i--)
|
|
779
836
|
(s = t[i]) && (o = s(o) || o);
|
|
780
837
|
return o;
|
|
781
838
|
};
|
|
782
|
-
const
|
|
783
|
-
let
|
|
839
|
+
const pe = "navigator.navigate";
|
|
840
|
+
let Y = class {
|
|
841
|
+
path;
|
|
842
|
+
query;
|
|
843
|
+
hash;
|
|
844
|
+
state;
|
|
784
845
|
};
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
id:
|
|
846
|
+
Y = fe([
|
|
847
|
+
d({
|
|
848
|
+
id: pe
|
|
788
849
|
})
|
|
789
|
-
],
|
|
790
|
-
const
|
|
791
|
-
c.Notification =
|
|
792
|
-
const
|
|
793
|
-
c.RouteRegistry =
|
|
794
|
-
const
|
|
795
|
-
c.TaskRepository =
|
|
796
|
-
const
|
|
797
|
-
c.ConfigRepository =
|
|
798
|
-
function
|
|
850
|
+
], Y);
|
|
851
|
+
const he = "notifications";
|
|
852
|
+
c.Notification = he;
|
|
853
|
+
const de = "routeRegistry";
|
|
854
|
+
c.RouteRegistry = de;
|
|
855
|
+
const be = "state.tasks";
|
|
856
|
+
c.TaskRepository = be;
|
|
857
|
+
const ve = "state.configs";
|
|
858
|
+
c.ConfigRepository = ve;
|
|
859
|
+
function ar(t) {
|
|
799
860
|
const e = {
|
|
800
861
|
name: c.ConfigRepository
|
|
801
862
|
};
|
|
802
863
|
return l(t, e);
|
|
803
864
|
}
|
|
804
|
-
const
|
|
805
|
-
c.Device =
|
|
806
|
-
const
|
|
807
|
-
c.FilterRepository =
|
|
808
|
-
function
|
|
865
|
+
const ge = "state.device";
|
|
866
|
+
c.Device = ge;
|
|
867
|
+
const Ee = "state.filters";
|
|
868
|
+
c.FilterRepository = Ee;
|
|
869
|
+
function fr(t = {}) {
|
|
809
870
|
const e = {
|
|
810
871
|
name: c.FilterRepository
|
|
811
872
|
};
|
|
812
873
|
return l(t, e);
|
|
813
874
|
}
|
|
814
|
-
const
|
|
815
|
-
c.UserDataRepository =
|
|
816
|
-
const
|
|
817
|
-
c.Application =
|
|
818
|
-
const
|
|
819
|
-
c.UserPreferencesRepository =
|
|
820
|
-
const
|
|
821
|
-
c.DateTimeFormatter =
|
|
822
|
-
const
|
|
823
|
-
c.ConditionRegistry =
|
|
824
|
-
const
|
|
825
|
-
c.ViewFactoryRegistry =
|
|
826
|
-
const
|
|
827
|
-
c.WebComponentRegistry =
|
|
828
|
-
const
|
|
829
|
-
c.NotificationRepository =
|
|
830
|
-
const
|
|
831
|
-
c.PollerFactory =
|
|
875
|
+
const Se = "state.user-data";
|
|
876
|
+
c.UserDataRepository = Se;
|
|
877
|
+
const _e = "state.application";
|
|
878
|
+
c.Application = _e;
|
|
879
|
+
const Ae = "userPreferences";
|
|
880
|
+
c.UserPreferencesRepository = Ae;
|
|
881
|
+
const Oe = "datetimeformatter";
|
|
882
|
+
c.DateTimeFormatter = Oe;
|
|
883
|
+
const Pe = "conditionRegistry";
|
|
884
|
+
c.ConditionRegistry = Pe;
|
|
885
|
+
const Ie = "viewFactoryRegistry";
|
|
886
|
+
c.ViewFactoryRegistry = Ie;
|
|
887
|
+
const je = "webComponentRegistry";
|
|
888
|
+
c.WebComponentRegistry = je;
|
|
889
|
+
const xe = "state.notifications";
|
|
890
|
+
c.NotificationRepository = xe;
|
|
891
|
+
const Me = "pollerFactory";
|
|
892
|
+
c.PollerFactory = Me;
|
|
893
|
+
const Ne = "logger";
|
|
894
|
+
c.Logger = Ne;
|
|
895
|
+
let h, g;
|
|
896
|
+
function De(t) {
|
|
897
|
+
const e = window.Lime?.logger?.createLogger;
|
|
898
|
+
return typeof e != "function" ? (console.warn(
|
|
899
|
+
`Logger factory is not configured. Returning console logger for scope "${t}".`
|
|
900
|
+
), console) : (g === void 0 && (g = Te($e())), g && (t = `${g}:${t}`), e(t));
|
|
901
|
+
}
|
|
902
|
+
function $e() {
|
|
903
|
+
return h !== void 0 ? h : import.meta !== void 0 && typeof import.meta.url == "string" ? (h = import.meta.url, h) : (h = Le(), h);
|
|
904
|
+
}
|
|
905
|
+
function Le() {
|
|
906
|
+
try {
|
|
907
|
+
const t = new Error(".").stack;
|
|
908
|
+
if (!t)
|
|
909
|
+
return null;
|
|
910
|
+
const e = t.split(`
|
|
911
|
+
`);
|
|
912
|
+
for (const r of e) {
|
|
913
|
+
const n = r.match(/(https?:\/\/[^)\s:]+)/);
|
|
914
|
+
if (n)
|
|
915
|
+
return n[1];
|
|
916
|
+
}
|
|
917
|
+
return null;
|
|
918
|
+
} catch {
|
|
919
|
+
return null;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
function Te(t) {
|
|
923
|
+
if (!t) return null;
|
|
924
|
+
const e = Ve(t) || Fe(t) || Ue(t) || ke(t);
|
|
925
|
+
return e || null;
|
|
926
|
+
}
|
|
927
|
+
function Ve(t) {
|
|
928
|
+
const e = /\/([^/]+)-lwc-components\//, r = t.match(e);
|
|
929
|
+
return r ? r[1] : null;
|
|
930
|
+
}
|
|
931
|
+
function Fe(t) {
|
|
932
|
+
const e = /\/packages\/(?:@[^/]+\/)?([^/]+)/, r = t.match(e);
|
|
933
|
+
return r ? r[1] : null;
|
|
934
|
+
}
|
|
935
|
+
function Ue(t) {
|
|
936
|
+
const e = t.indexOf("+");
|
|
937
|
+
if (e === -1)
|
|
938
|
+
return null;
|
|
939
|
+
const r = t.slice(0, e), n = r.lastIndexOf("/");
|
|
940
|
+
return n === -1 ? null : r.slice(n + 1);
|
|
941
|
+
}
|
|
942
|
+
function ke(t) {
|
|
943
|
+
const e = /\/static\/([^/]+)\//, r = t.match(e);
|
|
944
|
+
return r ? r[1] : null;
|
|
945
|
+
}
|
|
946
|
+
const Be = "problemRepository";
|
|
947
|
+
c.ProblemRepository = Be;
|
|
948
|
+
const He = "aiContextRegistry";
|
|
949
|
+
c.AIContextRegistry = He;
|
|
950
|
+
let R = null;
|
|
951
|
+
function We(t, e) {
|
|
952
|
+
R || (R = De("uncaught-error"));
|
|
953
|
+
const r = {};
|
|
954
|
+
e && (r.element = e.tagName, e.id && (r.elementId = e.id));
|
|
955
|
+
const n = t instanceof Error ? t.message : String(t), o = t instanceof Error ? t : void 0;
|
|
956
|
+
R.error(n, o, r);
|
|
957
|
+
}
|
|
958
|
+
try {
|
|
959
|
+
setErrorHandler(We);
|
|
960
|
+
} catch {
|
|
961
|
+
}
|
|
832
962
|
|
|
833
|
-
export {
|
|
963
|
+
export { Ye as Y, Ze as Z, ar as a, cr as b, c, d, fr as f, ir as i, qe as q, re as r, sr as s, ze as z };
|