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