@limetech/lime-crm-building-blocks 1.103.2 → 1.103.4
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 +22 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +5 -5
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +20 -4
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +28 -6
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +37 -13
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +4 -4
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- 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-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.css +14 -34
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +29 -7
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +61 -13
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +21 -7
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.css +11 -7
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +15 -5
- package/dist/collection/components/lime-query-builder/lime-query-builder.css +16 -11
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +4 -4
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.css +7 -10
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +19 -3
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.css +6 -24
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +3 -3
- package/dist/collection/components/lime-query-builder/response-format/response-format-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +3 -3
- 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/lime-query-filter-comparison.js +30 -8
- package/dist/components/lime-query-filter-expression.js +23 -9
- package/dist/components/lime-query-value-input.js +16 -6
- package/dist/components/limebb-lime-query-builder.js +5 -5
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-percentage-visualizer.js +2 -2
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +2 -2
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +20 -4
- package/dist/components/order-by-item.js +4 -4
- package/dist/components/response-format-editor.js +1 -1
- package/dist/components/response-format-item.js +3 -3
- package/dist/components/summary-popover.js +3 -3
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +5 -5
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +21 -5
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +29 -7
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +38 -14
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +4 -4
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +4 -4
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- 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-text-editor.entry.js +1 -1
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-d0721b22.entry.js → p-1c144b84.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1dca2c7c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0de79b7f.entry.js → p-230bdc45.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a9ac501f.entry.js → p-3a21c270.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4ec8bdfe.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-4f605428.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-577d8909.entry.js → p-5c262387.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6007457c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-7d0e8a55.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0f7135ff.entry.js → p-9e44b983.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-a135fb26.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-7e5528f6.entry.js → p-a1f689f4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6f6fed59.entry.js → p-af27a8e5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3d1be1c9.entry.js → p-bb299b18.entry.js} +1 -1
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +1 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-group.d.ts +3 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-value-input.d.ts +2 -0
- package/dist/types/components/lime-query-builder/order-by/order-by-editor.d.ts +3 -0
- package/package.json +1 -1
- package/dist/lime-crm-building-blocks/p-18e9e1bc.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-5c693302.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-81dbda15.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-91074d93.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d18697e3.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d724b3c6.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './order-by-item.js';
|
|
3
3
|
import { d as defineCustomElement$1 } from './property-selector.js';
|
|
4
4
|
|
|
5
|
-
const orderByEditorCss = ":host(limebb-lime-query-order-by-editor){display:
|
|
5
|
+
const orderByEditorCss = ":host(limebb-lime-query-order-by-editor){display:flex;flex-direction:column;gap:1rem;padding:1rem 0}.header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.header h4{margin:0;font-size:1rem;font-weight:600;color:rgb(var(--contrast-1000))}.order-by-list{display:flex;flex-direction:column;gap:1rem;border:1px solid rgb(var(--contrast-300));border-radius:0.25rem;background-color:rgb(var(--contrast-50));min-height:4rem}.order-by-item{padding:0.5rem;border-radius:0.25rem;transition:background-color 0.2s}.order-by-item:hover{background-color:rgb(var(--contrast-100))}.actions{display:flex;width:100%}.summary{display:flex;justify-content:space-between;align-items:center;padding-top:0.5rem;border-top:1px solid rgb(var(--contrast-300))}.summary .count{font-size:0.875rem;font-weight:500;color:rgb(var(--contrast-900))}limel-header.is-narrow{--header-top-right-left-border-radius:0;width:calc(100% + var(--limebb-lime-query-builder-gui-mode-padding) * 2);margin-left:calc(var(--limebb-lime-query-builder-gui-mode-padding) * -1)}.empty-state{padding:0 2rem;text-align:center;color:rgb(var(--contrast-700))}";
|
|
6
6
|
const LimebbLimeQueryOrderByEditorStyle0 = orderByEditorCss;
|
|
7
7
|
|
|
8
8
|
const OrderByEditor = /*@__PURE__*/ proxyCustomElement(class OrderByEditor extends HTMLElement {
|
|
@@ -61,10 +61,26 @@ const OrderByEditor = /*@__PURE__*/ proxyCustomElement(class OrderByEditor exten
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
+
return (h(Host, { key: '5ab38541c44c94b007ba24bee376ceb0836ffedd' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
65
|
+
}
|
|
66
|
+
renderEmptyState() {
|
|
67
|
+
if (this.limetype) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
return (h("div", { class: "empty-state" }, h("p", null, "Select a limetype to configure sorting")));
|
|
71
|
+
}
|
|
72
|
+
renderOrderByEditor() {
|
|
64
73
|
if (!this.limetype) {
|
|
65
|
-
return
|
|
74
|
+
return null;
|
|
66
75
|
}
|
|
67
|
-
return
|
|
76
|
+
return [
|
|
77
|
+
this.renderHeader(),
|
|
78
|
+
this.renderOrderByList(),
|
|
79
|
+
this.renderActions(),
|
|
80
|
+
];
|
|
81
|
+
}
|
|
82
|
+
renderHeader() {
|
|
83
|
+
return (h("limel-header", { class: "is-narrow", heading: this.label, icon: "sorting_arrows" }));
|
|
68
84
|
}
|
|
69
85
|
renderOrderByList() {
|
|
70
86
|
if (this.items.length === 0) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './property-selector.js';
|
|
3
3
|
|
|
4
|
-
const orderByItemCss = ":host(limebb-lime-query-order-by-item){
|
|
4
|
+
const orderByItemCss = "*{box-sizing:border-box}:host(limebb-lime-query-order-by-item){box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}limebb-property-selector{flex-grow:1}.control-buttons{flex-shrink:0;display:flex;align-items:center;gap:0.25rem}";
|
|
5
5
|
const LimebbLimeQueryOrderByItemStyle0 = orderByItemCss;
|
|
6
6
|
|
|
7
7
|
const OrderByItemComponent = /*@__PURE__*/ proxyCustomElement(class OrderByItemComponent extends HTMLElement {
|
|
@@ -40,9 +40,9 @@ const OrderByItemComponent = /*@__PURE__*/ proxyCustomElement(class OrderByItemC
|
|
|
40
40
|
render() {
|
|
41
41
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
42
42
|
const direction = this.item[propertyPath] || 'ASC';
|
|
43
|
-
return (h(
|
|
43
|
+
return (h(Host, { key: 'feb240a8e977c5ca24fa68db6cc01a6d747cb05c' }, h("limebb-property-selector", { key: '2244706344661dec4deb93c102eda68a0e555d26', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: '3475f7c72de7faae1fc7798a0aa99dfb917d1d6c', class: "control-buttons" }, h("limel-icon-button", { key: '6f25d070ad97059ef41f09de0e8d75b6da068141', icon: direction === 'ASC'
|
|
44
44
|
? 'sort_ascending'
|
|
45
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
45
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '1c1b31fbea3263e9c75622afc59cf888949646e5', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
46
46
|
}
|
|
47
47
|
static get style() { return LimebbLimeQueryOrderByItemStyle0; }
|
|
48
48
|
}, [1, "limebb-lime-query-order-by-item", {
|
|
@@ -260,7 +260,7 @@ const ResponseFormatEditor = /*@__PURE__*/ proxyCustomElement(class ResponseForm
|
|
|
260
260
|
if (this.items.length === 0) {
|
|
261
261
|
return (h("div", { class: "response-format-editor" }, h("h4", { class: "header" }, this.label), h("div", { class: "empty-state" }, h("p", { class: "empty-state-message" }, "No properties selected. The response will return empty objects."), h("limel-button", { label: "Add Property", icon: "plus_math", onClick: this.handleAddProperty }))));
|
|
262
262
|
}
|
|
263
|
-
return (h("div", { class: "response-format-editor" }, h("limel-header", { subheading: this.label }, this.renderPropertyCount()), h("div", { class: "property" }, h("div", { class: "property-list" }, this.items.map((item, index) => this.renderItem(item, index))), h("div", { class: "actions" }, h("limel-button", { label: "Property", icon: {
|
|
263
|
+
return (h("div", { class: "response-format-editor" }, h("limel-header", { subheading: this.label }, this.renderPropertyCount()), h("div", { class: "property" }, h("div", { class: "property-list" }, this.items.map((item, index) => this.renderItem(item, index))), h("div", { class: "actions" }, h("limel-button", { label: "Property", disabled: this.items.some((item) => !item.path || item.path.trim() === ''), icon: {
|
|
264
264
|
name: 'plus_math',
|
|
265
265
|
title: 'Add',
|
|
266
266
|
}, onClick: this.handleAddProperty })))));
|
|
@@ -68,9 +68,9 @@ const ResponseFormatItem = /*@__PURE__*/ proxyCustomElement(class ResponseFormat
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
return [
|
|
71
|
-
h("div", { key: '
|
|
72
|
-
this.showAliasInput && (h("div", { key: '
|
|
73
|
-
this.showDescriptionInput && (h("div", { key: '
|
|
71
|
+
h("div", { key: 'a6750a148adab490c6efbf72d624ddaa754d10bf', class: "property-controls" }, h("div", { key: '3cd3301cbb708c34fb358956fe9063eac66e45d6', class: "property-path" }, h("limebb-property-selector", { key: '40a9353bd2af66f67d5a5e888984f57016d744ce', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange })), h("div", { key: '388d5a8dc7ad4b5b2fa4978e83edb4ddc1a0fd9f', class: "control-buttons" }, h("limel-icon-button", { key: 'caf92ced482bff1cd219d3348976956813dbad65', icon: this.getAliasIcon(), label: "Add alias", class: this.item.alias ? 'has-value' : '', onClick: this.toggleAliasInput }), h("limel-icon-button", { key: '5e5d8df90964c21659fd4327dec65e0b47e355bb', icon: this.getDescriptionIcon(), label: "Add description", class: this.item.description ? 'has-value' : '', onClick: this.toggleDescriptionInput }), h("limel-icon-button", { key: '34981b09d0d1e25b85b02c119da3d02e3f61fb5e', icon: "trash", label: "Remove property", onClick: this.handleRemove }))),
|
|
72
|
+
this.showAliasInput && (h("div", { key: 'bf70d1c0ebc568d139d65a5e65c5c841c9164343', class: "alias" }, h("limel-input-field", { key: '7ea01e90e9ff071623cba25f9fa42ce9c19f91e3', label: "Alias", value: this.item.alias || '', placeholder: "Custom property name...", onChange: this.handleAliasChange, onBlur: this.handleAliasBlur }))),
|
|
73
|
+
this.showDescriptionInput && (h("div", { key: '2b7c314d24fe24f17f6fc5108c49d1145cbeb869', class: "description" }, h("limel-input-field", { key: 'a71416a5af4fb99cd09155e9fc01a4efe489a551', label: "Description", value: this.item.description || '', placeholder: "Describe this property for AI...", onChange: this.handleDescriptionChange, onBlur: this.handleDescriptionBlur }))),
|
|
74
74
|
];
|
|
75
75
|
}
|
|
76
76
|
getAliasIcon() {
|
|
@@ -72,14 +72,14 @@ const SummaryPopover = /*@__PURE__*/ proxyCustomElement(class SummaryPopover ext
|
|
|
72
72
|
top: '0.125rem',
|
|
73
73
|
right: '0.125rem',
|
|
74
74
|
};
|
|
75
|
-
return (h("limel-popover", { key: '
|
|
75
|
+
return (h("limel-popover", { key: '804f40009efde10a2044df35aa7be03743925a85', style: {
|
|
76
76
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
77
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
77
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '1cd360401352cecbdf2cbf8b19fba5e9e6d01373', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: 'e548a7fb224d0c5c6db98c3a88ef628011028d33', name: "trigger" }), h("div", { key: '60b74bd7fe1c1c08b2b89d8c7edfe35a7754c07d', class: "opening-countdown-indicator" })), h("limel-card", { key: '32fddd3a5f8f9bf42d91b306aa455ba87d42eeaa', style: {
|
|
78
78
|
'max-width': this.popoverMaxWidth,
|
|
79
79
|
'max-height': this.popoverMaxHeight,
|
|
80
80
|
'min-width': '7rem',
|
|
81
81
|
'min-height': '3rem',
|
|
82
|
-
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: '
|
|
82
|
+
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: 'f491b051f7e2a7d0fe6981e7ae7b9e7add9eab0e', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
|
|
83
83
|
}
|
|
84
84
|
static get style() { return LimebbSummaryPopoverStyle0; }
|
|
85
85
|
}, [1, "limebb-summary-popover", {
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"limebb-lime-query-builder\",[[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],\"orderBy\":[32]}]]],[\"limebb-feed\",[[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\",[[1,\"limebb-kanban\",{\"platform\":[16],\"context\":[16],\"groups\":[16]}]]],[\"limebb-lime-query-response-format-builder\",[[1,\"limebb-lime-query-response-format-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"internalValue\":[32]}]]],[\"limebb-chat-list\",[[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\",[[1,\"limebb-limeobject-file-viewer\",{\"platform\":[16],\"context\":[16],\"property\":[1],\"fileTypes\":[16],\"limeobject\":[32],\"limetype\":[32]}]]],[\"limebb-text-editor\",[[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\",[[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\",[[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\",[[1,\"limebb-info-tile-currency-format\",{\"platform\":[16],\"context\":[16],\"value\":[16]}]]],[\"limebb-notification-list\",[[1,\"limebb-notification-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[4],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-browser\",[[17,\"limebb-browser\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"layout\":[1],\"filter\":[32]}]]],[\"limebb-component-config\",[[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\",[[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\",[[1,\"limebb-dashboard-widget\",{\"heading\":[513],\"subheading\":[513],\"supportingText\":[513,\"supporting-text\"],\"icon\":[513]}]]],[\"limebb-icon-picker\",[[1,\"limebb-icon-picker\",{\"value\":[1],\"required\":[4],\"readonly\":[4],\"invalid\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-info-tile\",[[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\",[[1,\"limebb-info-tile-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-decimal-format\",[[1,\"limebb-info-tile-decimal-format\",{\"value\":[16]}]]],[\"limebb-info-tile-format\",[[1,\"limebb-info-tile-format\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"value\":[16]}]]],[\"limebb-info-tile-relative-date-format\",[[1,\"limebb-info-tile-relative-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-unit-format\",[[1,\"limebb-info-tile-unit-format\",{\"value\":[16]}]]],[\"limebb-loader\",[[1,\"limebb-loader\",{\"platform\":[16],\"context\":[16]}]]],[\"limebb-locale-picker\",[[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\",[[1,\"limebb-mention\",{\"limetype\":[1],\"objectid\":[2],\"limeobject\":[32]}]]],[\"limebb-mention-group-counter\",[[1,\"limebb-mention-group-counter\",{\"count\":[2],\"limetype\":[16],\"helperLabel\":[1,\"helper-label\"]}]]],[\"limebb-percentage-visualizer\",[[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\",[[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\",[[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-item\",[[1,\"limebb-kanban-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-kanban-group\",[[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\",[[1,\"limebb-text-editor-picker\",{\"items\":[16],\"open\":[516],\"isSearching\":[4,\"is-searching\"],\"emptyMessage\":[1,\"empty-message\"]},null,{\"open\":[\"watchOpen\"]}]]],[\"limebb-currency-picker\",[[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\",[[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\",[[17,\"limebb-document-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"type\":[513]}]]],[\"limebb-live-docs-info\",[[1,\"limebb-live-docs-info\"]]],[\"limebb-notification-item\",[[1,\"limebb-notification-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-lime-query-order-by-item\",[[1,\"limebb-lime-query-order-by-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16]}]]],[\"limebb-chat-item_2\",[[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\",[[1,\"limebb-feed-item-thumbnail-file-info\",{\"description\":[1]}]]],[\"limebb-lime-query-filter-builder_3\",[[1,\"limebb-lime-query-filter-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-order-by-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]},null,{\"value\":[\"handleValueChange\"]}],[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-empty-state\",[[1,\"limebb-empty-state\",{\"heading\":[513],\"value\":[513],\"icon\":[16]}]]],[\"limebb-property-selector\",[[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-lime-query-response-format-editor_2\",[[1,\"limebb-lime-query-response-format-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]}],[1,\"limebb-lime-query-response-format-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16],\"showAliasInput\":[32],\"showDescriptionInput\":[32]}]]],[\"limebb-navigation-button_2\",[[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-group_3\",[[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]}],[1,\"limebb-lime-query-filter-group\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16],\"value\":[32]}],[1,\"limebb-lime-query-filter-not\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]],[\"limebb-lime-query-filter-comparison_2\",[[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-comparison\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]]]"), options);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"limebb-lime-query-builder\",[[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],\"orderBy\":[32]}]]],[\"limebb-feed\",[[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\",[[1,\"limebb-kanban\",{\"platform\":[16],\"context\":[16],\"groups\":[16]}]]],[\"limebb-lime-query-response-format-builder\",[[1,\"limebb-lime-query-response-format-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"internalValue\":[32]}]]],[\"limebb-chat-list\",[[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\",[[1,\"limebb-limeobject-file-viewer\",{\"platform\":[16],\"context\":[16],\"property\":[1],\"fileTypes\":[16],\"limeobject\":[32],\"limetype\":[32]}]]],[\"limebb-text-editor\",[[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\",[[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\",[[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\",[[1,\"limebb-info-tile-currency-format\",{\"platform\":[16],\"context\":[16],\"value\":[16]}]]],[\"limebb-notification-list\",[[1,\"limebb-notification-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[4],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-browser\",[[17,\"limebb-browser\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"layout\":[1],\"filter\":[32]}]]],[\"limebb-component-config\",[[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\",[[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\",[[1,\"limebb-dashboard-widget\",{\"heading\":[513],\"subheading\":[513],\"supportingText\":[513,\"supporting-text\"],\"icon\":[513]}]]],[\"limebb-icon-picker\",[[1,\"limebb-icon-picker\",{\"value\":[1],\"required\":[4],\"readonly\":[4],\"invalid\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-info-tile\",[[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\",[[1,\"limebb-info-tile-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-decimal-format\",[[1,\"limebb-info-tile-decimal-format\",{\"value\":[16]}]]],[\"limebb-info-tile-format\",[[1,\"limebb-info-tile-format\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"value\":[16]}]]],[\"limebb-info-tile-relative-date-format\",[[1,\"limebb-info-tile-relative-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-unit-format\",[[1,\"limebb-info-tile-unit-format\",{\"value\":[16]}]]],[\"limebb-loader\",[[1,\"limebb-loader\",{\"platform\":[16],\"context\":[16]}]]],[\"limebb-locale-picker\",[[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\",[[1,\"limebb-mention\",{\"limetype\":[1],\"objectid\":[2],\"limeobject\":[32]}]]],[\"limebb-mention-group-counter\",[[1,\"limebb-mention-group-counter\",{\"count\":[2],\"limetype\":[16],\"helperLabel\":[1,\"helper-label\"]}]]],[\"limebb-percentage-visualizer\",[[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\",[[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\",[[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-item\",[[1,\"limebb-kanban-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-kanban-group\",[[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\",[[1,\"limebb-text-editor-picker\",{\"items\":[16],\"open\":[516],\"isSearching\":[4,\"is-searching\"],\"emptyMessage\":[1,\"empty-message\"]},null,{\"open\":[\"watchOpen\"]}]]],[\"limebb-currency-picker\",[[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\",[[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\",[[17,\"limebb-document-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"type\":[513]}]]],[\"limebb-live-docs-info\",[[1,\"limebb-live-docs-info\"]]],[\"limebb-notification-item\",[[1,\"limebb-notification-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-lime-query-order-by-item\",[[1,\"limebb-lime-query-order-by-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16]}]]],[\"limebb-chat-item_2\",[[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\",[[1,\"limebb-feed-item-thumbnail-file-info\",{\"description\":[1]}]]],[\"limebb-lime-query-filter-builder_3\",[[1,\"limebb-lime-query-filter-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-order-by-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]},null,{\"value\":[\"handleValueChange\"]}],[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-empty-state\",[[1,\"limebb-empty-state\",{\"heading\":[513],\"value\":[513],\"icon\":[16]}]]],[\"limebb-property-selector\",[[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-lime-query-response-format-editor_2\",[[1,\"limebb-lime-query-response-format-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]}],[1,\"limebb-lime-query-response-format-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16],\"showAliasInput\":[32],\"showDescriptionInput\":[32]}]]],[\"limebb-navigation-button_2\",[[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-group_3\",[[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]}],[1,\"limebb-lime-query-filter-group\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16],\"value\":[32]}],[1,\"limebb-lime-query-filter-not\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]],[\"limebb-lime-query-filter-comparison_2\",[[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-comparison\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]]]"), options);
|
|
20
20
|
});
|
|
@@ -3,7 +3,7 @@ import { T as Te } from './index.esm-bb569663.js';
|
|
|
3
3
|
import { i as isLimeQuerySupported } from './lime-query-validation-573223a5.js';
|
|
4
4
|
import './property-resolution-c21a1369.js';
|
|
5
5
|
|
|
6
|
-
const limeQueryBuilderCss = "*,*:before,*:after{box-sizing:border-box}:host(limebb-lime-query-builder){--header-background-color:rgb(var(--contrast-400));--limebb-lime-query-builder-background-color:rgb(var(--contrast-100));--limebb-lime-query-builder-border-radius:0.75rem;box-sizing:border-box;width:calc(100% - 1.5rem);margin:0.75rem auto;display:flex;flex-direction:column;border-radius:var(--limebb-lime-query-builder-border-radius);background-color:var(--limebb-lime-query-builder-background-color);box-shadow:var(--shadow-inflated-16)}.gui-mode{
|
|
6
|
+
const limeQueryBuilderCss = "*,*:before,*:after{box-sizing:border-box}:host(limebb-lime-query-builder){--header-background-color:rgb(var(--contrast-400));--limebb-lime-query-builder-background-color:rgb(var(--contrast-100));--limebb-lime-query-builder-border-radius:0.75rem;--limebb-lime-query-builder-gui-mode-padding:1rem;--limebb-lime-query-builder-group-color:rgb(var(--color-sky-lighter));box-sizing:border-box;width:calc(100% - 1.5rem);margin:0.75rem auto;display:flex;flex-direction:column;border-radius:var(--limebb-lime-query-builder-border-radius);background-color:var(--limebb-lime-query-builder-background-color);box-shadow:var(--shadow-inflated-16)}.gui-mode{display:flex;flex-direction:column;gap:1rem;padding:var(--limebb-lime-query-builder-gui-mode-padding);border:1px solid var(--header-background-color);border-radius:0 0 var(--limebb-lime-query-builder-border-radius) var(--limebb-lime-query-builder-border-radius)}.code-mode{--code-editor-max-height:70vh;display:flex;flex-direction:column;gap:1rem}.code-mode .validation-errors{padding:0.75rem 1rem;color:rgb(var(--color-red-default));background-color:rgb(var(--color-red-lighter));border-left:0.25rem solid rgb(var(--color-red-default));border-radius:0.25rem;font-size:0.875rem}.code-mode .validation-errors strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-mode .validation-errors ul{margin:0;padding-left:1.5rem}.code-mode .validation-errors li{margin:0.25rem 0}.code-mode .gui-limitations{padding:0.75rem 1rem;color:rgb(var(--color-blue-dark));background-color:rgb(var(--color-blue-lighter));border-left:0.25rem solid rgb(var(--color-blue-default));border-radius:0.25rem;font-size:0.875rem}.code-mode .gui-limitations strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-mode .gui-limitations ul{margin:0;padding-left:1.5rem}.code-mode .gui-limitations li{margin:0.25rem 0}section.filter,section.query-options{display:flex;flex-direction:column;gap:1rem}section h4{margin:0;font-size:1.125rem;font-weight:600;color:rgb(var(--contrast-1000))}limel-header.is-narrow{--header-top-right-left-border-radius:0;width:calc(100% + var(--limebb-lime-query-builder-gui-mode-padding) * 2);margin-left:calc(var(--limebb-lime-query-builder-gui-mode-padding) * -1)}.query-options-controls{display:flex;flex-direction:column;gap:1rem}";
|
|
7
7
|
const LimebbLimeQueryBuilderStyle0 = limeQueryBuilderCss;
|
|
8
8
|
|
|
9
9
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -252,26 +252,26 @@ const LimeQueryBuilder = class {
|
|
|
252
252
|
];
|
|
253
253
|
}
|
|
254
254
|
renderLimetypeSection() {
|
|
255
|
-
return (h("
|
|
255
|
+
return (h("limebb-limetype-field", { platform: this.platform, context: this.context, label: "Limetype", value: this.limetype, required: true, fieldName: "limetype", onChange: this.handleLimetypeChange }));
|
|
256
256
|
}
|
|
257
257
|
renderResponseFormatSection() {
|
|
258
258
|
if (!this.limetype) {
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
|
-
return (h("
|
|
261
|
+
return (h("section", { class: "response-format" }, h("limebb-lime-query-response-format-editor", { platform: this.platform, context: this.context, limetype: this.limetype, value: this.internalResponseFormat, onChange: this.handleResponseFormatChange })));
|
|
262
262
|
}
|
|
263
263
|
renderFilterSection() {
|
|
264
264
|
if (!this.limetype) {
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
return (h("
|
|
267
|
+
return (h("section", { class: "filter" }, h("limel-header", { class: "is-narrow", heading: "Filter Conditions", icon: "-lime-filter" }), h("limebb-lime-query-filter-builder", { platform: this.platform, context: this.context, limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.filter, onExpressionChange: this.handleFilterChange })));
|
|
268
268
|
}
|
|
269
269
|
renderQueryOptionsSection() {
|
|
270
270
|
var _a;
|
|
271
271
|
if (!this.limetype) {
|
|
272
272
|
return;
|
|
273
273
|
}
|
|
274
|
-
return (h("
|
|
274
|
+
return (h("section", { class: "query-options" }, h("limel-header", { class: "is-narrow", heading: "Query Options", icon: "ask_question" }), h("div", { class: "query-options-controls" }, h("limel-input-field", { label: "Limit", type: "number", value: ((_a = this.limit) === null || _a === void 0 ? void 0 : _a.toString()) || '', placeholder: "No limit", helperText: "Maximum number of results", onChange: this.handleLimitChange }), h("limebb-lime-query-order-by-editor", { platform: this.platform, context: this.context, limetype: this.limetype, value: this.orderBy, onChange: this.handleOrderByChange }))));
|
|
275
275
|
}
|
|
276
276
|
renderGuiMode() {
|
|
277
277
|
return (h("div", { class: "gui-mode" }, this.renderLimetypeSection(), this.renderResponseFormatSection(), this.renderFilterSection(), this.renderQueryOptionsSection()));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-96dd111f.js';
|
|
2
2
|
import { Z as Zt, c } from './index.esm-bb569663.js';
|
|
3
3
|
import { b as getIcon } from './limetype-c0e041f7.js';
|
|
4
4
|
import { i as isNonNull } from './non-null-5a66a269.js';
|
|
@@ -138,7 +138,7 @@ const LimeQueryFilterBuilderComponent = class {
|
|
|
138
138
|
};
|
|
139
139
|
LimeQueryFilterBuilderComponent.style = LimebbLimeQueryFilterBuilderStyle0;
|
|
140
140
|
|
|
141
|
-
const orderByEditorCss = ":host(limebb-lime-query-order-by-editor){display:
|
|
141
|
+
const orderByEditorCss = ":host(limebb-lime-query-order-by-editor){display:flex;flex-direction:column;gap:1rem;padding:1rem 0}.header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.header h4{margin:0;font-size:1rem;font-weight:600;color:rgb(var(--contrast-1000))}.order-by-list{display:flex;flex-direction:column;gap:1rem;border:1px solid rgb(var(--contrast-300));border-radius:0.25rem;background-color:rgb(var(--contrast-50));min-height:4rem}.order-by-item{padding:0.5rem;border-radius:0.25rem;transition:background-color 0.2s}.order-by-item:hover{background-color:rgb(var(--contrast-100))}.actions{display:flex;width:100%}.summary{display:flex;justify-content:space-between;align-items:center;padding-top:0.5rem;border-top:1px solid rgb(var(--contrast-300))}.summary .count{font-size:0.875rem;font-weight:500;color:rgb(var(--contrast-900))}limel-header.is-narrow{--header-top-right-left-border-radius:0;width:calc(100% + var(--limebb-lime-query-builder-gui-mode-padding) * 2);margin-left:calc(var(--limebb-lime-query-builder-gui-mode-padding) * -1)}.empty-state{padding:0 2rem;text-align:center;color:rgb(var(--contrast-700))}";
|
|
142
142
|
const LimebbLimeQueryOrderByEditorStyle0 = orderByEditorCss;
|
|
143
143
|
|
|
144
144
|
const OrderByEditor = class {
|
|
@@ -195,10 +195,26 @@ const OrderByEditor = class {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
|
+
return (h(Host, { key: '5ab38541c44c94b007ba24bee376ceb0836ffedd' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
199
|
+
}
|
|
200
|
+
renderEmptyState() {
|
|
201
|
+
if (this.limetype) {
|
|
202
|
+
return null;
|
|
203
|
+
}
|
|
204
|
+
return (h("div", { class: "empty-state" }, h("p", null, "Select a limetype to configure sorting")));
|
|
205
|
+
}
|
|
206
|
+
renderOrderByEditor() {
|
|
198
207
|
if (!this.limetype) {
|
|
199
|
-
return
|
|
208
|
+
return null;
|
|
200
209
|
}
|
|
201
|
-
return
|
|
210
|
+
return [
|
|
211
|
+
this.renderHeader(),
|
|
212
|
+
this.renderOrderByList(),
|
|
213
|
+
this.renderActions(),
|
|
214
|
+
];
|
|
215
|
+
}
|
|
216
|
+
renderHeader() {
|
|
217
|
+
return (h("limel-header", { class: "is-narrow", heading: this.label, icon: "sorting_arrows" }));
|
|
202
218
|
}
|
|
203
219
|
renderOrderByList() {
|
|
204
220
|
if (this.items.length === 0) {
|
|
@@ -307,7 +323,7 @@ const LimetypeField = class {
|
|
|
307
323
|
value: '',
|
|
308
324
|
};
|
|
309
325
|
options.unshift(emptyOption);
|
|
310
|
-
return (h("limel-select", { key: '
|
|
326
|
+
return (h("limel-select", { key: '09ef43595a5822a77f246739fd51ab3c1aa145a5', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
|
|
311
327
|
}
|
|
312
328
|
componentWillRender() {
|
|
313
329
|
this.updatePropertyFields(this.value || '');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-96dd111f.js';
|
|
2
2
|
import { c, Z as Zt } from './index.esm-bb569663.js';
|
|
3
3
|
|
|
4
|
-
const limeQueryFilterComparisonCss = "
|
|
4
|
+
const limeQueryFilterComparisonCss = ":host(limebb-lime-query-filter-comparison){display:flex;flex-direction:column;gap:0.5rem}.expression-container{position:relative;display:grid;grid-template-columns:repeat(auto-fit, minmax(10rem, 1fr));grid-gap:0.5rem;padding-right:2.75rem}.remove{position:absolute;right:0;top:0.125rem}";
|
|
5
5
|
const LimebbLimeQueryFilterComparisonStyle0 = limeQueryFilterComparisonCss;
|
|
6
6
|
|
|
7
7
|
const LIME_QUERY_OPERATORS = [
|
|
@@ -73,12 +73,28 @@ const LimeQueryFilterComparisonComponent = class {
|
|
|
73
73
|
};
|
|
74
74
|
this.handleOperatorChange = (event) => {
|
|
75
75
|
event.stopPropagation();
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
const newOperator = event.detail.value;
|
|
77
|
+
const oldOperator = this.expression.op;
|
|
78
|
+
let convertedValue = this.expression.exp;
|
|
79
|
+
// Convert value when switching between IN and other operators
|
|
80
|
+
// IN operator expects an array, other operators expect a single value
|
|
81
|
+
if (newOperator === Zt.IN && !Array.isArray(convertedValue)) {
|
|
82
|
+
// Switching TO IN operator: wrap non-array value in array
|
|
83
|
+
convertedValue =
|
|
84
|
+
convertedValue !== undefined && convertedValue !== ''
|
|
85
|
+
? [convertedValue]
|
|
86
|
+
: [];
|
|
87
|
+
}
|
|
88
|
+
else if (oldOperator === Zt.IN &&
|
|
89
|
+
newOperator !== Zt.IN &&
|
|
90
|
+
Array.isArray(convertedValue)) {
|
|
91
|
+
// Switching FROM IN operator: extract first element from array
|
|
92
|
+
convertedValue = convertedValue.length > 0 ? convertedValue[0] : '';
|
|
93
|
+
}
|
|
78
94
|
this.expressionChange.emit({
|
|
79
95
|
key: this.expression.key,
|
|
80
|
-
op:
|
|
81
|
-
exp:
|
|
96
|
+
op: newOperator,
|
|
97
|
+
exp: convertedValue,
|
|
82
98
|
});
|
|
83
99
|
};
|
|
84
100
|
this.handleValueChange = (event) => {
|
|
@@ -90,7 +106,13 @@ const LimeQueryFilterComparisonComponent = class {
|
|
|
90
106
|
};
|
|
91
107
|
}
|
|
92
108
|
render() {
|
|
93
|
-
return (h(
|
|
109
|
+
return (h(Host, { key: '30808c3787ee21466a615e94224062a7a51f408a' }, this.renderHeader(), h("div", { key: 'ba05f0fb17a7e49d1a8e0089d2a2b918c75be39b', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'a995527a8d9a5ccb97a6c0f41dc753cc68fa89fc', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
110
|
+
}
|
|
111
|
+
renderHeader() {
|
|
112
|
+
if (!this.label) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
return h("limel-header", { subheading: this.label });
|
|
94
116
|
}
|
|
95
117
|
renderPropertySelector() {
|
|
96
118
|
return (h("limebb-property-selector", { platform: this.platform, context: this.context, label: "Property", limetype: this.limetype, value: this.expression.key, required: true, onChange: this.handlePropertyChange }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-96dd111f.js';
|
|
2
2
|
import { Z as Zt, T as Te } from './index.esm-bb569663.js';
|
|
3
3
|
import { g as getPropertyFromPath } from './property-resolution-c21a1369.js';
|
|
4
4
|
|
|
@@ -122,7 +122,7 @@ function updateChildExpression(group, childIndex, updatedChild) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
const limeQueryFilterGroupCss = "@charset \"UTF-8\"
|
|
125
|
+
const limeQueryFilterGroupCss = "@charset \"UTF-8\";*,*::before,*::after{box-sizing:border-box}limebb-lime-query-filter-expression{position:relative;isolation:isolate}limebb-lime-query-filter-expression:not(:first-of-type):after{content:\"\";position:absolute;top:-0.5rem;left:0.75rem;display:block;border-radius:1rem;height:2rem;width:0.125rem;background-color:var(--limebb-lime-query-builder-group-color)}limebb-lime-query-filter-expression:not(:first-of-type):before{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;height:1rem;content:var(--limebb-lime-query-filter-group-operator);display:inline-block;margin:0 auto 0.5rem auto;transform:translateY(-50%);font-size:0.625rem;padding:0 0.5rem;color:rgb(var(--color-blue-dark));background-color:var(--limebb-lime-query-builder-group-color);border-radius:2rem}.expression{display:flex;flex-direction:column;margin-bottom:1rem;gap:0;background-color:rgb(var(--contrast-100));border-radius:0.75rem;border:1px solid var(--limebb-lime-query-builder-group-color)}.expression ul{list-style:none;margin:0;padding:0.5rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.expression ul [role=listitem]{list-style:none;width:100%}limel-button.add-group{width:fit-content;margin:0.5rem}limel-icon-button.delete-group{margin-left:0.5rem}limel-select.operator-select{min-width:8rem}";
|
|
126
126
|
const LimebbLimeQueryFilterGroupStyle0 = limeQueryFilterGroupCss;
|
|
127
127
|
|
|
128
128
|
const LimeQueryFilterGroupComponent = class {
|
|
@@ -141,7 +141,10 @@ const LimeQueryFilterGroupComponent = class {
|
|
|
141
141
|
value: 'or',
|
|
142
142
|
},
|
|
143
143
|
];
|
|
144
|
-
this.renderChildExpression = (expression, childIndex) => (h("
|
|
144
|
+
this.renderChildExpression = (expression, childIndex) => (h("limebb-lime-query-filter-expression", { role: "listitem", platform: this.platform, context: this.context, limetype: this.limetype, activeLimetype: this.activeLimetype, expression: expression, onExpressionChange: this.handleExpressionChange(childIndex) }));
|
|
145
|
+
this.handleDeleteGroup = () => {
|
|
146
|
+
this.expressionChange.emit();
|
|
147
|
+
};
|
|
145
148
|
this.handleToggleOperator = (event) => {
|
|
146
149
|
const selectedOption = Array.isArray(event.detail)
|
|
147
150
|
? event.detail[0]
|
|
@@ -177,24 +180,35 @@ const LimeQueryFilterGroupComponent = class {
|
|
|
177
180
|
(this.expression.op === Zt.AND ? 'and' : 'or')) || this.options[0];
|
|
178
181
|
}
|
|
179
182
|
render() {
|
|
183
|
+
return (h(Host, { key: 'dee472bac75f4b3138fa5972de258a3737b1f66d', style: {
|
|
184
|
+
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === Zt.AND ? 'AND' : 'OR'}"`,
|
|
185
|
+
} }, h("div", { key: 'de3956a999557730304c70e9f7305c8e338bffb2', class: "expression" }, this.renderHeader(), h("ul", { key: 'f87552df1d0d138bb0284f9f3546611017eb847a' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
186
|
+
}
|
|
187
|
+
renderHeader() {
|
|
180
188
|
const subheading = this.getSubheading();
|
|
181
|
-
|
|
189
|
+
if (!subheading) {
|
|
190
|
+
return null;
|
|
191
|
+
}
|
|
192
|
+
return (h("limel-header", { subheading: subheading }, this.renderOperators(), this.renderDeleteGroupButton()));
|
|
182
193
|
}
|
|
183
194
|
renderOperators() {
|
|
184
|
-
return (h("limel-select", { slot: "actions", value: this.value, options: this.options, onChange: this.handleToggleOperator }));
|
|
195
|
+
return (h("limel-select", { class: "operator-select", slot: "actions", value: this.value, options: this.options, onChange: this.handleToggleOperator }));
|
|
196
|
+
}
|
|
197
|
+
renderDeleteGroupButton() {
|
|
198
|
+
return (h("limel-icon-button", { class: "delete-group", slot: "actions", icon: "trash", label: "Delete This Group", onClick: this.handleDeleteGroup }));
|
|
185
199
|
}
|
|
186
200
|
getSubheading() {
|
|
187
201
|
return getFilterGroupSubheading(this.expression.op, this.expression.exp.length);
|
|
188
202
|
}
|
|
189
203
|
renderAddButton() {
|
|
190
|
-
return (h("limel-button", { label: "Condition", icon: {
|
|
204
|
+
return (h("limel-button", { role: "listitem", label: "Condition", icon: {
|
|
191
205
|
name: 'plus_math',
|
|
192
206
|
title: 'Add',
|
|
193
207
|
}, onClick: this.handleAddChildExpression }));
|
|
194
208
|
}
|
|
195
209
|
renderAddGroupButton() {
|
|
196
|
-
return (h("limel-button", { label: "Group", icon: {
|
|
197
|
-
name: '
|
|
210
|
+
return (h("limel-button", { class: "add-group", label: "Group", icon: {
|
|
211
|
+
name: 'plus_math',
|
|
198
212
|
title: 'Add',
|
|
199
213
|
}, onClick: this.handleAddChildGroup }));
|
|
200
214
|
}
|
|
@@ -223,12 +237,12 @@ const LimeQueryFilterNotComponent = class {
|
|
|
223
237
|
};
|
|
224
238
|
}
|
|
225
239
|
render() {
|
|
226
|
-
return (h("div", { key: '
|
|
240
|
+
return (h("div", { key: 'e64fdcf00f6e88a27341e519f4b86542d3009bf5', class: "expression" }, this.label && h("limel-header", { key: '9b6a2d7f472337b314beb7cec481f9850e6320a0', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'd8d1b50f2b03b5c239d3f9690a2e9efd683182b1', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
227
241
|
}
|
|
228
242
|
};
|
|
229
243
|
LimeQueryFilterNotComponent.style = LimebbLimeQueryFilterNotStyle0;
|
|
230
244
|
|
|
231
|
-
const limeQueryValueInputCss = ":host{display:
|
|
245
|
+
const limeQueryValueInputCss = ":host{display:flex;gap:0.5rem}:host>*{flex-grow:1}*{box-sizing:border-box}.value-input-container{display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}.mode-toggle{flex-shrink:0;flex-grow:0}.placeholder-input{flex-grow:1;display:flex;flex-direction:column;gap:0.5rem}.placeholder-preview{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;background-color:rgba(var(--color-blue-light), 0.1);border-radius:var(--border-radius-small);font-size:0.875rem;color:rgb(var(--color-blue-default));border-left:3px solid rgb(var(--color-blue-default))}.placeholder-preview limel-icon{flex-shrink:0;color:rgb(var(--color-blue-default))}.placeholder-preview span{font-family:var(--font-monospace);word-break:break-all}";
|
|
232
246
|
const LimebbLimeQueryValueInputStyle0 = limeQueryValueInputCss;
|
|
233
247
|
|
|
234
248
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -353,9 +367,13 @@ const LimeQueryValueInput = class {
|
|
|
353
367
|
if (!this.operator) {
|
|
354
368
|
return null;
|
|
355
369
|
}
|
|
356
|
-
return (h(
|
|
357
|
-
|
|
358
|
-
|
|
370
|
+
return (h(Host, null, this.renderModeToggle(), this.renderInputByMode()));
|
|
371
|
+
}
|
|
372
|
+
renderInputByMode() {
|
|
373
|
+
if (this.inputMode === 'placeholder') {
|
|
374
|
+
return this.renderPlaceholderInput();
|
|
375
|
+
}
|
|
376
|
+
return this.renderValueInputByType();
|
|
359
377
|
}
|
|
360
378
|
renderModeToggle() {
|
|
361
379
|
// Only show toggle if activeLimetype is set
|
|
@@ -369,7 +387,13 @@ const LimeQueryValueInput = class {
|
|
|
369
387
|
}
|
|
370
388
|
renderPlaceholderInput() {
|
|
371
389
|
const propertyPath = this.parsePlaceholderPath(this.value);
|
|
372
|
-
return (h("div", { class: "placeholder-input" }, h("limebb-property-selector", { platform: this.platform, context: this.context, limetype: this.activeLimetype, label: "Active Object Property", value: propertyPath, required: false, helperText: "Select property from the active object", onChange: this.handlePlaceholderPropertyChange }), this.
|
|
390
|
+
return (h("div", { class: "placeholder-input" }, h("limebb-property-selector", { platform: this.platform, context: this.context, limetype: this.activeLimetype, label: "Active Object Property", value: propertyPath, required: false, helperText: "Select property from the active object", onChange: this.handlePlaceholderPropertyChange }), this.renderPlaceholderPreview()));
|
|
391
|
+
}
|
|
392
|
+
renderPlaceholderPreview() {
|
|
393
|
+
if (!this.isPlaceholder(this.value)) {
|
|
394
|
+
return;
|
|
395
|
+
}
|
|
396
|
+
return (h("div", { class: "placeholder-preview" }, h("limel-icon", { name: "info", size: "small" }), h("span", null, "Placeholder: ", this.value)));
|
|
373
397
|
}
|
|
374
398
|
renderValueInputByType() {
|
|
375
399
|
// Special handling for IN operator - always use chip set for arrays
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-96dd111f.js';
|
|
2
2
|
|
|
3
|
-
const orderByItemCss = ":host(limebb-lime-query-order-by-item){
|
|
3
|
+
const orderByItemCss = "*{box-sizing:border-box}:host(limebb-lime-query-order-by-item){box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}limebb-property-selector{flex-grow:1}.control-buttons{flex-shrink:0;display:flex;align-items:center;gap:0.25rem}";
|
|
4
4
|
const LimebbLimeQueryOrderByItemStyle0 = orderByItemCss;
|
|
5
5
|
|
|
6
6
|
const OrderByItemComponent = class {
|
|
@@ -37,9 +37,9 @@ const OrderByItemComponent = class {
|
|
|
37
37
|
render() {
|
|
38
38
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
39
39
|
const direction = this.item[propertyPath] || 'ASC';
|
|
40
|
-
return (h(
|
|
40
|
+
return (h(Host, { key: 'feb240a8e977c5ca24fa68db6cc01a6d747cb05c' }, h("limebb-property-selector", { key: '2244706344661dec4deb93c102eda68a0e555d26', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: '3475f7c72de7faae1fc7798a0aa99dfb917d1d6c', class: "control-buttons" }, h("limel-icon-button", { key: '6f25d070ad97059ef41f09de0e8d75b6da068141', icon: direction === 'ASC'
|
|
41
41
|
? 'sort_ascending'
|
|
42
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
42
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '1c1b31fbea3263e9c75622afc59cf888949646e5', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
OrderByItemComponent.style = LimebbLimeQueryOrderByItemStyle0;
|
|
@@ -256,7 +256,7 @@ const ResponseFormatEditor = class {
|
|
|
256
256
|
if (this.items.length === 0) {
|
|
257
257
|
return (h("div", { class: "response-format-editor" }, h("h4", { class: "header" }, this.label), h("div", { class: "empty-state" }, h("p", { class: "empty-state-message" }, "No properties selected. The response will return empty objects."), h("limel-button", { label: "Add Property", icon: "plus_math", onClick: this.handleAddProperty }))));
|
|
258
258
|
}
|
|
259
|
-
return (h("div", { class: "response-format-editor" }, h("limel-header", { subheading: this.label }, this.renderPropertyCount()), h("div", { class: "property" }, h("div", { class: "property-list" }, this.items.map((item, index) => this.renderItem(item, index))), h("div", { class: "actions" }, h("limel-button", { label: "Property", icon: {
|
|
259
|
+
return (h("div", { class: "response-format-editor" }, h("limel-header", { subheading: this.label }, this.renderPropertyCount()), h("div", { class: "property" }, h("div", { class: "property-list" }, this.items.map((item, index) => this.renderItem(item, index))), h("div", { class: "actions" }, h("limel-button", { label: "Property", disabled: this.items.some((item) => !item.path || item.path.trim() === ''), icon: {
|
|
260
260
|
name: 'plus_math',
|
|
261
261
|
title: 'Add',
|
|
262
262
|
}, onClick: this.handleAddProperty })))));
|
|
@@ -345,9 +345,9 @@ const ResponseFormatItem = class {
|
|
|
345
345
|
}
|
|
346
346
|
render() {
|
|
347
347
|
return [
|
|
348
|
-
h("div", { key: '
|
|
349
|
-
this.showAliasInput && (h("div", { key: '
|
|
350
|
-
this.showDescriptionInput && (h("div", { key: '
|
|
348
|
+
h("div", { key: 'a6750a148adab490c6efbf72d624ddaa754d10bf', class: "property-controls" }, h("div", { key: '3cd3301cbb708c34fb358956fe9063eac66e45d6', class: "property-path" }, h("limebb-property-selector", { key: '40a9353bd2af66f67d5a5e888984f57016d744ce', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange })), h("div", { key: '388d5a8dc7ad4b5b2fa4978e83edb4ddc1a0fd9f', class: "control-buttons" }, h("limel-icon-button", { key: 'caf92ced482bff1cd219d3348976956813dbad65', icon: this.getAliasIcon(), label: "Add alias", class: this.item.alias ? 'has-value' : '', onClick: this.toggleAliasInput }), h("limel-icon-button", { key: '5e5d8df90964c21659fd4327dec65e0b47e355bb', icon: this.getDescriptionIcon(), label: "Add description", class: this.item.description ? 'has-value' : '', onClick: this.toggleDescriptionInput }), h("limel-icon-button", { key: '34981b09d0d1e25b85b02c119da3d02e3f61fb5e', icon: "trash", label: "Remove property", onClick: this.handleRemove }))),
|
|
349
|
+
this.showAliasInput && (h("div", { key: 'bf70d1c0ebc568d139d65a5e65c5c841c9164343', class: "alias" }, h("limel-input-field", { key: '7ea01e90e9ff071623cba25f9fa42ce9c19f91e3', label: "Alias", value: this.item.alias || '', placeholder: "Custom property name...", onChange: this.handleAliasChange, onBlur: this.handleAliasBlur }))),
|
|
350
|
+
this.showDescriptionInput && (h("div", { key: '2b7c314d24fe24f17f6fc5108c49d1145cbeb869', class: "description" }, h("limel-input-field", { key: 'a71416a5af4fb99cd09155e9fc01a4efe489a551', label: "Description", value: this.item.description || '', placeholder: "Describe this property for AI...", onChange: this.handleDescriptionChange, onBlur: this.handleDescriptionBlur }))),
|
|
351
351
|
];
|
|
352
352
|
}
|
|
353
353
|
getAliasIcon() {
|
|
@@ -9,8 +9,8 @@ const LiveDocsInfo = class {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
return [
|
|
12
|
-
h("div", { key: '
|
|
13
|
-
h("p", { key: '
|
|
12
|
+
h("div", { key: '12193a8411806e8876272bed1cdef6de05f8cac3', class: "header" }, h("limel-icon", { key: '4b257f56f6b6969dde29abbe64b1aff5e26832fc', name: "not_showing_video_frames" }), h("h2", { key: '25fa656c792f9b7fbc056c790744f3007318d4cc' }, "Viewing this file type requires ", h("em", { key: '4d5bac586c89134e0f1e0d1265edb61635f7f72a' }, "Live Docs"))),
|
|
13
|
+
h("p", { key: '89b29d2a8eeab56b99bacea967b2ff775df13deb' }, h("em", { key: '9b25a2d8b24acf0f8b52993267e1839a195dea10' }, "Live Docs"), " not only enables you to view many file formats such as Microsoft Office documents, but it also empowers you to edit them right in the CRM. No need to download anything on your device!", h("a", { key: 'f043f87759fb33843c51ce9482e4a69ec2704c4f', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
14
14
|
];
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -1129,7 +1129,7 @@ const LocalePicker = class {
|
|
|
1129
1129
|
const value = this.value;
|
|
1130
1130
|
selectedOptions = options.find((option) => option.value === value);
|
|
1131
1131
|
}
|
|
1132
|
-
return (h("limel-select", { key: '
|
|
1132
|
+
return (h("limel-select", { key: 'cd7807aedacf781540686dd8de210188fdd72ea3', value: selectedOptions, options: sortBy$1(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
1135
|
|