@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
|
@@ -152,7 +152,7 @@ function b(e) {
|
|
|
152
152
|
}
|
|
153
153
|
//#endregion
|
|
154
154
|
//#region node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
155
|
-
function
|
|
155
|
+
function x(e) {
|
|
156
156
|
var t = e(function(e) {
|
|
157
157
|
Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
|
|
158
158
|
});
|
|
@@ -160,7 +160,7 @@ function re(e) {
|
|
|
160
160
|
}
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
163
|
-
var
|
|
163
|
+
var S = x(function(e) {
|
|
164
164
|
return function(t) {
|
|
165
165
|
e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
|
|
166
166
|
return t + 1 + ") " + e.toString();
|
|
@@ -169,7 +169,7 @@ var x = re(function(e) {
|
|
|
169
169
|
});
|
|
170
170
|
//#endregion
|
|
171
171
|
//#region node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
172
|
-
function
|
|
172
|
+
function C(e, t) {
|
|
173
173
|
if (e) {
|
|
174
174
|
var n = e.indexOf(t);
|
|
175
175
|
0 <= n && e.splice(n, 1);
|
|
@@ -177,7 +177,7 @@ function S(e, t) {
|
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
180
|
-
var
|
|
180
|
+
var w = function() {
|
|
181
181
|
function e(e) {
|
|
182
182
|
this.initialTeardown = e, this.closed = false, this._parentage = null, this._finalizers = null;
|
|
183
183
|
}
|
|
@@ -202,7 +202,7 @@ var C = function() {
|
|
|
202
202
|
if (b(c)) try {
|
|
203
203
|
c();
|
|
204
204
|
} catch (e) {
|
|
205
|
-
i = e instanceof
|
|
205
|
+
i = e instanceof S ? e.errors : [e];
|
|
206
206
|
}
|
|
207
207
|
var l = this._finalizers;
|
|
208
208
|
if (l) {
|
|
@@ -211,9 +211,9 @@ var C = function() {
|
|
|
211
211
|
for (var u = _(l), d = u.next(); !d.done; d = u.next()) {
|
|
212
212
|
var ee = d.value;
|
|
213
213
|
try {
|
|
214
|
-
|
|
214
|
+
T(ee);
|
|
215
215
|
} catch (e) {
|
|
216
|
-
i ??= [], e instanceof
|
|
216
|
+
i ??= [], e instanceof S ? i = y(y([], v(i)), v(e.errors)) : i.push(e);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
} catch (e) {
|
|
@@ -226,10 +226,10 @@ var C = function() {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
if (i) throw new
|
|
229
|
+
if (i) throw new S(i);
|
|
230
230
|
}
|
|
231
231
|
}, e.prototype.add = function(t) {
|
|
232
|
-
if (t && t !== this) if (this.closed)
|
|
232
|
+
if (t && t !== this) if (this.closed) T(t);
|
|
233
233
|
else {
|
|
234
234
|
if (t instanceof e) {
|
|
235
235
|
if (t.closed || t._hasParent(this)) return;
|
|
@@ -245,25 +245,25 @@ var C = function() {
|
|
|
245
245
|
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
246
246
|
}, e.prototype._removeParent = function(e) {
|
|
247
247
|
var t = this._parentage;
|
|
248
|
-
t === e ? this._parentage = null : Array.isArray(t) &&
|
|
248
|
+
t === e ? this._parentage = null : Array.isArray(t) && C(t, e);
|
|
249
249
|
}, e.prototype.remove = function(t) {
|
|
250
250
|
var n = this._finalizers;
|
|
251
|
-
n &&
|
|
251
|
+
n && C(n, t), t instanceof e && t._removeParent(this);
|
|
252
252
|
}, e.EMPTY = (function() {
|
|
253
253
|
var t = new e();
|
|
254
254
|
return t.closed = true, t;
|
|
255
255
|
})(), e;
|
|
256
|
-
}(),
|
|
256
|
+
}(), re = w.EMPTY;
|
|
257
257
|
function ie(e) {
|
|
258
|
-
return e instanceof
|
|
258
|
+
return e instanceof w || e && "closed" in e && b(e.remove) && b(e.add) && b(e.unsubscribe);
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function T(e) {
|
|
261
261
|
b(e) ? e() : e.unsubscribe();
|
|
262
262
|
}
|
|
263
263
|
//#endregion
|
|
264
264
|
//#region node_modules/rxjs/dist/esm5/internal/config.js
|
|
265
|
-
var
|
|
266
|
-
Promise: void 0},
|
|
265
|
+
var E = {
|
|
266
|
+
Promise: void 0}, D = {
|
|
267
267
|
setTimeout: function(e, t) {
|
|
268
268
|
var n = [...arguments].slice(2);
|
|
269
269
|
return setTimeout.apply(void 0, y([e, t], v(n)));
|
|
@@ -275,14 +275,14 @@ var T = {
|
|
|
275
275
|
};
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
278
|
-
function
|
|
279
|
-
|
|
278
|
+
function ae(e) {
|
|
279
|
+
D.setTimeout(function() {
|
|
280
280
|
throw e;
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
285
|
-
function
|
|
285
|
+
function oe() {}
|
|
286
286
|
function A(e) {
|
|
287
287
|
e();
|
|
288
288
|
}
|
|
@@ -319,7 +319,7 @@ var de = function(e) {
|
|
|
319
319
|
this.unsubscribe();
|
|
320
320
|
}
|
|
321
321
|
}, t;
|
|
322
|
-
}(
|
|
322
|
+
}(w);
|
|
323
323
|
var pe = function() {
|
|
324
324
|
function e(e) {
|
|
325
325
|
this.partialObserver = e;
|
|
@@ -364,7 +364,7 @@ var pe = function() {
|
|
|
364
364
|
return t;
|
|
365
365
|
}(de);
|
|
366
366
|
function N(e) {
|
|
367
|
-
|
|
367
|
+
ae(e);
|
|
368
368
|
}
|
|
369
369
|
function me(e) {
|
|
370
370
|
throw e;
|
|
@@ -373,9 +373,9 @@ function P(e, t) {
|
|
|
373
373
|
}
|
|
374
374
|
var he = {
|
|
375
375
|
closed: true,
|
|
376
|
-
next:
|
|
376
|
+
next: oe,
|
|
377
377
|
error: me,
|
|
378
|
-
complete:
|
|
378
|
+
complete: oe
|
|
379
379
|
}, ge = (function() {
|
|
380
380
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
381
381
|
})();
|
|
@@ -403,7 +403,7 @@ var F = function() {
|
|
|
403
403
|
var n = new e();
|
|
404
404
|
return n.source = this, n.operator = t, n;
|
|
405
405
|
}, e.prototype.subscribe = function(e, t, n) {
|
|
406
|
-
var r = this, i =
|
|
406
|
+
var r = this, i = be(e) ? e : new M(e, t, n);
|
|
407
407
|
return A(function() {
|
|
408
408
|
var e = r, t = e.operator, n = e.source;
|
|
409
409
|
i.add(t ? t.call(i, n) : n ? r._subscribe(i) : r._trySubscribe(i));
|
|
@@ -416,7 +416,7 @@ var F = function() {
|
|
|
416
416
|
}
|
|
417
417
|
}, e.prototype.forEach = function(e, t) {
|
|
418
418
|
var n = this;
|
|
419
|
-
return t =
|
|
419
|
+
return t = I(t), new t(function(t, r) {
|
|
420
420
|
var i = new M({
|
|
421
421
|
next: function(t) {
|
|
422
422
|
try {
|
|
@@ -438,7 +438,7 @@ var F = function() {
|
|
|
438
438
|
return ve([...arguments])(this);
|
|
439
439
|
}, e.prototype.toPromise = function(e) {
|
|
440
440
|
var t = this;
|
|
441
|
-
return e =
|
|
441
|
+
return e = I(e), new e(function(e, n) {
|
|
442
442
|
var r;
|
|
443
443
|
t.subscribe(function(e) {
|
|
444
444
|
return r = e;
|
|
@@ -452,32 +452,32 @@ var F = function() {
|
|
|
452
452
|
return new e(t);
|
|
453
453
|
}, e;
|
|
454
454
|
}();
|
|
455
|
-
function
|
|
456
|
-
return e ??
|
|
455
|
+
function I(e) {
|
|
456
|
+
return e ?? E.Promise ?? Promise;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function ye(e) {
|
|
459
459
|
return e && b(e.next) && b(e.error) && b(e.complete);
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
return e && e instanceof de ||
|
|
461
|
+
function be(e) {
|
|
462
|
+
return e && e instanceof de || ye(e) && ie(e);
|
|
463
463
|
}
|
|
464
464
|
//#endregion
|
|
465
465
|
//#region node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
466
|
-
var
|
|
466
|
+
var xe = x(function(e) {
|
|
467
467
|
return function() {
|
|
468
468
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
469
469
|
};
|
|
470
|
-
}),
|
|
470
|
+
}), L = function(e) {
|
|
471
471
|
g(t, e);
|
|
472
472
|
function t() {
|
|
473
473
|
var t = e.call(this) || this;
|
|
474
474
|
return t.closed = false, t.currentObservers = null, t.observers = [], t.isStopped = false, t.hasError = false, t.thrownError = null, t;
|
|
475
475
|
}
|
|
476
476
|
return t.prototype.lift = function(e) {
|
|
477
|
-
var t = new
|
|
477
|
+
var t = new R(this, this);
|
|
478
478
|
return t.operator = e, t;
|
|
479
479
|
}, t.prototype._throwIfClosed = function() {
|
|
480
|
-
if (this.closed) throw new
|
|
480
|
+
if (this.closed) throw new xe();
|
|
481
481
|
}, t.prototype.next = function(e) {
|
|
482
482
|
var t = this;
|
|
483
483
|
A(function() {
|
|
@@ -527,8 +527,8 @@ var Se = re(function(e) {
|
|
|
527
527
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
528
528
|
}, t.prototype._innerSubscribe = function(e) {
|
|
529
529
|
var t = this, n = this, r = n.hasError, i = n.isStopped, a = n.observers;
|
|
530
|
-
return r || i ?
|
|
531
|
-
t.currentObservers = null,
|
|
530
|
+
return r || i ? re : (this.currentObservers = null, a.push(e), new w(function() {
|
|
531
|
+
t.currentObservers = null, C(a, e);
|
|
532
532
|
}));
|
|
533
533
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
534
534
|
var t = this, n = t.hasError, r = t.thrownError, i = t.isStopped;
|
|
@@ -537,9 +537,9 @@ var Se = re(function(e) {
|
|
|
537
537
|
var e = new F();
|
|
538
538
|
return e.source = this, e;
|
|
539
539
|
}, t.create = function(e, t) {
|
|
540
|
-
return new
|
|
540
|
+
return new R(e, t);
|
|
541
541
|
}, t;
|
|
542
|
-
}(F),
|
|
542
|
+
}(F), R = function(e) {
|
|
543
543
|
g(t, e);
|
|
544
544
|
function t(t, n) {
|
|
545
545
|
var r = e.call(this) || this;
|
|
@@ -555,9 +555,9 @@ var Se = re(function(e) {
|
|
|
555
555
|
var e, t;
|
|
556
556
|
(t = (e = this.destination)?.complete) == null || t.call(e);
|
|
557
557
|
}, t.prototype._subscribe = function(e) {
|
|
558
|
-
return this.source?.subscribe(e) ??
|
|
558
|
+
return this.source?.subscribe(e) ?? re;
|
|
559
559
|
}, t;
|
|
560
|
-
}(
|
|
560
|
+
}(L), Se = function(e) {
|
|
561
561
|
g(t, e);
|
|
562
562
|
function t(t) {
|
|
563
563
|
var n = e.call(this) || this;
|
|
@@ -579,134 +579,153 @@ var Se = re(function(e) {
|
|
|
579
579
|
}, t.prototype.next = function(t) {
|
|
580
580
|
e.prototype.next.call(this, this._value = t);
|
|
581
581
|
}, t;
|
|
582
|
-
}(
|
|
582
|
+
}(L);
|
|
583
583
|
//#endregion
|
|
584
584
|
//#region src/core/decorators/factory.ts
|
|
585
|
-
function
|
|
585
|
+
function z(e) {
|
|
586
586
|
return e;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function B(e, t) {
|
|
589
589
|
return (n, r) => {
|
|
590
|
-
let i =
|
|
591
|
-
|
|
590
|
+
let i = n, a = Te(i, String(r), e, t);
|
|
591
|
+
a.length === 1 && Ee(i, a);
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
|
-
var
|
|
595
|
-
function
|
|
596
|
-
let i =
|
|
597
|
-
return i || (i = [],
|
|
594
|
+
var Ce = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap();
|
|
595
|
+
function Te(e, t, n, r) {
|
|
596
|
+
let i = Ce.get(e);
|
|
597
|
+
return i || (i = [], Ce.set(e, i)), i.push({
|
|
598
598
|
options: n,
|
|
599
599
|
name: t,
|
|
600
|
-
optionFactory: r.optionFactory ||
|
|
600
|
+
optionFactory: r.optionFactory || z,
|
|
601
601
|
service: {
|
|
602
602
|
name: r.name,
|
|
603
603
|
method: r.method || "subscribe"
|
|
604
604
|
}
|
|
605
605
|
}), i;
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
e.connectedCallback =
|
|
609
|
-
}
|
|
610
|
-
function
|
|
611
|
-
return function(
|
|
612
|
-
|
|
613
|
-
let
|
|
614
|
-
|
|
615
|
-
let
|
|
616
|
-
|
|
617
|
-
for (let e of t) e.options = e.optionFactory(e.options, this),
|
|
618
|
-
|
|
607
|
+
function Ee(e, t) {
|
|
608
|
+
e.connectedCallback = De(e.connectedCallback, t), e.componentWillLoad = Oe(e.componentWillLoad, t), e.disconnectedCallback = ke(e.disconnectedCallback);
|
|
609
|
+
}
|
|
610
|
+
function De(e, t) {
|
|
611
|
+
return async function() {
|
|
612
|
+
we.set(this, true);
|
|
613
|
+
let n = [];
|
|
614
|
+
V.set(this, n);
|
|
615
|
+
let r = new Se(m(this));
|
|
616
|
+
n.push(te(this, (e) => r.next(e)));
|
|
617
|
+
for (let e of t) e.options = (e.optionFactory ?? z)(e.options, this), Ae(e.options) && (e.options.context = r), je(this, e);
|
|
618
|
+
return e?.call(this);
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return function(
|
|
623
|
-
return
|
|
621
|
+
function Oe(e, t) {
|
|
622
|
+
return async function() {
|
|
623
|
+
return we.get(this) === true ? e?.call(this) : De(e, t).call(this);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
function
|
|
627
|
-
return async function(
|
|
628
|
-
let
|
|
629
|
-
return
|
|
626
|
+
function ke(e) {
|
|
627
|
+
return async function() {
|
|
628
|
+
let t = e?.call(this);
|
|
629
|
+
return Me(this), t;
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Ae(e) {
|
|
633
633
|
return "context" in e;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
let n =
|
|
637
|
-
typeof n == "function" &&
|
|
635
|
+
function je(e, t) {
|
|
636
|
+
let n = Pe(e, t);
|
|
637
|
+
typeof n == "function" && V.get(e)?.push(n);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
let t =
|
|
639
|
+
function Me(e) {
|
|
640
|
+
let t = V.get(e) ?? [];
|
|
641
641
|
for (let e of t) e();
|
|
642
|
-
|
|
642
|
+
V.set(e, []);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Ne(e, t) {
|
|
645
645
|
return (n) => {
|
|
646
|
-
e
|
|
646
|
+
Reflect.set(e, t, n);
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Pe(e, t) {
|
|
650
650
|
let n = { ...t.options };
|
|
651
|
-
|
|
651
|
+
Fe(n, e);
|
|
652
652
|
let r = t.service.name, i = f(e);
|
|
653
653
|
if (!i.has(r)) throw Error(`Service ${r} does not exist`);
|
|
654
|
-
|
|
654
|
+
let a = i.get(r), o = t.service.method, s = Reflect.get(a, o);
|
|
655
|
+
if (typeof s != "function") throw TypeError(`Service ${r} does not have a ${o} method`);
|
|
656
|
+
return s.call(a, Ne(e, t.name), n);
|
|
655
657
|
}
|
|
656
|
-
function
|
|
658
|
+
function Fe(e, t) {
|
|
657
659
|
e.filter &&= e.filter.map((e) => e.bind(t)), e.map &&= e.map.map((e) => e.bind(t));
|
|
658
660
|
}
|
|
659
661
|
//#endregion
|
|
660
662
|
//#region src/limetype/decorator.ts
|
|
661
|
-
function
|
|
662
|
-
return
|
|
663
|
+
function Ie(e = {}) {
|
|
664
|
+
return B(e, { name: n.LimeTypeRepository });
|
|
663
665
|
}
|
|
664
|
-
function
|
|
666
|
+
function Le(e = {}) {
|
|
665
667
|
let t = { name: n.LimeTypeRepository };
|
|
666
|
-
return e.map = [
|
|
668
|
+
return e.map = [Re, ...e.map || []], e.context = null, B(e, t);
|
|
667
669
|
}
|
|
668
|
-
function
|
|
670
|
+
function Re(e) {
|
|
669
671
|
let t = m(this);
|
|
670
|
-
if (t) return e[t.limetype];
|
|
672
|
+
if (!(!t || t.limetype == null)) return e[t.limetype];
|
|
671
673
|
}
|
|
672
674
|
//#endregion
|
|
673
675
|
//#region src/limeobject/types.ts
|
|
674
676
|
n.LimeObjectRepository = "state.limeobjects";
|
|
675
|
-
function
|
|
677
|
+
function We(e = {}) {
|
|
676
678
|
let t = { name: n.LimeObjectRepository };
|
|
677
|
-
return e.map = [
|
|
679
|
+
return e.map = [Ge, ...e.map || []], e.context = null, B(e, t);
|
|
678
680
|
}
|
|
679
|
-
function
|
|
681
|
+
function Ge(e) {
|
|
680
682
|
let t = m(this);
|
|
681
683
|
if (!t) return;
|
|
682
684
|
let { limetype: n, id: r } = t;
|
|
683
|
-
if (
|
|
685
|
+
if (n == null) return;
|
|
686
|
+
let i = e[n];
|
|
687
|
+
if (i) return i.find((e) => e.id === r);
|
|
684
688
|
}
|
|
685
|
-
function
|
|
689
|
+
function U(e) {
|
|
686
690
|
return (t) => {
|
|
687
|
-
|
|
691
|
+
Ze(t, e.id), Qe(t, e.id);
|
|
688
692
|
};
|
|
689
693
|
}
|
|
690
|
-
function
|
|
691
|
-
e
|
|
694
|
+
function Je(e) {
|
|
695
|
+
return e !== null && (typeof e == "object" || typeof e == "function");
|
|
692
696
|
}
|
|
693
|
-
function
|
|
694
|
-
|
|
697
|
+
function Ye(e) {
|
|
698
|
+
return !Je(e) || !("commandId" in e) ? false : typeof e.commandId == "string";
|
|
695
699
|
}
|
|
696
|
-
function
|
|
697
|
-
|
|
700
|
+
function Xe(e) {
|
|
701
|
+
if (Je(e)) return Reflect.get(e, "constructor");
|
|
702
|
+
}
|
|
703
|
+
function Ze(e, t) {
|
|
704
|
+
Reflect.set(e, "commandId", t);
|
|
698
705
|
}
|
|
699
|
-
function
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
706
|
+
function Qe(e, t) {
|
|
707
|
+
Object.defineProperty(e, Symbol.hasInstance, { value: (e) => et(e).includes(t) });
|
|
708
|
+
}
|
|
709
|
+
function $e(e) {
|
|
710
|
+
if (typeof e == "string") return e;
|
|
711
|
+
let t = Xe(e);
|
|
712
|
+
return Ye(t) ? t.commandId : Ye(e) ? e.commandId : null;
|
|
713
|
+
}
|
|
714
|
+
function et(e) {
|
|
715
|
+
let t = /* @__PURE__ */ new Set(), n = e;
|
|
716
|
+
for (; n != null;) {
|
|
717
|
+
let e = $e(n);
|
|
718
|
+
if (!e) break;
|
|
719
|
+
t.add(e), n = Object.getPrototypeOf(n);
|
|
720
|
+
}
|
|
721
|
+
return [...t];
|
|
703
722
|
}
|
|
704
723
|
//#endregion
|
|
705
724
|
//#region src/commandbus/types.ts
|
|
706
725
|
n.CommandBus = "commandBus";
|
|
707
726
|
//#endregion
|
|
708
|
-
//#region \0@oxc-project+runtime@0.
|
|
709
|
-
function
|
|
727
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/decorate.js
|
|
728
|
+
function W(e, t, n, r) {
|
|
710
729
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
711
730
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
712
731
|
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);
|
|
@@ -714,15 +733,15 @@ function G(e, t, n, r) {
|
|
|
714
733
|
}
|
|
715
734
|
//#endregion
|
|
716
735
|
//#region src/limeobject/commands/bulk-create-dialog.ts
|
|
717
|
-
var
|
|
736
|
+
var tt = "limeobject.bulk-create-dialog", G = class {
|
|
718
737
|
context;
|
|
719
738
|
filter;
|
|
720
739
|
relation;
|
|
721
740
|
};
|
|
722
|
-
|
|
741
|
+
G = W([U({ id: tt })], G);
|
|
723
742
|
//#endregion
|
|
724
743
|
//#region src/limeobject/commands/create-dialog.ts
|
|
725
|
-
var
|
|
744
|
+
var nt = "limeobject.create-dialog", K = class {
|
|
726
745
|
limetype;
|
|
727
746
|
limeobject;
|
|
728
747
|
route = false;
|
|
@@ -732,47 +751,49 @@ var Qe = "limeobject.create-dialog", q = class {
|
|
|
732
751
|
autoAttachRelation;
|
|
733
752
|
saveCommand;
|
|
734
753
|
};
|
|
735
|
-
|
|
754
|
+
K = W([U({ id: nt })], K);
|
|
736
755
|
//#endregion
|
|
737
756
|
//#region src/limeobject/commands/delete-object.ts
|
|
738
|
-
var
|
|
757
|
+
var rt = "limeobject.delete-object", q = class {
|
|
739
758
|
context;
|
|
740
759
|
};
|
|
741
|
-
|
|
760
|
+
q = W([U({ id: rt })], q);
|
|
742
761
|
//#endregion
|
|
743
762
|
//#region src/limeobject/commands/object-access.ts
|
|
744
|
-
var
|
|
763
|
+
var it = "limeobject.object-access", J = class {
|
|
745
764
|
context;
|
|
746
765
|
};
|
|
747
|
-
|
|
766
|
+
J = W([U({ id: it })], J);
|
|
748
767
|
//#endregion
|
|
749
768
|
//#region src/limeobject/commands/save-object.ts
|
|
750
|
-
var
|
|
769
|
+
var at = "limeobject.save-object", Y = class {
|
|
751
770
|
context;
|
|
752
771
|
limeobject;
|
|
753
772
|
route = false;
|
|
754
773
|
label;
|
|
755
774
|
};
|
|
756
|
-
|
|
775
|
+
//#endregion
|
|
776
|
+
//#region src/file/types.ts
|
|
777
|
+
Y = W([U({ id: at })], Y), n.LimeFileRepository = "state.limefiles";
|
|
757
778
|
//#endregion
|
|
758
779
|
//#region src/query/query.ts
|
|
759
|
-
var
|
|
780
|
+
var ot = /* @__PURE__ */ function(e) {
|
|
760
781
|
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;
|
|
761
|
-
}({}),
|
|
782
|
+
}({}), st = {
|
|
762
783
|
Count: "COUNT"};
|
|
763
784
|
//#endregion
|
|
764
785
|
//#region src/query/types.ts
|
|
765
786
|
n.Query = "query";
|
|
766
787
|
//#endregion
|
|
767
788
|
//#region src/http/http.ts
|
|
768
|
-
var
|
|
789
|
+
var ct = {
|
|
769
790
|
Post: "POST"};
|
|
770
791
|
//#endregion
|
|
771
792
|
//#region src/navigator/types.ts
|
|
772
793
|
n.Http = "http", n.EventDispatcher = "eventDispatcher", n.Translate = "translate", n.Dialog = "dialog", n.KeybindingRegistry = "keybindingRegistry", n.Navigator = "navigator";
|
|
773
794
|
//#endregion
|
|
774
795
|
//#region src/navigator/command.ts
|
|
775
|
-
var
|
|
796
|
+
var ut = "navigator.navigate", X = class {
|
|
776
797
|
path;
|
|
777
798
|
query;
|
|
778
799
|
hash;
|
|
@@ -780,14 +801,14 @@ var ot = "navigator.navigate", Z = class {
|
|
|
780
801
|
};
|
|
781
802
|
//#endregion
|
|
782
803
|
//#region src/routeregistry/types.ts
|
|
783
|
-
|
|
804
|
+
X = W([U({ id: ut })], X), n.Notification = "notifications", n.RouteRegistry = "routeRegistry";
|
|
784
805
|
//#endregion
|
|
785
806
|
//#region src/config/types.ts
|
|
786
807
|
n.TaskRepository = "state.tasks", n.ConfigRepository = "state.configs";
|
|
787
808
|
//#endregion
|
|
788
809
|
//#region src/config/decorator.ts
|
|
789
|
-
function
|
|
790
|
-
return
|
|
810
|
+
function pt(e) {
|
|
811
|
+
return B(e, { name: n.ConfigRepository });
|
|
791
812
|
}
|
|
792
813
|
//#endregion
|
|
793
814
|
//#region src/device/types.ts
|
|
@@ -797,8 +818,8 @@ n.Device = "state.device";
|
|
|
797
818
|
n.FilterRepository = "state.filters";
|
|
798
819
|
//#endregion
|
|
799
820
|
//#region src/filter/decorator.ts
|
|
800
|
-
function
|
|
801
|
-
return
|
|
821
|
+
function ht(e = {}) {
|
|
822
|
+
return B(e, { name: n.FilterRepository });
|
|
802
823
|
}
|
|
803
824
|
//#endregion
|
|
804
825
|
//#region src/userdata/types.ts
|
|
@@ -807,6 +828,15 @@ n.UserDataRepository = "state.user-data";
|
|
|
807
828
|
//#region src/application/types.ts
|
|
808
829
|
n.Application = "state.application";
|
|
809
830
|
//#endregion
|
|
831
|
+
//#region src/application/decorators/application.ts
|
|
832
|
+
function _t(e = {}) {
|
|
833
|
+
let t = { name: n.Application };
|
|
834
|
+
return e.map = [vt, ...e.map || []], B(e, t);
|
|
835
|
+
}
|
|
836
|
+
function vt(e) {
|
|
837
|
+
return e.applicationName;
|
|
838
|
+
}
|
|
839
|
+
//#endregion
|
|
810
840
|
//#region src/datetimeformatter/types.ts
|
|
811
841
|
n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetimeformatter";
|
|
812
842
|
//#endregion
|
|
@@ -814,39 +844,39 @@ n.UserPreferencesRepository = "userPreferences", n.DateTimeFormatter = "datetime
|
|
|
814
844
|
n.ConditionRegistry = "conditionRegistry";
|
|
815
845
|
//#endregion
|
|
816
846
|
//#region src/context/decorators/lifecycle.ts
|
|
817
|
-
function
|
|
847
|
+
function Tt(e, t) {
|
|
818
848
|
let n = /* @__PURE__ */ new WeakMap();
|
|
819
|
-
e.connectedCallback =
|
|
849
|
+
e.connectedCallback = Et(e.connectedCallback, t, n), e.disconnectedCallback = Dt(e.disconnectedCallback, n);
|
|
820
850
|
}
|
|
821
|
-
function
|
|
851
|
+
function Et(t, n, r) {
|
|
822
852
|
return async function(...i) {
|
|
823
853
|
let a = n({
|
|
824
854
|
component: this,
|
|
825
855
|
host: index.getElement(this),
|
|
826
|
-
registry:
|
|
856
|
+
registry: Ot(this)
|
|
827
857
|
});
|
|
828
858
|
return r.set(this, a), t?.apply(this, i);
|
|
829
859
|
};
|
|
830
860
|
}
|
|
831
|
-
function
|
|
861
|
+
function Dt(e, t) {
|
|
832
862
|
return function(...n) {
|
|
833
863
|
let r = e?.apply(this, n);
|
|
834
864
|
return t.get(this)?.(), t.delete(this), r;
|
|
835
865
|
};
|
|
836
866
|
}
|
|
837
|
-
function
|
|
867
|
+
function Ot(e) {
|
|
838
868
|
let t = f(e), r = n.ContextRegistry;
|
|
839
869
|
if (!t.has(r)) throw Error(`Service ${r} does not exist`);
|
|
840
870
|
return t.get(r);
|
|
841
871
|
}
|
|
842
872
|
//#endregion
|
|
843
873
|
//#region src/context/decorators/provide.ts
|
|
844
|
-
function
|
|
874
|
+
function kt(e) {
|
|
845
875
|
return (t, n) => {
|
|
846
|
-
|
|
876
|
+
Tt(t, jt(e, n));
|
|
847
877
|
};
|
|
848
878
|
}
|
|
849
|
-
function
|
|
879
|
+
function At(e, t) {
|
|
850
880
|
let n = e;
|
|
851
881
|
for (; n && n !== HTMLElement.prototype;) {
|
|
852
882
|
if (Object.getOwnPropertyDescriptor(n, t)) return true;
|
|
@@ -854,7 +884,7 @@ function Et(e, t) {
|
|
|
854
884
|
}
|
|
855
885
|
return false;
|
|
856
886
|
}
|
|
857
|
-
function
|
|
887
|
+
function jt(e, t) {
|
|
858
888
|
let n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakSet();
|
|
859
889
|
function a(e, t) {
|
|
860
890
|
return {
|
|
@@ -870,7 +900,7 @@ function Dt(e, t) {
|
|
|
870
900
|
};
|
|
871
901
|
}
|
|
872
902
|
function o(e, n) {
|
|
873
|
-
return
|
|
903
|
+
return At(n, t) ? n : e;
|
|
874
904
|
}
|
|
875
905
|
function s(e, n) {
|
|
876
906
|
let s = o(e, n);
|
|
@@ -892,12 +922,12 @@ function Dt(e, t) {
|
|
|
892
922
|
}
|
|
893
923
|
//#endregion
|
|
894
924
|
//#region src/context/decorators/select.ts
|
|
895
|
-
function
|
|
925
|
+
function Mt(e) {
|
|
896
926
|
return (t, n) => {
|
|
897
|
-
|
|
927
|
+
Tt(t, Nt(e, n));
|
|
898
928
|
};
|
|
899
929
|
}
|
|
900
|
-
function
|
|
930
|
+
function Nt(e, t) {
|
|
901
931
|
return ({ component: n, host: r, registry: i }) => i.subscribe(e, r, (e) => {
|
|
902
932
|
Reflect.set(n, t, e);
|
|
903
933
|
});
|
|
@@ -913,78 +943,77 @@ n.RuleRegistry = "ruleRegistry", n.ViewFactoryRegistry = "viewFactoryRegistry",
|
|
|
913
943
|
n.Logger = "logger";
|
|
914
944
|
//#endregion
|
|
915
945
|
//#region src/logger/factory.ts
|
|
916
|
-
var
|
|
917
|
-
function
|
|
946
|
+
var Z, Q;
|
|
947
|
+
function It(e) {
|
|
918
948
|
let t = window.Lime?.logger?.createLogger;
|
|
919
|
-
return typeof t == "function" ? (
|
|
949
|
+
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);
|
|
920
950
|
}
|
|
921
|
-
function
|
|
922
|
-
return
|
|
951
|
+
function Lt() {
|
|
952
|
+
return Z === void 0 ? typeof (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.esm-CcYbS__E.js', document.baseURI).href)) == "string" ? (Z = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.esm-CcYbS__E.js', document.baseURI).href)), Z) : (Z = Rt(), Z) : Z;
|
|
923
953
|
}
|
|
924
|
-
function
|
|
954
|
+
function Rt() {
|
|
925
955
|
try {
|
|
926
|
-
|
|
927
|
-
if (!e) return null;
|
|
928
|
-
let t = e.split("\n");
|
|
929
|
-
for (let e of t) {
|
|
930
|
-
let t = e.match(/(https?:\/\/[^)\s:]+)/);
|
|
931
|
-
if (t) return t[1];
|
|
932
|
-
}
|
|
933
|
-
return null;
|
|
956
|
+
return zt((/* @__PURE__ */ Error(".")).stack);
|
|
934
957
|
} catch {
|
|
935
958
|
return null;
|
|
936
959
|
}
|
|
937
960
|
}
|
|
938
|
-
function
|
|
939
|
-
|
|
961
|
+
function zt(e) {
|
|
962
|
+
if (!e) return null;
|
|
963
|
+
for (let t of e.split("\n")) {
|
|
964
|
+
let e = t.match(/(https?:\/\/[^)\s:]+)/);
|
|
965
|
+
if (e && e[1]) return e[1];
|
|
966
|
+
}
|
|
967
|
+
return null;
|
|
940
968
|
}
|
|
941
|
-
function
|
|
942
|
-
|
|
943
|
-
return t ? t[1] : null;
|
|
969
|
+
function $(e) {
|
|
970
|
+
return e && (Bt(e) || Vt(e) || Ht(e) || Ut(e)) || null;
|
|
944
971
|
}
|
|
945
|
-
function
|
|
946
|
-
|
|
947
|
-
return t ? t[1] : null;
|
|
972
|
+
function Bt(e) {
|
|
973
|
+
return e.match(/\/([^/]+)-lwc-components\//)?.[1] ?? null;
|
|
948
974
|
}
|
|
949
|
-
function
|
|
975
|
+
function Vt(e) {
|
|
976
|
+
return e.match(/\/packages\/(?:@[^/]+\/)?([^/]+)/)?.[1] ?? null;
|
|
977
|
+
}
|
|
978
|
+
function Ht(e) {
|
|
950
979
|
let t = e.indexOf("+");
|
|
951
980
|
if (t === -1) return null;
|
|
952
981
|
let n = e.slice(0, t), r = n.lastIndexOf("/");
|
|
953
982
|
return r === -1 ? null : n.slice(r + 1);
|
|
954
983
|
}
|
|
955
|
-
function
|
|
956
|
-
|
|
957
|
-
return t ? t[1] : null;
|
|
984
|
+
function Ut(e) {
|
|
985
|
+
return e.match(/\/static\/([^/]+)\//)?.[1] ?? null;
|
|
958
986
|
}
|
|
959
987
|
//#endregion
|
|
960
988
|
//#region src/ai-context/types.ts
|
|
961
989
|
n.ProblemRepository = "problemRepository", n.AIContextRegistry = "aiContextRegistry";
|
|
962
990
|
//#endregion
|
|
963
991
|
//#region src/error/error.ts
|
|
964
|
-
var
|
|
965
|
-
function
|
|
966
|
-
|
|
992
|
+
var Gt = null;
|
|
993
|
+
function Kt(e, t) {
|
|
994
|
+
Gt ||= It("uncaught-error");
|
|
967
995
|
let n = {};
|
|
968
996
|
t && (n.element = t.tagName, t.id && (n.elementId = t.id));
|
|
969
997
|
let r = e instanceof Error ? e.message : String(e), i = e instanceof Error ? e : void 0;
|
|
970
|
-
|
|
998
|
+
Gt.error(r, i, n);
|
|
971
999
|
}
|
|
972
1000
|
try {
|
|
973
|
-
index.setErrorHandler(
|
|
1001
|
+
index.setErrorHandler(Kt);
|
|
974
1002
|
} catch {}
|
|
975
1003
|
|
|
976
|
-
exports.
|
|
977
|
-
exports.
|
|
1004
|
+
exports.Ie = Ie;
|
|
1005
|
+
exports.It = It;
|
|
978
1006
|
exports.Le = Le;
|
|
979
1007
|
exports.Mt = Mt;
|
|
980
|
-
exports.
|
|
981
|
-
exports.
|
|
982
|
-
exports.
|
|
1008
|
+
exports.U = U;
|
|
1009
|
+
exports.We = We;
|
|
1010
|
+
exports._t = _t;
|
|
983
1011
|
exports.a = a;
|
|
984
|
-
exports.
|
|
1012
|
+
exports.ct = ct;
|
|
1013
|
+
exports.ht = ht;
|
|
985
1014
|
exports.i = i;
|
|
986
|
-
exports.
|
|
987
|
-
exports.lt = lt;
|
|
1015
|
+
exports.kt = kt;
|
|
988
1016
|
exports.n = n;
|
|
989
|
-
exports.
|
|
990
|
-
exports.
|
|
1017
|
+
exports.ot = ot;
|
|
1018
|
+
exports.pt = pt;
|
|
1019
|
+
exports.st = st;
|