@limetech/lime-crm-building-blocks 1.122.0 → 1.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/{index.esm-iA818ZYg.js → index.esm-QC7n_5ug.js} +22 -19
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/{lime-query-validation-BDXW3WdN.js → lime-query-validation-Djq87Kvd.js} +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +3 -3
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +5 -5
- package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-data-cells.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-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 +2 -2
- package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +113 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +3 -3
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-loader.cjs.entry.js +1 -1
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-mention.cjs.entry.js +1 -1
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +3 -3
- package/dist/cjs/limebb-property-selector.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +46 -0
- package/dist/cjs/limebb-text-editor.cjs.entry.js +3 -3
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +2 -2
- package/dist/cjs/{limetype-C7_hrzhN.js → limetype-C1krEdDi.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -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/composer-toolbar/composer-toolbar.js +2 -2
- package/dist/collection/components/currency-picker/currency-picker.js +1 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +2 -2
- 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 +2 -2
- 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-gate/rule-gate.css +7 -0
- package/dist/collection/components/rule-gate/rule-gate.js +142 -0
- package/dist/collection/components/summary-popover/summary-popover.js +4 -4
- 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/index.esm.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-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-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-object-chip.js +1 -1
- package/dist/components/limebb-rule-gate.d.ts +11 -0
- package/dist/components/limebb-rule-gate.js +1 -0
- 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/summary-popover.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/{index.esm-mwnk3PIM.js → index.esm-EC5zE5lw.js} +22 -19
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/{lime-query-validation-Cxos3HEO.js → lime-query-validation-Dav-tsNr.js} +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +1 -1
- package/dist/esm/limebb-browser.entry.js +3 -3
- package/dist/esm/limebb-chat-icon-list_3.entry.js +5 -5
- package/dist/esm/limebb-chat-list.entry.js +2 -2
- package/dist/esm/limebb-component-config.entry.js +1 -1
- package/dist/esm/limebb-component-picker.entry.js +1 -1
- package/dist/esm/limebb-composer-toolbar.entry.js +3 -3
- package/dist/esm/limebb-currency-picker.entry.js +2 -2
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-data-cells.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +2 -2
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-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 +2 -2
- package/dist/esm/limebb-feed.entry.js +2 -2
- package/dist/esm/limebb-icon-picker.entry.js +113 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +3 -3
- package/dist/esm/limebb-kanban-group.entry.js +2 -2
- package/dist/esm/limebb-kanban-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +4 -4
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +4 -4
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -1
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-loader.entry.js +1 -1
- package/dist/esm/limebb-locale-picker.entry.js +2 -2
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-mention.entry.js +1 -1
- package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
- package/dist/esm/limebb-notification-item.entry.js +2 -2
- package/dist/esm/limebb-notification-list.entry.js +1 -1
- package/dist/esm/limebb-object-chip.entry.js +3 -3
- package/dist/esm/limebb-percentage-visualizer.entry.js +3 -3
- package/dist/esm/limebb-property-selector.entry.js +2 -2
- package/dist/esm/limebb-rule-gate.entry.js +44 -0
- package/dist/esm/limebb-text-editor.entry.js +3 -3
- package/dist/esm/limebb-trend-indicator.entry.js +2 -2
- package/dist/esm/{limetype-C4AY5lRw.js → limetype-COL4hyNy.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-d4f14723.entry.js → p-09c63bce.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4163a0c0.entry.js → p-0cbe7498.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2aae332a.entry.js → p-0f2d1ea7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f3e2fd00.entry.js → p-1797622d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ebeddc29.entry.js → p-25c4e389.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7a983aca.entry.js → p-27798ace.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5ef41ad0.entry.js → p-287780c1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-91368f57.entry.js → p-2caf01c8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0cac0e56.entry.js → p-35c72752.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-02a3530f.entry.js → p-4b275818.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-61791842.entry.js → p-4f042496.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-51ab9d60.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-d7181a32.entry.js → p-529dbe46.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-750dbb18.entry.js → p-52bddb06.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-5f97c392.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-d5e0131d.entry.js → p-5fa5e7f4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-79d17b2b.entry.js → p-628ce56b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-aa9b7af3.entry.js → p-6318fd46.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cc07285b.entry.js → p-6a05192a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e5511ba8.entry.js → p-6ada2b2b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2079ae59.entry.js → p-6cb2d9dd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f397b288.entry.js → p-774cd93c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2d35d237.entry.js → p-85caaf36.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-46da9897.entry.js → p-8d6cc027.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8a820ede.entry.js → p-8f8108c1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6559886d.entry.js → p-9214b92e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b7027fc8.entry.js → p-9a42ae42.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-655968ce.entry.js → p-9d56503d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-B3U_Lxk4.js → p-BeLcuSg8.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-xpqxl-B7.js → p-C25FPZQh.js} +1 -1
- package/dist/lime-crm-building-blocks/{p--IuhN2yx.js → p-CAMipqwt.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-195c2348.entry.js → p-ad27bd5d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cee4e6a6.entry.js → p-b0567904.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2b913c47.entry.js → p-b07b3ae3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9d1c84ee.entry.js → p-bb5d40b1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-34ad8e75.entry.js → p-c469db7e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-c6caa3f9.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-bd43f3f1.entry.js → p-cefb24bb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-dd07a1ac.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-cceff7f9.entry.js → p-e2319de9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4d402806.entry.js → p-e3e2852a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-54bb577b.entry.js → p-e4ff2906.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9019ca6f.entry.js → p-e8425a2c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bc0ffe17.entry.js → p-f09c7244.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-49edd4fe.entry.js → p-f0a5076c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-705f6e72.entry.js → p-f5244a1a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-03aa9f07.entry.js → p-f7114acb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4005988.entry.js → p-fcedbc77.entry.js} +1 -1
- package/dist/types/components/rule-gate/rule-gate.d.ts +34 -0
- package/dist/types/components.d.ts +65 -2
- package/package.json +5 -5
- package/dist/lime-crm-building-blocks/p-37bab931.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8da95b3a.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9589553c.entry.js +0 -1
|
@@ -27,7 +27,7 @@ export class KanbanGroup {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'f0be3a991c1e6383895523f846363cdadbfe2ae9' }, this.renderHelp(), this.renderGroupHeading(), this.renderGroupSummary(), this.renderItems()));
|
|
31
31
|
}
|
|
32
32
|
renderGroupSummary() {
|
|
33
33
|
if (!this.summary || !this.totalCount) {
|
|
@@ -55,7 +55,7 @@ export class KanbanItemComponent {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'd74307473fc2fa7301c9da20e6ce026b86c3d6d1', id: this.item.id.toString(), class: {
|
|
59
59
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
60
60
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
61
61
|
}, style: {
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js
CHANGED
|
@@ -122,7 +122,7 @@ export class LimeQueryFilterComparisonComponent {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '3c0ce4280b45c19522a5e159bfe41e9866737d5a' }, this.renderHeader(), h("div", { key: '6e4afb9968ed2974ec35ce831c474ffc0f5448aa', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: '0d0d87b9dee114c311958049015e493578ecc3e4', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
126
126
|
}
|
|
127
127
|
renderHeader() {
|
|
128
128
|
if (!this.label) {
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js
CHANGED
|
@@ -72,9 +72,9 @@ export class LimeQueryFilterGroupComponent {
|
|
|
72
72
|
(this.expression.op === Operator.AND ? 'and' : 'or')) || this.options[0];
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'b6fa2e2e21d68867587e42b9247df54495c64a86', style: {
|
|
76
76
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === Operator.AND ? 'AND' : 'OR'}"`,
|
|
77
|
-
} }, h("div", { key: '
|
|
77
|
+
} }, h("div", { key: '2d02f59f34a6bcd52f24dc942eb55ca8405ae744', class: "expression" }, this.renderHeader(), h("ul", { key: '8fba5156c7e8573aaee21932640112d04d7890cf' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
78
78
|
}
|
|
79
79
|
renderHeader() {
|
|
80
80
|
const subheading = this.getSubheading();
|
|
@@ -35,7 +35,7 @@ export class LimeQueryFilterNotComponent {
|
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: '540260cd3203c932bb630f7a714447d574c371c6', class: "expression" }, this.label && h("limel-header", { key: '32eb4b638008d7409c017627c556944d85d5db33', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'e547fef08281f285baa1868a7942f3c7db1cf87f', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "limebb-lime-query-filter-not"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -172,7 +172,7 @@ export class LimeQueryBuilder {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '2ee09dd23db195ddf96976ac90be2eca54d69dcd' }, this.renderHeader(), this.renderContent()));
|
|
176
176
|
}
|
|
177
177
|
renderContent() {
|
|
178
178
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
@@ -154,7 +154,7 @@ export class LimeQueryResponseFormatBuilder {
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
157
|
-
return (h("div", { key: '
|
|
157
|
+
return (h("div", { key: 'b8e26a16b474899d16e6de4af13591c439322ded', class: "response-format-builder" }, this.label && h("h1", { key: 'f41fe478ab2b61c54d0efba71e43daaff0bf9a93', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '8fa7526cc578203fa3ed1da8dbcf75b56999fc9c', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '0a41715db4bd37e4b42b26c9d7bc455d2805e10e', 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()))));
|
|
158
158
|
}
|
|
159
159
|
renderModeSwitch(support) {
|
|
160
160
|
const visualDisabled = !support.visualModeSupported;
|
|
@@ -78,7 +78,7 @@ export class LimetypeField {
|
|
|
78
78
|
value: '',
|
|
79
79
|
};
|
|
80
80
|
options.unshift(emptyOption);
|
|
81
|
-
return (h("limel-select", { key: '
|
|
81
|
+
return (h("limel-select", { key: '9cf0a7da434e9bf8544efaa800aebf68b954aaf7', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
|
|
82
82
|
}
|
|
83
83
|
componentWillRender() {
|
|
84
84
|
this.updatePropertyFields(this.value || '');
|
|
@@ -69,7 +69,7 @@ export class OrderByEditor {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'cf785ed849307475b1fb4640d643d7047abb6abb' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
73
73
|
}
|
|
74
74
|
renderEmptyState() {
|
|
75
75
|
if (this.limetype) {
|
|
@@ -38,9 +38,9 @@ export class OrderByItemComponent {
|
|
|
38
38
|
render() {
|
|
39
39
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
40
40
|
const direction = this.item[propertyPath] || 'ASC';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'aa4d8e8a6a54b1dcadf70c8ad6e17663a9ecec3b' }, h("limebb-property-selector", { key: 'fcb0ec785a67ac2ddee8da58e72ddd74467dcf9a', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'cbf631dca767f8711de1e081fa421126631270c2', class: "control-buttons" }, h("limel-icon-button", { key: '2366bb07e39a77e70f38e32aab606807fa341633', icon: direction === 'ASC'
|
|
42
42
|
? 'sort_ascending'
|
|
43
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
43
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: 'b30da75bc8dc89e8f3d393181128171e337cd354', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "limebb-lime-query-order-by-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/lime-query-builder/response-format/response-format-item.js
CHANGED
|
@@ -66,7 +66,7 @@ export class ResponseFormatItem {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
return [
|
|
69
|
-
h("div", { key: '
|
|
69
|
+
h("div", { key: '7f5cba0456d7cf8a6fe8b9ab2769ac2073694c5d', class: "property-controls" }, h("div", { key: 'e4d1deb9133ef4b1d0d14e8c70901f347a803567', class: "property-path" }, h("limebb-property-selector", { key: '709847093e0c35e6197a405c894479bcb8b2ff06', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: '49eb63067967233552ca377438bf7853b42edc2d', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '3bf00dcf8dcd8e701aa819f6957d5e490cbb6548', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: 'c77f7d771098b394ea0c80252fe3894d05b0d015', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: '6f53a60d973649ea00157eff200fa91fa9258425', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
|
|
70
70
|
];
|
|
71
71
|
}
|
|
72
72
|
renderAliasButton() {
|
|
@@ -5,8 +5,8 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
export class LiveDocsInfo {
|
|
6
6
|
render() {
|
|
7
7
|
return [
|
|
8
|
-
h("div", { key: '
|
|
9
|
-
h("p", { key: '
|
|
8
|
+
h("div", { key: '05645c71de622ff672d22091cda6f0d3818cc165', class: "header" }, h("limel-icon", { key: '2350c63351cb5e97479141c247d8a8a1f7d51ef0', name: "not_showing_video_frames" }), h("h2", { key: '7bfac63856143b787d489f9c2ec73bc5931d16e4' }, "Viewing this file type requires ", h("em", { key: 'ef4778cb7163773526500b34f39932d3bb17e483' }, "Live Docs"))),
|
|
9
|
+
h("p", { key: '24874f2cc49f0cf3bd71075378835be0bcbc54ee' }, h("em", { key: '749b4b3bee40ac57b2f2367c3b92d0724d96f99b' }, "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: 'e6c48db6f409e43adc52c4cee21a783ec998cc55', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
10
10
|
];
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "limebb-live-docs-info"; }
|
|
@@ -53,7 +53,7 @@ export class LocalePicker {
|
|
|
53
53
|
const value = this.value;
|
|
54
54
|
selectedOptions = options.find((option) => option.value === value);
|
|
55
55
|
}
|
|
56
|
-
return (h("limel-select", { key: '
|
|
56
|
+
return (h("limel-select", { key: '323ac681ac69b7d80f3ace86faa6a6e9a98d3c65', 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 }));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "limebb-locale-picker"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class NotificationListItem {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '9b33803eef74b64893cad1e576baa8fe210ad7e8', id: this.item.id, class: {
|
|
60
60
|
'is-clickable': this.isItemClickable(),
|
|
61
61
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
62
62
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -108,11 +108,11 @@ export class PercentageVisualizer {
|
|
|
108
108
|
render() {
|
|
109
109
|
const normalizedValue = this.getNormalizedValue();
|
|
110
110
|
const zeroPoint = this.getZeroPointPosition();
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '273a59fdc06febe51c9b5d21ccdc34df282f53b9', class: this.getContainerClassList(), style: {
|
|
112
112
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
113
113
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
114
114
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
115
|
-
} }, h("limel-notched-outline", { key: '
|
|
115
|
+
} }, h("limel-notched-outline", { key: 'c5e54438b9cafede2594bc7173afc7dbc7121af7', 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: 'd4ef8b3722cbe1506eaadc45eeb85c37e92197b6', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
116
116
|
}
|
|
117
117
|
renderVisualization() {
|
|
118
118
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { PlatformServiceName, } from "@limetech/lime-web-components";
|
|
3
|
+
/**
|
|
4
|
+
* Renders its slot only when the configured rule evaluates true.
|
|
5
|
+
*
|
|
6
|
+
* Pass a {@link Rule} and the gate compiles it on load and on prop
|
|
7
|
+
* changes, then evaluates it against a scope obtained from the
|
|
8
|
+
* {@link RuleRegistry} platform service.
|
|
9
|
+
*
|
|
10
|
+
* @exampleComponent limebb-example-rule-gate
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export class RuleGate {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.shouldRender = false;
|
|
17
|
+
}
|
|
18
|
+
componentWillLoad() {
|
|
19
|
+
this.compileAndEvaluate();
|
|
20
|
+
}
|
|
21
|
+
onRuleChange() {
|
|
22
|
+
this.compileAndEvaluate();
|
|
23
|
+
}
|
|
24
|
+
onScopeChange() {
|
|
25
|
+
this.compileAndEvaluate();
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (h(Host, { key: 'f421ff8fa1e6955c618e74e6bfdfd4c34e2352fc', hidden: !this.shouldRender }, h("slot", { key: 'f1372eda9eebdba7157e7f80d2eebbdb107e9cee' })));
|
|
29
|
+
}
|
|
30
|
+
get ruleRegistry() {
|
|
31
|
+
return this.platform.get(PlatformServiceName.RuleRegistry);
|
|
32
|
+
}
|
|
33
|
+
compileAndEvaluate() {
|
|
34
|
+
var _a;
|
|
35
|
+
const compiled = this.ruleRegistry.compile(this.rule);
|
|
36
|
+
const scope = (_a = this.scope) !== null && _a !== void 0 ? _a : this.ruleRegistry.scope({ host: this.host });
|
|
37
|
+
this.shouldRender = compiled(scope);
|
|
38
|
+
}
|
|
39
|
+
static get is() { return "limebb-rule-gate"; }
|
|
40
|
+
static get encapsulation() { return "shadow"; }
|
|
41
|
+
static get originalStyleUrls() {
|
|
42
|
+
return {
|
|
43
|
+
"$": ["rule-gate.scss"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static get styleUrls() {
|
|
47
|
+
return {
|
|
48
|
+
"$": ["rule-gate.css"]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static get properties() {
|
|
52
|
+
return {
|
|
53
|
+
"platform": {
|
|
54
|
+
"type": "unknown",
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "LimeWebComponentPlatform",
|
|
58
|
+
"resolved": "LimeWebComponentPlatform",
|
|
59
|
+
"references": {
|
|
60
|
+
"LimeWebComponentPlatform": {
|
|
61
|
+
"location": "import",
|
|
62
|
+
"path": "@limetech/lime-web-components",
|
|
63
|
+
"id": "node_modules::LimeWebComponentPlatform",
|
|
64
|
+
"referenceLocation": "LimeWebComponentPlatform"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false
|
|
76
|
+
},
|
|
77
|
+
"rule": {
|
|
78
|
+
"type": "unknown",
|
|
79
|
+
"mutable": false,
|
|
80
|
+
"complexType": {
|
|
81
|
+
"original": "Rule",
|
|
82
|
+
"resolved": "RuleAll | RuleAny | RuleNot | RuleRef",
|
|
83
|
+
"references": {
|
|
84
|
+
"Rule": {
|
|
85
|
+
"location": "import",
|
|
86
|
+
"path": "@limetech/lime-web-components",
|
|
87
|
+
"id": "node_modules::Rule",
|
|
88
|
+
"referenceLocation": "Rule"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": "The rule to evaluate."
|
|
97
|
+
},
|
|
98
|
+
"getter": false,
|
|
99
|
+
"setter": false
|
|
100
|
+
},
|
|
101
|
+
"scope": {
|
|
102
|
+
"type": "unknown",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "RuleScope",
|
|
106
|
+
"resolved": "RuleScope | undefined",
|
|
107
|
+
"references": {
|
|
108
|
+
"RuleScope": {
|
|
109
|
+
"location": "import",
|
|
110
|
+
"path": "@limetech/lime-web-components",
|
|
111
|
+
"id": "node_modules::RuleScope",
|
|
112
|
+
"referenceLocation": "RuleScope"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": true,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Optional scope override. By default the gate resolves subject\nvalues by walking up the DOM to ancestors that registered providers\nwith the rule registry. Pass an explicit scope to bypass that walk."
|
|
121
|
+
},
|
|
122
|
+
"getter": false,
|
|
123
|
+
"setter": false
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
static get states() {
|
|
128
|
+
return {
|
|
129
|
+
"shouldRender": {}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
static get elementRef() { return "host"; }
|
|
133
|
+
static get watchers() {
|
|
134
|
+
return [{
|
|
135
|
+
"propName": "rule",
|
|
136
|
+
"methodName": "onRuleChange"
|
|
137
|
+
}, {
|
|
138
|
+
"propName": "scope",
|
|
139
|
+
"methodName": "onScopeChange"
|
|
140
|
+
}];
|
|
141
|
+
}
|
|
142
|
+
}
|