@limetech/lime-crm-building-blocks 1.126.0 → 1.126.2
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.esm-QC7n_5ug.js → index.esm-C1i_NocP.js} +274 -217
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/{lime-query-validation-Djq87Kvd.js → lime-query-validation-DOruuzFE.js} +7 -7
- package/dist/cjs/limebb-browser.cjs.entry.js +1 -1
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +1 -1
- package/dist/cjs/limebb-chat-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-config.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-data-cells.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +8 -8
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +6 -6
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +17 -17
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +11 -11
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +3 -3
- package/dist/cjs/limebb-loader.cjs.entry.js +1 -1
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-property-selector.cjs.entry.js +3 -3
- package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +6 -4
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +21 -18
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +2 -2
- package/dist/cjs/limebb-text-editor.cjs.entry.js +5 -5
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/{limetype-C1krEdDi.js → limetype-BlG0Apxb.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +6 -4
- package/dist/collection/components/rule-editor/rule-editor.js +14 -14
- package/dist/collection/components/rule-editor/view-helpers.js +14 -11
- package/dist/collection/components/rule-gate/rule-gate.js +6 -6
- package/dist/components/chat-item.js +1 -1
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-builder.js +1 -1
- package/dist/components/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +1 -1
- package/dist/components/lime-query-validation.js +1 -1
- package/dist/components/lime-query-value-input.js +1 -1
- package/dist/components/limebb-browser.js +1 -1
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-component-config.js +1 -1
- package/dist/components/limebb-component-picker.js +1 -1
- package/dist/components/limebb-composer-toolbar.js +1 -1
- package/dist/components/limebb-data-cells.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +1 -1
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
- package/dist/components/limebb-limeobject-file-viewer.js +1 -1
- package/dist/components/limebb-loader.js +1 -1
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention.js +1 -1
- package/dist/components/limebb-notification-list.js +1 -1
- package/dist/components/limebb-object-chip.js +1 -1
- package/dist/components/limebb-rule-editor.js +1 -1
- package/dist/components/limebb-rule-gate.js +1 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/notification-item.js +1 -1
- package/dist/components/percentage-visualizer.js +1 -1
- package/dist/components/property-selector.js +1 -1
- package/dist/components/rule-chip-popover.js +1 -1
- package/dist/esm/{index.esm-EC5zE5lw.js → index.esm-CMeGYws2.js} +267 -210
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/{lime-query-validation-Dav-tsNr.js → lime-query-validation-DvCLebd2.js} +7 -7
- package/dist/esm/limebb-browser.entry.js +1 -1
- package/dist/esm/limebb-chat-icon-list_3.entry.js +1 -1
- package/dist/esm/limebb-chat-list.entry.js +1 -1
- package/dist/esm/limebb-component-config.entry.js +1 -1
- package/dist/esm/limebb-component-picker.entry.js +1 -1
- package/dist/esm/limebb-composer-toolbar.entry.js +1 -1
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-data-cells.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +8 -8
- package/dist/esm/limebb-kanban-group.entry.js +2 -2
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +6 -6
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +17 -17
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +11 -11
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +3 -3
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +3 -3
- package/dist/esm/limebb-loader.entry.js +1 -1
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-mention.entry.js +1 -1
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-notification-list.entry.js +1 -1
- package/dist/esm/limebb-object-chip.entry.js +3 -3
- package/dist/esm/limebb-percentage-visualizer.entry.js +1 -1
- package/dist/esm/limebb-property-selector.entry.js +3 -3
- package/dist/esm/limebb-rule-chip-popover.entry.js +6 -4
- package/dist/esm/limebb-rule-editor.entry.js +21 -18
- package/dist/esm/limebb-rule-gate.entry.js +2 -2
- package/dist/esm/limebb-text-editor.entry.js +5 -5
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/{limetype-COL4hyNy.js → limetype-DvPoeXt-.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-7d51a34c.entry.js → p-006b6449.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c469db7e.entry.js → p-10ddd002.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-277b6ad4.entry.js → p-1955495c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-11494f30.entry.js → p-25234f4b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-abcb1e49.entry.js → p-2a05b949.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-30778dac.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-1797622d.entry.js → p-47799e80.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fd6dcfe3.entry.js → p-49b8a9ca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6093254e.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-b8d9ff68.entry.js → p-610dae2e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-62b247c1.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-65ea94b4.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-dd38e0ba.entry.js → p-7975c91f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c4f41ec4.entry.js → p-7ace2e41.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8084e825.entry.js → p-89170cc9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3781a766.entry.js → p-92738a30.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-71a6f624.entry.js → p-99054b73.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f09c7244.entry.js → p-993991af.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f0a567f3.entry.js → p-99790629.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-74455a30.entry.js → p-9ccd9d7f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f5244a1a.entry.js → p-9f03e766.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-CAMipqwt.js → p-CI7dwT4T.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-C25FPZQh.js → p-CYiNR7pQ.js} +1 -1
- package/dist/lime-crm-building-blocks/p-D5qhls4G.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8d6cc027.entry.js → p-a3439b73.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6ada2b2b.entry.js → p-a634c792.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b1a8d1a0.entry.js → p-b978301b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-43a7facd.entry.js → p-beae8aa1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e6ed33ff.entry.js → p-c3a72b03.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6d3a9ed3.entry.js → p-c43dc121.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7a125570.entry.js → p-d026068f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d1c61830.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-057e1638.entry.js → p-d33efebb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-24fc049c.entry.js → p-e1e1e2d1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c139ab98.entry.js → p-e468e359.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-35c72752.entry.js → p-ea461bb7.entry.js} +1 -1
- package/dist/types/components/rule-editor/rule-editor.d.ts +5 -5
- package/dist/types/components/rule-editor/view-helpers.d.ts +7 -3
- package/dist/types/components/rule-gate/rule-gate.d.ts +2 -2
- package/dist/types/components.d.ts +12 -12
- package/package.json +4 -5
- package/dist/lime-crm-building-blocks/p-1831e571.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-3313e357.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7922726c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-BeLcuSg8.js +0 -1
- package/dist/lime-crm-building-blocks/p-cefb24bb.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-e717bdff.entry.js +0 -1
|
@@ -19,23 +19,98 @@ function a(e) {
|
|
|
19
19
|
//#region src/limetype/types.ts
|
|
20
20
|
n.LimeTypeRepository = "state.limetypes";
|
|
21
21
|
//#endregion
|
|
22
|
+
//#region src/internal/find-descriptor.ts
|
|
23
|
+
function l(e, t) {
|
|
24
|
+
let n = e;
|
|
25
|
+
for (; n;) {
|
|
26
|
+
let e = Object.getOwnPropertyDescriptor(n, t);
|
|
27
|
+
if (e) return e;
|
|
28
|
+
n = Object.getPrototypeOf(n);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/internal/context-request.ts
|
|
33
|
+
var u = "context-request";
|
|
34
|
+
function d(e, t) {
|
|
35
|
+
let n, r = {
|
|
36
|
+
context: t,
|
|
37
|
+
callback: (e) => {
|
|
38
|
+
n = e;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
return e.dispatchEvent(new CustomEvent(u, {
|
|
42
|
+
bubbles: true,
|
|
43
|
+
composed: true,
|
|
44
|
+
detail: r
|
|
45
|
+
})), n;
|
|
46
|
+
}
|
|
47
|
+
function ee(e, t, n) {
|
|
48
|
+
let r, i = {
|
|
49
|
+
context: t,
|
|
50
|
+
subscribe: true,
|
|
51
|
+
callback: (e, t) => {
|
|
52
|
+
n(e), t && (r = t);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return e.dispatchEvent(new CustomEvent(u, {
|
|
56
|
+
bubbles: true,
|
|
57
|
+
composed: true,
|
|
58
|
+
detail: i
|
|
59
|
+
})), () => r?.();
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/internal/resolve-platform.ts
|
|
63
|
+
function f(t) {
|
|
64
|
+
if (t.platform) return t.platform;
|
|
65
|
+
let n = d(getElement(t), "platform");
|
|
66
|
+
if (!n) throw Error("Platform not available. Set the @Prop() platform value or provide it via ContextRegistry.provide('platform', ...) at boot.");
|
|
67
|
+
return n;
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/internal/resolve-context.ts
|
|
71
|
+
var p = "context";
|
|
72
|
+
function m(t) {
|
|
73
|
+
return t.context ? t.context : d(getElement(t), p);
|
|
74
|
+
}
|
|
75
|
+
function te(t, n) {
|
|
76
|
+
let r = getElement(t);
|
|
77
|
+
return p in r ? ne(r, n) : ee(r, p, n);
|
|
78
|
+
}
|
|
79
|
+
function ne(e, t) {
|
|
80
|
+
let n = Object.getOwnPropertyDescriptor(e, p), r = l(e, p);
|
|
81
|
+
return t(r?.get?.call(e)), Object.defineProperty(e, p, {
|
|
82
|
+
configurable: true,
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: () => r?.get?.call(e),
|
|
85
|
+
set: (n) => {
|
|
86
|
+
r?.set?.call(e, n), t(n);
|
|
87
|
+
}
|
|
88
|
+
}), () => {
|
|
89
|
+
if (n) {
|
|
90
|
+
Object.defineProperty(e, p, n);
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
Reflect.deleteProperty(e, p);
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
//#endregion
|
|
22
97
|
//#region node_modules/tslib/tslib.es6.mjs
|
|
23
|
-
var
|
|
24
|
-
return
|
|
98
|
+
var h = function(e, t) {
|
|
99
|
+
return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
25
100
|
e.__proto__ = t;
|
|
26
101
|
} || function(e, t) {
|
|
27
102
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
28
|
-
},
|
|
103
|
+
}, h(e, t);
|
|
29
104
|
};
|
|
30
|
-
function
|
|
105
|
+
function g(e, t) {
|
|
31
106
|
if (typeof t != "function" && t !== null) throw TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
32
|
-
|
|
107
|
+
h(e, t);
|
|
33
108
|
function n() {
|
|
34
109
|
this.constructor = e;
|
|
35
110
|
}
|
|
36
111
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
37
112
|
}
|
|
38
|
-
function
|
|
113
|
+
function _(e) {
|
|
39
114
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
40
115
|
if (n) return n.call(e);
|
|
41
116
|
if (e && typeof e.length == "number") return { next: function() {
|
|
@@ -46,7 +121,7 @@ function d(e) {
|
|
|
46
121
|
} };
|
|
47
122
|
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
48
123
|
}
|
|
49
|
-
function
|
|
124
|
+
function v(e, t) {
|
|
50
125
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
51
126
|
if (!n) return e;
|
|
52
127
|
var r = n.call(e), i, a = [], o;
|
|
@@ -63,18 +138,18 @@ function f(e, t) {
|
|
|
63
138
|
}
|
|
64
139
|
return a;
|
|
65
140
|
}
|
|
66
|
-
function
|
|
141
|
+
function y(e, t, n) {
|
|
67
142
|
if (arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
68
143
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
69
144
|
}
|
|
70
145
|
//#endregion
|
|
71
146
|
//#region node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
72
|
-
function
|
|
147
|
+
function b(e) {
|
|
73
148
|
return typeof e == "function";
|
|
74
149
|
}
|
|
75
150
|
//#endregion
|
|
76
151
|
//#region node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
77
|
-
function
|
|
152
|
+
function re(e) {
|
|
78
153
|
var t = e(function(e) {
|
|
79
154
|
Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
|
|
80
155
|
});
|
|
@@ -82,7 +157,7 @@ function h(e) {
|
|
|
82
157
|
}
|
|
83
158
|
//#endregion
|
|
84
159
|
//#region node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
85
|
-
var
|
|
160
|
+
var x = re(function(e) {
|
|
86
161
|
return function(t) {
|
|
87
162
|
e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
|
|
88
163
|
return t + 1 + ") " + e.toString();
|
|
@@ -91,7 +166,7 @@ var g = h(function(e) {
|
|
|
91
166
|
});
|
|
92
167
|
//#endregion
|
|
93
168
|
//#region node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
94
|
-
function
|
|
169
|
+
function S(e, t) {
|
|
95
170
|
if (e) {
|
|
96
171
|
var n = e.indexOf(t);
|
|
97
172
|
0 <= n && e.splice(n, 1);
|
|
@@ -99,7 +174,7 @@ function _(e, t) {
|
|
|
99
174
|
}
|
|
100
175
|
//#endregion
|
|
101
176
|
//#region node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
102
|
-
var
|
|
177
|
+
var C = function() {
|
|
103
178
|
function e(e) {
|
|
104
179
|
this.initialTeardown = e, this.closed = false, this._parentage = null, this._finalizers = null;
|
|
105
180
|
}
|
|
@@ -109,7 +184,7 @@ var v = function() {
|
|
|
109
184
|
this.closed = true;
|
|
110
185
|
var a = this._parentage;
|
|
111
186
|
if (a) if (this._parentage = null, Array.isArray(a)) try {
|
|
112
|
-
for (var o =
|
|
187
|
+
for (var o = _(a), s = o.next(); !s.done; s = o.next()) s.value.remove(this);
|
|
113
188
|
} catch (t) {
|
|
114
189
|
e = { error: t };
|
|
115
190
|
} finally {
|
|
@@ -121,37 +196,37 @@ var v = function() {
|
|
|
121
196
|
}
|
|
122
197
|
else a.remove(this);
|
|
123
198
|
var c = this.initialTeardown;
|
|
124
|
-
if (
|
|
199
|
+
if (b(c)) try {
|
|
125
200
|
c();
|
|
126
201
|
} catch (e) {
|
|
127
|
-
i = e instanceof
|
|
202
|
+
i = e instanceof x ? e.errors : [e];
|
|
128
203
|
}
|
|
129
204
|
var l = this._finalizers;
|
|
130
205
|
if (l) {
|
|
131
206
|
this._finalizers = null;
|
|
132
207
|
try {
|
|
133
|
-
for (var u =
|
|
134
|
-
var
|
|
208
|
+
for (var u = _(l), d = u.next(); !d.done; d = u.next()) {
|
|
209
|
+
var ee = d.value;
|
|
135
210
|
try {
|
|
136
|
-
|
|
211
|
+
ae(ee);
|
|
137
212
|
} catch (e) {
|
|
138
|
-
i ??= [], e instanceof
|
|
213
|
+
i ??= [], e instanceof x ? i = y(y([], v(i)), v(e.errors)) : i.push(e);
|
|
139
214
|
}
|
|
140
215
|
}
|
|
141
216
|
} catch (e) {
|
|
142
217
|
n = { error: e };
|
|
143
218
|
} finally {
|
|
144
219
|
try {
|
|
145
|
-
|
|
220
|
+
d && !d.done && (r = u.return) && r.call(u);
|
|
146
221
|
} finally {
|
|
147
222
|
if (n) throw n.error;
|
|
148
223
|
}
|
|
149
224
|
}
|
|
150
225
|
}
|
|
151
|
-
if (i) throw new
|
|
226
|
+
if (i) throw new x(i);
|
|
152
227
|
}
|
|
153
228
|
}, e.prototype.add = function(t) {
|
|
154
|
-
if (t && t !== this) if (this.closed)
|
|
229
|
+
if (t && t !== this) if (this.closed) ae(t);
|
|
155
230
|
else {
|
|
156
231
|
if (t instanceof e) {
|
|
157
232
|
if (t.closed || t._hasParent(this)) return;
|
|
@@ -167,28 +242,28 @@ var v = function() {
|
|
|
167
242
|
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
168
243
|
}, e.prototype._removeParent = function(e) {
|
|
169
244
|
var t = this._parentage;
|
|
170
|
-
t === e ? this._parentage = null : Array.isArray(t) &&
|
|
245
|
+
t === e ? this._parentage = null : Array.isArray(t) && S(t, e);
|
|
171
246
|
}, e.prototype.remove = function(t) {
|
|
172
247
|
var n = this._finalizers;
|
|
173
|
-
n &&
|
|
248
|
+
n && S(n, t), t instanceof e && t._removeParent(this);
|
|
174
249
|
}, e.EMPTY = (function() {
|
|
175
250
|
var t = new e();
|
|
176
251
|
return t.closed = true, t;
|
|
177
252
|
})(), e;
|
|
178
|
-
}(),
|
|
179
|
-
function
|
|
180
|
-
return e instanceof
|
|
253
|
+
}(), w = C.EMPTY;
|
|
254
|
+
function ie(e) {
|
|
255
|
+
return e instanceof C || e && "closed" in e && b(e.remove) && b(e.add) && b(e.unsubscribe);
|
|
181
256
|
}
|
|
182
|
-
function
|
|
183
|
-
|
|
257
|
+
function ae(e) {
|
|
258
|
+
b(e) ? e() : e.unsubscribe();
|
|
184
259
|
}
|
|
185
260
|
//#endregion
|
|
186
261
|
//#region node_modules/rxjs/dist/esm5/internal/config.js
|
|
187
|
-
var
|
|
188
|
-
Promise: void 0},
|
|
262
|
+
var T = {
|
|
263
|
+
Promise: void 0}, E = {
|
|
189
264
|
setTimeout: function(e, t) {
|
|
190
265
|
var n = [...arguments].slice(2);
|
|
191
|
-
return setTimeout.apply(void 0,
|
|
266
|
+
return setTimeout.apply(void 0, y([e, t], v(n)));
|
|
192
267
|
},
|
|
193
268
|
clearTimeout: function(e) {
|
|
194
269
|
return (clearTimeout)(e);
|
|
@@ -197,33 +272,33 @@ var x = {
|
|
|
197
272
|
};
|
|
198
273
|
//#endregion
|
|
199
274
|
//#region node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
200
|
-
function
|
|
201
|
-
|
|
275
|
+
function oe(e) {
|
|
276
|
+
E.setTimeout(function() {
|
|
202
277
|
throw e;
|
|
203
278
|
});
|
|
204
279
|
}
|
|
205
280
|
//#endregion
|
|
206
281
|
//#region node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
207
|
-
function
|
|
208
|
-
function
|
|
282
|
+
function D() {}
|
|
283
|
+
function A(e) {
|
|
209
284
|
e();
|
|
210
285
|
}
|
|
211
286
|
//#endregion
|
|
212
287
|
//#region node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
213
|
-
var
|
|
214
|
-
|
|
288
|
+
var de = function(e) {
|
|
289
|
+
g(t, e);
|
|
215
290
|
function t(t) {
|
|
216
291
|
var n = e.call(this) || this;
|
|
217
|
-
return n.isStopped = false, t ? (n.destination = t,
|
|
292
|
+
return n.isStopped = false, t ? (n.destination = t, ie(t) && t.add(n)) : n.destination = he, n;
|
|
218
293
|
}
|
|
219
294
|
return t.create = function(e, t, n) {
|
|
220
|
-
return new
|
|
295
|
+
return new M(e, t, n);
|
|
221
296
|
}, t.prototype.next = function(e) {
|
|
222
|
-
this.isStopped ?
|
|
297
|
+
this.isStopped ? P() : this._next(e);
|
|
223
298
|
}, t.prototype.error = function(e) {
|
|
224
|
-
this.isStopped ?
|
|
299
|
+
this.isStopped ? P() : (this.isStopped = true, this._error(e));
|
|
225
300
|
}, t.prototype.complete = function() {
|
|
226
|
-
this.isStopped ?
|
|
301
|
+
this.isStopped ? P() : (this.isStopped = true, this._complete());
|
|
227
302
|
}, t.prototype.unsubscribe = function() {
|
|
228
303
|
this.closed || (this.isStopped = true, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
229
304
|
}, t.prototype._next = function(e) {
|
|
@@ -241,8 +316,8 @@ var oe = function(e) {
|
|
|
241
316
|
this.unsubscribe();
|
|
242
317
|
}
|
|
243
318
|
}, t;
|
|
244
|
-
}(
|
|
245
|
-
var
|
|
319
|
+
}(C);
|
|
320
|
+
var pe = function() {
|
|
246
321
|
function e(e) {
|
|
247
322
|
this.partialObserver = e;
|
|
248
323
|
}
|
|
@@ -251,29 +326,29 @@ var ce = function() {
|
|
|
251
326
|
if (t.next) try {
|
|
252
327
|
t.next(e);
|
|
253
328
|
} catch (e) {
|
|
254
|
-
|
|
329
|
+
N(e);
|
|
255
330
|
}
|
|
256
331
|
}, e.prototype.error = function(e) {
|
|
257
332
|
var t = this.partialObserver;
|
|
258
333
|
if (t.error) try {
|
|
259
334
|
t.error(e);
|
|
260
335
|
} catch (e) {
|
|
261
|
-
|
|
336
|
+
N(e);
|
|
262
337
|
}
|
|
263
|
-
else
|
|
338
|
+
else N(e);
|
|
264
339
|
}, e.prototype.complete = function() {
|
|
265
340
|
var e = this.partialObserver;
|
|
266
341
|
if (e.complete) try {
|
|
267
342
|
e.complete();
|
|
268
343
|
} catch (e) {
|
|
269
|
-
|
|
344
|
+
N(e);
|
|
270
345
|
}
|
|
271
346
|
}, e;
|
|
272
|
-
}(),
|
|
273
|
-
|
|
347
|
+
}(), M = function(e) {
|
|
348
|
+
g(t, e);
|
|
274
349
|
function t(t, n, r) {
|
|
275
350
|
var i = e.call(this) || this, a;
|
|
276
|
-
if (
|
|
351
|
+
if (b(t) || !t) a = {
|
|
277
352
|
next: t ?? void 0,
|
|
278
353
|
error: n ?? void 0,
|
|
279
354
|
complete: r ?? void 0
|
|
@@ -281,35 +356,35 @@ var ce = function() {
|
|
|
281
356
|
else {
|
|
282
357
|
a = t;
|
|
283
358
|
}
|
|
284
|
-
return i.destination = new
|
|
359
|
+
return i.destination = new pe(a), i;
|
|
285
360
|
}
|
|
286
361
|
return t;
|
|
287
|
-
}(
|
|
288
|
-
function
|
|
289
|
-
|
|
362
|
+
}(de);
|
|
363
|
+
function N(e) {
|
|
364
|
+
oe(e);
|
|
290
365
|
}
|
|
291
|
-
function
|
|
366
|
+
function me(e) {
|
|
292
367
|
throw e;
|
|
293
368
|
}
|
|
294
|
-
function
|
|
369
|
+
function P(e, t) {
|
|
295
370
|
}
|
|
296
|
-
var
|
|
371
|
+
var he = {
|
|
297
372
|
closed: true,
|
|
298
|
-
next:
|
|
299
|
-
error:
|
|
300
|
-
complete:
|
|
301
|
-
},
|
|
373
|
+
next: D,
|
|
374
|
+
error: me,
|
|
375
|
+
complete: D
|
|
376
|
+
}, ge = (function() {
|
|
302
377
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
303
378
|
})();
|
|
304
379
|
//#endregion
|
|
305
380
|
//#region node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
306
|
-
function
|
|
381
|
+
function _e(e) {
|
|
307
382
|
return e;
|
|
308
383
|
}
|
|
309
384
|
//#endregion
|
|
310
385
|
//#region node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
311
|
-
function
|
|
312
|
-
return e.length === 0 ?
|
|
386
|
+
function ve(e) {
|
|
387
|
+
return e.length === 0 ? _e : e.length === 1 ? e[0] : function(t) {
|
|
313
388
|
return e.reduce(function(e, t) {
|
|
314
389
|
return t(e);
|
|
315
390
|
}, t);
|
|
@@ -317,7 +392,7 @@ function pe(e) {
|
|
|
317
392
|
}
|
|
318
393
|
//#endregion
|
|
319
394
|
//#region node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
320
|
-
var
|
|
395
|
+
var F = function() {
|
|
321
396
|
function e(e) {
|
|
322
397
|
e && (this._subscribe = e);
|
|
323
398
|
}
|
|
@@ -325,8 +400,8 @@ var j = function() {
|
|
|
325
400
|
var n = new e();
|
|
326
401
|
return n.source = this, n.operator = t, n;
|
|
327
402
|
}, e.prototype.subscribe = function(e, t, n) {
|
|
328
|
-
var r = this, i =
|
|
329
|
-
return
|
|
403
|
+
var r = this, i = xe(e) ? e : new M(e, t, n);
|
|
404
|
+
return A(function() {
|
|
330
405
|
var e = r, t = e.operator, n = e.source;
|
|
331
406
|
i.add(t ? t.call(i, n) : n ? r._subscribe(i) : r._trySubscribe(i));
|
|
332
407
|
}), i;
|
|
@@ -338,8 +413,8 @@ var j = function() {
|
|
|
338
413
|
}
|
|
339
414
|
}, e.prototype.forEach = function(e, t) {
|
|
340
415
|
var n = this;
|
|
341
|
-
return t =
|
|
342
|
-
var i = new
|
|
416
|
+
return t = ye(t), new t(function(t, r) {
|
|
417
|
+
var i = new M({
|
|
343
418
|
next: function(t) {
|
|
344
419
|
try {
|
|
345
420
|
e(t);
|
|
@@ -354,13 +429,13 @@ var j = function() {
|
|
|
354
429
|
});
|
|
355
430
|
}, e.prototype._subscribe = function(e) {
|
|
356
431
|
return this.source?.subscribe(e);
|
|
357
|
-
}, e.prototype[
|
|
432
|
+
}, e.prototype[ge] = function() {
|
|
358
433
|
return this;
|
|
359
434
|
}, e.prototype.pipe = function() {
|
|
360
|
-
return
|
|
435
|
+
return ve([...arguments])(this);
|
|
361
436
|
}, e.prototype.toPromise = function(e) {
|
|
362
437
|
var t = this;
|
|
363
|
-
return e =
|
|
438
|
+
return e = ye(e), new e(function(e, n) {
|
|
364
439
|
var r;
|
|
365
440
|
t.subscribe(function(e) {
|
|
366
441
|
return r = e;
|
|
@@ -374,40 +449,40 @@ var j = function() {
|
|
|
374
449
|
return new e(t);
|
|
375
450
|
}, e;
|
|
376
451
|
}();
|
|
377
|
-
function
|
|
378
|
-
return e ??
|
|
452
|
+
function ye(e) {
|
|
453
|
+
return e ?? T.Promise ?? Promise;
|
|
379
454
|
}
|
|
380
|
-
function
|
|
381
|
-
return e &&
|
|
455
|
+
function be(e) {
|
|
456
|
+
return e && b(e.next) && b(e.error) && b(e.complete);
|
|
382
457
|
}
|
|
383
|
-
function
|
|
384
|
-
return e && e instanceof
|
|
458
|
+
function xe(e) {
|
|
459
|
+
return e && e instanceof de || be(e) && ie(e);
|
|
385
460
|
}
|
|
386
461
|
//#endregion
|
|
387
462
|
//#region node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
388
|
-
var
|
|
463
|
+
var Se = re(function(e) {
|
|
389
464
|
return function() {
|
|
390
465
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
391
466
|
};
|
|
392
|
-
}),
|
|
393
|
-
|
|
467
|
+
}), Ce = function(e) {
|
|
468
|
+
g(t, e);
|
|
394
469
|
function t() {
|
|
395
470
|
var t = e.call(this) || this;
|
|
396
471
|
return t.closed = false, t.currentObservers = null, t.observers = [], t.isStopped = false, t.hasError = false, t.thrownError = null, t;
|
|
397
472
|
}
|
|
398
473
|
return t.prototype.lift = function(e) {
|
|
399
|
-
var t = new
|
|
474
|
+
var t = new we(this, this);
|
|
400
475
|
return t.operator = e, t;
|
|
401
476
|
}, t.prototype._throwIfClosed = function() {
|
|
402
|
-
if (this.closed) throw new
|
|
477
|
+
if (this.closed) throw new Se();
|
|
403
478
|
}, t.prototype.next = function(e) {
|
|
404
479
|
var t = this;
|
|
405
|
-
|
|
480
|
+
A(function() {
|
|
406
481
|
var n, r;
|
|
407
482
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
408
483
|
t.currentObservers ||= Array.from(t.observers);
|
|
409
484
|
try {
|
|
410
|
-
for (var i =
|
|
485
|
+
for (var i = _(t.currentObservers), a = i.next(); !a.done; a = i.next()) a.value.next(e);
|
|
411
486
|
} catch (e) {
|
|
412
487
|
n = { error: e };
|
|
413
488
|
} finally {
|
|
@@ -421,7 +496,7 @@ var ge = h(function(e) {
|
|
|
421
496
|
});
|
|
422
497
|
}, t.prototype.error = function(e) {
|
|
423
498
|
var t = this;
|
|
424
|
-
|
|
499
|
+
A(function() {
|
|
425
500
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
426
501
|
t.hasError = t.isStopped = true, t.thrownError = e;
|
|
427
502
|
for (var n = t.observers; n.length;) n.shift().error(e);
|
|
@@ -429,7 +504,7 @@ var ge = h(function(e) {
|
|
|
429
504
|
});
|
|
430
505
|
}, t.prototype.complete = function() {
|
|
431
506
|
var e = this;
|
|
432
|
-
|
|
507
|
+
A(function() {
|
|
433
508
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
434
509
|
e.isStopped = true;
|
|
435
510
|
for (var t = e.observers; t.length;) t.shift().complete();
|
|
@@ -449,20 +524,20 @@ var ge = h(function(e) {
|
|
|
449
524
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
450
525
|
}, t.prototype._innerSubscribe = function(e) {
|
|
451
526
|
var t = this, n = this, r = n.hasError, i = n.isStopped, a = n.observers;
|
|
452
|
-
return r || i ?
|
|
453
|
-
t.currentObservers = null,
|
|
527
|
+
return r || i ? w : (this.currentObservers = null, a.push(e), new C(function() {
|
|
528
|
+
t.currentObservers = null, S(a, e);
|
|
454
529
|
}));
|
|
455
530
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
456
531
|
var t = this, n = t.hasError, r = t.thrownError, i = t.isStopped;
|
|
457
532
|
n ? e.error(r) : i && e.complete();
|
|
458
533
|
}, t.prototype.asObservable = function() {
|
|
459
|
-
var e = new
|
|
534
|
+
var e = new F();
|
|
460
535
|
return e.source = this, e;
|
|
461
536
|
}, t.create = function(e, t) {
|
|
462
|
-
return new
|
|
537
|
+
return new we(e, t);
|
|
463
538
|
}, t;
|
|
464
|
-
}(
|
|
465
|
-
|
|
539
|
+
}(F), we = function(e) {
|
|
540
|
+
g(t, e);
|
|
466
541
|
function t(t, n) {
|
|
467
542
|
var r = e.call(this) || this;
|
|
468
543
|
return r.destination = t, r.source = n, r;
|
|
@@ -477,10 +552,10 @@ var ge = h(function(e) {
|
|
|
477
552
|
var e, t;
|
|
478
553
|
(t = (e = this.destination)?.complete) == null || t.call(e);
|
|
479
554
|
}, t.prototype._subscribe = function(e) {
|
|
480
|
-
return this.source?.subscribe(e) ??
|
|
555
|
+
return this.source?.subscribe(e) ?? w;
|
|
481
556
|
}, t;
|
|
482
|
-
}(
|
|
483
|
-
|
|
557
|
+
}(Ce), Te = function(e) {
|
|
558
|
+
g(t, e);
|
|
484
559
|
function t(t) {
|
|
485
560
|
var n = e.call(this) || this;
|
|
486
561
|
return n._value = t, n;
|
|
@@ -501,139 +576,118 @@ var ge = h(function(e) {
|
|
|
501
576
|
}, t.prototype.next = function(t) {
|
|
502
577
|
e.prototype.next.call(this, this._value = t);
|
|
503
578
|
}, t;
|
|
504
|
-
}(
|
|
579
|
+
}(Ce);
|
|
505
580
|
//#endregion
|
|
506
581
|
//#region src/core/decorators/factory.ts
|
|
507
|
-
function
|
|
582
|
+
function Ee(e) {
|
|
508
583
|
return e;
|
|
509
584
|
}
|
|
510
|
-
function
|
|
585
|
+
function I(e, t) {
|
|
511
586
|
return (n, r) => {
|
|
512
|
-
let i =
|
|
513
|
-
i.length === 1 &&
|
|
587
|
+
let i = Oe(n, r, e, t);
|
|
588
|
+
i.length === 1 && ke(n, i);
|
|
514
589
|
};
|
|
515
590
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
518
|
-
let i =
|
|
519
|
-
return i || (i = [],
|
|
591
|
+
var De = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
|
|
592
|
+
function Oe(e, t, n, r) {
|
|
593
|
+
let i = De.get(e);
|
|
594
|
+
return i || (i = [], De.set(e, i)), i.push({
|
|
520
595
|
options: n,
|
|
521
596
|
name: t,
|
|
522
|
-
optionFactory: r.optionFactory ||
|
|
597
|
+
optionFactory: r.optionFactory || Ee,
|
|
523
598
|
service: {
|
|
524
599
|
name: r.name,
|
|
525
600
|
method: r.method || "subscribe"
|
|
526
601
|
}
|
|
527
602
|
}), i;
|
|
528
603
|
}
|
|
529
|
-
function
|
|
530
|
-
e.connectedCallback =
|
|
531
|
-
}
|
|
532
|
-
function
|
|
533
|
-
return
|
|
534
|
-
|
|
535
|
-
let r =
|
|
536
|
-
|
|
537
|
-
|
|
604
|
+
function ke(e, t) {
|
|
605
|
+
e.connectedCallback = z(e.connectedCallback, t), e.componentWillLoad = Ae(e.componentWillLoad, t), e.componentDidUnload = B(e.componentDidUnload), e.disconnectedCallback = B(e.disconnectedCallback);
|
|
606
|
+
}
|
|
607
|
+
function z(e, t) {
|
|
608
|
+
return function(...n) {
|
|
609
|
+
R.set(this, true);
|
|
610
|
+
let r = [];
|
|
611
|
+
L.set(this, r);
|
|
612
|
+
let i = new Te(m(this));
|
|
613
|
+
r.push(te(this, (e) => i.next(e)));
|
|
614
|
+
for (let e of t) e.options = e.optionFactory(e.options, this), je(e.options) && (e.options.context = i), Me(this, e);
|
|
538
615
|
if (e) return e.apply(this, n);
|
|
539
616
|
};
|
|
540
617
|
}
|
|
541
|
-
function
|
|
542
|
-
return
|
|
543
|
-
return
|
|
618
|
+
function Ae(e, t) {
|
|
619
|
+
return function(...n) {
|
|
620
|
+
return R.get(this) === true ? e ? e.apply(this, n) : void 0 : z(e, t).apply(this, n);
|
|
544
621
|
};
|
|
545
622
|
}
|
|
546
|
-
function
|
|
623
|
+
function B(e) {
|
|
547
624
|
return async function(...t) {
|
|
548
625
|
let n;
|
|
549
|
-
return e && (n = e.apply(this, t)),
|
|
626
|
+
return e && (n = e.apply(this, t)), Ne(this), n;
|
|
550
627
|
};
|
|
551
628
|
}
|
|
552
|
-
function
|
|
629
|
+
function je(e) {
|
|
553
630
|
return "context" in e;
|
|
554
631
|
}
|
|
555
|
-
function
|
|
556
|
-
let
|
|
557
|
-
return e.platform || t.push(B(e, "platform")), e.context || t.push(B(e, "context")), t.length === 0 ? Promise.resolve() : Promise.all(t);
|
|
558
|
-
}
|
|
559
|
-
function B(t, n) {
|
|
560
|
-
let r = getElement(t);
|
|
561
|
-
return new Promise((e) => {
|
|
562
|
-
Object.defineProperty(r, n, {
|
|
563
|
-
configurable: true,
|
|
564
|
-
set: (t) => {
|
|
565
|
-
delete r[n], r[n] = t, e();
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
function Te(t, n, r) {
|
|
571
|
-
let i = getElement(t), { get: a, set: o } = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i), n);
|
|
572
|
-
Object.defineProperty(i, n, {
|
|
573
|
-
configurable: true,
|
|
574
|
-
get: a,
|
|
575
|
-
set: function(e) {
|
|
576
|
-
o.call(this, e), r.next(e);
|
|
577
|
-
}
|
|
578
|
-
});
|
|
579
|
-
}
|
|
580
|
-
function Ee(e, t) {
|
|
581
|
-
let n = ke(e, t);
|
|
632
|
+
function Me(e, t) {
|
|
633
|
+
let n = Fe(e, t);
|
|
582
634
|
typeof n == "function" && L.get(e).push(n);
|
|
583
635
|
}
|
|
584
|
-
function
|
|
636
|
+
function Ne(e) {
|
|
585
637
|
let t = L.get(e);
|
|
586
638
|
for (let e of t) e();
|
|
587
639
|
L.set(e, []);
|
|
588
640
|
}
|
|
589
|
-
function
|
|
641
|
+
function Pe(e, t) {
|
|
590
642
|
return (n) => {
|
|
591
643
|
e[t] = n;
|
|
592
644
|
};
|
|
593
645
|
}
|
|
594
|
-
function
|
|
646
|
+
function Fe(e, t) {
|
|
595
647
|
let n = { ...t.options };
|
|
596
|
-
|
|
597
|
-
let r = t.service.name, i = e
|
|
648
|
+
Ie(n, e);
|
|
649
|
+
let r = t.service.name, i = f(e);
|
|
598
650
|
if (!i.has(r)) throw Error(`Service ${r} does not exist`);
|
|
599
|
-
return i.get(r)[t.service.method](
|
|
651
|
+
return i.get(r)[t.service.method](Pe(e, t.name), n);
|
|
600
652
|
}
|
|
601
|
-
function
|
|
653
|
+
function Ie(e, t) {
|
|
602
654
|
e.filter &&= e.filter.map((e) => e.bind(t)), e.map &&= e.map.map((e) => e.bind(t));
|
|
603
655
|
}
|
|
604
656
|
//#endregion
|
|
605
657
|
//#region src/limetype/decorator.ts
|
|
606
|
-
function
|
|
607
|
-
return
|
|
658
|
+
function Le(e = {}) {
|
|
659
|
+
return I(e, { name: n.LimeTypeRepository });
|
|
608
660
|
}
|
|
609
|
-
function
|
|
661
|
+
function Re(e = {}) {
|
|
610
662
|
let t = { name: n.LimeTypeRepository };
|
|
611
|
-
return e.map = [
|
|
663
|
+
return e.map = [ze, ...e.map || []], e.context = null, I(e, t);
|
|
612
664
|
}
|
|
613
|
-
function
|
|
614
|
-
let
|
|
615
|
-
return e[t];
|
|
665
|
+
function ze(e) {
|
|
666
|
+
let t = m(this);
|
|
667
|
+
if (t) return e[t.limetype];
|
|
616
668
|
}
|
|
617
669
|
//#endregion
|
|
618
670
|
//#region src/limeobject/types.ts
|
|
619
671
|
n.LimeObjectRepository = "state.limeobjects";
|
|
620
|
-
function
|
|
672
|
+
function Ge(e = {}) {
|
|
621
673
|
let t = { name: n.LimeObjectRepository };
|
|
622
|
-
return e.map = [
|
|
674
|
+
return e.map = [Ke, ...e.map || []], e.context = null, I(e, t);
|
|
623
675
|
}
|
|
624
|
-
function
|
|
625
|
-
let
|
|
626
|
-
if (
|
|
676
|
+
function Ke(e) {
|
|
677
|
+
let t = m(this);
|
|
678
|
+
if (!t) return;
|
|
679
|
+
let { limetype: n, id: r } = t;
|
|
680
|
+
if (e[n]) return e[n].find((e) => e.id === r);
|
|
627
681
|
}
|
|
628
682
|
function H(e) {
|
|
629
683
|
return (t) => {
|
|
630
|
-
|
|
684
|
+
Ye(t, e.id), Xe(t, e.id);
|
|
631
685
|
};
|
|
632
686
|
}
|
|
633
|
-
function
|
|
687
|
+
function Ye(e, t) {
|
|
634
688
|
e.commandId = t;
|
|
635
689
|
}
|
|
636
|
-
function
|
|
690
|
+
function Xe(e, t) {
|
|
637
691
|
Object.defineProperty(e, Symbol.hasInstance, { value: (e) => W(e).includes(t) });
|
|
638
692
|
}
|
|
639
693
|
function U(e) {
|
|
@@ -648,7 +702,7 @@ function W(e) {
|
|
|
648
702
|
//#region src/commandbus/types.ts
|
|
649
703
|
n.CommandBus = "commandBus";
|
|
650
704
|
//#endregion
|
|
651
|
-
//#region \0@oxc-project+runtime@0.
|
|
705
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/decorate.js
|
|
652
706
|
function G(e, t, n, r) {
|
|
653
707
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
654
708
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
@@ -657,15 +711,15 @@ function G(e, t, n, r) {
|
|
|
657
711
|
}
|
|
658
712
|
//#endregion
|
|
659
713
|
//#region src/limeobject/commands/bulk-create-dialog.ts
|
|
660
|
-
var
|
|
714
|
+
var Ze = "limeobject.bulk-create-dialog", K = class {
|
|
661
715
|
context;
|
|
662
716
|
filter;
|
|
663
717
|
relation;
|
|
664
718
|
};
|
|
665
|
-
K = G([H({ id:
|
|
719
|
+
K = G([H({ id: Ze })], K);
|
|
666
720
|
//#endregion
|
|
667
721
|
//#region src/limeobject/commands/create-dialog.ts
|
|
668
|
-
var
|
|
722
|
+
var Qe = "limeobject.create-dialog", q = class {
|
|
669
723
|
limetype;
|
|
670
724
|
limeobject;
|
|
671
725
|
route = false;
|
|
@@ -675,47 +729,47 @@ var Ke = "limeobject.create-dialog", q = class {
|
|
|
675
729
|
autoAttachRelation;
|
|
676
730
|
saveCommand;
|
|
677
731
|
};
|
|
678
|
-
q = G([H({ id:
|
|
732
|
+
q = G([H({ id: Qe })], q);
|
|
679
733
|
//#endregion
|
|
680
734
|
//#region src/limeobject/commands/delete-object.ts
|
|
681
|
-
var
|
|
735
|
+
var $e = "limeobject.delete-object", J = class {
|
|
682
736
|
context;
|
|
683
737
|
};
|
|
684
|
-
J = G([H({ id:
|
|
738
|
+
J = G([H({ id: $e })], J);
|
|
685
739
|
//#endregion
|
|
686
740
|
//#region src/limeobject/commands/object-access.ts
|
|
687
|
-
var
|
|
741
|
+
var et = "limeobject.object-access", Y = class {
|
|
688
742
|
context;
|
|
689
743
|
};
|
|
690
|
-
Y = G([H({ id:
|
|
744
|
+
Y = G([H({ id: et })], Y);
|
|
691
745
|
//#endregion
|
|
692
746
|
//#region src/limeobject/commands/save-object.ts
|
|
693
|
-
var
|
|
747
|
+
var tt = "limeobject.save-object", X = class {
|
|
694
748
|
context;
|
|
695
749
|
limeobject;
|
|
696
750
|
route = false;
|
|
697
751
|
label;
|
|
698
752
|
};
|
|
699
|
-
X = G([H({ id:
|
|
753
|
+
X = G([H({ id: tt })], X);
|
|
700
754
|
//#endregion
|
|
701
755
|
//#region src/query/query.ts
|
|
702
|
-
var
|
|
756
|
+
var nt = /* @__PURE__ */ function(e) {
|
|
703
757
|
return e.AND = "AND", e.OR = "OR", e.NOT = "!", e.EQUALS = "=", e.NOT_EQUALS = "!=", e.GREATER = ">", e.LESS = "<", e.IN = "IN", e.BEGINS = "=?", e.LIKE = "?", e.LESS_OR_EQUAL = "<=", e.GREATER_OR_EQUAL = ">=", e.ENDS = "=$", e;
|
|
704
|
-
}({}),
|
|
758
|
+
}({}), rt = {
|
|
705
759
|
Count: "COUNT"};
|
|
706
760
|
//#endregion
|
|
707
761
|
//#region src/query/types.ts
|
|
708
762
|
n.Query = "query";
|
|
709
763
|
//#endregion
|
|
710
764
|
//#region src/http/http.ts
|
|
711
|
-
var
|
|
765
|
+
var it = {
|
|
712
766
|
Post: "POST"};
|
|
713
767
|
//#endregion
|
|
714
768
|
//#region src/navigator/types.ts
|
|
715
769
|
n.Http = "http", n.EventDispatcher = "eventDispatcher", n.Translate = "translate", n.Dialog = "dialog", n.KeybindingRegistry = "keybindingRegistry", n.Navigator = "navigator";
|
|
716
770
|
//#endregion
|
|
717
771
|
//#region src/navigator/command.ts
|
|
718
|
-
var
|
|
772
|
+
var ot = "navigator.navigate", Z = class {
|
|
719
773
|
path;
|
|
720
774
|
query;
|
|
721
775
|
hash;
|
|
@@ -723,14 +777,14 @@ var et = "navigator.navigate", Z = class {
|
|
|
723
777
|
};
|
|
724
778
|
//#endregion
|
|
725
779
|
//#region src/routeregistry/types.ts
|
|
726
|
-
Z = G([H({ id:
|
|
780
|
+
Z = G([H({ id: ot })], Z), n.Notification = "notifications", n.RouteRegistry = "routeRegistry";
|
|
727
781
|
//#endregion
|
|
728
782
|
//#region src/config/types.ts
|
|
729
783
|
n.TaskRepository = "state.tasks", n.ConfigRepository = "state.configs";
|
|
730
784
|
//#endregion
|
|
731
785
|
//#region src/config/decorator.ts
|
|
732
|
-
function
|
|
733
|
-
return
|
|
786
|
+
function lt(e) {
|
|
787
|
+
return I(e, { name: n.ConfigRepository });
|
|
734
788
|
}
|
|
735
789
|
//#endregion
|
|
736
790
|
//#region src/device/types.ts
|
|
@@ -740,8 +794,8 @@ n.Device = "state.device";
|
|
|
740
794
|
n.FilterRepository = "state.filters";
|
|
741
795
|
//#endregion
|
|
742
796
|
//#region src/filter/decorator.ts
|
|
743
|
-
function
|
|
744
|
-
return
|
|
797
|
+
function dt(e = {}) {
|
|
798
|
+
return I(e, { name: n.FilterRepository });
|
|
745
799
|
}
|
|
746
800
|
//#endregion
|
|
747
801
|
//#region src/userdata/types.ts
|
|
@@ -756,6 +810,9 @@ n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetime
|
|
|
756
810
|
//#region src/conditionregistry/types.ts
|
|
757
811
|
n.ConditionRegistry = "conditionRegistry";
|
|
758
812
|
//#endregion
|
|
813
|
+
//#region src/context/types.ts
|
|
814
|
+
n.ContextRegistry = "contextRegistry";
|
|
815
|
+
//#endregion
|
|
759
816
|
//#region src/poller/types.ts
|
|
760
817
|
n.RuleRegistry = "ruleRegistry", n.ViewFactoryRegistry = "viewFactoryRegistry", n.WebComponentRegistry = "webComponentRegistry", n.NotificationRepository = "state.notifications", n.PollerFactory = "pollerFactory";
|
|
761
818
|
//#endregion
|
|
@@ -764,14 +821,14 @@ n.Logger = "logger";
|
|
|
764
821
|
//#endregion
|
|
765
822
|
//#region src/logger/factory.ts
|
|
766
823
|
var Q, $;
|
|
767
|
-
function
|
|
824
|
+
function jt(e) {
|
|
768
825
|
let t = window.Lime?.logger?.createLogger;
|
|
769
|
-
return typeof t == "function" ? ($ === void 0 && ($ =
|
|
826
|
+
return typeof t == "function" ? ($ === void 0 && ($ = Pt(Mt())), $ && (e = `${$}:${e}`), t(e)) : (console.warn(`Logger factory is not configured. Returning console logger for scope "${e}".`), console);
|
|
770
827
|
}
|
|
771
|
-
function
|
|
772
|
-
return Q === void 0 ? typeof import.meta.url == "string" ? (Q = import.meta.url, Q) : (Q =
|
|
828
|
+
function Mt() {
|
|
829
|
+
return Q === void 0 ? typeof import.meta.url == "string" ? (Q = import.meta.url, Q) : (Q = Nt(), Q) : Q;
|
|
773
830
|
}
|
|
774
|
-
function
|
|
831
|
+
function Nt() {
|
|
775
832
|
try {
|
|
776
833
|
let e = (/* @__PURE__ */ Error(".")).stack;
|
|
777
834
|
if (!e) return null;
|
|
@@ -785,24 +842,24 @@ function yt() {
|
|
|
785
842
|
return null;
|
|
786
843
|
}
|
|
787
844
|
}
|
|
788
|
-
function
|
|
789
|
-
return e && (
|
|
845
|
+
function Pt(e) {
|
|
846
|
+
return e && (Ft(e) || It(e) || Lt(e) || Rt(e)) || null;
|
|
790
847
|
}
|
|
791
|
-
function
|
|
848
|
+
function Ft(e) {
|
|
792
849
|
let t = e.match(/\/([^/]+)-lwc-components\//);
|
|
793
850
|
return t ? t[1] : null;
|
|
794
851
|
}
|
|
795
|
-
function
|
|
852
|
+
function It(e) {
|
|
796
853
|
let t = e.match(/\/packages\/(?:@[^/]+\/)?([^/]+)/);
|
|
797
854
|
return t ? t[1] : null;
|
|
798
855
|
}
|
|
799
|
-
function
|
|
856
|
+
function Lt(e) {
|
|
800
857
|
let t = e.indexOf("+");
|
|
801
858
|
if (t === -1) return null;
|
|
802
859
|
let n = e.slice(0, t), r = n.lastIndexOf("/");
|
|
803
860
|
return r === -1 ? null : n.slice(r + 1);
|
|
804
861
|
}
|
|
805
|
-
function
|
|
862
|
+
function Rt(e) {
|
|
806
863
|
let t = e.match(/\/static\/([^/]+)\//);
|
|
807
864
|
return t ? t[1] : null;
|
|
808
865
|
}
|
|
@@ -811,16 +868,16 @@ function wt(e) {
|
|
|
811
868
|
n.ProblemRepository = "problemRepository", n.AIContextRegistry = "aiContextRegistry";
|
|
812
869
|
//#endregion
|
|
813
870
|
//#region src/error/error.ts
|
|
814
|
-
var
|
|
815
|
-
function
|
|
816
|
-
|
|
871
|
+
var Bt = null;
|
|
872
|
+
function Vt(e, t) {
|
|
873
|
+
Bt ||= jt("uncaught-error");
|
|
817
874
|
let n = {};
|
|
818
875
|
t && (n.element = t.tagName, t.id && (n.elementId = t.id));
|
|
819
876
|
let r = e instanceof Error ? e.message : String(e), i = e instanceof Error ? e : void 0;
|
|
820
|
-
|
|
877
|
+
Bt.error(r, i, n);
|
|
821
878
|
}
|
|
822
879
|
try {
|
|
823
|
-
setErrorHandler(
|
|
880
|
+
setErrorHandler(Vt);
|
|
824
881
|
} catch {}
|
|
825
882
|
|
|
826
|
-
export {
|
|
883
|
+
export { Ge as G, H, Le as L, Re as R, a, n as b, it as c, dt as d, i, jt as j, lt as l, nt as n, rt as r };
|