@limetech/lime-crm-building-blocks 1.96.0 → 1.98.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/{_MapCache-2e84a981.js → _MapCache-8b125fbb.js} +0 -26
- package/dist/cjs/{_Uint8Array-1e99726d.js → _Uint8Array-95263550.js} +1 -12
- package/dist/cjs/_baseIsEqual-cb7951b0.js +496 -0
- package/dist/cjs/_defineProperty-40a6ad5d.js +15 -0
- package/dist/cjs/{get-1acf79ce.js → get-932b213e.js} +5 -4
- package/dist/cjs/isEqual-e77cce75.js +37 -0
- package/dist/cjs/isSymbol-5b36aeee.js +30 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/lime-query.types-bcb63a22.js +61 -0
- package/dist/cjs/limebb-component-config.cjs.entry.js +3 -2
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +378 -150
- package/dist/cjs/limebb-lime-query-filter-and_5.cjs.entry.js +278 -0
- package/dist/cjs/limebb-lime-query-value-input.cjs.entry.js +239 -0
- package/dist/cjs/limebb-limetype-field_2.cjs.entry.js +406 -0
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +13 -498
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-property-selector.cjs.entry.js +234 -0
- package/dist/cjs/limebb-response-format-item.cjs.entry.js +80 -0
- package/dist/cjs/limebb-text-editor.cjs.entry.js +20 -61
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/limetype-1fe0207f.js +90 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/property-resolution-fb42a46b.js +66 -0
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.css +121 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.js +257 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.css +39 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +246 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +104 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.js +220 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +107 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +212 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.css +123 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.js +237 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.css +48 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +457 -0
- package/dist/collection/components/lime-query-builder/filter-conversion.js +118 -21
- package/dist/collection/components/lime-query-builder/lime-query-builder.css +30 -17
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +253 -27
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +435 -0
- package/dist/collection/components/lime-query-builder/property-selection-format.js +158 -0
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.css +8 -0
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +422 -0
- package/dist/collection/components/lime-query-builder/response-format-editor.css +72 -0
- package/dist/collection/components/lime-query-builder/response-format-editor.js +249 -0
- package/dist/collection/components/lime-query-builder/response-format-item.css +61 -0
- package/dist/collection/components/lime-query-builder/response-format-item.js +208 -0
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/summary-popover/summary-popover.js +3 -3
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/components/_MapCache.js +2 -27
- package/dist/components/_Uint8Array.js +2 -12
- package/dist/components/_baseIsEqual.js +494 -0
- package/dist/components/_defineProperty.js +13 -0
- package/dist/components/get.js +2 -1
- package/dist/components/isEqual.js +35 -0
- package/dist/components/isSymbol.js +28 -0
- package/dist/components/lime-query-filter-and.js +408 -0
- package/dist/components/lime-query-filter-comparison.js +152 -0
- package/dist/components/lime-query-value-input.js +266 -0
- package/dist/components/limebb-lime-query-builder.js +437 -149
- package/dist/components/limebb-lime-query-filter-and.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-and.js +6 -0
- package/dist/components/limebb-lime-query-filter-comparison.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-comparison.js +6 -0
- package/dist/components/limebb-lime-query-filter-expression.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-expression.js +6 -0
- package/dist/components/limebb-lime-query-filter-not.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-not.js +6 -0
- package/dist/components/limebb-lime-query-filter-or.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-or.js +6 -0
- package/dist/components/limebb-lime-query-value-input.d.ts +11 -0
- package/dist/components/limebb-lime-query-value-input.js +6 -0
- package/dist/components/limebb-limetype-field.d.ts +11 -0
- package/dist/components/limebb-limetype-field.js +6 -0
- package/dist/components/limebb-locale-picker.js +8 -493
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-percentage-visualizer.js +2 -2
- package/dist/components/limebb-property-selector.d.ts +11 -0
- package/dist/components/limebb-property-selector.js +6 -0
- package/dist/components/limebb-response-format-editor.d.ts +11 -0
- package/dist/components/limebb-response-format-editor.js +6 -0
- package/dist/components/limebb-response-format-item.d.ts +11 -0
- package/dist/components/limebb-response-format-item.js +6 -0
- package/dist/components/limebb-text-editor.js +7 -48
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +184 -0
- package/dist/components/limetype.js +85 -0
- package/dist/components/live-docs-info.js +2 -2
- package/dist/components/notification-item.js +1 -1
- package/dist/components/property-selector.js +317 -0
- package/dist/components/response-format-editor.js +278 -0
- package/dist/components/response-format-item.js +104 -0
- package/dist/components/summary-popover.js +3 -3
- package/dist/esm/{_MapCache-6484495d.js → _MapCache-af496e9d.js} +2 -27
- package/dist/esm/{_Uint8Array-e5cac922.js → _Uint8Array-d6ebd526.js} +3 -13
- package/dist/esm/_baseIsEqual-28053b81.js +494 -0
- package/dist/esm/_defineProperty-e6a185c3.js +13 -0
- package/dist/esm/{get-f9e0b2e1.js → get-3e42932b.js} +2 -1
- package/dist/esm/isEqual-57d0c223.js +35 -0
- package/dist/esm/isSymbol-1c5f65cc.js +28 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/lime-query.types-f72355e1.js +59 -0
- package/dist/esm/limebb-component-config.entry.js +3 -2
- package/dist/esm/limebb-lime-query-builder.entry.js +375 -147
- package/dist/esm/limebb-lime-query-filter-and_5.entry.js +270 -0
- package/dist/esm/limebb-lime-query-value-input.entry.js +235 -0
- package/dist/esm/limebb-limetype-field_2.entry.js +401 -0
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +9 -494
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-property-selector.entry.js +230 -0
- package/dist/esm/limebb-response-format-item.entry.js +76 -0
- package/dist/esm/limebb-text-editor.entry.js +7 -48
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/limetype-6e7552a7.js +85 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/property-resolution-fde2375e.js +63 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-88c64360.entry.js → p-00da9b24.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-02c0cc04.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-0957b2a6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-123190c3.js +1 -0
- package/dist/lime-crm-building-blocks/p-244ee55b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-35897ec3.js +1 -0
- package/dist/lime-crm-building-blocks/{p-85b7291c.entry.js → p-3932077b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-3b0a15ec.js +1 -0
- package/dist/lime-crm-building-blocks/p-5a6d2e7f.js +1 -0
- package/dist/lime-crm-building-blocks/p-60971d64.js +1 -0
- package/dist/lime-crm-building-blocks/p-6c1146ca.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-70a28b93.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-7e6fb4af.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8664381a.entry.js → p-8c4eb49f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-96beaabc.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-a659d55a.js +1 -0
- package/dist/lime-crm-building-blocks/p-baf4e428.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-d298b34e.js +1 -0
- package/dist/lime-crm-building-blocks/{p-7c4bdc1b.entry.js → p-d89c44ad.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e0ab1554.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8064cbfb.entry.js → p-e9d23ef7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ef8a5266.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-c9126885.entry.js → p-f52125a0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-f99c611d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-fe2b91d9.js +1 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-and.d.ts +56 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +64 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-expression.d.ts +53 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-not.d.ts +54 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-or.d.ts +55 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-value-input.d.ts +92 -0
- package/dist/types/components/lime-query-builder/filter-conversion.d.ts +18 -0
- package/dist/types/components/lime-query-builder/lime-query-builder.d.ts +40 -7
- package/dist/types/components/lime-query-builder/limetype-field/limetype-field.d.ts +96 -0
- package/dist/types/components/lime-query-builder/property-selection-format.d.ts +23 -0
- package/dist/types/components/lime-query-builder/property-selector/property-selector.d.ts +71 -0
- package/dist/types/components/lime-query-builder/response-format-editor.d.ts +57 -0
- package/dist/types/components/lime-query-builder/response-format-item.d.ts +46 -0
- package/dist/types/components.d.ts +1587 -114
- package/package.json +1 -1
- package/dist/lime-crm-building-blocks/p-00e7e0d4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-11ac105b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-5abe3fff.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8044ffbd.js +0 -1
- package/dist/lime-crm-building-blocks/p-92ec9205.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-bcc23575.js +0 -1
- package/dist/lime-crm-building-blocks/p-c40a3f4b.js +0 -1
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ff255a0d.js');
|
|
6
|
+
const index_esm = require('./index.esm-a894ac76.js');
|
|
7
|
+
const propertyResolution = require('./property-resolution-fb42a46b.js');
|
|
8
|
+
|
|
9
|
+
const propertySelectorCss = ":host(limebb-property-selector){display:block}limel-menu{display:block;width:100%}";
|
|
10
|
+
const LimebbPropertySelectorStyle0 = propertySelectorCss;
|
|
11
|
+
|
|
12
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
15
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
16
|
+
else
|
|
17
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
18
|
+
if (d = decorators[i])
|
|
19
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
20
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21
|
+
};
|
|
22
|
+
const PropertySelector = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
index.registerInstance(this, hostRef);
|
|
25
|
+
this.change = index.createEvent(this, "change", 7);
|
|
26
|
+
/**
|
|
27
|
+
* Label for the input
|
|
28
|
+
*/
|
|
29
|
+
this.label = 'Property';
|
|
30
|
+
/**
|
|
31
|
+
* Whether the field is required
|
|
32
|
+
*/
|
|
33
|
+
this.required = false;
|
|
34
|
+
this.isOpen = false;
|
|
35
|
+
this.navigationPath = '';
|
|
36
|
+
this.menuItems = [];
|
|
37
|
+
this.handleChipSetWrapperClick = (event) => {
|
|
38
|
+
// Stop all clicks on the chip-set from bubbling
|
|
39
|
+
// This prevents the menu from opening when clicking chip remove buttons
|
|
40
|
+
event.stopPropagation();
|
|
41
|
+
};
|
|
42
|
+
this.handleChipSetFocus = () => {
|
|
43
|
+
// Open menu when the chip-set input receives focus
|
|
44
|
+
// This happens when user clicks to type/edit
|
|
45
|
+
if (!this.isOpen) {
|
|
46
|
+
this.navigationPath = this.value || '';
|
|
47
|
+
this.loadMenuItems();
|
|
48
|
+
this.isOpen = true;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
this.handleSelect = (event) => {
|
|
52
|
+
event.stopPropagation();
|
|
53
|
+
const selectedPath = event.detail.value;
|
|
54
|
+
if (!selectedPath) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
// Check if this is a complete path (leaf property, not a relation)
|
|
58
|
+
const property = propertyResolution.getPropertyFromPath(this.limetypes, this.limetype, selectedPath);
|
|
59
|
+
if (property === null || property === void 0 ? void 0 : property.relation) {
|
|
60
|
+
// This is a relation - update navigation but don't emit
|
|
61
|
+
this.navigationPath = selectedPath;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
// This is a leaf property - emit and close
|
|
65
|
+
this.change.emit(selectedPath);
|
|
66
|
+
this.isOpen = false;
|
|
67
|
+
this.navigationPath = '';
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
this.handleNavigateMenu = (event) => {
|
|
71
|
+
var _a;
|
|
72
|
+
event.stopPropagation();
|
|
73
|
+
if ((_a = event.detail) === null || _a === void 0 ? void 0 : _a.value) {
|
|
74
|
+
// Update navigation path when drilling down
|
|
75
|
+
this.navigationPath = event.detail.value;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
this.handleCancel = () => {
|
|
79
|
+
this.isOpen = false;
|
|
80
|
+
this.navigationPath = '';
|
|
81
|
+
};
|
|
82
|
+
this.handleChipSetChange = (event) => {
|
|
83
|
+
event.stopPropagation();
|
|
84
|
+
const detail = event.detail;
|
|
85
|
+
// Handle both single chip and array of chips
|
|
86
|
+
if (!detail) {
|
|
87
|
+
// Clear all was clicked
|
|
88
|
+
this.change.emit('');
|
|
89
|
+
this.navigationPath = '';
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
// Convert to array if it's a single chip
|
|
93
|
+
const chips = Array.isArray(detail) ? detail : [detail];
|
|
94
|
+
if (chips.length === 0) {
|
|
95
|
+
// All chips removed
|
|
96
|
+
this.change.emit('');
|
|
97
|
+
this.navigationPath = '';
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
// A chip was removed - emit the last remaining chip's value
|
|
101
|
+
const lastChip = chips.at(-1);
|
|
102
|
+
if (lastChip) {
|
|
103
|
+
this.change.emit(lastChip.value);
|
|
104
|
+
}
|
|
105
|
+
this.navigationPath = '';
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
render() {
|
|
110
|
+
if (!this.limetype || !this.limetypes) {
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
const chips = this.getChipsForPath(this.navigationPath || this.value || '');
|
|
114
|
+
return (index.h("limel-menu", { items: this.menuItems, open: this.isOpen, emptyResultMessage: "No available properties", surfaceWidth: "inherit-from-trigger", openDirection: "bottom-end", onSelect: this.handleSelect, onNavigateMenu: this.handleNavigateMenu, onCancel: this.handleCancel }, index.h("div", { slot: "trigger" }, index.h("div", { onClick: this.handleChipSetWrapperClick }, index.h("limel-chip-set", { type: "input", label: this.label, value: chips, required: this.required, helperText: this.helperText, delimiter: "\u203A", maxItems: 1, onChange: this.handleChipSetChange, onFocus: this.handleChipSetFocus })))));
|
|
115
|
+
}
|
|
116
|
+
loadMenuItems() {
|
|
117
|
+
// Get the limetype we're currently navigating in
|
|
118
|
+
const currentLimetype = this.getCurrentLimetype();
|
|
119
|
+
if (!currentLimetype) {
|
|
120
|
+
this.menuItems = [];
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
this.menuItems = this.createMenuItems(currentLimetype, '');
|
|
124
|
+
}
|
|
125
|
+
getCurrentLimetype() {
|
|
126
|
+
if (!this.navigationPath) {
|
|
127
|
+
return this.limetypes[this.limetype];
|
|
128
|
+
}
|
|
129
|
+
// Get the limetype at the current navigation path
|
|
130
|
+
const property = propertyResolution.getPropertyFromPath(this.limetypes, this.limetype, this.navigationPath);
|
|
131
|
+
if (property === null || property === void 0 ? void 0 : property.relation) {
|
|
132
|
+
return property.relation.getLimetype();
|
|
133
|
+
}
|
|
134
|
+
return this.limetypes[this.limetype];
|
|
135
|
+
}
|
|
136
|
+
createMenuItems(limetype, pathPrefix) {
|
|
137
|
+
const results = [];
|
|
138
|
+
if (!limetype) {
|
|
139
|
+
return results;
|
|
140
|
+
}
|
|
141
|
+
const normalizedProperties = propertyResolution.getNormalizedProperties(limetype);
|
|
142
|
+
for (const [propName, property] of Object.entries(normalizedProperties)) {
|
|
143
|
+
// Skip hasMany and hasAndBelongsToMany relations
|
|
144
|
+
if (property.type === 'hasmany' ||
|
|
145
|
+
property.type === 'hasandbelongstomany') {
|
|
146
|
+
continue;
|
|
147
|
+
}
|
|
148
|
+
const fullPath = pathPrefix
|
|
149
|
+
? `${pathPrefix}.${propName}`
|
|
150
|
+
: propName;
|
|
151
|
+
const isRelation = !!property.relation;
|
|
152
|
+
let items;
|
|
153
|
+
if (isRelation && property.relation) {
|
|
154
|
+
// Create submenu for relation (only belongsto at this point)
|
|
155
|
+
const relatedLimetype = property.relation.getLimetype();
|
|
156
|
+
if (relatedLimetype) {
|
|
157
|
+
items = async () => this.createMenuItems(relatedLimetype, fullPath);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
results.push({
|
|
161
|
+
text: property.localname || propName,
|
|
162
|
+
secondaryText: this.getSecondaryText(property),
|
|
163
|
+
icon: this.getIconForProperty(property),
|
|
164
|
+
value: fullPath,
|
|
165
|
+
items: items,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
if (results.length === 0) {
|
|
169
|
+
return [
|
|
170
|
+
{
|
|
171
|
+
text: 'No available properties',
|
|
172
|
+
value: '',
|
|
173
|
+
disabled: true,
|
|
174
|
+
},
|
|
175
|
+
];
|
|
176
|
+
}
|
|
177
|
+
return results;
|
|
178
|
+
}
|
|
179
|
+
getSecondaryText(property) {
|
|
180
|
+
var _a;
|
|
181
|
+
if (property.relation) {
|
|
182
|
+
const relatedLimetype = property.relation.getLimetype();
|
|
183
|
+
return ((_a = relatedLimetype === null || relatedLimetype === void 0 ? void 0 : relatedLimetype.localname) === null || _a === void 0 ? void 0 : _a.singular) || 'Object';
|
|
184
|
+
}
|
|
185
|
+
// Return the property type as the secondary text
|
|
186
|
+
return property.type.charAt(0).toUpperCase() + property.type.slice(1);
|
|
187
|
+
}
|
|
188
|
+
getIconForProperty(property) {
|
|
189
|
+
if (property.relation) {
|
|
190
|
+
return {
|
|
191
|
+
name: 'link',
|
|
192
|
+
color: 'rgb(var(--color-sky-default))',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
// Use generic property icon
|
|
196
|
+
return {
|
|
197
|
+
name: 'decision',
|
|
198
|
+
color: 'rgb(var(--color-gray-default))',
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
getChipsForPath(path) {
|
|
202
|
+
if (!path) {
|
|
203
|
+
return [];
|
|
204
|
+
}
|
|
205
|
+
const parts = path.split('.');
|
|
206
|
+
const chips = [];
|
|
207
|
+
let currentLimetype = this.limetypes[this.limetype];
|
|
208
|
+
let currentPath = '';
|
|
209
|
+
for (const part of parts) {
|
|
210
|
+
currentPath = currentPath ? `${currentPath}.${part}` : part;
|
|
211
|
+
// Use getNormalizedProperties to include _id and _timestamp
|
|
212
|
+
const normalizedProperties = propertyResolution.getNormalizedProperties(currentLimetype);
|
|
213
|
+
const property = normalizedProperties[part];
|
|
214
|
+
if (property) {
|
|
215
|
+
chips.push({
|
|
216
|
+
id: currentPath,
|
|
217
|
+
text: property.localname || part,
|
|
218
|
+
icon: this.getIconForProperty(property),
|
|
219
|
+
value: currentPath,
|
|
220
|
+
});
|
|
221
|
+
if (property.relation) {
|
|
222
|
+
currentLimetype = property.relation.getLimetype();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return chips;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
__decorate([
|
|
230
|
+
index_esm.Te()
|
|
231
|
+
], PropertySelector.prototype, "limetypes", void 0);
|
|
232
|
+
PropertySelector.style = LimebbPropertySelectorStyle0;
|
|
233
|
+
|
|
234
|
+
exports.limebb_property_selector = PropertySelector;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ff255a0d.js');
|
|
6
|
+
|
|
7
|
+
const responseFormatItemCss = ":host(limebb-response-format-item){display:flex;flex-direction:column;gap:0.5rem;width:100%}.property-controls{display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}.property-path{flex-grow:1;min-width:min(20rem, 100%)}.control-buttons{flex-shrink:0;display:flex;flex-direction:row;gap:0.25rem;align-items:center;padding-top:0.5rem}.control-buttons limel-icon-button{opacity:0.6;transition:opacity 0.2s ease}.control-buttons limel-icon-button:hover{opacity:1}.control-buttons limel-icon-button.has-value{opacity:1;color:rgb(var(--color-blue-default))}.alias,.description{padding-left:1.5rem;width:calc(100% - 1.5rem);max-width:40rem}@media (max-width: 768px){.property-controls{flex-direction:column;gap:0.5rem}.control-buttons{padding-top:0}.alias,.description{padding-left:0;width:100%}}";
|
|
8
|
+
const LimebbResponseFormatItemStyle0 = responseFormatItemCss;
|
|
9
|
+
|
|
10
|
+
const ResponseFormatItem = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.itemChange = index.createEvent(this, "itemChange", 7);
|
|
14
|
+
this.showAliasInput = false;
|
|
15
|
+
this.showDescriptionInput = false;
|
|
16
|
+
this.handlePathChange = (event) => {
|
|
17
|
+
event.stopPropagation();
|
|
18
|
+
this.itemChange.emit(Object.assign(Object.assign({}, this.item), { path: event.detail }));
|
|
19
|
+
};
|
|
20
|
+
this.toggleAliasInput = () => {
|
|
21
|
+
this.showAliasInput = !this.showAliasInput;
|
|
22
|
+
};
|
|
23
|
+
this.toggleDescriptionInput = () => {
|
|
24
|
+
this.showDescriptionInput = !this.showDescriptionInput;
|
|
25
|
+
};
|
|
26
|
+
this.handleAliasChange = (event) => {
|
|
27
|
+
event.stopPropagation();
|
|
28
|
+
const alias = event.detail;
|
|
29
|
+
this.itemChange.emit(Object.assign(Object.assign({}, this.item), { alias: alias || undefined }));
|
|
30
|
+
};
|
|
31
|
+
this.handleDescriptionChange = (event) => {
|
|
32
|
+
event.stopPropagation();
|
|
33
|
+
const description = event.detail;
|
|
34
|
+
this.itemChange.emit(Object.assign(Object.assign({}, this.item), { description: description || undefined }));
|
|
35
|
+
};
|
|
36
|
+
this.handleAliasBlur = () => {
|
|
37
|
+
if (this.item.alias) {
|
|
38
|
+
const trimmed = this.item.alias.trim();
|
|
39
|
+
if (trimmed !== this.item.alias) {
|
|
40
|
+
this.itemChange.emit(Object.assign(Object.assign({}, this.item), { alias: trimmed || undefined }));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
this.handleDescriptionBlur = () => {
|
|
45
|
+
if (this.item.description) {
|
|
46
|
+
const trimmed = this.item.description.trim();
|
|
47
|
+
if (trimmed !== this.item.description) {
|
|
48
|
+
this.itemChange.emit(Object.assign(Object.assign({}, this.item), { description: trimmed || undefined }));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
this.handleRemove = () => {
|
|
53
|
+
this.itemChange.emit(null);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
componentWillLoad() {
|
|
57
|
+
// Initialize visibility based on whether fields have values
|
|
58
|
+
this.showAliasInput = !!this.item.alias;
|
|
59
|
+
this.showDescriptionInput = !!this.item.description;
|
|
60
|
+
}
|
|
61
|
+
componentWillUpdate() {
|
|
62
|
+
// Keep inputs visible if they have values
|
|
63
|
+
if (this.item.alias && !this.showAliasInput) {
|
|
64
|
+
this.showAliasInput = true;
|
|
65
|
+
}
|
|
66
|
+
if (this.item.description && !this.showDescriptionInput) {
|
|
67
|
+
this.showDescriptionInput = true;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return [
|
|
72
|
+
index.h("div", { key: '842362f9a9cfd48420409e53f0a8dc84048e383f', class: "property-controls" }, index.h("div", { key: '9f1b758ca0a6123e9acdff4ee4e1480b1938bb8b', class: "property-path" }, index.h("limebb-property-selector", { key: '3f4ca007b7131c94c57af2883638e19657e0a876', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange })), index.h("div", { key: 'c0141d13b1af44df29ad6502817330da6fe62283', class: "control-buttons" }, index.h("limel-icon-button", { key: '24aa415a1a1d91a46a251fb947fe071cd8f6e36f', icon: "add_tag", label: "Add alias", class: this.item.alias ? 'has-value' : '', onClick: this.toggleAliasInput }), index.h("limel-icon-button", { key: '4fa60916e5e179361c9fa6ab49fa06ce4c88ca66', icon: "comments", label: "Add description", class: this.item.description ? 'has-value' : '', onClick: this.toggleDescriptionInput }), index.h("limel-icon-button", { key: '03db71a330ccc905e37ffb9d8375bb6b774812b9', icon: "trash", label: "Remove property", onClick: this.handleRemove }))),
|
|
73
|
+
this.showAliasInput && (index.h("div", { key: 'bebaa718fd408dfdcce2f4cfe479e1b56325df86', class: "alias" }, index.h("limel-input-field", { key: '2a7c1e65558ef4f4892f854da04d7e083847defd', label: "Alias", value: this.item.alias || '', placeholder: "Custom property name...", onChange: this.handleAliasChange, onBlur: this.handleAliasBlur }))),
|
|
74
|
+
this.showDescriptionInput && (index.h("div", { key: 'b32b9b5006a9a48e44f5725f070f9bd376c8b15f', class: "description" }, index.h("limel-input-field", { key: '98f63d70cc77c68cbf535d33210a8d5e0c15cf72', label: "Description", value: this.item.description || '', placeholder: "Describe this property for AI...", onChange: this.handleDescriptionChange, onBlur: this.handleDescriptionBlur }))),
|
|
75
|
+
];
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
ResponseFormatItem.style = LimebbResponseFormatItemStyle0;
|
|
79
|
+
|
|
80
|
+
exports.limebb_response_format_item = ResponseFormatItem;
|
|
@@ -5,12 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-ff255a0d.js');
|
|
6
6
|
const index_esm = require('./index.esm-a894ac76.js');
|
|
7
7
|
const keycodes = require('./keycodes-88522d7f.js');
|
|
8
|
-
const _Uint8Array = require('./_Uint8Array-
|
|
9
|
-
const
|
|
8
|
+
const _Uint8Array = require('./_Uint8Array-95263550.js');
|
|
9
|
+
const _defineProperty = require('./_defineProperty-40a6ad5d.js');
|
|
10
|
+
const _MapCache = require('./_MapCache-8b125fbb.js');
|
|
10
11
|
const _Map = require('./_Map-60aae0ed.js');
|
|
11
12
|
const _getTag = require('./_getTag-8809c5c6.js');
|
|
12
13
|
const randomString = require('./random-string-aac0a74b.js');
|
|
14
|
+
const limetype = require('./limetype-1fe0207f.js');
|
|
13
15
|
const nonNull = require('./non-null-3bf14aa1.js');
|
|
16
|
+
const isSymbol = require('./isSymbol-5b36aeee.js');
|
|
14
17
|
|
|
15
18
|
/** Used to match a single whitespace character. */
|
|
16
19
|
var reWhitespace = /\s/;
|
|
@@ -88,7 +91,7 @@ function toNumber(value) {
|
|
|
88
91
|
if (typeof value == 'number') {
|
|
89
92
|
return value;
|
|
90
93
|
}
|
|
91
|
-
if (
|
|
94
|
+
if (isSymbol.isSymbol(value)) {
|
|
92
95
|
return NAN;
|
|
93
96
|
}
|
|
94
97
|
if (_Map.isObject(value)) {
|
|
@@ -184,8 +187,8 @@ function arrayEach(array, iteratee) {
|
|
|
184
187
|
* @param {*} value The value to assign.
|
|
185
188
|
*/
|
|
186
189
|
function baseAssignValue(object, key, value) {
|
|
187
|
-
if (key == '__proto__' &&
|
|
188
|
-
|
|
190
|
+
if (key == '__proto__' && _defineProperty.defineProperty) {
|
|
191
|
+
_defineProperty.defineProperty(object, key, {
|
|
189
192
|
'configurable': true,
|
|
190
193
|
'enumerable': true,
|
|
191
194
|
'value': value,
|
|
@@ -1096,50 +1099,6 @@ function getUpdatedItems(items, highlightedItemIndex) {
|
|
|
1096
1099
|
});
|
|
1097
1100
|
}
|
|
1098
1101
|
|
|
1099
|
-
/**
|
|
1100
|
-
* Whether the given object has the given label or not.
|
|
1101
|
-
*
|
|
1102
|
-
* @param object the object to check label for
|
|
1103
|
-
* @param label the label to check for
|
|
1104
|
-
* @returns true if the object has the label
|
|
1105
|
-
*/
|
|
1106
|
-
function hasLabel(object, label) {
|
|
1107
|
-
return object.label === label;
|
|
1108
|
-
}
|
|
1109
|
-
/**
|
|
1110
|
-
* Whether the given property is a hasmany relation or not.
|
|
1111
|
-
*
|
|
1112
|
-
* @param property the property to check
|
|
1113
|
-
* @returns true if the property is a hasmany relation
|
|
1114
|
-
*/
|
|
1115
|
-
function isManyRelation(property) {
|
|
1116
|
-
return index_esm.De(property) && !index_esm.Me(property);
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* Finds a relation property on the given limetype that is related to a
|
|
1120
|
-
* limetype with the given label.
|
|
1121
|
-
*
|
|
1122
|
-
* @param limetype the limetype to search for the relation property
|
|
1123
|
-
* @param label the label of the target limetype to match
|
|
1124
|
-
* @returns the relation property or undefined
|
|
1125
|
-
*/
|
|
1126
|
-
function getRelationProperty(limetype, label) {
|
|
1127
|
-
return Object.values(limetype.properties).find((property) => property &&
|
|
1128
|
-
property.relation &&
|
|
1129
|
-
hasLabel(property.relation.getLimetype(), label));
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Whether the limetype has a hasmany relation of a limetype with the given label
|
|
1133
|
-
*
|
|
1134
|
-
* @param limetype the limetype
|
|
1135
|
-
* @param relatedLabel the label of the related limetype
|
|
1136
|
-
* @returns true if the limetype has the hasmany relation
|
|
1137
|
-
*/
|
|
1138
|
-
function hasHasManyRelation(limetype, relatedLabel) {
|
|
1139
|
-
const property = getRelationProperty(limetype, relatedLabel);
|
|
1140
|
-
return !!property && isManyRelation(property);
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
1102
|
/**
|
|
1144
1103
|
* Get the limetypes that should be available for mentions
|
|
1145
1104
|
*
|
|
@@ -1147,8 +1106,8 @@ function hasHasManyRelation(limetype, relatedLabel) {
|
|
|
1147
1106
|
* @returns mention limetypes
|
|
1148
1107
|
*/
|
|
1149
1108
|
function getMentionLimetypes(limetypes) {
|
|
1150
|
-
return Object.values(limetypes).filter((limetype) => {
|
|
1151
|
-
return (hasLabel(limetype, 'user') || hasHasManyRelation(limetype, 'user'));
|
|
1109
|
+
return Object.values(limetypes).filter((limetype$1) => {
|
|
1110
|
+
return (limetype.hasLabel(limetype$1, 'user') || limetype.hasHasManyRelation(limetype$1, 'user'));
|
|
1152
1111
|
});
|
|
1153
1112
|
}
|
|
1154
1113
|
const MAX_MENTION_SEARCH_RESULTS = 10;
|
|
@@ -1222,17 +1181,17 @@ class MentionsService {
|
|
|
1222
1181
|
}
|
|
1223
1182
|
async loadGroupCounts() {
|
|
1224
1183
|
const groupCountsLoads = this.searchableLimetypes
|
|
1225
|
-
.filter((limetype) => !hasLabel(limetype, 'user') &&
|
|
1226
|
-
hasHasManyRelation(limetype, 'user'))
|
|
1184
|
+
.filter((limetype$1) => !limetype.hasLabel(limetype$1, 'user') &&
|
|
1185
|
+
limetype.hasHasManyRelation(limetype$1, 'user'))
|
|
1227
1186
|
.map((limetype) => this.getGroupCounts(limetype));
|
|
1228
1187
|
for (const groupCount of await Promise.all(groupCountsLoads)) {
|
|
1229
1188
|
Object.assign(this.groupCounts, groupCount);
|
|
1230
1189
|
}
|
|
1231
1190
|
}
|
|
1232
|
-
async getGroupCounts(limetype) {
|
|
1191
|
+
async getGroupCounts(limetype$1) {
|
|
1233
1192
|
var _a;
|
|
1234
|
-
const coworkerProperty = getRelationProperty(limetype, 'user');
|
|
1235
|
-
const limetypeName = limetype.name;
|
|
1193
|
+
const coworkerProperty = limetype.getRelationProperty(limetype$1, 'user');
|
|
1194
|
+
const limetypeName = limetype$1.name;
|
|
1236
1195
|
try {
|
|
1237
1196
|
const result = await this.queryService.execute({
|
|
1238
1197
|
limetype: limetypeName,
|
|
@@ -1256,7 +1215,7 @@ class MentionsService {
|
|
|
1256
1215
|
return { [limetypeName]: groupCount };
|
|
1257
1216
|
}
|
|
1258
1217
|
catch (error) {
|
|
1259
|
-
console.error(`Error fetching group count for limetype: ${limetype.name}`, error);
|
|
1218
|
+
console.error(`Error fetching group count for limetype: ${limetype$1.name}`, error);
|
|
1260
1219
|
return { [limetypeName]: {} };
|
|
1261
1220
|
}
|
|
1262
1221
|
}
|
|
@@ -1284,9 +1243,9 @@ class MentionsService {
|
|
|
1284
1243
|
}
|
|
1285
1244
|
getGroupCountComponent(limeobject) {
|
|
1286
1245
|
var _a;
|
|
1287
|
-
const limetype = limeobject.getLimetype();
|
|
1288
|
-
const groupCount = (_a = this.groupCounts[limetype.name]) === null || _a === void 0 ? void 0 : _a[limeobject.id];
|
|
1289
|
-
const coworkerProperty = getRelationProperty(limetype, 'user');
|
|
1246
|
+
const limetype$1 = limeobject.getLimetype();
|
|
1247
|
+
const groupCount = (_a = this.groupCounts[limetype$1.name]) === null || _a === void 0 ? void 0 : _a[limeobject.id];
|
|
1248
|
+
const coworkerProperty = limetype.getRelationProperty(limetype$1, 'user');
|
|
1290
1249
|
if (groupCount === undefined || !coworkerProperty) {
|
|
1291
1250
|
return;
|
|
1292
1251
|
}
|
|
@@ -1815,7 +1774,7 @@ const LimeBBTextEditor = class {
|
|
|
1815
1774
|
}
|
|
1816
1775
|
render() {
|
|
1817
1776
|
return [
|
|
1818
|
-
index.h("limel-text-editor", { key: '
|
|
1777
|
+
index.h("limel-text-editor", { key: 'de672970cfd1048cc232eeadd527153421f28f36', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
|
|
1819
1778
|
this.renderPicker(),
|
|
1820
1779
|
];
|
|
1821
1780
|
}
|
|
@@ -39,7 +39,7 @@ const TrendIndicator = class {
|
|
|
39
39
|
this.numValue = this.parseValue(this.value);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: 'a0f458a114e5698f40899c44d532643f50bef249', class: this.getContainerClassList() }, index.h("limel-notched-outline", { key: 'fe9a66d44f3155d6594da5e7e16ce9a33907f800', id: this.tooltipId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, "aria-controls": this.helperTextId }, index.h("div", { key: 'daff3b1e6ec7098e7353bca3664179fd9c2594c1', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
|
|
43
43
|
}
|
|
44
44
|
renderVisualization() {
|
|
45
45
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index_esm = require('./index.esm-a894ac76.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the color for a limetype from its UI configuration
|
|
7
|
+
*
|
|
8
|
+
* @param limetype the limetype
|
|
9
|
+
* @returns the color string (CSS variable or RGB)
|
|
10
|
+
*/
|
|
11
|
+
function getColor(limetype) {
|
|
12
|
+
var _a;
|
|
13
|
+
const limetypeWithUI = limetype;
|
|
14
|
+
const color = ((_a = limetypeWithUI === null || limetypeWithUI === void 0 ? void 0 : limetypeWithUI.ui) === null || _a === void 0 ? void 0 : _a.color) || 'rgb(var(--color-gray-default))';
|
|
15
|
+
return getLimeColor(color);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Convert lime color references to CSS variables
|
|
19
|
+
*
|
|
20
|
+
* @param color the color string
|
|
21
|
+
* @returns CSS-ready color string
|
|
22
|
+
*/
|
|
23
|
+
function getLimeColor(color) {
|
|
24
|
+
if (color.startsWith('lime-')) {
|
|
25
|
+
return `var(--${color})`;
|
|
26
|
+
}
|
|
27
|
+
return color;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get the icon configuration for a limetype
|
|
31
|
+
*
|
|
32
|
+
* @param limetype the limetype
|
|
33
|
+
* @returns Icon object with name and color
|
|
34
|
+
*/
|
|
35
|
+
function getIcon(limetype) {
|
|
36
|
+
var _a;
|
|
37
|
+
const limetypeWithUI = limetype;
|
|
38
|
+
return {
|
|
39
|
+
name: ((_a = limetypeWithUI === null || limetypeWithUI === void 0 ? void 0 : limetypeWithUI.ui) === null || _a === void 0 ? void 0 : _a.icon) || 'decision',
|
|
40
|
+
color: getColor(limetype),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Whether the given object has the given label or not.
|
|
45
|
+
*
|
|
46
|
+
* @param object the object to check label for
|
|
47
|
+
* @param label the label to check for
|
|
48
|
+
* @returns true if the object has the label
|
|
49
|
+
*/
|
|
50
|
+
function hasLabel(object, label) {
|
|
51
|
+
return object.label === label;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Whether the given property is a hasmany relation or not.
|
|
55
|
+
*
|
|
56
|
+
* @param property the property to check
|
|
57
|
+
* @returns true if the property is a hasmany relation
|
|
58
|
+
*/
|
|
59
|
+
function isManyRelation(property) {
|
|
60
|
+
return index_esm.De(property) && !index_esm.Me(property);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Finds a relation property on the given limetype that is related to a
|
|
64
|
+
* limetype with the given label.
|
|
65
|
+
*
|
|
66
|
+
* @param limetype the limetype to search for the relation property
|
|
67
|
+
* @param label the label of the target limetype to match
|
|
68
|
+
* @returns the relation property or undefined
|
|
69
|
+
*/
|
|
70
|
+
function getRelationProperty(limetype, label) {
|
|
71
|
+
return Object.values(limetype.properties).find((property) => property &&
|
|
72
|
+
property.relation &&
|
|
73
|
+
hasLabel(property.relation.getLimetype(), label));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Whether the limetype has a hasmany relation of a limetype with the given label
|
|
77
|
+
*
|
|
78
|
+
* @param limetype the limetype
|
|
79
|
+
* @param relatedLabel the label of the related limetype
|
|
80
|
+
* @returns true if the limetype has the hasmany relation
|
|
81
|
+
*/
|
|
82
|
+
function hasHasManyRelation(limetype, relatedLabel) {
|
|
83
|
+
const property = getRelationProperty(limetype, relatedLabel);
|
|
84
|
+
return !!property && isManyRelation(property);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
exports.getIcon = getIcon;
|
|
88
|
+
exports.getRelationProperty = getRelationProperty;
|
|
89
|
+
exports.hasHasManyRelation = hasHasManyRelation;
|
|
90
|
+
exports.hasLabel = hasLabel;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["limebb-feed.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"heading":[1],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"direction":[513],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"highlightedItemId":[8,"highlighted-item-id"]},null,{"highlightedItemId":["highlightedItemIdChanged"]}]]],["limebb-kanban.cjs",[[1,"limebb-kanban",{"platform":[16],"context":[16],"groups":[16]}]]],["limebb-chat-list.cjs",[[1,"limebb-chat-list",{"platform":[16],"context":[16],"items":[16],"loading":[516],"isTypingIndicatorVisible":[516,"is-typing-indicator-visible"],"lastVisitedTimestamp":[513,"last-visited-timestamp"],"order":[513]},null,{"items":["handleItemsChange"]}]]],["limebb-limeobject-file-viewer.cjs",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["limebb-text-editor.cjs",[[1,"limebb-text-editor",{"platform":[16],"context":[16],"allowMentioning":[4,"allow-mentioning"],"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"required":[516],"selectedContext":[16],"ui":[513],"allowResize":[4,"allow-resize"],"value":[1],"draftIdentifier":[1,"draft-identifier"],"triggerMap":[16],"customElements":[16],"allowInlineImages":[4,"allow-inline-images"],"items":[32],"highlightedItemIndex":[32],"editorPickerQuery":[32],"searchableLimetypes":[32],"isPickerOpen":[32],"isSearching":[32]},null,{"isPickerOpen":["watchOpen"],"editorPickerQuery":["watchQuery"]}]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-document-picker.cjs",[[1,"limebb-document-picker",{"platform":[16],"context":[16],"items":[16],"label":[513],"helperText":[513,"helper-text"],"invalid":[516],"required":[516],"type":[513]}]]],["limebb-info-tile-currency-format.cjs",[[1,"limebb-info-tile-currency-format",{"platform":[16],"context":[16],"value":[16]}]]],["limebb-notification-list.cjs",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"lastVisitedTimestamp":[1,"last-visited-timestamp"]},null,{"items":["handleItemsChange"]}]]],["limebb-browser.cjs",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["limebb-component-config.cjs",[[1,"limebb-component-config",{"platform":[16],"context":[16],"value":[16],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"formInfo":[16],"type":[1],"nameField":[1,"name-field"],"configComponent":[32],"configViewType":[32]},null,{"formInfo":["watchFormInfo"],"configComponent":["watchconfigComponent"]}]]],["limebb-component-picker.cjs",[[1,"limebb-component-picker",{"platform":[16],"context":[16],"type":[1],"tags":[16],"value":[1],"copyLabel":[1,"copy-label"],"hideCopyButton":[4,"hide-copy-button"],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-info-tile.cjs",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[513,"filter-id"],"disabled":[4],"icon":[513],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"format":[16],"config":[32],"filters":[32],"value":[32],"loading":[32],"error":[32]},null,{"filterId":["watchFilterId"],"propertyName":["watchPropertyName"],"aggregateOperator":["watchAggregateOperator"]}]]],["limebb-info-tile-date-format.cjs",[[1,"limebb-info-tile-date-format",{"value":[16]}]]],["limebb-info-tile-decimal-format.cjs",[[1,"limebb-info-tile-decimal-format",{"value":[16]}]]],["limebb-info-tile-format.cjs",[[1,"limebb-info-tile-format",{"platform":[16],"context":[16],"type":[1],"value":[16]}]]],["limebb-info-tile-relative-date-format.cjs",[[1,"limebb-info-tile-relative-date-format",{"value":[16]}]]],["limebb-info-tile-unit-format.cjs",[[1,"limebb-info-tile-unit-format",{"value":[16]}]]],["limebb-lime-query-builder.cjs",[[1,"limebb-lime-query-builder",{"platform":[16],"context":[16],"value":[16],"label":[1],"limetypes":[32],"mode":[32],"codeValue":[32]}]]],["limebb-loader.cjs",[[1,"limebb-loader",{"platform":[16],"context":[16]}]]],["limebb-locale-picker.cjs",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-mention.cjs",[[1,"limebb-mention",{"limetype":[1],"objectid":[2],"limeobject":[32]}]]],["limebb-mention-group-counter.cjs",[[1,"limebb-mention-group-counter",{"count":[2],"limetype":[16],"helperLabel":[1,"helper-label"]}]]],["limebb-percentage-visualizer.cjs",[[1,"limebb-percentage-visualizer",{"platform":[16],"context":[16],"value":[520],"rangeMax":[514,"range-max"],"rangeMin":[514,"range-min"],"multiplier":[514],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"],"displayPercentageColors":[516,"display-percentage-colors"]},null,{"value":["valueChanged"]}]]],["limebb-trend-indicator.cjs",[[1,"limebb-trend-indicator",{"platform":[16],"context":[16],"value":[520],"formerValue":[514,"former-value"],"suffix":[513],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"]},null,{"value":["valueChanged"]}]]],["limebb-feed-item-thumbnail-file-info.cjs",[[1,"limebb-feed-item-thumbnail-file-info",{"description":[1]}]]],["limebb-navigation-button_2.cjs",[[1,"limebb-summary-popover",{"triggerDelay":[514,"trigger-delay"],"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"openDirection":[513,"open-direction"],"popoverMaxWidth":[513,"popover-max-width"],"popoverMaxHeight":[513,"popover-max-height"],"actions":[16],"isPopoverOpen":[32]}],[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-feed-timeline-item.cjs",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"helperText":[1,"helper-text"],"hasError":[516,"has-error"],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["limebb-kanban-group.cjs",[[1,"limebb-kanban-group",{"platform":[16],"context":[16],"identifier":[1],"heading":[513],"help":[1],"items":[16],"summary":[1],"loading":[516],"totalCount":[514,"total-count"]}]]],["limebb-text-editor-picker.cjs",[[1,"limebb-text-editor-picker",{"items":[16],"open":[516],"isSearching":[4,"is-searching"],"emptyMessage":[1,"empty-message"]},null,{"open":["watchOpen"]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"platform":[16],"context":[16],"label":[513],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[1]}]]],["limebb-date-picker.cjs",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["limebb-document-item.cjs",[[17,"limebb-document-item",{"platform":[16],"context":[16],"item":[16],"type":[513]}]]],["limebb-live-docs-info.cjs",[[1,"limebb-live-docs-info"]]],["limebb-notification-item.cjs",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-kanban-item.cjs",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-chat-item_2.cjs",[[1,"limebb-chat-item",{"platform":[16],"context":[16],"item":[16],"helperText":[1,"helper-text"],"hasError":[516,"has-error"]}],[1,"limebb-typing-indicator"]]],["limebb-empty-state.cjs",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]]], options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"limebb-lime-query-builder.cjs\",[[1,\"limebb-lime-query-builder\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"label\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"limetype\":[32],\"filter\":[32],\"internalResponseFormat\":[32],\"limit\":[32]}]]],[\"limebb-feed.cjs\",[[1,\"limebb-feed\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"emptyStateMessage\":[1,\"empty-state-message\"],\"heading\":[1],\"loading\":[4],\"minutesOfProximity\":[2,\"minutes-of-proximity\"],\"totalCount\":[2,\"total-count\"],\"direction\":[513],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"],\"highlightedItemId\":[8,\"highlighted-item-id\"]},null,{\"highlightedItemId\":[\"highlightedItemIdChanged\"]}]]],[\"limebb-kanban.cjs\",[[1,\"limebb-kanban\",{\"platform\":[16],\"context\":[16],\"groups\":[16]}]]],[\"limebb-chat-list.cjs\",[[1,\"limebb-chat-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[516],\"isTypingIndicatorVisible\":[516,\"is-typing-indicator-visible\"],\"lastVisitedTimestamp\":[513,\"last-visited-timestamp\"],\"order\":[513]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-limeobject-file-viewer.cjs\",[[1,\"limebb-limeobject-file-viewer\",{\"platform\":[16],\"context\":[16],\"property\":[1],\"fileTypes\":[16],\"limeobject\":[32],\"limetype\":[32]}]]],[\"limebb-text-editor.cjs\",[[1,\"limebb-text-editor\",{\"platform\":[16],\"context\":[16],\"allowMentioning\":[4,\"allow-mentioning\"],\"contentType\":[1,\"content-type\"],\"language\":[513],\"disabled\":[516],\"readonly\":[516],\"helperText\":[513,\"helper-text\"],\"placeholder\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"selectedContext\":[16],\"ui\":[513],\"allowResize\":[4,\"allow-resize\"],\"value\":[1],\"draftIdentifier\":[1,\"draft-identifier\"],\"triggerMap\":[16],\"customElements\":[16],\"allowInlineImages\":[4,\"allow-inline-images\"],\"items\":[32],\"highlightedItemIndex\":[32],\"editorPickerQuery\":[32],\"searchableLimetypes\":[32],\"isPickerOpen\":[32],\"isSearching\":[32]},null,{\"isPickerOpen\":[\"watchOpen\"],\"editorPickerQuery\":[\"watchQuery\"]}]]],[\"limebb-date-range.cjs\",[[1,\"limebb-date-range\",{\"platform\":[16],\"context\":[16],\"startTime\":[16],\"endTime\":[16],\"startTimeLabel\":[1,\"start-time-label\"],\"endTimeLabel\":[1,\"end-time-label\"],\"language\":[1],\"timeFormat\":[1,\"time-format\"],\"type\":[1]}]]],[\"limebb-document-picker.cjs\",[[1,\"limebb-document-picker\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"label\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[516],\"required\":[516],\"type\":[513]}]]],[\"limebb-info-tile-currency-format.cjs\",[[1,\"limebb-info-tile-currency-format\",{\"platform\":[16],\"context\":[16],\"value\":[16]}]]],[\"limebb-notification-list.cjs\",[[1,\"limebb-notification-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[4],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-browser.cjs\",[[17,\"limebb-browser\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"layout\":[1],\"filter\":[32]}]]],[\"limebb-component-config.cjs\",[[1,\"limebb-component-config\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"formInfo\":[16],\"type\":[1],\"nameField\":[1,\"name-field\"],\"configComponent\":[32],\"configViewType\":[32]},null,{\"formInfo\":[\"watchFormInfo\"],\"configComponent\":[\"watchconfigComponent\"]}]]],[\"limebb-component-picker.cjs\",[[1,\"limebb-component-picker\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"tags\":[16],\"value\":[1],\"copyLabel\":[1,\"copy-label\"],\"hideCopyButton\":[4,\"hide-copy-button\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-dashboard-widget.cjs\",[[1,\"limebb-dashboard-widget\",{\"heading\":[513],\"subheading\":[513],\"supportingText\":[513,\"supporting-text\"],\"icon\":[513]}]]],[\"limebb-icon-picker.cjs\",[[1,\"limebb-icon-picker\",{\"value\":[1],\"required\":[4],\"readonly\":[4],\"invalid\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-info-tile.cjs\",[[1,\"limebb-info-tile\",{\"platform\":[16],\"context\":[16],\"filterId\":[513,\"filter-id\"],\"disabled\":[4],\"icon\":[513],\"label\":[1],\"prefix\":[1],\"suffix\":[1],\"propertyName\":[1,\"property-name\"],\"aggregateOperator\":[1,\"aggregate-operator\"],\"format\":[16],\"config\":[32],\"filters\":[32],\"value\":[32],\"loading\":[32],\"error\":[32]},null,{\"filterId\":[\"watchFilterId\"],\"propertyName\":[\"watchPropertyName\"],\"aggregateOperator\":[\"watchAggregateOperator\"]}]]],[\"limebb-info-tile-date-format.cjs\",[[1,\"limebb-info-tile-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-decimal-format.cjs\",[[1,\"limebb-info-tile-decimal-format\",{\"value\":[16]}]]],[\"limebb-info-tile-format.cjs\",[[1,\"limebb-info-tile-format\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"value\":[16]}]]],[\"limebb-info-tile-relative-date-format.cjs\",[[1,\"limebb-info-tile-relative-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-unit-format.cjs\",[[1,\"limebb-info-tile-unit-format\",{\"value\":[16]}]]],[\"limebb-loader.cjs\",[[1,\"limebb-loader\",{\"platform\":[16],\"context\":[16]}]]],[\"limebb-locale-picker.cjs\",[[1,\"limebb-locale-picker\",{\"platform\":[16],\"context\":[16],\"value\":[1],\"required\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"readonly\":[4],\"multipleChoice\":[4,\"multiple-choice\"],\"allLanguages\":[32]}]]],[\"limebb-mention.cjs\",[[1,\"limebb-mention\",{\"limetype\":[1],\"objectid\":[2],\"limeobject\":[32]}]]],[\"limebb-mention-group-counter.cjs\",[[1,\"limebb-mention-group-counter\",{\"count\":[2],\"limetype\":[16],\"helperLabel\":[1,\"helper-label\"]}]]],[\"limebb-percentage-visualizer.cjs\",[[1,\"limebb-percentage-visualizer\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"rangeMax\":[514,\"range-max\"],\"rangeMin\":[514,\"range-min\"],\"multiplier\":[514],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"],\"displayPercentageColors\":[516,\"display-percentage-colors\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-trend-indicator.cjs\",[[1,\"limebb-trend-indicator\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"formerValue\":[514,\"former-value\"],\"suffix\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-feed-timeline-item.cjs\",[[1,\"limebb-feed-timeline-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"ui\":[513],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"],\"isBundled\":[516,\"is-bundled\"],\"headingCanExpand\":[32],\"isHeadingExpanded\":[32],\"showMore\":[32],\"isTall\":[32]}]]],[\"limebb-kanban-group.cjs\",[[1,\"limebb-kanban-group\",{\"platform\":[16],\"context\":[16],\"identifier\":[1],\"heading\":[513],\"help\":[1],\"items\":[16],\"summary\":[1],\"loading\":[516],\"totalCount\":[514,\"total-count\"]}]]],[\"limebb-text-editor-picker.cjs\",[[1,\"limebb-text-editor-picker\",{\"items\":[16],\"open\":[516],\"isSearching\":[4,\"is-searching\"],\"emptyMessage\":[1,\"empty-message\"]},null,{\"open\":[\"watchOpen\"]}]]],[\"limebb-currency-picker.cjs\",[[1,\"limebb-currency-picker\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"currencies\":[16],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"readonly\":[516],\"invalid\":[516],\"disabled\":[516],\"value\":[1]}]]],[\"limebb-date-picker.cjs\",[[1,\"limebb-date-picker\",{\"platform\":[16],\"context\":[16],\"disabled\":[516],\"readonly\":[516],\"invalid\":[516],\"label\":[513],\"placeholder\":[513],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"value\":[1],\"type\":[513]}]]],[\"limebb-document-item.cjs\",[[17,\"limebb-document-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"type\":[513]}]]],[\"limebb-live-docs-info.cjs\",[[1,\"limebb-live-docs-info\"]]],[\"limebb-notification-item.cjs\",[[1,\"limebb-notification-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-limetype-field_2.cjs\",[[1,\"limebb-response-format-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]}],[0,\"limebb-limetype-field\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"value\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[4],\"limetypes\":[16],\"propertyFields\":[16],\"fieldName\":[1,\"field-name\"],\"formInfo\":[16]}]]],[\"limebb-kanban-item.cjs\",[[1,\"limebb-kanban-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-response-format-item.cjs\",[[1,\"limebb-response-format-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16],\"showAliasInput\":[32],\"showDescriptionInput\":[32]}]]],[\"limebb-chat-item_2.cjs\",[[1,\"limebb-chat-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"]}],[1,\"limebb-typing-indicator\"]]],[\"limebb-feed-item-thumbnail-file-info.cjs\",[[1,\"limebb-feed-item-thumbnail-file-info\",{\"description\":[1]}]]],[\"limebb-lime-query-value-input.cjs\",[[1,\"limebb-lime-query-value-input\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"propertyPath\":[1,\"property-path\"],\"operator\":[1],\"value\":[8],\"label\":[1],\"limetypes\":[32],\"inputMode\":[32]}]]],[\"limebb-empty-state.cjs\",[[1,\"limebb-empty-state\",{\"heading\":[513],\"value\":[513],\"icon\":[16]}]]],[\"limebb-property-selector.cjs\",[[1,\"limebb-property-selector\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[1],\"label\":[1],\"required\":[4],\"helperText\":[1,\"helper-text\"],\"limetypes\":[32],\"isOpen\":[32],\"navigationPath\":[32]}]]],[\"limebb-navigation-button_2.cjs\",[[1,\"limebb-summary-popover\",{\"triggerDelay\":[514,\"trigger-delay\"],\"heading\":[513],\"subheading\":[513],\"image\":[16],\"icon\":[513],\"value\":[1],\"openDirection\":[513,\"open-direction\"],\"popoverMaxWidth\":[513,\"popover-max-width\"],\"popoverMaxHeight\":[513,\"popover-max-height\"],\"actions\":[16],\"isPopoverOpen\":[32]}],[17,\"limebb-navigation-button\",{\"href\":[513],\"tooltipLabel\":[513,\"tooltip-label\"],\"tooltipHelperLabel\":[513,\"tooltip-helper-label\"],\"type\":[513]}]]],[\"limebb-lime-query-filter-and_5.cjs\",[[1,\"limebb-lime-query-filter-and\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-expression\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-not\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-or\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-comparison\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|