@limetech/lime-crm-building-blocks 1.140.0 → 2.0.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 +13 -0
- package/dist/cjs/file-contents-url-CIoCVl85.js +14 -0
- package/dist/cjs/{filter-group-logic-BPpM2NqX.js → filter-group-logic-EDLGrkTt.js} +12 -12
- package/dist/cjs/{filter-operators-BTWvpD6A.js → filter-operators-CVCyCZ7Q.js} +11 -11
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{index.esm-Se3EtD3m.js → index.esm-CcYbS__E.js} +210 -181
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/{lime-query-validation-CJC3mtnT.js → lime-query-validation-B0oYW7Z6.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 +5 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-filter-chip_6.cjs.entry.js +22 -22
- package/dist/cjs/limebb-info-tile.cjs.entry.js +10 -9
- package/dist/cjs/limebb-inline-image.cjs.entry.js +49 -0
- 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.cjs.entry.js +5 -5
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-order-by-editor_2.cjs.entry.js +2 -2
- 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 +2 -2
- 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-arg-filter-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +51 -144
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +9 -9
- package/dist/cjs/{limetype-CmgP0nbZ.js → limetype-C-fVThrI.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +4 -0
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/info-tile/loader.js +2 -1
- package/dist/collection/components/inline-image/inline-image.css +12 -0
- package/dist/collection/components/inline-image/inline-image.js +146 -0
- package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +57 -45
- package/dist/collection/util/file-contents-url.js +10 -0
- 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/file-contents-url.js +1 -0
- package/dist/components/filter-chip.js +1 -1
- package/dist/components/filter-condition-picker.js +1 -1
- package/dist/components/filter-operators.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-editor.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-inline-image.d.ts +11 -0
- package/dist/components/limebb-inline-image.js +1 -0
- 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-arg-filter-editor.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/limebb-value-comparison-editor.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/file-contents-url-Oswz9F3I.js +12 -0
- package/dist/esm/{filter-group-logic-BMY_GEsX.js → filter-group-logic-DS1inQTh.js} +12 -12
- package/dist/esm/{filter-operators-Lw-ccmxQ.js → filter-operators-CsZi5iCV.js} +11 -11
- package/dist/esm/{index.esm-C-L5fkQs.js → index.esm-BjIhvFKX.js} +200 -172
- package/dist/esm/index.js +2 -2
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/{lime-query-validation-BwvluehW.js → lime-query-validation-CVV7mrLj.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 +5 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-filter-chip_6.entry.js +22 -22
- package/dist/esm/limebb-info-tile.entry.js +10 -9
- package/dist/esm/limebb-inline-image.entry.js +47 -0
- 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.entry.js +5 -5
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +4 -4
- package/dist/esm/limebb-lime-query-order-by-editor_2.entry.js +2 -2
- 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 +2 -2
- 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-arg-filter-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-chip-popover.entry.js +2 -2
- package/dist/esm/limebb-rule-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-gate.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +51 -144
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/limebb-value-comparison-editor.entry.js +9 -9
- package/dist/esm/{limetype-D4ZaWZ-3.js → limetype-BbMRN-SU.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/index.esm.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p-135ba2ee.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-1c6e5402.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-9452fb56.entry.js → p-240cbd82.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-58f18819.entry.js → p-25984c90.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-80e04b27.entry.js → p-397a6191.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a6e9cefe.entry.js → p-52a92d89.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-585f6cfe.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-05a1762a.entry.js → p-59fb624c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fb8d854b.entry.js → p-5beb508a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-92bf5318.entry.js → p-662fb8b6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-00ca6522.entry.js → p-673226a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e242b955.entry.js → p-69b08896.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-01f84b0c.entry.js → p-6c2e25d9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3bf316f9.entry.js → p-742926a3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-78d362b4.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-79c492b2.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-dba6f583.entry.js → p-7a5c2dda.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-354257f4.entry.js → p-7ce967b6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d40f53a5.entry.js → p-906b4eca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-CE43qjk3.js +1 -0
- package/dist/lime-crm-building-blocks/p-Cw4kdMw3.js +1 -0
- package/dist/lime-crm-building-blocks/p-DLehg4hi.js +1 -0
- package/dist/lime-crm-building-blocks/{p-CI6VHE0w.js → p-Dhyy9Td7.js} +1 -1
- package/dist/lime-crm-building-blocks/p-Oswz9F3I.js +1 -0
- package/dist/lime-crm-building-blocks/p-a3058b72.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-b78ub0mY.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f3cb68d6.entry.js → p-bc297cf4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cac2a49f.entry.js → p-bcd8c767.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-c4e5e589.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8986f27b.entry.js → p-d014ec57.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d20404ec.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-fb050628.entry.js → p-d2e85be2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dec2b87d.entry.js → p-d3fe25a7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f1090436.entry.js → p-d43cf8d1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-430e3d11.entry.js → p-dd7aec09.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b34817df.entry.js → p-e2e1358d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c0fa239a.entry.js → p-e4a21ebe.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c4e2dca5.entry.js → p-e581d0b7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-863f456c.entry.js → p-e6a85c26.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e8b2df7c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-6fe4c1cd.entry.js → p-ef890206.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d7d21bad.entry.js → p-f6377fa5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-f9e9d18e.entry.js +1 -0
- package/dist/test/setup.js +1 -0
- package/dist/types/components/inline-image/inline-image.d.ts +32 -0
- package/dist/types/components/text-editor/text-editor.d.ts +17 -11
- package/dist/types/components.d.ts +93 -14
- package/dist/types/interface.d.ts +0 -5
- package/dist/types/util/file-contents-url.d.ts +9 -0
- package/package.json +12 -13
- package/dist/collection/components/text-editor/uploader/building-blocks-upload-handler.js +0 -112
- package/dist/lime-crm-building-blocks/p-29758303.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-2dab7d4b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-43bdd66b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-752742f8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-B-WBKAaa.js +0 -1
- package/dist/lime-crm-building-blocks/p-BjXRsiQr.js +0 -1
- package/dist/lime-crm-building-blocks/p-Bkno2RtN.js +0 -1
- package/dist/lime-crm-building-blocks/p-D1RJ1y7s.js +0 -1
- package/dist/lime-crm-building-blocks/p-c891125e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-cd7106f7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-dbbc5ba7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-ec1e079e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-edeb359f.entry.js +0 -1
- package/dist/types/components/text-editor/uploader/building-blocks-upload-handler.d.ts +0 -62
|
@@ -149,7 +149,7 @@ function b(e) {
|
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
152
|
-
function
|
|
152
|
+
function x(e) {
|
|
153
153
|
var t = e(function(e) {
|
|
154
154
|
Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
|
|
155
155
|
});
|
|
@@ -157,7 +157,7 @@ function re(e) {
|
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
160
|
-
var
|
|
160
|
+
var S = x(function(e) {
|
|
161
161
|
return function(t) {
|
|
162
162
|
e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
|
|
163
163
|
return t + 1 + ") " + e.toString();
|
|
@@ -166,7 +166,7 @@ var x = re(function(e) {
|
|
|
166
166
|
});
|
|
167
167
|
//#endregion
|
|
168
168
|
//#region node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
169
|
-
function
|
|
169
|
+
function C(e, t) {
|
|
170
170
|
if (e) {
|
|
171
171
|
var n = e.indexOf(t);
|
|
172
172
|
0 <= n && e.splice(n, 1);
|
|
@@ -174,7 +174,7 @@ function S(e, t) {
|
|
|
174
174
|
}
|
|
175
175
|
//#endregion
|
|
176
176
|
//#region node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
177
|
-
var
|
|
177
|
+
var w = function() {
|
|
178
178
|
function e(e) {
|
|
179
179
|
this.initialTeardown = e, this.closed = false, this._parentage = null, this._finalizers = null;
|
|
180
180
|
}
|
|
@@ -199,7 +199,7 @@ var C = function() {
|
|
|
199
199
|
if (b(c)) try {
|
|
200
200
|
c();
|
|
201
201
|
} catch (e) {
|
|
202
|
-
i = e instanceof
|
|
202
|
+
i = e instanceof S ? e.errors : [e];
|
|
203
203
|
}
|
|
204
204
|
var l = this._finalizers;
|
|
205
205
|
if (l) {
|
|
@@ -208,9 +208,9 @@ var C = function() {
|
|
|
208
208
|
for (var u = _(l), d = u.next(); !d.done; d = u.next()) {
|
|
209
209
|
var ee = d.value;
|
|
210
210
|
try {
|
|
211
|
-
|
|
211
|
+
T(ee);
|
|
212
212
|
} catch (e) {
|
|
213
|
-
i ??= [], e instanceof
|
|
213
|
+
i ??= [], e instanceof S ? i = y(y([], v(i)), v(e.errors)) : i.push(e);
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
} catch (e) {
|
|
@@ -223,10 +223,10 @@ var C = function() {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
if (i) throw new
|
|
226
|
+
if (i) throw new S(i);
|
|
227
227
|
}
|
|
228
228
|
}, e.prototype.add = function(t) {
|
|
229
|
-
if (t && t !== this) if (this.closed)
|
|
229
|
+
if (t && t !== this) if (this.closed) T(t);
|
|
230
230
|
else {
|
|
231
231
|
if (t instanceof e) {
|
|
232
232
|
if (t.closed || t._hasParent(this)) return;
|
|
@@ -242,25 +242,25 @@ var C = function() {
|
|
|
242
242
|
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
243
243
|
}, e.prototype._removeParent = function(e) {
|
|
244
244
|
var t = this._parentage;
|
|
245
|
-
t === e ? this._parentage = null : Array.isArray(t) &&
|
|
245
|
+
t === e ? this._parentage = null : Array.isArray(t) && C(t, e);
|
|
246
246
|
}, e.prototype.remove = function(t) {
|
|
247
247
|
var n = this._finalizers;
|
|
248
|
-
n &&
|
|
248
|
+
n && C(n, t), t instanceof e && t._removeParent(this);
|
|
249
249
|
}, e.EMPTY = (function() {
|
|
250
250
|
var t = new e();
|
|
251
251
|
return t.closed = true, t;
|
|
252
252
|
})(), e;
|
|
253
|
-
}(),
|
|
253
|
+
}(), re = w.EMPTY;
|
|
254
254
|
function ie(e) {
|
|
255
|
-
return e instanceof
|
|
255
|
+
return e instanceof w || e && "closed" in e && b(e.remove) && b(e.add) && b(e.unsubscribe);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function T(e) {
|
|
258
258
|
b(e) ? e() : e.unsubscribe();
|
|
259
259
|
}
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region node_modules/rxjs/dist/esm5/internal/config.js
|
|
262
|
-
var
|
|
263
|
-
Promise: void 0},
|
|
262
|
+
var E = {
|
|
263
|
+
Promise: void 0}, D = {
|
|
264
264
|
setTimeout: function(e, t) {
|
|
265
265
|
var n = [...arguments].slice(2);
|
|
266
266
|
return setTimeout.apply(void 0, y([e, t], v(n)));
|
|
@@ -272,14 +272,14 @@ var T = {
|
|
|
272
272
|
};
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
275
|
-
function
|
|
276
|
-
|
|
275
|
+
function ae(e) {
|
|
276
|
+
D.setTimeout(function() {
|
|
277
277
|
throw e;
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
//#endregion
|
|
281
281
|
//#region node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
282
|
-
function
|
|
282
|
+
function oe() {}
|
|
283
283
|
function A(e) {
|
|
284
284
|
e();
|
|
285
285
|
}
|
|
@@ -316,7 +316,7 @@ var de = function(e) {
|
|
|
316
316
|
this.unsubscribe();
|
|
317
317
|
}
|
|
318
318
|
}, t;
|
|
319
|
-
}(
|
|
319
|
+
}(w);
|
|
320
320
|
var pe = function() {
|
|
321
321
|
function e(e) {
|
|
322
322
|
this.partialObserver = e;
|
|
@@ -361,7 +361,7 @@ var pe = function() {
|
|
|
361
361
|
return t;
|
|
362
362
|
}(de);
|
|
363
363
|
function N(e) {
|
|
364
|
-
|
|
364
|
+
ae(e);
|
|
365
365
|
}
|
|
366
366
|
function me(e) {
|
|
367
367
|
throw e;
|
|
@@ -370,9 +370,9 @@ function P(e, t) {
|
|
|
370
370
|
}
|
|
371
371
|
var he = {
|
|
372
372
|
closed: true,
|
|
373
|
-
next:
|
|
373
|
+
next: oe,
|
|
374
374
|
error: me,
|
|
375
|
-
complete:
|
|
375
|
+
complete: oe
|
|
376
376
|
}, ge = (function() {
|
|
377
377
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
378
378
|
})();
|
|
@@ -400,7 +400,7 @@ var F = function() {
|
|
|
400
400
|
var n = new e();
|
|
401
401
|
return n.source = this, n.operator = t, n;
|
|
402
402
|
}, e.prototype.subscribe = function(e, t, n) {
|
|
403
|
-
var r = this, i =
|
|
403
|
+
var r = this, i = be(e) ? e : new M(e, t, n);
|
|
404
404
|
return A(function() {
|
|
405
405
|
var e = r, t = e.operator, n = e.source;
|
|
406
406
|
i.add(t ? t.call(i, n) : n ? r._subscribe(i) : r._trySubscribe(i));
|
|
@@ -413,7 +413,7 @@ var F = function() {
|
|
|
413
413
|
}
|
|
414
414
|
}, e.prototype.forEach = function(e, t) {
|
|
415
415
|
var n = this;
|
|
416
|
-
return t =
|
|
416
|
+
return t = I(t), new t(function(t, r) {
|
|
417
417
|
var i = new M({
|
|
418
418
|
next: function(t) {
|
|
419
419
|
try {
|
|
@@ -435,7 +435,7 @@ var F = function() {
|
|
|
435
435
|
return ve([...arguments])(this);
|
|
436
436
|
}, e.prototype.toPromise = function(e) {
|
|
437
437
|
var t = this;
|
|
438
|
-
return e =
|
|
438
|
+
return e = I(e), new e(function(e, n) {
|
|
439
439
|
var r;
|
|
440
440
|
t.subscribe(function(e) {
|
|
441
441
|
return r = e;
|
|
@@ -449,32 +449,32 @@ var F = function() {
|
|
|
449
449
|
return new e(t);
|
|
450
450
|
}, e;
|
|
451
451
|
}();
|
|
452
|
-
function
|
|
453
|
-
return e ??
|
|
452
|
+
function I(e) {
|
|
453
|
+
return e ?? E.Promise ?? Promise;
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function ye(e) {
|
|
456
456
|
return e && b(e.next) && b(e.error) && b(e.complete);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return e && e instanceof de ||
|
|
458
|
+
function be(e) {
|
|
459
|
+
return e && e instanceof de || ye(e) && ie(e);
|
|
460
460
|
}
|
|
461
461
|
//#endregion
|
|
462
462
|
//#region node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
463
|
-
var
|
|
463
|
+
var xe = x(function(e) {
|
|
464
464
|
return function() {
|
|
465
465
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
466
466
|
};
|
|
467
|
-
}),
|
|
467
|
+
}), L = function(e) {
|
|
468
468
|
g(t, e);
|
|
469
469
|
function t() {
|
|
470
470
|
var t = e.call(this) || this;
|
|
471
471
|
return t.closed = false, t.currentObservers = null, t.observers = [], t.isStopped = false, t.hasError = false, t.thrownError = null, t;
|
|
472
472
|
}
|
|
473
473
|
return t.prototype.lift = function(e) {
|
|
474
|
-
var t = new
|
|
474
|
+
var t = new R(this, this);
|
|
475
475
|
return t.operator = e, t;
|
|
476
476
|
}, t.prototype._throwIfClosed = function() {
|
|
477
|
-
if (this.closed) throw new
|
|
477
|
+
if (this.closed) throw new xe();
|
|
478
478
|
}, t.prototype.next = function(e) {
|
|
479
479
|
var t = this;
|
|
480
480
|
A(function() {
|
|
@@ -524,8 +524,8 @@ var Se = re(function(e) {
|
|
|
524
524
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
525
525
|
}, t.prototype._innerSubscribe = function(e) {
|
|
526
526
|
var t = this, n = this, r = n.hasError, i = n.isStopped, a = n.observers;
|
|
527
|
-
return r || i ?
|
|
528
|
-
t.currentObservers = null,
|
|
527
|
+
return r || i ? re : (this.currentObservers = null, a.push(e), new w(function() {
|
|
528
|
+
t.currentObservers = null, C(a, e);
|
|
529
529
|
}));
|
|
530
530
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
531
531
|
var t = this, n = t.hasError, r = t.thrownError, i = t.isStopped;
|
|
@@ -534,9 +534,9 @@ var Se = re(function(e) {
|
|
|
534
534
|
var e = new F();
|
|
535
535
|
return e.source = this, e;
|
|
536
536
|
}, t.create = function(e, t) {
|
|
537
|
-
return new
|
|
537
|
+
return new R(e, t);
|
|
538
538
|
}, t;
|
|
539
|
-
}(F),
|
|
539
|
+
}(F), R = function(e) {
|
|
540
540
|
g(t, e);
|
|
541
541
|
function t(t, n) {
|
|
542
542
|
var r = e.call(this) || this;
|
|
@@ -552,9 +552,9 @@ var Se = re(function(e) {
|
|
|
552
552
|
var e, t;
|
|
553
553
|
(t = (e = this.destination)?.complete) == null || t.call(e);
|
|
554
554
|
}, t.prototype._subscribe = function(e) {
|
|
555
|
-
return this.source?.subscribe(e) ??
|
|
555
|
+
return this.source?.subscribe(e) ?? re;
|
|
556
556
|
}, t;
|
|
557
|
-
}(
|
|
557
|
+
}(L), Se = function(e) {
|
|
558
558
|
g(t, e);
|
|
559
559
|
function t(t) {
|
|
560
560
|
var n = e.call(this) || this;
|
|
@@ -576,134 +576,153 @@ var Se = re(function(e) {
|
|
|
576
576
|
}, t.prototype.next = function(t) {
|
|
577
577
|
e.prototype.next.call(this, this._value = t);
|
|
578
578
|
}, t;
|
|
579
|
-
}(
|
|
579
|
+
}(L);
|
|
580
580
|
//#endregion
|
|
581
581
|
//#region src/core/decorators/factory.ts
|
|
582
|
-
function
|
|
582
|
+
function z(e) {
|
|
583
583
|
return e;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function B(e, t) {
|
|
586
586
|
return (n, r) => {
|
|
587
|
-
let i =
|
|
588
|
-
|
|
587
|
+
let i = n, a = Te(i, String(r), e, t);
|
|
588
|
+
a.length === 1 && Ee(i, a);
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
|
-
var
|
|
592
|
-
function
|
|
593
|
-
let i =
|
|
594
|
-
return i || (i = [],
|
|
591
|
+
var Ce = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap();
|
|
592
|
+
function Te(e, t, n, r) {
|
|
593
|
+
let i = Ce.get(e);
|
|
594
|
+
return i || (i = [], Ce.set(e, i)), i.push({
|
|
595
595
|
options: n,
|
|
596
596
|
name: t,
|
|
597
|
-
optionFactory: r.optionFactory ||
|
|
597
|
+
optionFactory: r.optionFactory || z,
|
|
598
598
|
service: {
|
|
599
599
|
name: r.name,
|
|
600
600
|
method: r.method || "subscribe"
|
|
601
601
|
}
|
|
602
602
|
}), i;
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
e.connectedCallback =
|
|
606
|
-
}
|
|
607
|
-
function
|
|
608
|
-
return function(
|
|
609
|
-
|
|
610
|
-
let
|
|
611
|
-
|
|
612
|
-
let
|
|
613
|
-
|
|
614
|
-
for (let e of t) e.options = e.optionFactory(e.options, this),
|
|
615
|
-
|
|
604
|
+
function Ee(e, t) {
|
|
605
|
+
e.connectedCallback = De(e.connectedCallback, t), e.componentWillLoad = Oe(e.componentWillLoad, t), e.disconnectedCallback = ke(e.disconnectedCallback);
|
|
606
|
+
}
|
|
607
|
+
function De(e, t) {
|
|
608
|
+
return async function() {
|
|
609
|
+
we.set(this, true);
|
|
610
|
+
let n = [];
|
|
611
|
+
V.set(this, n);
|
|
612
|
+
let r = new Se(m(this));
|
|
613
|
+
n.push(te(this, (e) => r.next(e)));
|
|
614
|
+
for (let e of t) e.options = (e.optionFactory ?? z)(e.options, this), Ae(e.options) && (e.options.context = r), je(this, e);
|
|
615
|
+
return e?.call(this);
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return function(
|
|
620
|
-
return
|
|
618
|
+
function Oe(e, t) {
|
|
619
|
+
return async function() {
|
|
620
|
+
return we.get(this) === true ? e?.call(this) : De(e, t).call(this);
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return async function(
|
|
625
|
-
let
|
|
626
|
-
return
|
|
623
|
+
function ke(e) {
|
|
624
|
+
return async function() {
|
|
625
|
+
let t = e?.call(this);
|
|
626
|
+
return Me(this), t;
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Ae(e) {
|
|
630
630
|
return "context" in e;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
let n =
|
|
634
|
-
typeof n == "function" &&
|
|
632
|
+
function je(e, t) {
|
|
633
|
+
let n = Pe(e, t);
|
|
634
|
+
typeof n == "function" && V.get(e)?.push(n);
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
let t =
|
|
636
|
+
function Me(e) {
|
|
637
|
+
let t = V.get(e) ?? [];
|
|
638
638
|
for (let e of t) e();
|
|
639
|
-
|
|
639
|
+
V.set(e, []);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function Ne(e, t) {
|
|
642
642
|
return (n) => {
|
|
643
|
-
e
|
|
643
|
+
Reflect.set(e, t, n);
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Pe(e, t) {
|
|
647
647
|
let n = { ...t.options };
|
|
648
|
-
|
|
648
|
+
Fe(n, e);
|
|
649
649
|
let r = t.service.name, i = f(e);
|
|
650
650
|
if (!i.has(r)) throw Error(`Service ${r} does not exist`);
|
|
651
|
-
|
|
651
|
+
let a = i.get(r), o = t.service.method, s = Reflect.get(a, o);
|
|
652
|
+
if (typeof s != "function") throw TypeError(`Service ${r} does not have a ${o} method`);
|
|
653
|
+
return s.call(a, Ne(e, t.name), n);
|
|
652
654
|
}
|
|
653
|
-
function
|
|
655
|
+
function Fe(e, t) {
|
|
654
656
|
e.filter &&= e.filter.map((e) => e.bind(t)), e.map &&= e.map.map((e) => e.bind(t));
|
|
655
657
|
}
|
|
656
658
|
//#endregion
|
|
657
659
|
//#region src/limetype/decorator.ts
|
|
658
|
-
function
|
|
659
|
-
return
|
|
660
|
+
function Ie(e = {}) {
|
|
661
|
+
return B(e, { name: n.LimeTypeRepository });
|
|
660
662
|
}
|
|
661
|
-
function
|
|
663
|
+
function Le(e = {}) {
|
|
662
664
|
let t = { name: n.LimeTypeRepository };
|
|
663
|
-
return e.map = [
|
|
665
|
+
return e.map = [Re, ...e.map || []], e.context = null, B(e, t);
|
|
664
666
|
}
|
|
665
|
-
function
|
|
667
|
+
function Re(e) {
|
|
666
668
|
let t = m(this);
|
|
667
|
-
if (t) return e[t.limetype];
|
|
669
|
+
if (!(!t || t.limetype == null)) return e[t.limetype];
|
|
668
670
|
}
|
|
669
671
|
//#endregion
|
|
670
672
|
//#region src/limeobject/types.ts
|
|
671
673
|
n.LimeObjectRepository = "state.limeobjects";
|
|
672
|
-
function
|
|
674
|
+
function We(e = {}) {
|
|
673
675
|
let t = { name: n.LimeObjectRepository };
|
|
674
|
-
return e.map = [
|
|
676
|
+
return e.map = [Ge, ...e.map || []], e.context = null, B(e, t);
|
|
675
677
|
}
|
|
676
|
-
function
|
|
678
|
+
function Ge(e) {
|
|
677
679
|
let t = m(this);
|
|
678
680
|
if (!t) return;
|
|
679
681
|
let { limetype: n, id: r } = t;
|
|
680
|
-
if (
|
|
682
|
+
if (n == null) return;
|
|
683
|
+
let i = e[n];
|
|
684
|
+
if (i) return i.find((e) => e.id === r);
|
|
681
685
|
}
|
|
682
|
-
function
|
|
686
|
+
function U(e) {
|
|
683
687
|
return (t) => {
|
|
684
|
-
|
|
688
|
+
Ze(t, e.id), Qe(t, e.id);
|
|
685
689
|
};
|
|
686
690
|
}
|
|
687
|
-
function
|
|
688
|
-
e
|
|
691
|
+
function Je(e) {
|
|
692
|
+
return e !== null && (typeof e == "object" || typeof e == "function");
|
|
689
693
|
}
|
|
690
|
-
function
|
|
691
|
-
|
|
694
|
+
function Ye(e) {
|
|
695
|
+
return !Je(e) || !("commandId" in e) ? false : typeof e.commandId == "string";
|
|
692
696
|
}
|
|
693
|
-
function
|
|
694
|
-
|
|
697
|
+
function Xe(e) {
|
|
698
|
+
if (Je(e)) return Reflect.get(e, "constructor");
|
|
699
|
+
}
|
|
700
|
+
function Ze(e, t) {
|
|
701
|
+
Reflect.set(e, "commandId", t);
|
|
695
702
|
}
|
|
696
|
-
function
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
703
|
+
function Qe(e, t) {
|
|
704
|
+
Object.defineProperty(e, Symbol.hasInstance, { value: (e) => et(e).includes(t) });
|
|
705
|
+
}
|
|
706
|
+
function $e(e) {
|
|
707
|
+
if (typeof e == "string") return e;
|
|
708
|
+
let t = Xe(e);
|
|
709
|
+
return Ye(t) ? t.commandId : Ye(e) ? e.commandId : null;
|
|
710
|
+
}
|
|
711
|
+
function et(e) {
|
|
712
|
+
let t = /* @__PURE__ */ new Set(), n = e;
|
|
713
|
+
for (; n != null;) {
|
|
714
|
+
let e = $e(n);
|
|
715
|
+
if (!e) break;
|
|
716
|
+
t.add(e), n = Object.getPrototypeOf(n);
|
|
717
|
+
}
|
|
718
|
+
return [...t];
|
|
700
719
|
}
|
|
701
720
|
//#endregion
|
|
702
721
|
//#region src/commandbus/types.ts
|
|
703
722
|
n.CommandBus = "commandBus";
|
|
704
723
|
//#endregion
|
|
705
|
-
//#region \0@oxc-project+runtime@0.
|
|
706
|
-
function
|
|
724
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/decorate.js
|
|
725
|
+
function W(e, t, n, r) {
|
|
707
726
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
708
727
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
709
728
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
@@ -711,15 +730,15 @@ function G(e, t, n, r) {
|
|
|
711
730
|
}
|
|
712
731
|
//#endregion
|
|
713
732
|
//#region src/limeobject/commands/bulk-create-dialog.ts
|
|
714
|
-
var
|
|
733
|
+
var tt = "limeobject.bulk-create-dialog", G = class {
|
|
715
734
|
context;
|
|
716
735
|
filter;
|
|
717
736
|
relation;
|
|
718
737
|
};
|
|
719
|
-
|
|
738
|
+
G = W([U({ id: tt })], G);
|
|
720
739
|
//#endregion
|
|
721
740
|
//#region src/limeobject/commands/create-dialog.ts
|
|
722
|
-
var
|
|
741
|
+
var nt = "limeobject.create-dialog", K = class {
|
|
723
742
|
limetype;
|
|
724
743
|
limeobject;
|
|
725
744
|
route = false;
|
|
@@ -729,47 +748,49 @@ var Qe = "limeobject.create-dialog", q = class {
|
|
|
729
748
|
autoAttachRelation;
|
|
730
749
|
saveCommand;
|
|
731
750
|
};
|
|
732
|
-
|
|
751
|
+
K = W([U({ id: nt })], K);
|
|
733
752
|
//#endregion
|
|
734
753
|
//#region src/limeobject/commands/delete-object.ts
|
|
735
|
-
var
|
|
754
|
+
var rt = "limeobject.delete-object", q = class {
|
|
736
755
|
context;
|
|
737
756
|
};
|
|
738
|
-
|
|
757
|
+
q = W([U({ id: rt })], q);
|
|
739
758
|
//#endregion
|
|
740
759
|
//#region src/limeobject/commands/object-access.ts
|
|
741
|
-
var
|
|
760
|
+
var it = "limeobject.object-access", J = class {
|
|
742
761
|
context;
|
|
743
762
|
};
|
|
744
|
-
|
|
763
|
+
J = W([U({ id: it })], J);
|
|
745
764
|
//#endregion
|
|
746
765
|
//#region src/limeobject/commands/save-object.ts
|
|
747
|
-
var
|
|
766
|
+
var at = "limeobject.save-object", Y = class {
|
|
748
767
|
context;
|
|
749
768
|
limeobject;
|
|
750
769
|
route = false;
|
|
751
770
|
label;
|
|
752
771
|
};
|
|
753
|
-
|
|
772
|
+
//#endregion
|
|
773
|
+
//#region src/file/types.ts
|
|
774
|
+
Y = W([U({ id: at })], Y), n.LimeFileRepository = "state.limefiles";
|
|
754
775
|
//#endregion
|
|
755
776
|
//#region src/query/query.ts
|
|
756
|
-
var
|
|
777
|
+
var ot = /* @__PURE__ */ function(e) {
|
|
757
778
|
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;
|
|
758
|
-
}({}),
|
|
779
|
+
}({}), st = {
|
|
759
780
|
Count: "COUNT"};
|
|
760
781
|
//#endregion
|
|
761
782
|
//#region src/query/types.ts
|
|
762
783
|
n.Query = "query";
|
|
763
784
|
//#endregion
|
|
764
785
|
//#region src/http/http.ts
|
|
765
|
-
var
|
|
786
|
+
var ct = {
|
|
766
787
|
Post: "POST"};
|
|
767
788
|
//#endregion
|
|
768
789
|
//#region src/navigator/types.ts
|
|
769
790
|
n.Http = "http", n.EventDispatcher = "eventDispatcher", n.Translate = "translate", n.Dialog = "dialog", n.KeybindingRegistry = "keybindingRegistry", n.Navigator = "navigator";
|
|
770
791
|
//#endregion
|
|
771
792
|
//#region src/navigator/command.ts
|
|
772
|
-
var
|
|
793
|
+
var ut = "navigator.navigate", X = class {
|
|
773
794
|
path;
|
|
774
795
|
query;
|
|
775
796
|
hash;
|
|
@@ -777,14 +798,14 @@ var ot = "navigator.navigate", Z = class {
|
|
|
777
798
|
};
|
|
778
799
|
//#endregion
|
|
779
800
|
//#region src/routeregistry/types.ts
|
|
780
|
-
|
|
801
|
+
X = W([U({ id: ut })], X), n.Notification = "notifications", n.RouteRegistry = "routeRegistry";
|
|
781
802
|
//#endregion
|
|
782
803
|
//#region src/config/types.ts
|
|
783
804
|
n.TaskRepository = "state.tasks", n.ConfigRepository = "state.configs";
|
|
784
805
|
//#endregion
|
|
785
806
|
//#region src/config/decorator.ts
|
|
786
|
-
function
|
|
787
|
-
return
|
|
807
|
+
function pt(e) {
|
|
808
|
+
return B(e, { name: n.ConfigRepository });
|
|
788
809
|
}
|
|
789
810
|
//#endregion
|
|
790
811
|
//#region src/device/types.ts
|
|
@@ -794,8 +815,8 @@ n.Device = "state.device";
|
|
|
794
815
|
n.FilterRepository = "state.filters";
|
|
795
816
|
//#endregion
|
|
796
817
|
//#region src/filter/decorator.ts
|
|
797
|
-
function
|
|
798
|
-
return
|
|
818
|
+
function ht(e = {}) {
|
|
819
|
+
return B(e, { name: n.FilterRepository });
|
|
799
820
|
}
|
|
800
821
|
//#endregion
|
|
801
822
|
//#region src/userdata/types.ts
|
|
@@ -804,6 +825,15 @@ n.UserDataRepository = "state.user-data";
|
|
|
804
825
|
//#region src/application/types.ts
|
|
805
826
|
n.Application = "state.application";
|
|
806
827
|
//#endregion
|
|
828
|
+
//#region src/application/decorators/application.ts
|
|
829
|
+
function _t(e = {}) {
|
|
830
|
+
let t = { name: n.Application };
|
|
831
|
+
return e.map = [vt, ...e.map || []], B(e, t);
|
|
832
|
+
}
|
|
833
|
+
function vt(e) {
|
|
834
|
+
return e.applicationName;
|
|
835
|
+
}
|
|
836
|
+
//#endregion
|
|
807
837
|
//#region src/datetimeformatter/types.ts
|
|
808
838
|
n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetimeformatter";
|
|
809
839
|
//#endregion
|
|
@@ -811,39 +841,39 @@ n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetime
|
|
|
811
841
|
n.ConditionRegistry = "conditionRegistry";
|
|
812
842
|
//#endregion
|
|
813
843
|
//#region src/context/decorators/lifecycle.ts
|
|
814
|
-
function
|
|
844
|
+
function Tt(e, t) {
|
|
815
845
|
let n = /* @__PURE__ */ new WeakMap();
|
|
816
|
-
e.connectedCallback =
|
|
846
|
+
e.connectedCallback = Et(e.connectedCallback, t, n), e.disconnectedCallback = Dt(e.disconnectedCallback, n);
|
|
817
847
|
}
|
|
818
|
-
function
|
|
848
|
+
function Et(t, n, r) {
|
|
819
849
|
return async function(...i) {
|
|
820
850
|
let a = n({
|
|
821
851
|
component: this,
|
|
822
852
|
host: getElement(this),
|
|
823
|
-
registry:
|
|
853
|
+
registry: Ot(this)
|
|
824
854
|
});
|
|
825
855
|
return r.set(this, a), t?.apply(this, i);
|
|
826
856
|
};
|
|
827
857
|
}
|
|
828
|
-
function
|
|
858
|
+
function Dt(e, t) {
|
|
829
859
|
return function(...n) {
|
|
830
860
|
let r = e?.apply(this, n);
|
|
831
861
|
return t.get(this)?.(), t.delete(this), r;
|
|
832
862
|
};
|
|
833
863
|
}
|
|
834
|
-
function
|
|
864
|
+
function Ot(e) {
|
|
835
865
|
let t = f(e), r = n.ContextRegistry;
|
|
836
866
|
if (!t.has(r)) throw Error(`Service ${r} does not exist`);
|
|
837
867
|
return t.get(r);
|
|
838
868
|
}
|
|
839
869
|
//#endregion
|
|
840
870
|
//#region src/context/decorators/provide.ts
|
|
841
|
-
function
|
|
871
|
+
function kt(e) {
|
|
842
872
|
return (t, n) => {
|
|
843
|
-
|
|
873
|
+
Tt(t, jt(e, n));
|
|
844
874
|
};
|
|
845
875
|
}
|
|
846
|
-
function
|
|
876
|
+
function At(e, t) {
|
|
847
877
|
let n = e;
|
|
848
878
|
for (; n && n !== HTMLElement.prototype;) {
|
|
849
879
|
if (Object.getOwnPropertyDescriptor(n, t)) return true;
|
|
@@ -851,7 +881,7 @@ function Et(e, t) {
|
|
|
851
881
|
}
|
|
852
882
|
return false;
|
|
853
883
|
}
|
|
854
|
-
function
|
|
884
|
+
function jt(e, t) {
|
|
855
885
|
let n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakSet();
|
|
856
886
|
function a(e, t) {
|
|
857
887
|
return {
|
|
@@ -867,7 +897,7 @@ function Dt(e, t) {
|
|
|
867
897
|
};
|
|
868
898
|
}
|
|
869
899
|
function o(e, n) {
|
|
870
|
-
return
|
|
900
|
+
return At(n, t) ? n : e;
|
|
871
901
|
}
|
|
872
902
|
function s(e, n) {
|
|
873
903
|
let s = o(e, n);
|
|
@@ -889,12 +919,12 @@ function Dt(e, t) {
|
|
|
889
919
|
}
|
|
890
920
|
//#endregion
|
|
891
921
|
//#region src/context/decorators/select.ts
|
|
892
|
-
function
|
|
922
|
+
function Mt(e) {
|
|
893
923
|
return (t, n) => {
|
|
894
|
-
|
|
924
|
+
Tt(t, Nt(e, n));
|
|
895
925
|
};
|
|
896
926
|
}
|
|
897
|
-
function
|
|
927
|
+
function Nt(e, t) {
|
|
898
928
|
return ({ component: n, host: r, registry: i }) => i.subscribe(e, r, (e) => {
|
|
899
929
|
Reflect.set(n, t, e);
|
|
900
930
|
});
|
|
@@ -910,64 +940,62 @@ n.RuleRegistry = "ruleRegistry", n.ViewFactoryRegistry = "viewFactoryRegistry",
|
|
|
910
940
|
n.Logger = "logger";
|
|
911
941
|
//#endregion
|
|
912
942
|
//#region src/logger/factory.ts
|
|
913
|
-
var
|
|
914
|
-
function
|
|
943
|
+
var Z, Q;
|
|
944
|
+
function It(e) {
|
|
915
945
|
let t = window.Lime?.logger?.createLogger;
|
|
916
|
-
return typeof t == "function" ? (
|
|
946
|
+
return typeof t == "function" ? (Q === void 0 && (Q = $(Lt())), Q && (e = `${Q}:${e}`), t(e)) : (console.warn(`Logger factory is not configured. Returning console logger for scope "${e}".`), console);
|
|
917
947
|
}
|
|
918
|
-
function
|
|
919
|
-
return
|
|
948
|
+
function Lt() {
|
|
949
|
+
return Z === void 0 ? typeof import.meta.url == "string" ? (Z = import.meta.url, Z) : (Z = Rt(), Z) : Z;
|
|
920
950
|
}
|
|
921
|
-
function
|
|
951
|
+
function Rt() {
|
|
922
952
|
try {
|
|
923
|
-
|
|
924
|
-
if (!e) return null;
|
|
925
|
-
let t = e.split("\n");
|
|
926
|
-
for (let e of t) {
|
|
927
|
-
let t = e.match(/(https?:\/\/[^)\s:]+)/);
|
|
928
|
-
if (t) return t[1];
|
|
929
|
-
}
|
|
930
|
-
return null;
|
|
953
|
+
return zt((/* @__PURE__ */ Error(".")).stack);
|
|
931
954
|
} catch {
|
|
932
955
|
return null;
|
|
933
956
|
}
|
|
934
957
|
}
|
|
935
|
-
function
|
|
936
|
-
|
|
958
|
+
function zt(e) {
|
|
959
|
+
if (!e) return null;
|
|
960
|
+
for (let t of e.split("\n")) {
|
|
961
|
+
let e = t.match(/(https?:\/\/[^)\s:]+)/);
|
|
962
|
+
if (e && e[1]) return e[1];
|
|
963
|
+
}
|
|
964
|
+
return null;
|
|
937
965
|
}
|
|
938
|
-
function
|
|
939
|
-
|
|
940
|
-
return t ? t[1] : null;
|
|
966
|
+
function $(e) {
|
|
967
|
+
return e && (Bt(e) || Vt(e) || Ht(e) || Ut(e)) || null;
|
|
941
968
|
}
|
|
942
|
-
function
|
|
943
|
-
|
|
944
|
-
return t ? t[1] : null;
|
|
969
|
+
function Bt(e) {
|
|
970
|
+
return e.match(/\/([^/]+)-lwc-components\//)?.[1] ?? null;
|
|
945
971
|
}
|
|
946
|
-
function
|
|
972
|
+
function Vt(e) {
|
|
973
|
+
return e.match(/\/packages\/(?:@[^/]+\/)?([^/]+)/)?.[1] ?? null;
|
|
974
|
+
}
|
|
975
|
+
function Ht(e) {
|
|
947
976
|
let t = e.indexOf("+");
|
|
948
977
|
if (t === -1) return null;
|
|
949
978
|
let n = e.slice(0, t), r = n.lastIndexOf("/");
|
|
950
979
|
return r === -1 ? null : n.slice(r + 1);
|
|
951
980
|
}
|
|
952
|
-
function
|
|
953
|
-
|
|
954
|
-
return t ? t[1] : null;
|
|
981
|
+
function Ut(e) {
|
|
982
|
+
return e.match(/\/static\/([^/]+)\//)?.[1] ?? null;
|
|
955
983
|
}
|
|
956
984
|
//#endregion
|
|
957
985
|
//#region src/ai-context/types.ts
|
|
958
986
|
n.ProblemRepository = "problemRepository", n.AIContextRegistry = "aiContextRegistry";
|
|
959
987
|
//#endregion
|
|
960
988
|
//#region src/error/error.ts
|
|
961
|
-
var
|
|
962
|
-
function
|
|
963
|
-
|
|
989
|
+
var Gt = null;
|
|
990
|
+
function Kt(e, t) {
|
|
991
|
+
Gt ||= It("uncaught-error");
|
|
964
992
|
let n = {};
|
|
965
993
|
t && (n.element = t.tagName, t.id && (n.elementId = t.id));
|
|
966
994
|
let r = e instanceof Error ? e.message : String(e), i = e instanceof Error ? e : void 0;
|
|
967
|
-
|
|
995
|
+
Gt.error(r, i, n);
|
|
968
996
|
}
|
|
969
997
|
try {
|
|
970
|
-
setErrorHandler(
|
|
998
|
+
setErrorHandler(Kt);
|
|
971
999
|
} catch {}
|
|
972
1000
|
|
|
973
|
-
export {
|
|
1001
|
+
export { Ie as I, Le as L, Mt as M, U, We as W, _t as _, a, It as b, ct as c, ht as h, i, kt as k, n, ot as o, pt as p, st as s };
|