@limetech/lime-crm-building-blocks 1.105.2 → 1.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/{index-ff255a0d.js → index-519b904a.js} +4 -1
- package/dist/cjs/{index.esm-d785eb6e.js → index.esm-b68bd570.js} +398 -268
- package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
- package/dist/cjs/{lime-query-validation-6d419d03.js → lime-query-validation-5eb432fe.js} +7 -7
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-item_2.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +126 -7
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +7 -7
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +18 -18
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +12 -12
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +4 -4
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-loader.cjs.entry.js +3 -3
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-property-selector.cjs.entry.js +4 -4
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +6 -6
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/{limetype-f2e4376e.js → limetype-b91060e7.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/chat-list/chat-item/chat-item.css +3 -0
- package/dist/collection/components/chat-list/chat-list.css +3 -0
- package/dist/collection/components/document-picker/document-picker.css +3 -0
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +3 -0
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +3 -0
- package/dist/collection/components/info-tile/info-tile-context-provider.js +46 -0
- package/dist/collection/components/info-tile/info-tile.js +78 -4
- package/dist/collection/components/kanban/kanban-group/kanban-group.css +3 -0
- package/dist/collection/components/kanban/kanban-item/kanban-item.css +3 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +3 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +3 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +3 -0
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +3 -0
- package/dist/collection/components/navigation-button/navigation-button.css +3 -0
- package/dist/collection/components/notification-list/notification-item/notification-item.css +3 -0
- package/dist/collection/components/notification-list/notification-list.css +3 -0
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +3 -0
- package/dist/collection/components/trend-indicator/trend-indicator.css +3 -0
- package/dist/components/index.esm.js +389 -259
- package/dist/components/kanban-group.js +2 -2
- package/dist/components/lime-query-filter-builder.js +5 -5
- package/dist/components/lime-query-filter-comparison.js +14 -14
- package/dist/components/lime-query-filter-expression.js +12 -12
- package/dist/components/lime-query-validation.js +7 -7
- package/dist/components/lime-query-value-input.js +3 -3
- package/dist/components/limebb-info-tile.js +127 -7
- package/dist/components/limebb-lime-query-builder.js +2 -2
- package/dist/components/limebb-lime-query-response-format-builder.js +2 -2
- package/dist/components/limebb-limeobject-file-viewer.js +3 -3
- package/dist/components/limebb-loader.js +2 -2
- package/dist/components/limebb-text-editor.js +4 -4
- package/dist/components/limetype.js +2 -2
- package/dist/components/property-selector.js +2 -2
- package/dist/esm/{index-96dd111f.js → index-d86e55c0.js} +4 -2
- package/dist/esm/{index.esm-bb569663.js → index.esm-863d7783.js} +389 -259
- package/dist/esm/lime-crm-building-blocks.js +3 -3
- package/dist/esm/{lime-query-validation-237ee440.js → lime-query-validation-84253575.js} +7 -7
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-item_2.entry.js +2 -2
- package/dist/esm/limebb-chat-list.entry.js +2 -2
- package/dist/esm/limebb-component-config.entry.js +2 -2
- package/dist/esm/limebb-component-picker.entry.js +2 -2
- package/dist/esm/limebb-currency-picker.entry.js +2 -2
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +2 -2
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +1 -1
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-empty-state.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +2 -2
- package/dist/esm/limebb-feed.entry.js +2 -2
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +126 -7
- package/dist/esm/limebb-kanban-group.entry.js +3 -3
- package/dist/esm/limebb-kanban-item.entry.js +2 -2
- package/dist/esm/limebb-kanban.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +7 -7
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +18 -18
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +12 -12
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +4 -4
- package/dist/esm/limebb-live-docs-info.entry.js +1 -1
- package/dist/esm/limebb-loader.entry.js +3 -3
- package/dist/esm/limebb-locale-picker.entry.js +2 -2
- package/dist/esm/limebb-mention-group-counter.entry.js +1 -1
- package/dist/esm/limebb-mention.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +1 -1
- package/dist/esm/limebb-notification-item.entry.js +2 -2
- package/dist/esm/limebb-notification-list.entry.js +2 -2
- package/dist/esm/limebb-percentage-visualizer.entry.js +1 -1
- package/dist/esm/limebb-property-selector.entry.js +4 -4
- package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +6 -6
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/{limetype-c0e041f7.js → limetype-09477163.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-e9d23ef7.entry.js → p-0bab7df6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-218b7f38.entry.js → p-0c290fd8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2fdcb868.entry.js → p-0da02112.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3932077b.entry.js → p-17baea44.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2673c79e.entry.js → p-228573ab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-351de229.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3b1fcd5b.js +1 -0
- package/dist/lime-crm-building-blocks/{p-6c56121c.entry.js → p-3da67f32.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-28346b49.entry.js → p-4653738d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-568b7520.entry.js → p-4ca1caf4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3175883d.entry.js → p-4fa58e0e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-52cf8641.js +2 -0
- package/dist/lime-crm-building-blocks/{p-7271f47a.entry.js → p-52fb8909.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-25e1a434.entry.js → p-579be797.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-eb81bceb.entry.js → p-5f12cdea.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-20bfca36.js → p-6aeb7b9b.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1be0eec7.entry.js → p-77b97c9f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c0ec1ddf.entry.js → p-7c04361c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5464f0de.entry.js → p-7ce112a7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9031f136.entry.js → p-85cae2a1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-61282e1a.entry.js → p-92062bd6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-10ac8b3e.entry.js → p-937e9144.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-09ce8be4.entry.js → p-9624acfd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3a406a20.entry.js → p-973146f7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8491aaa1.entry.js → p-9b4617bd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ef042c82.entry.js → p-9d41c07e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-9f2a9cf5.js +1 -0
- package/dist/lime-crm-building-blocks/{p-fdd5600b.entry.js → p-a9160103.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-03af0e66.entry.js → p-a9807878.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-80b9d946.entry.js → p-a9ef0153.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7d2188aa.entry.js → p-aec5cbca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2faaacbc.entry.js → p-b4bd67e2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-19ff678d.entry.js → p-bd6b5a42.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-098ee6c1.entry.js → p-bd92871a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9c2062bc.entry.js → p-c3c0c738.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ff0b244b.entry.js → p-c678ba6d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ee1b00b9.entry.js → p-cbbcec09.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cfa1a4ad.entry.js → p-d51d607b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-00da9b24.entry.js → p-d880ba5e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-761c7c7c.entry.js → p-da511a18.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f7ea292d.entry.js → p-dd6861b1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ddfd5196.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-32534eb7.entry.js → p-e03755ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-292631ea.entry.js → p-e79f16ca.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8c4eb49f.entry.js → p-eaf58ba4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-01cff04f.entry.js → p-eb56d4eb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ee0e42dd.entry.js → p-f1eee3bb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5dc574a3.entry.js → p-f97ea913.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4caa8bbe.entry.js → p-fb292b3f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bc18b0e7.entry.js → p-fc92dab6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f52125a0.entry.js → p-fcb3499b.entry.js} +1 -1
- package/dist/types/components/info-tile/info-tile-context-provider.d.ts +35 -0
- package/dist/types/components/info-tile/info-tile.d.ts +7 -0
- package/package.json +4 -4
- package/dist/lime-crm-building-blocks/p-11aa4103.js +0 -1
- package/dist/lime-crm-building-blocks/p-1556b545.js +0 -2
- package/dist/lime-crm-building-blocks/p-206575e4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4838284a.js +0 -1
- package/dist/lime-crm-building-blocks/p-a200954f.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { z as ze, c } from './index.esm.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './kanban-item.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './navigation-button.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './summary-popover.js';
|
|
@@ -111,7 +111,7 @@ const KanbanGroup = /*@__PURE__*/ proxyCustomElement(class KanbanGroup extends H
|
|
|
111
111
|
"totalCount": [514, "total-count"]
|
|
112
112
|
}]);
|
|
113
113
|
__decorate([
|
|
114
|
-
|
|
114
|
+
ze()
|
|
115
115
|
], KanbanGroup.prototype, "limetype", void 0);
|
|
116
116
|
function defineCustomElement() {
|
|
117
117
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { r as re } from './index.esm.js';
|
|
3
3
|
import { d as defineCustomElement$6 } from './lime-query-filter-comparison.js';
|
|
4
4
|
import { d as defineCustomElement$3, a as defineCustomElement$4, b as defineCustomElement$5 } from './lime-query-filter-expression.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './lime-query-value-input.js';
|
|
@@ -17,7 +17,7 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
|
|
|
17
17
|
this.handleAddFirstCondition = () => {
|
|
18
18
|
const newExpression = {
|
|
19
19
|
key: '',
|
|
20
|
-
op:
|
|
20
|
+
op: re.EQUALS,
|
|
21
21
|
exp: '',
|
|
22
22
|
};
|
|
23
23
|
this.expressionChange.emit(newExpression);
|
|
@@ -28,12 +28,12 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
|
|
|
28
28
|
}
|
|
29
29
|
// Wrap current expression in AND and add a new comparison
|
|
30
30
|
const newExpression = {
|
|
31
|
-
op:
|
|
31
|
+
op: re.AND,
|
|
32
32
|
exp: [
|
|
33
33
|
this.expression,
|
|
34
34
|
{
|
|
35
35
|
key: '',
|
|
36
|
-
op:
|
|
36
|
+
op: re.EQUALS,
|
|
37
37
|
exp: '',
|
|
38
38
|
},
|
|
39
39
|
],
|
|
@@ -66,7 +66,7 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
|
|
|
66
66
|
return true;
|
|
67
67
|
}
|
|
68
68
|
// NOT needs promotion
|
|
69
|
-
return this.expression.op ===
|
|
69
|
+
return this.expression.op === re.NOT;
|
|
70
70
|
}
|
|
71
71
|
renderEmptyState() {
|
|
72
72
|
return (h("limel-button", { label: "Condition", icon: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c,
|
|
2
|
+
import { c, r as re } from './index.esm.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './lime-query-value-input.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './property-selector.js';
|
|
5
5
|
|
|
@@ -8,58 +8,58 @@ const LimebbLimeQueryFilterComparisonStyle0 = limeQueryFilterComparisonCss;
|
|
|
8
8
|
|
|
9
9
|
const LIME_QUERY_OPERATORS = [
|
|
10
10
|
{
|
|
11
|
-
value:
|
|
11
|
+
value: re.EQUALS,
|
|
12
12
|
label: 'webclient.operator.equals',
|
|
13
13
|
icon: '-lime-filter-equal',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
value:
|
|
16
|
+
value: re.NOT_EQUALS,
|
|
17
17
|
label: 'webclient.operator.not-equals',
|
|
18
18
|
icon: '-lime-filter-equal-not',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
value:
|
|
21
|
+
value: re.GREATER,
|
|
22
22
|
label: 'webclient.operator.greater-than',
|
|
23
23
|
icon: '-lime-filter-greater',
|
|
24
24
|
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
value:
|
|
27
|
+
value: re.GREATER_OR_EQUAL,
|
|
28
28
|
label: 'webclient.operator.greater-than-or-equal-to',
|
|
29
29
|
icon: '-lime-filter-greater-equal',
|
|
30
30
|
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
value:
|
|
33
|
+
value: re.LESS,
|
|
34
34
|
label: 'webclient.operator.less-than',
|
|
35
35
|
icon: '-lime-filter-less',
|
|
36
36
|
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
value:
|
|
39
|
+
value: re.LESS_OR_EQUAL,
|
|
40
40
|
label: 'webclient.operator.less-than-or-equal-to',
|
|
41
41
|
icon: '-lime-filter-less-equal',
|
|
42
42
|
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
value:
|
|
45
|
+
value: re.IN,
|
|
46
46
|
label: 'webclient.operator.in-filter',
|
|
47
47
|
icon: '-lime-filter-set-included',
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
value:
|
|
50
|
+
value: re.LIKE,
|
|
51
51
|
label: 'webclient.operator.contains',
|
|
52
52
|
icon: '-lime-filter-contain',
|
|
53
53
|
applicableTypes: ['string', 'text'],
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
value:
|
|
56
|
+
value: re.BEGINS,
|
|
57
57
|
label: 'webclient.operator.begins-with',
|
|
58
58
|
icon: '-lime-filter-starts-with',
|
|
59
59
|
applicableTypes: ['string', 'text'],
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
value:
|
|
62
|
+
value: re.ENDS,
|
|
63
63
|
label: 'webclient.operator.ends-with',
|
|
64
64
|
icon: '-lime-filter-ends-with',
|
|
65
65
|
applicableTypes: ['string', 'text'],
|
|
@@ -82,15 +82,15 @@ const LimeQueryFilterComparisonComponent = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
82
82
|
let convertedValue = this.expression.exp;
|
|
83
83
|
// Convert value when switching between IN and other operators
|
|
84
84
|
// IN operator expects an array, other operators expect a single value
|
|
85
|
-
if (newOperator ===
|
|
85
|
+
if (newOperator === re.IN && !Array.isArray(convertedValue)) {
|
|
86
86
|
// Switching TO IN operator: wrap non-array value in array
|
|
87
87
|
convertedValue =
|
|
88
88
|
convertedValue !== undefined && convertedValue !== ''
|
|
89
89
|
? [convertedValue]
|
|
90
90
|
: [];
|
|
91
91
|
}
|
|
92
|
-
else if (oldOperator ===
|
|
93
|
-
newOperator !==
|
|
92
|
+
else if (oldOperator === re.IN &&
|
|
93
|
+
newOperator !== re.IN &&
|
|
94
94
|
Array.isArray(convertedValue)) {
|
|
95
95
|
// Switching FROM IN operator: extract first element from array
|
|
96
96
|
convertedValue = convertedValue.length > 0 ? convertedValue[0] : '';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { r as re } from './index.esm.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './lime-query-filter-comparison.js';
|
|
4
4
|
import { d as defineCustomElement$5 } from './lime-query-value-input.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './property-selector.js';
|
|
@@ -15,7 +15,7 @@ function getFilterGroupSubheading(operator, expressionCount) {
|
|
|
15
15
|
if (expressionCount <= 1) {
|
|
16
16
|
return '';
|
|
17
17
|
}
|
|
18
|
-
return operator ===
|
|
18
|
+
return operator === re.AND
|
|
19
19
|
? 'All of these conditions are met'
|
|
20
20
|
: 'Any of these conditions are met';
|
|
21
21
|
}
|
|
@@ -27,7 +27,7 @@ function getFilterGroupSubheading(operator, expressionCount) {
|
|
|
27
27
|
function createEmptyComparison() {
|
|
28
28
|
return {
|
|
29
29
|
key: '',
|
|
30
|
-
op:
|
|
30
|
+
op: re.EQUALS,
|
|
31
31
|
exp: '',
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@ function createEmptyComparison() {
|
|
|
38
38
|
* @returns A new group with the opposite operator and one empty comparison
|
|
39
39
|
*/
|
|
40
40
|
function createNestedGroup(parentOperator) {
|
|
41
|
-
const oppositeOp = parentOperator ===
|
|
41
|
+
const oppositeOp = parentOperator === re.AND ? re.OR : re.AND;
|
|
42
42
|
return {
|
|
43
43
|
op: oppositeOp,
|
|
44
44
|
exp: [createEmptyComparison()],
|
|
@@ -64,7 +64,7 @@ function addExpressionToGroup(group, newExpression) {
|
|
|
64
64
|
* @returns A new group with the toggled operator
|
|
65
65
|
*/
|
|
66
66
|
function toggleGroupOperator(group) {
|
|
67
|
-
const newOperator = group.op ===
|
|
67
|
+
const newOperator = group.op === re.AND ? re.OR : re.AND;
|
|
68
68
|
return {
|
|
69
69
|
op: newOperator,
|
|
70
70
|
exp: [...group.exp],
|
|
@@ -142,7 +142,7 @@ const LimeQueryFilterNotComponent = /*@__PURE__*/ proxyCustomElement(class LimeQ
|
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
144
|
this.expressionChange.emit({
|
|
145
|
-
op:
|
|
145
|
+
op: re.NOT,
|
|
146
146
|
exp: updatedExpression,
|
|
147
147
|
});
|
|
148
148
|
};
|
|
@@ -223,7 +223,7 @@ const LimeQueryFilterGroupComponent = /*@__PURE__*/ proxyCustomElement(class Lim
|
|
|
223
223
|
? event.detail[0]
|
|
224
224
|
: event.detail;
|
|
225
225
|
this.value = selectedOption;
|
|
226
|
-
const newOp = selectedOption.value === 'and' ?
|
|
226
|
+
const newOp = selectedOption.value === 'and' ? re.AND : re.OR;
|
|
227
227
|
if (newOp !== this.expression.op) {
|
|
228
228
|
const newGroup = toggleGroupOperator(this.expression);
|
|
229
229
|
this.expressionChange.emit(newGroup);
|
|
@@ -250,11 +250,11 @@ const LimeQueryFilterGroupComponent = /*@__PURE__*/ proxyCustomElement(class Lim
|
|
|
250
250
|
componentWillLoad() {
|
|
251
251
|
this.value =
|
|
252
252
|
this.options.find((option) => option.value ===
|
|
253
|
-
(this.expression.op ===
|
|
253
|
+
(this.expression.op === re.AND ? 'and' : 'or')) || this.options[0];
|
|
254
254
|
}
|
|
255
255
|
render() {
|
|
256
256
|
return (h(Host, { key: '324805229eab509d12b6d41a99a54c1a4d8560a1', style: {
|
|
257
|
-
'--limebb-lime-query-filter-group-operator': `"${this.expression.op ===
|
|
257
|
+
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === re.AND ? 'AND' : 'OR'}"`,
|
|
258
258
|
} }, h("div", { key: '948dda71aac51cbfd8b93bc657a79c00a6bd6f68', class: "expression" }, this.renderHeader(), h("ul", { key: 'b1dbce8f4f20f72e00567d431eed0fe5900f4fbf' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
259
259
|
}
|
|
260
260
|
renderHeader() {
|
|
@@ -356,11 +356,11 @@ const LimeQueryFilterExpressionComponent = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
356
356
|
if ('key' in this.expression) {
|
|
357
357
|
return (h("limebb-lime-query-filter-comparison", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
|
|
358
358
|
}
|
|
359
|
-
if (this.expression.op ===
|
|
360
|
-
this.expression.op ===
|
|
359
|
+
if (this.expression.op === re.AND ||
|
|
360
|
+
this.expression.op === re.OR) {
|
|
361
361
|
return (h("limebb-lime-query-filter-group", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
|
|
362
362
|
}
|
|
363
|
-
if (this.expression.op ===
|
|
363
|
+
if (this.expression.op === re.NOT) {
|
|
364
364
|
return (h("limebb-lime-query-filter-not", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
|
|
365
365
|
}
|
|
366
366
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as re } from './index.esm.js';
|
|
2
2
|
import { g as getPropertyFromPath, a as getNormalizedProperties, v as validatePropertyPath } from './property-selector.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -297,7 +297,7 @@ function validatePropertySelection(selection, limetypes, limetype, visualModeEna
|
|
|
297
297
|
*/
|
|
298
298
|
function validateComparisonExpression(filter, activeLimetype, limetypes, limetype) {
|
|
299
299
|
// Validate operator
|
|
300
|
-
const allValidOperators = Object.values(
|
|
300
|
+
const allValidOperators = Object.values(re);
|
|
301
301
|
if (!allValidOperators.includes(filter.op)) {
|
|
302
302
|
throw new Error(`Unsupported filter operator: ${filter.op}`);
|
|
303
303
|
}
|
|
@@ -322,16 +322,16 @@ function validateComparisonExpression(filter, activeLimetype, limetypes, limetyp
|
|
|
322
322
|
*/
|
|
323
323
|
function validateGroupExpression(filter, activeLimetype, limetypes, limetype, visualModeEnabled) {
|
|
324
324
|
// Validate operator
|
|
325
|
-
if (filter.op !==
|
|
326
|
-
filter.op !==
|
|
327
|
-
filter.op !==
|
|
325
|
+
if (filter.op !== re.AND &&
|
|
326
|
+
filter.op !== re.OR &&
|
|
327
|
+
filter.op !== re.NOT) {
|
|
328
328
|
throw new Error(`Unsupported group operator: ${filter.op}`);
|
|
329
329
|
}
|
|
330
330
|
// Recursively validate children
|
|
331
|
-
if (filter.op ===
|
|
331
|
+
if (filter.op === re.NOT) {
|
|
332
332
|
validateFilterPlaceholders(filter.exp, activeLimetype, limetypes, limetype, visualModeEnabled);
|
|
333
333
|
}
|
|
334
|
-
else if (filter.op ===
|
|
334
|
+
else if (filter.op === re.AND || filter.op === re.OR) {
|
|
335
335
|
const expressions = filter.exp;
|
|
336
336
|
for (const expr of expressions) {
|
|
337
337
|
validateFilterPlaceholders(expr, activeLimetype, limetypes, limetype, visualModeEnabled);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { Z as Ze, r as re } from './index.esm.js';
|
|
3
3
|
import { g as getPropertyFromPath, d as defineCustomElement$1 } from './property-selector.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -268,7 +268,7 @@ const LimeQueryValueInput = /*@__PURE__*/ proxyCustomElement(class LimeQueryValu
|
|
|
268
268
|
}
|
|
269
269
|
renderValueInputByType() {
|
|
270
270
|
// Special handling for IN operator - always use chip set for arrays
|
|
271
|
-
if (this.operator ===
|
|
271
|
+
if (this.operator === re.IN) {
|
|
272
272
|
return this.renderMultiValueInput();
|
|
273
273
|
}
|
|
274
274
|
const property = this.getProperty();
|
|
@@ -363,7 +363,7 @@ const LimeQueryValueInput = /*@__PURE__*/ proxyCustomElement(class LimeQueryValu
|
|
|
363
363
|
"inputMode": [32]
|
|
364
364
|
}]);
|
|
365
365
|
__decorate([
|
|
366
|
-
|
|
366
|
+
Ze()
|
|
367
367
|
], LimeQueryValueInput.prototype, "limetypes", void 0);
|
|
368
368
|
function defineCustomElement() {
|
|
369
369
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c,
|
|
2
|
+
import { c, a as ar, f as fr, Z as Ze, s as sr, r as re } from './index.esm.js';
|
|
3
3
|
import { i as isArrayLike, a as isBuffer, b as isTypedArray, c as isArguments, g as getTag, d as isPrototype, e as baseKeys } from './_getTag.js';
|
|
4
4
|
import { i as isArray } from './_Map.js';
|
|
5
5
|
|
|
@@ -70,6 +70,53 @@ function isEmpty(value) {
|
|
|
70
70
|
return true;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Context provider for the info-tile component.
|
|
75
|
+
*
|
|
76
|
+
* This provider contributes contextual information about an info tile
|
|
77
|
+
* to the AI chat feature, including the limetype, filter, aggregation
|
|
78
|
+
* method, and current value.
|
|
79
|
+
*
|
|
80
|
+
* @alpha
|
|
81
|
+
*/
|
|
82
|
+
class InfoTileContextProvider {
|
|
83
|
+
/**
|
|
84
|
+
* Create an InfoTileContextProvider.
|
|
85
|
+
*
|
|
86
|
+
* @param getState - Function that returns the current tile state
|
|
87
|
+
*/
|
|
88
|
+
constructor(getState) {
|
|
89
|
+
this.getState = getState;
|
|
90
|
+
this.contextType = 'info-tile';
|
|
91
|
+
this.description = 'Provides context about an info tile showing an aggregated value';
|
|
92
|
+
}
|
|
93
|
+
getContext() {
|
|
94
|
+
const { limetype, filterId, filterName, aggregateOperator, propertyName, value, label, } = this.getState();
|
|
95
|
+
if (!limetype || !filterId) {
|
|
96
|
+
return {};
|
|
97
|
+
}
|
|
98
|
+
const data = {
|
|
99
|
+
widgetType: 'info-tile',
|
|
100
|
+
limetype,
|
|
101
|
+
filterId,
|
|
102
|
+
};
|
|
103
|
+
if (filterName) {
|
|
104
|
+
data.filterName = filterName;
|
|
105
|
+
}
|
|
106
|
+
data.aggregateOperator = aggregateOperator;
|
|
107
|
+
if (propertyName) {
|
|
108
|
+
data.propertyName = propertyName;
|
|
109
|
+
}
|
|
110
|
+
if (value !== undefined) {
|
|
111
|
+
data.value = value;
|
|
112
|
+
}
|
|
113
|
+
if (label) {
|
|
114
|
+
data.label = label;
|
|
115
|
+
}
|
|
116
|
+
return { data };
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
73
120
|
class InfoTileLoader {
|
|
74
121
|
constructor(platform, filters = []) {
|
|
75
122
|
this.platform = platform;
|
|
@@ -319,10 +366,17 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
319
366
|
/**
|
|
320
367
|
* Type of aggregation operator to use
|
|
321
368
|
*/
|
|
322
|
-
this.aggregateOperator =
|
|
369
|
+
this.aggregateOperator = sr.Count;
|
|
323
370
|
this.loading = false;
|
|
324
371
|
this.error = false;
|
|
325
372
|
}
|
|
373
|
+
connectedCallback() {
|
|
374
|
+
this.registerContextProvider();
|
|
375
|
+
}
|
|
376
|
+
disconnectedCallback() {
|
|
377
|
+
var _a;
|
|
378
|
+
(_a = this.unregisterContextProvider) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
379
|
+
}
|
|
326
380
|
componentWillLoad() {
|
|
327
381
|
this.loadInfoTileValue();
|
|
328
382
|
}
|
|
@@ -377,7 +431,7 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
377
431
|
const errorProps = Object.assign(Object.assign({}, baseProps), { icon: 'error', prefix: 'ERROR', loading: true, label: this.getLabel(filter) });
|
|
378
432
|
const normalProps = Object.assign(Object.assign({}, baseProps), { label: this.getLabel(filter), link: this.getLink(filter), loading: this.loading, value: value === null || value === void 0 ? void 0 : value.value.trim() });
|
|
379
433
|
const props = !filter || this.error ? errorProps : normalProps;
|
|
380
|
-
return (h("limel-info-tile", Object.assign({ key: '
|
|
434
|
+
return (h("limel-info-tile", Object.assign({ key: 'c94459e6651a37365feac2faf711578629ea3499', class: { error: !filter || this.error } }, props)));
|
|
381
435
|
}
|
|
382
436
|
getFormattedValue() {
|
|
383
437
|
if (!this.value && this.value !== 0) {
|
|
@@ -422,8 +476,32 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
422
476
|
if (!filter) {
|
|
423
477
|
return { href: '#' };
|
|
424
478
|
}
|
|
479
|
+
const baseHref = ['explorer', filter.limetype, filter.id].join('/');
|
|
480
|
+
const relationPropertyName = this.getRelationPropertyName(this.limetypes[filter.limetype]);
|
|
481
|
+
const contextAwareFilter = this.buildContextAwareFilter(filter.filter, relationPropertyName);
|
|
482
|
+
if (!contextAwareFilter) {
|
|
483
|
+
return { href: baseHref };
|
|
484
|
+
}
|
|
485
|
+
const filterQuery = encodeURIComponent(JSON.stringify(contextAwareFilter));
|
|
486
|
+
return { href: `${baseHref}?filter=${filterQuery}` };
|
|
487
|
+
}
|
|
488
|
+
buildContextAwareFilter(filter, relationPropertyName) {
|
|
489
|
+
if (!relationPropertyName) {
|
|
490
|
+
return filter;
|
|
491
|
+
}
|
|
492
|
+
const relationFilter = {
|
|
493
|
+
key: relationPropertyName,
|
|
494
|
+
op: re.EQUALS,
|
|
495
|
+
exp: this.context.id,
|
|
496
|
+
};
|
|
497
|
+
if (!filter) {
|
|
498
|
+
return {
|
|
499
|
+
relationFilter,
|
|
500
|
+
};
|
|
501
|
+
}
|
|
425
502
|
return {
|
|
426
|
-
|
|
503
|
+
op: re.AND,
|
|
504
|
+
exp: [relationFilter, filter],
|
|
427
505
|
};
|
|
428
506
|
}
|
|
429
507
|
getFilter() {
|
|
@@ -433,6 +511,23 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
433
511
|
getFormatter(value) {
|
|
434
512
|
return new InfoTileFormatterFactory(this.language).createFormatter(this.format, value);
|
|
435
513
|
}
|
|
514
|
+
getRelationPropertyName(limetype) {
|
|
515
|
+
var _a, _b, _c;
|
|
516
|
+
if (!limetype || !this.context.limetype || !this.context.id) {
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
if (this.propertyName) {
|
|
520
|
+
const currentLimeType = this.limetypes[this.context.limetype];
|
|
521
|
+
const backReference = (_b = (_a = currentLimeType === null || currentLimeType === void 0 ? void 0 : currentLimeType.getProperty(this.propertyName)) === null || _a === void 0 ? void 0 : _a.relation) === null || _b === void 0 ? void 0 : _b.getBackreference();
|
|
522
|
+
if (backReference) {
|
|
523
|
+
return backReference.name;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
return (_c = Object.values(limetype.properties).find((property) => {
|
|
527
|
+
var _a;
|
|
528
|
+
return (((_a = property.relation) === null || _a === void 0 ? void 0 : _a.getLimetype().name) === this.context.limetype);
|
|
529
|
+
})) === null || _c === void 0 ? void 0 : _c.name;
|
|
530
|
+
}
|
|
436
531
|
get translator() {
|
|
437
532
|
return this.platform.get(c.Translate);
|
|
438
533
|
}
|
|
@@ -442,6 +537,27 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
442
537
|
get loader() {
|
|
443
538
|
return new InfoTileLoader(this.platform, this.filters);
|
|
444
539
|
}
|
|
540
|
+
registerContextProvider() {
|
|
541
|
+
const registry = this.platform.get(c.AIContextRegistry);
|
|
542
|
+
if (!(registry === null || registry === void 0 ? void 0 : registry.register)) {
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
const provider = new InfoTileContextProvider(() => {
|
|
546
|
+
const filter = this.getFilter();
|
|
547
|
+
return {
|
|
548
|
+
limetype: filter === null || filter === void 0 ? void 0 : filter.limetype,
|
|
549
|
+
filterId: this.filterId,
|
|
550
|
+
filterName: filter
|
|
551
|
+
? this.getLocalizedString(filter.name)
|
|
552
|
+
: undefined,
|
|
553
|
+
aggregateOperator: this.aggregateOperator,
|
|
554
|
+
propertyName: this.propertyName,
|
|
555
|
+
value: this.value,
|
|
556
|
+
label: this.getLabel(filter),
|
|
557
|
+
};
|
|
558
|
+
});
|
|
559
|
+
this.unregisterContextProvider = registry.register(provider);
|
|
560
|
+
}
|
|
445
561
|
static get watchers() { return {
|
|
446
562
|
"filterId": ["watchFilterId"],
|
|
447
563
|
"propertyName": ["watchPropertyName"],
|
|
@@ -464,18 +580,22 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
464
580
|
"filters": [32],
|
|
465
581
|
"value": [32],
|
|
466
582
|
"loading": [32],
|
|
467
|
-
"error": [32]
|
|
583
|
+
"error": [32],
|
|
584
|
+
"limetypes": [32]
|
|
468
585
|
}, undefined, {
|
|
469
586
|
"filterId": ["watchFilterId"],
|
|
470
587
|
"propertyName": ["watchPropertyName"],
|
|
471
588
|
"aggregateOperator": ["watchAggregateOperator"]
|
|
472
589
|
}]);
|
|
473
590
|
__decorate([
|
|
474
|
-
|
|
591
|
+
ar({})
|
|
475
592
|
], InfoTile.prototype, "config", void 0);
|
|
476
593
|
__decorate([
|
|
477
|
-
|
|
594
|
+
fr()
|
|
478
595
|
], InfoTile.prototype, "filters", void 0);
|
|
596
|
+
__decorate([
|
|
597
|
+
Ze()
|
|
598
|
+
], InfoTile.prototype, "limetypes", void 0);
|
|
479
599
|
function defineCustomElement$1() {
|
|
480
600
|
if (typeof customElements === "undefined") {
|
|
481
601
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { Z as Ze } from './index.esm.js';
|
|
3
3
|
import { i as isLimeQuerySupported } from './lime-query-validation.js';
|
|
4
4
|
import { d as defineCustomElement$d } from './lime-query-filter-builder.js';
|
|
5
5
|
import { d as defineCustomElement$c } from './lime-query-filter-comparison.js';
|
|
@@ -342,7 +342,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
|
|
|
342
342
|
"description": [32]
|
|
343
343
|
}]);
|
|
344
344
|
__decorate([
|
|
345
|
-
|
|
345
|
+
Ze()
|
|
346
346
|
], LimeQueryBuilder.prototype, "limetypes", void 0);
|
|
347
347
|
function defineCustomElement$1() {
|
|
348
348
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { Z as Ze } from './index.esm.js';
|
|
3
3
|
import { v as validateResponseFormatOnly } from './lime-query-validation.js';
|
|
4
4
|
import { d as defineCustomElement$4 } from './response-format-editor.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './response-format-item.js';
|
|
@@ -273,7 +273,7 @@ const LimeQueryResponseFormatBuilder = /*@__PURE__*/ proxyCustomElement(class Li
|
|
|
273
273
|
"internalValue": [32]
|
|
274
274
|
}]);
|
|
275
275
|
__decorate([
|
|
276
|
-
|
|
276
|
+
Ze()
|
|
277
277
|
], LimeQueryResponseFormatBuilder.prototype, "limetypes", void 0);
|
|
278
278
|
function defineCustomElement$1() {
|
|
279
279
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { i as ir, z as ze, c } from './index.esm.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './empty-state.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './live-docs-info.js';
|
|
5
5
|
import { n as negate } from './negate.js';
|
|
@@ -190,10 +190,10 @@ const FileViewer = /*@__PURE__*/ proxyCustomElement(class FileViewer extends HTM
|
|
|
190
190
|
"limetype": [32]
|
|
191
191
|
}]);
|
|
192
192
|
__decorate([
|
|
193
|
-
|
|
193
|
+
ir()
|
|
194
194
|
], FileViewer.prototype, "limeobject", void 0);
|
|
195
195
|
__decorate([
|
|
196
|
-
|
|
196
|
+
ze()
|
|
197
197
|
], FileViewer.prototype, "limetype", void 0);
|
|
198
198
|
function defineCustomElement$1() {
|
|
199
199
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { d, c } from './index.esm.js';
|
|
3
3
|
import { H as HighlightFeedItemHandler } from './highlight-item.handler.js';
|
|
4
4
|
|
|
5
5
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -30,7 +30,7 @@ let HighlightFeedItemCommand = class HighlightFeedItemCommand {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
HighlightFeedItemCommand = __decorate([
|
|
33
|
-
|
|
33
|
+
d({
|
|
34
34
|
id: COMMAND_ID,
|
|
35
35
|
})
|
|
36
36
|
], HighlightFeedItemCommand);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c,
|
|
2
|
+
import { c, s as sr, b as cr, Z as Ze } from './index.esm.js';
|
|
3
3
|
import { A as ARROW_DOWN, a as ESCAPE, b as ARROW_UP, E as ENTER, T as TAB } from './keycodes.js';
|
|
4
4
|
import { b as arrayLikeKeys, k as keys, c as getSymbols, s as stubArray, a as arrayPush, d as baseGetAllKeys, U as Uint8Array, S as Stack, g as getAllKeys } from './_Uint8Array.js';
|
|
5
5
|
import { d as defineProperty } from './_defineProperty.js';
|
|
@@ -1199,7 +1199,7 @@ class MentionsService {
|
|
|
1199
1199
|
[coworkerProperty.name]: {
|
|
1200
1200
|
count: {
|
|
1201
1201
|
aggregate: {
|
|
1202
|
-
op:
|
|
1202
|
+
op: sr.Count,
|
|
1203
1203
|
},
|
|
1204
1204
|
},
|
|
1205
1205
|
},
|
|
@@ -1274,7 +1274,7 @@ class FileUpload {
|
|
|
1274
1274
|
};
|
|
1275
1275
|
}
|
|
1276
1276
|
async initialize() {
|
|
1277
|
-
this.uploadService = await this.http.createFileUpload(
|
|
1277
|
+
this.uploadService = await this.http.createFileUpload(cr.Post, this.getUrl(), this.file);
|
|
1278
1278
|
if (this.progressCallback) {
|
|
1279
1279
|
this.uploadService.onProgress = this.progressCallback;
|
|
1280
1280
|
}
|
|
@@ -1863,7 +1863,7 @@ const LimeBBTextEditor = /*@__PURE__*/ proxyCustomElement(class LimeBBTextEditor
|
|
|
1863
1863
|
"editorPickerQuery": ["watchQuery"]
|
|
1864
1864
|
}]);
|
|
1865
1865
|
__decorate([
|
|
1866
|
-
|
|
1866
|
+
Ze({
|
|
1867
1867
|
map: [getMentionLimetypes],
|
|
1868
1868
|
})
|
|
1869
1869
|
], LimeBBTextEditor.prototype, "searchableLimetypes", void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as Ye, q as qe } from './index.esm.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the color for a limetype from its UI configuration
|
|
@@ -55,7 +55,7 @@ function hasLabel(object, label) {
|
|
|
55
55
|
* @returns true if the property is a hasmany relation
|
|
56
56
|
*/
|
|
57
57
|
function isManyRelation(property) {
|
|
58
|
-
return
|
|
58
|
+
return Ye(property) && !qe(property);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Finds a relation property on the given limetype that is related to a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { Z as Ze, c } from './index.esm.js';
|
|
3
3
|
import { g as getIcon } from './limetype.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -353,7 +353,7 @@ const PropertySelector = /*@__PURE__*/ proxyCustomElement(class PropertySelector
|
|
|
353
353
|
"navigationPath": [32]
|
|
354
354
|
}]);
|
|
355
355
|
__decorate([
|
|
356
|
-
|
|
356
|
+
Ze()
|
|
357
357
|
], PropertySelector.prototype, "limetypes", void 0);
|
|
358
358
|
function defineCustomElement() {
|
|
359
359
|
if (typeof customElements === "undefined") {
|
|
@@ -38,7 +38,9 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
38
38
|
return ref;
|
|
39
39
|
};
|
|
40
40
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
41
|
-
var
|
|
41
|
+
var customError;
|
|
42
|
+
var consoleError = (e, el) => (customError || console.error)(e, el);
|
|
43
|
+
var setErrorHandler = (handler) => customError = handler;
|
|
42
44
|
|
|
43
45
|
// src/client/client-load-module.ts
|
|
44
46
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
@@ -1413,4 +1415,4 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1413
1415
|
// src/runtime/nonce.ts
|
|
1414
1416
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1415
1417
|
|
|
1416
|
-
export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1418
|
+
export { Host as H, setErrorHandler as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|