@limetech/lime-crm-building-blocks 1.125.0 → 1.126.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 +11 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +4 -4
- package/dist/cjs/limebb-chat-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-config.cjs.entry.js +2 -14
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-chips.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- 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 +2 -2
- 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-rule-chip-popover.cjs.entry.js +59 -0
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +646 -0
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +5 -1
- 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/cjs/web-component-template-BWCutZB6.js +18 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/collection/components/browser/browser.js +2 -2
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
- package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
- package/dist/collection/components/chat-list/chat-list.js +1 -1
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-picker.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +1 -1
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +3 -3
- package/dist/collection/components/currency-picker/currency-picker.js +1 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-range/date-range.js +1 -1
- package/dist/collection/components/document-chips/document-chips.js +1 -1
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
- 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/rule-editor/chip-picker-view.js +141 -0
- package/dist/collection/components/rule-editor/group-node-view.js +79 -0
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.css +36 -0
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +301 -0
- package/dist/collection/components/rule-editor/rule-editor-views.js +43 -0
- package/dist/collection/components/rule-editor/rule-editor.css +96 -0
- package/dist/collection/components/rule-editor/rule-editor.js +457 -0
- package/dist/collection/components/rule-editor/rule-operations.js +132 -0
- package/dist/collection/components/rule-editor/view-helpers.js +70 -0
- package/dist/collection/components/rule-gate/rule-gate.js +9 -4
- package/dist/collection/components/summary-popover/summary-popover.js +2 -2
- 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/chat-icon-list.js +1 -1
- package/dist/components/chat-item.js +1 -1
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/document-item.js +1 -1
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +1 -1
- package/dist/components/limebb-alert-dialog.js +1 -1
- package/dist/components/limebb-browser.js +1 -1
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-color-palette-picker.js +1 -1
- package/dist/components/limebb-color-palette-swatches.js +1 -1
- package/dist/components/limebb-component-config.js +1 -1
- package/dist/components/limebb-composer-toolbar.js +1 -1
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-date-range.js +1 -1
- package/dist/components/limebb-document-chips.js +1 -1
- package/dist/components/limebb-document-picker.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +1 -1
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention-group-counter.js +1 -1
- package/dist/components/limebb-rule-chip-popover.d.ts +11 -0
- package/dist/components/limebb-rule-chip-popover.js +1 -0
- package/dist/components/limebb-rule-editor.d.ts +11 -0
- package/dist/components/limebb-rule-editor.js +1 -0
- package/dist/components/limebb-rule-gate.js +1 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +1 -1
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +1 -1
- package/dist/components/order-by-item.js +1 -1
- package/dist/components/percentage-visualizer.js +1 -1
- package/dist/components/response-format-item.js +1 -1
- package/dist/components/rule-chip-popover.js +1 -0
- package/dist/components/summary-popover.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/components/web-component-template.js +1 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +1 -1
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-icon-list_3.entry.js +4 -4
- package/dist/esm/limebb-chat-list.entry.js +1 -1
- package/dist/esm/limebb-color-palette-picker.entry.js +1 -1
- package/dist/esm/limebb-color-palette-swatches.entry.js +1 -1
- package/dist/esm/limebb-component-config.entry.js +2 -14
- package/dist/esm/limebb-composer-toolbar.entry.js +3 -3
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-chips.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +2 -2
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +3 -3
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-rule-chip-popover.entry.js +57 -0
- package/dist/esm/limebb-rule-editor.entry.js +644 -0
- package/dist/esm/limebb-rule-gate.entry.js +5 -1
- 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/esm/web-component-template-6zRYia86.js +16 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-f3c412b3.entry.js → p-057e1638.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b35ebf4d.entry.js → p-0c572fe9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8b11a02c.entry.js → p-11494f30.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fc1aec12.entry.js → p-1747221f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1831e571.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-a4584260.entry.js → p-184ae23d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0be33708.entry.js → p-20206710.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fa7597f7.entry.js → p-24fc049c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-900b74c0.entry.js → p-277b6ad4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b74fe1ed.entry.js → p-2cb31064.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c93314a6.entry.js → p-3313e357.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-593340d9.entry.js → p-3781a766.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a3d4f2e1.entry.js → p-43a7facd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-152b4f92.entry.js → p-6cceabf1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c5f0582c.entry.js → p-6d3a9ed3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b5d84fff.entry.js → p-71a6f624.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4c255e2f.entry.js → p-731820f0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-74455a30.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-7922726c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f3ba4ed1.entry.js → p-7a125570.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5c420ada.entry.js → p-7d51a34c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f04ca19d.entry.js → p-7fee7ef3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a27e9bbb.entry.js → p-8084e825.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6a27184b.entry.js → p-861ac606.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b4ae3ed3.entry.js → p-8d3fa274.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-70957bab.entry.js → p-9f7992b0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-C_tMNOSt.js +1 -0
- package/dist/lime-crm-building-blocks/{p-6941de0b.entry.js → p-abcb1e49.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9041e7aa.entry.js → p-b1a8d1a0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-b8d9ff68.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8f70f909.entry.js → p-bec4231f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8e6446b5.entry.js → p-c139ab98.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e84ff80f.entry.js → p-c4f41ec4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-24004bf3.entry.js → p-c609b5ec.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ebd152ab.entry.js → p-c6a913af.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c60673a4.entry.js → p-dd38e0ba.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-53b19393.entry.js → p-de6f4670.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fc6d9cea.entry.js → p-e6ed33ff.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e717bdff.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-da248a53.entry.js → p-ef62c7d8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-23188fe0.entry.js → p-f0a567f3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-befd1d3c.entry.js → p-fd6dcfe3.entry.js} +1 -1
- package/dist/types/components/rule-editor/chip-picker-view.d.ts +27 -0
- package/dist/types/components/rule-editor/group-node-view.d.ts +11 -0
- package/dist/types/components/rule-editor/rule-chip-popover/rule-chip-popover.d.ts +31 -0
- package/dist/types/components/rule-editor/rule-editor-views.d.ts +51 -0
- package/dist/types/components/rule-editor/rule-editor.d.ts +118 -0
- package/dist/types/components/rule-editor/rule-operations.d.ts +62 -0
- package/dist/types/components/rule-editor/view-helpers.d.ts +40 -0
- package/dist/types/components/rule-gate/rule-gate.d.ts +5 -2
- package/dist/types/components.d.ts +300 -6
- package/package.json +4 -4
- package/dist/lime-crm-building-blocks/p-4a93a4df.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6318fd46.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-e3a3c291.entry.js +0 -1
|
@@ -191,7 +191,7 @@ const OrderByEditor = class {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: '6ef5ee3cf7b67cc0f821272f9d552eab48b60065' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
195
195
|
}
|
|
196
196
|
renderEmptyState() {
|
|
197
197
|
if (this.limetype) {
|
|
@@ -321,7 +321,7 @@ const LimetypeField = class {
|
|
|
321
321
|
value: '',
|
|
322
322
|
};
|
|
323
323
|
options.unshift(emptyOption);
|
|
324
|
-
return (h("limel-select", { key: '
|
|
324
|
+
return (h("limel-select", { key: '20a7d5eb86c746d11ad805083be5ef9f5fd2397d', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
|
|
325
325
|
}
|
|
326
326
|
componentWillRender() {
|
|
327
327
|
this.updatePropertyFields(this.value || '');
|
|
@@ -105,7 +105,7 @@ const LimeQueryFilterComparisonComponent = class {
|
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '29ddf92b2e83eafe695faeb9a4ce6b8d29aa973e' }, this.renderHeader(), h("div", { key: '258f8aeee98a2435d324a1e5b816f111188cf3cc', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'c9e4cf456908fb82507e2599af631691e96ab8e4', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
109
109
|
}
|
|
110
110
|
renderHeader() {
|
|
111
111
|
if (!this.label) {
|
|
@@ -179,9 +179,9 @@ const LimeQueryFilterGroupComponent = class {
|
|
|
179
179
|
(this.expression.op === Xe.AND ? 'and' : 'or')) || this.options[0];
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: '4b1647c741b78253b4ce4ed1bd347800da394563', style: {
|
|
183
183
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === Xe.AND ? 'AND' : 'OR'}"`,
|
|
184
|
-
} }, h("div", { key: '
|
|
184
|
+
} }, h("div", { key: '47fd3000275e17ef70d86af5e6abcb492806ffba', class: "expression" }, this.renderHeader(), h("ul", { key: '224249a4b305eb2b20c1aedad98d2c3191d47e83' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
185
185
|
}
|
|
186
186
|
renderHeader() {
|
|
187
187
|
const subheading = this.getSubheading();
|
|
@@ -235,7 +235,7 @@ const LimeQueryFilterNotComponent = class {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
|
-
return (h("div", { key: '
|
|
238
|
+
return (h("div", { key: '16246e10be820ad18713cb097146040d30e242bf', class: "expression" }, this.label && h("limel-header", { key: '539d60a4567727282463dec2a90e06a3630501aa', heading: this.label }), h("limebb-lime-query-filter-expression", { key: '67f892704ea3e5a061acdcb8f3ffe22271971569', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
LimeQueryFilterNotComponent.style = limeQueryFilterNotCss();
|
|
@@ -36,9 +36,9 @@ const OrderByItemComponent = class {
|
|
|
36
36
|
render() {
|
|
37
37
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
38
38
|
const direction = this.item[propertyPath] || 'ASC';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'f8b1d7505feec325eae8668672afe3768a4892aa' }, h("limebb-property-selector", { key: '03f71edd8692c6a46612f87a9df21aabd2bf71eb', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'a1a6db7060f8dc862d7acfb5750861293e2411d3', class: "control-buttons" }, h("limel-icon-button", { key: '76703911899c38d71f116dc8256d00cb7c937971', icon: direction === 'ASC'
|
|
40
40
|
? 'sort_ascending'
|
|
41
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
41
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '91a3370d5c6151370b96e7b67d59f226ad526f21', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
OrderByItemComponent.style = orderByItemCss();
|
|
@@ -191,7 +191,7 @@ const LimeQueryResponseFormatBuilder = class {
|
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
193
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
194
|
-
return (h("div", { key: '
|
|
194
|
+
return (h("div", { key: '65a41f46fe1088f0d52be0337c427177a1aa1a44', class: "response-format-builder" }, this.label && h("h1", { key: '5a75e321aee3ff6753baccbd72d17c5377f28d28', class: "builder-label" }, this.label), this.helperText && (h("p", { key: 'e13518253b52ff8f847575b4465dc2295c7452f0', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '2122357f51fd2185d1b544381eb2199de5b1f56c', class: "mode-controls" }, this.renderModeSwitch(visualModeSupported))), !this.visualModeEnabled || this.mode === 'code' ? (h("div", { class: "code-mode" }, this.renderCodeEditor(visualModeSupported))) : (h("div", { class: "visual-mode" }, this.renderVisualMode()))));
|
|
195
195
|
}
|
|
196
196
|
renderModeSwitch(support) {
|
|
197
197
|
const visualDisabled = !support.visualModeSupported;
|
|
@@ -357,7 +357,7 @@ const ResponseFormatItem = class {
|
|
|
357
357
|
}
|
|
358
358
|
render() {
|
|
359
359
|
return [
|
|
360
|
-
h("div", { key: '
|
|
360
|
+
h("div", { key: '1fc4a0dbdaa2b362e56a53a82483ca3afe21f6bf', class: "property-controls" }, h("div", { key: '5269250030c559943d4f610734d1ac490a8355ad', class: "property-path" }, h("limebb-property-selector", { key: '2602b66035849922fc413cbc0c82b8163a928ecd', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: '4974a2c7ff30c527b0328d0fbed3b8bac519fdcd', class: "input-grid" }, this.renderAliasInput()), h("div", { key: 'fb058b3a5d5599c387b852e409bd5ac8e8afbc30', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '97a5e7e2ed68fdbac160bdd60498541f3a16371d', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: '42ab29e5e8e5fc08e90bc4afe6c6d504e434d33e', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
|
|
361
361
|
];
|
|
362
362
|
}
|
|
363
363
|
renderAliasButton() {
|
|
@@ -8,8 +8,8 @@ const LiveDocsInfo = class {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
return [
|
|
11
|
-
h("div", { key: '
|
|
12
|
-
h("p", { key: '
|
|
11
|
+
h("div", { key: 'ace2c3e78a926a405e6bb9a15db259953820ca1a', class: "header" }, h("limel-icon", { key: 'd1d94917a24d4b066ee2a389082a48c3b3ab29af', name: "not_showing_video_frames" }), h("h2", { key: '3d164cdece408fef99df8a0c18b03a33118f6737' }, "Viewing this file type requires ", h("em", { key: '3f46b83b55eb9474df36b18c71cd02a12696a41f' }, "Live Docs"))),
|
|
12
|
+
h("p", { key: 'e691f783583a0a3d421a033087accf825981e935' }, h("em", { key: '9bd0d29362de47d35cdc1e765c85dfd2c459b5d6' }, "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: 'e4a575a382890c7c52e78dd363e695f2b97b9a9f', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
13
13
|
];
|
|
14
14
|
}
|
|
15
15
|
};
|
|
@@ -1109,7 +1109,7 @@ const LocalePicker = class {
|
|
|
1109
1109
|
const value = this.value;
|
|
1110
1110
|
selectedOptions = options.find((option) => option.value === value);
|
|
1111
1111
|
}
|
|
1112
|
-
return (h("limel-select", { key: '
|
|
1112
|
+
return (h("limel-select", { key: 'b5aad60b10237826f58f096a343beb7fcbfe2b9b', value: selectedOptions, options: sortBy(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
|
|
1113
1113
|
}
|
|
1114
1114
|
};
|
|
1115
1115
|
|
|
@@ -10,8 +10,8 @@ const MentionGroupCounter = class {
|
|
|
10
10
|
render() {
|
|
11
11
|
const label = this.getLabel();
|
|
12
12
|
return [
|
|
13
|
-
h("span", { key: '
|
|
14
|
-
h("limel-tooltip", { key: '
|
|
13
|
+
h("span", { key: 'b2dca0d50a70b8c7bf187ef2f6c29960c4caf563', id: this.tooltipId }, label),
|
|
14
|
+
h("limel-tooltip", { key: '97adc0a2b91b830a6fe040712cbdfc1d9839c8f8', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
15
15
|
];
|
|
16
16
|
}
|
|
17
17
|
getLabel() {
|
|
@@ -120,9 +120,9 @@ const SummaryPopover = class {
|
|
|
120
120
|
top: '0.125rem',
|
|
121
121
|
right: '0.125rem',
|
|
122
122
|
};
|
|
123
|
-
return (h("limel-popover", { key: '
|
|
123
|
+
return (h("limel-popover", { key: '901e726d37719331f2b30df6e35f2375951c161f', style: {
|
|
124
124
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
125
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
125
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'a9a73b0a0f16cf12aaa6fa3434071c56a26a1038', slot: "trigger", onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocusin: this.openPopoverWithDelay }, h("slot", { key: '594bcc9e419e33ef97fd6ca863cf44a67617fa48', name: "trigger" }), h("div", { key: 'a6f548eeb737f4392e2c938682a1c9a509523658', class: "opening-countdown-indicator" })), this.renderCard(closeButtonStyle)));
|
|
126
126
|
}
|
|
127
127
|
renderCard(closeButtonStyle) {
|
|
128
128
|
return (h("limel-card", { style: {
|
|
@@ -55,7 +55,7 @@ const NotificationListItem = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '951b650d804bfe49133743bc461e344d9dd0324b', id: this.item.id, class: {
|
|
59
59
|
'is-clickable': this.isItemClickable(),
|
|
60
60
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
61
61
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -88,11 +88,11 @@ const PercentageVisualizer = class {
|
|
|
88
88
|
render() {
|
|
89
89
|
const normalizedValue = this.getNormalizedValue();
|
|
90
90
|
const zeroPoint = this.getZeroPointPosition();
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: 'c57fbde9785115a91c28db17ccebee42a335a80f', class: this.getContainerClassList(), style: {
|
|
92
92
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
93
93
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
94
94
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
95
|
-
} }, h("limel-notched-outline", { key: '
|
|
95
|
+
} }, h("limel-notched-outline", { key: '27d6dada52041ce9ebec9d987bae303afacfff89', tabIndex: 0, role: "meter", "aria-valuemin": this.rangeMin, "aria-valuemax": this.rangeMax, "aria-valuenow": this.numValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-controls": this.helperTextId }, h("div", { key: '2afd6d0ff95eace6fac444fd3e2732d22ab97728', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
96
96
|
}
|
|
97
97
|
renderVisualization() {
|
|
98
98
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BIwHMk6j.js';
|
|
2
|
+
import { n } from './index.esm-EC5zE5lw.js';
|
|
3
|
+
import { L as LimeWebComponentTemplate } from './web-component-template-6zRYia86.js';
|
|
4
|
+
|
|
5
|
+
const ruleChipPopoverCss = () => `:host{display:block}.popover{display:flex;flex-direction:column;min-width:24rem;background-color:rgb(var(--contrast-100));border:1px solid rgb(var(--contrast-700));border-radius:0.5rem;box-shadow:0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);overflow:hidden}.popover__header{--header-background-color:rgba(var(--contrast-300));padding-right:0.5rem;gap:1rem}.popover__header-actions{display:grid;grid-auto-flow:column;grid-gap:0.75rem;padding:0.25rem;align-items:center}.popover__delete-button{color:rgb(var(--contrast-1100))}.popover__body{padding:1rem}`;
|
|
6
|
+
|
|
7
|
+
const RuleChipPopover = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.negate = createEvent(this, "negate");
|
|
11
|
+
this.updateArgs = createEvent(this, "updateArgs");
|
|
12
|
+
this.deleteChip = createEvent(this, "deleteChip");
|
|
13
|
+
this.isNegated = false;
|
|
14
|
+
this.readonly = false;
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.isMutable = true;
|
|
17
|
+
this.handleNegateChange = (event) => {
|
|
18
|
+
event.stopPropagation();
|
|
19
|
+
this.negate.emit(event.detail);
|
|
20
|
+
};
|
|
21
|
+
this.handleArgsChange = (event) => {
|
|
22
|
+
event.stopPropagation();
|
|
23
|
+
this.updateArgs.emit(event.detail);
|
|
24
|
+
};
|
|
25
|
+
this.handleDelete = () => {
|
|
26
|
+
this.deleteChip.emit();
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (h("div", { key: '6aae573b524737ee3d2a4b2d3df68ec9bf1f1a0f', class: "popover" }, this.renderHeader(), this.renderBody()));
|
|
31
|
+
}
|
|
32
|
+
renderHeader() {
|
|
33
|
+
var _a, _b, _c, _d, _e;
|
|
34
|
+
const title = (_d = (_b = (_a = this.metadata) === null || _a === void 0 ? void 0 : _a.title) !== null && _b !== void 0 ? _b : (_c = this.refNode) === null || _c === void 0 ? void 0 : _c.id) !== null && _d !== void 0 ? _d : '';
|
|
35
|
+
return (h("limel-header", { class: "popover__header is-narrow", heading: title, icon: (_e = this.metadata) === null || _e === void 0 ? void 0 : _e.icon }, this.renderHeaderActions()));
|
|
36
|
+
}
|
|
37
|
+
renderHeaderActions() {
|
|
38
|
+
if (!this.isMutable) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return (h("div", { slot: "actions", class: "popover__header-actions" }, h("limel-switch", { class: "popover__negate-switch", label: this.translator.get('webclient.rule-editor.negate'), value: this.isNegated, onChange: this.handleNegateChange }), h("limel-icon-button", { class: "popover__delete-button", icon: "trash", label: this.translator.get('webclient.rule-editor.delete'), onClick: this.handleDelete })));
|
|
42
|
+
}
|
|
43
|
+
get translator() {
|
|
44
|
+
return this.platform.get(n.Translate);
|
|
45
|
+
}
|
|
46
|
+
renderBody() {
|
|
47
|
+
var _a, _b;
|
|
48
|
+
const configComponent = (_a = this.metadata) === null || _a === void 0 ? void 0 : _a.configComponent;
|
|
49
|
+
if (!configComponent) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return (h("div", { class: "popover__body" }, h(LimeWebComponentTemplate, { platform: this.platform, context: this.context, name: configComponent.name, props: Object.assign(Object.assign({}, configComponent.props), { value: (_b = this.refNode) === null || _b === void 0 ? void 0 : _b.args, readonly: this.readonly, disabled: this.disabled, onChange: this.handleArgsChange }) })));
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
RuleChipPopover.style = ruleChipPopoverCss();
|
|
56
|
+
|
|
57
|
+
export { RuleChipPopover as limebb_rule_chip_popover };
|