@limetech/lime-crm-building-blocks 1.139.0 → 1.140.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 +16 -0
- package/dist/cjs/{filter-condition-icons-HypsDn6x.js → filter-condition-icons-QK5stWj6.js} +142 -0
- package/dist/cjs/{filter-group-logic-BoF3Z5_P.js → filter-group-logic-BPpM2NqX.js} +1 -1
- package/dist/cjs/filter-operators-BTWvpD6A.js +61 -0
- package/dist/cjs/{index-B9Bi9dpZ.js → index-BrWc7h0p.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -1
- package/dist/cjs/{index.esm-8LHVbTD0.js → index.esm-Se3EtD3m.js} +2 -2
- package/dist/cjs/lime-crm-building-blocks.cjs.js +3 -3
- package/dist/cjs/{lime-query-validation-q-sH7XSs.js → lime-query-validation-CJC3mtnT.js} +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limebb-browser.cjs.entry.js +4 -4
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +7 -7
- package/dist/cjs/limebb-chat-list.cjs.entry.js +3 -3
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +3 -3
- package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +2 -2
- package/dist/cjs/limebb-data-cells.cjs.entry.js +7 -4
- package/dist/cjs/limebb-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-date-range.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-chips.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-item.cjs.entry.js +3 -3
- package/dist/cjs/limebb-document-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +4 -4
- package/dist/cjs/limebb-feed.cjs.entry.js +91 -34
- package/dist/cjs/{limebb-filter-chip_5.cjs.entry.js → limebb-filter-chip_6.cjs.entry.js} +120 -86
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +2 -2
- package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +4 -4
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +4 -4
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +4 -4
- package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-filter-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +10 -27
- package/dist/cjs/limebb-lime-query-order-by-editor_2.cjs.entry.js +5 -5
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +3 -3
- package/dist/cjs/limebb-loader.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +3 -3
- package/dist/cjs/limebb-mention.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 +3 -3
- package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +5 -5
- package/dist/cjs/limebb-property-selector.cjs.entry.js +3 -3
- package/dist/cjs/limebb-rule-arg-filter-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +4 -4
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +3 -3
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +3 -3
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +4 -4
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +4 -4
- package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +39 -37
- package/dist/cjs/{limetype-CK5MVyW0.js → limetype-CmgP0nbZ.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{web-component-template-7B9wK2bO.js → web-component-template-C9hvjrMm.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- 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.css +7 -5
- 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 +2 -2
- 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/data-cells/data-cells.js +5 -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.css +32 -24
- 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 +2 -2
- package/dist/collection/components/filter-chip/filter-chip.css +19 -17
- package/dist/collection/components/filter-chip/filter-chip.js +3 -3
- package/dist/collection/components/filter-chip/filter-condition-icons.js +141 -0
- package/dist/collection/components/filter-chip/filter-operators.js +54 -0
- package/dist/collection/components/filter-condition-picker/filter-condition-picker.css +7 -0
- package/dist/collection/components/filter-condition-picker/filter-condition-picker.js +256 -0
- 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.css +14 -12
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.css +11 -7
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/compound-leaf.js +6 -6
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison-editor.js +37 -20
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +8 -25
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +4 -4
- 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/expressions/lime-query-operators.js +23 -57
- 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.css +8 -6
- 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.css +7 -7
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +5 -5
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +1 -1
- package/dist/collection/components/rule-editor/rule-editor.js +1 -1
- package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js +62 -36
- package/dist/collection/components/rule-gate/rule-gate.js +1 -1
- 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.css +7 -7
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/collection/index.js +1 -0
- 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/filter-chip.js +1 -1
- package/dist/components/filter-condition-icons.js +1 -1
- package/dist/components/filter-condition-picker.js +1 -0
- package/dist/components/filter-operators.js +1 -0
- package/dist/components/index.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-builder.js +1 -1
- package/dist/components/lime-query-filter-comparison-editor.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-composer-toolbar.js +1 -1
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-data-cells.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-filter-condition-picker.d.ts +11 -0
- package/dist/components/limebb-filter-condition-picker.js +1 -0
- 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-arg-filter-editor.js +1 -1
- package/dist/components/limebb-rule-editor.js +1 -1
- 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/limebb-value-comparison-editor.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 -1
- package/dist/components/summary-popover.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/{filter-condition-icons-D8CJOcfs.js → filter-condition-icons-C_y3-T4Q.js} +142 -1
- package/dist/esm/{filter-group-logic-CRznE2g-.js → filter-group-logic-BMY_GEsX.js} +1 -1
- package/dist/esm/filter-operators-Lw-ccmxQ.js +57 -0
- package/dist/esm/{index-LEJjPpY0.js → index-DwHAn7LS.js} +1 -1
- package/dist/esm/{index.esm-B7wJLMmp.js → index.esm-C-L5fkQs.js} +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/lime-crm-building-blocks.js +4 -4
- package/dist/esm/{lime-query-validation-Dds_iPHd.js → lime-query-validation-BwvluehW.js} +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +2 -2
- package/dist/esm/limebb-browser.entry.js +4 -4
- package/dist/esm/limebb-chat-icon-list_3.entry.js +7 -7
- package/dist/esm/limebb-chat-list.entry.js +3 -3
- package/dist/esm/limebb-color-palette-picker.entry.js +2 -2
- package/dist/esm/limebb-color-palette-swatches.entry.js +2 -2
- package/dist/esm/limebb-component-config.entry.js +3 -3
- package/dist/esm/limebb-component-picker.entry.js +2 -2
- package/dist/esm/limebb-composer-toolbar.entry.js +4 -4
- package/dist/esm/limebb-currency-picker.entry.js +3 -3
- package/dist/esm/limebb-dashboard-widget.entry.js +2 -2
- package/dist/esm/limebb-data-cells.entry.js +7 -4
- package/dist/esm/limebb-date-picker.entry.js +3 -3
- package/dist/esm/limebb-date-range.entry.js +2 -2
- package/dist/esm/limebb-document-chips.entry.js +2 -2
- package/dist/esm/limebb-document-item.entry.js +3 -3
- package/dist/esm/limebb-document-picker.entry.js +2 -2
- package/dist/esm/limebb-empty-state.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +2 -2
- package/dist/esm/limebb-feed-timeline-item.entry.js +4 -4
- package/dist/esm/limebb-feed.entry.js +91 -34
- package/dist/esm/{limebb-filter-chip_5.entry.js → limebb-filter-chip_6.entry.js} +120 -87
- package/dist/esm/limebb-icon-picker.entry.js +2 -2
- package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +4 -4
- package/dist/esm/limebb-kanban-group.entry.js +4 -4
- package/dist/esm/limebb-kanban-item.entry.js +4 -4
- package/dist/esm/limebb-kanban.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-filter-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +10 -27
- package/dist/esm/limebb-lime-query-order-by-editor_2.entry.js +5 -5
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +3 -3
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +3 -3
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +2 -2
- package/dist/esm/limebb-live-docs-info.entry.js +3 -3
- package/dist/esm/limebb-loader.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +3 -3
- package/dist/esm/limebb-mention-group-counter.entry.js +3 -3
- package/dist/esm/limebb-mention.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
- package/dist/esm/limebb-notification-item.entry.js +3 -3
- package/dist/esm/limebb-notification-list.entry.js +2 -2
- package/dist/esm/limebb-object-chip.entry.js +3 -3
- package/dist/esm/limebb-percentage-visualizer.entry.js +5 -5
- package/dist/esm/limebb-property-selector.entry.js +3 -3
- package/dist/esm/limebb-rule-arg-filter-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-chip-popover.entry.js +4 -4
- package/dist/esm/limebb-rule-editor.entry.js +3 -3
- package/dist/esm/limebb-rule-gate.entry.js +3 -3
- package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +4 -4
- package/dist/esm/limebb-trend-indicator.entry.js +4 -4
- package/dist/esm/limebb-value-comparison-editor.entry.js +39 -37
- package/dist/esm/{limetype-DH77rgZZ.js → limetype-D4ZaWZ-3.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{web-component-template-CXFK-BYa.js → web-component-template-CAI6pXCH.js} +1 -1
- package/dist/lime-crm-building-blocks/index.esm.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-bb825e68.entry.js → p-00ca6522.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-01f84b0c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-7597eb85.entry.js → p-0253fd45.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ae9780ff.entry.js → p-05a1762a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4f398108.entry.js → p-0c4f6220.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ae802651.entry.js → p-19dc7242.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4aeb4fe.entry.js → p-1f97e235.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0b13889c.entry.js → p-22e68812.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4bdf9821.entry.js → p-251aca46.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2caee700.entry.js → p-29758303.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-37c0a17f.entry.js → p-2dab7d4b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-382ab76b.entry.js → p-2e48601d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-db9ed6ed.entry.js → p-354257f4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5960143c.entry.js → p-3bf316f9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4ccc690.entry.js → p-3f537135.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fe9cbbdd.entry.js → p-430e3d11.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9b411072.entry.js → p-43bdd66b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-58f18819.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-b6a8ad7a.entry.js → p-6f4e2590.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6fe4c1cd.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-3e9de50b.entry.js → p-7033d408.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6a7eb5b2.entry.js → p-73b71080.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-752742f8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-b0ac4a5f.entry.js → p-7b6c9cbf.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6db41866.entry.js → p-80e04b27.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-be4829f3.entry.js → p-863f456c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1cd45d56.entry.js → p-896e77b9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-19b95901.entry.js → p-8986f27b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bec2bcef.entry.js → p-89f120f8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-92bf5318.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-edf566e7.entry.js → p-9452fb56.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e031c267.entry.js → p-964b066d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-639032ba.entry.js → p-97839894.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-B-WBKAaa.js +1 -0
- package/dist/lime-crm-building-blocks/p-BjXRsiQr.js +1 -0
- package/dist/lime-crm-building-blocks/{p-Dtg8KAQt.js → p-Bkno2RtN.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-DM0fyjo-.js → p-CI6VHE0w.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-D8CJOcfs.js → p-C_y3-T4Q.js} +1 -1
- package/dist/lime-crm-building-blocks/p-D1RJ1y7s.js +1 -0
- package/dist/lime-crm-building-blocks/{p-BxpMk4Zk.js → p-DI3GWqfD.js} +1 -1
- package/dist/lime-crm-building-blocks/p-a157233b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-3c6fb9d1.entry.js → p-a4e676a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2091d4c8.entry.js → p-a6e9cefe.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d5ad0cd9.entry.js → p-aafead4e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e2503bad.entry.js → p-b0b8ce73.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-b34817df.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-c0fa239a.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-c4e2dca5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-73fab4a9.entry.js → p-c891125e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-cac2a49f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-655f028c.entry.js → p-cd7106f7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7dc9923f.entry.js → p-d40f53a5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bae91ba0.entry.js → p-d78370be.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fdd63bcc.entry.js → p-d7d21bad.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-05f8b18e.entry.js → p-dba6f583.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-dbbc5ba7.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-94cee387.entry.js → p-dec2b87d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2cac740d.entry.js → p-e242b955.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-27f700c9.entry.js → p-e29c27b8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a201e304.entry.js → p-ec1e079e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3c19f792.entry.js → p-edeb359f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c90ef898.entry.js → p-f1090436.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6e298dd5.entry.js → p-f3cb68d6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-46f2667e.entry.js → p-f4214745.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-37fbd50d.entry.js → p-f4d518ec.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-22af159d.entry.js → p-fb050628.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f3d3ff7e.entry.js → p-fb8d854b.entry.js} +1 -1
- package/dist/types/components/filter-chip/filter-condition-icons.d.ts +8 -0
- package/dist/types/components/filter-chip/filter-operators.d.ts +22 -0
- package/dist/types/components/filter-condition-picker/filter-condition-picker.d.ts +60 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison-editor.d.ts +8 -4
- package/dist/types/components/lime-query-builder/expressions/lime-query-operators.d.ts +16 -9
- package/dist/types/components/rule-editor/value-comparison-editor/value-comparison-editor.d.ts +7 -2
- package/dist/types/components.d.ts +174 -10
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +14 -14
- package/dist/lime-crm-building-blocks/p-15bb23c9.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-357c5a54.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-47912c60.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-5f940ea8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-80f2f76c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8eec03b7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8f7c054d.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-Bb18Bgig.js +0 -1
- package/dist/lime-crm-building-blocks/p-b6b8dad7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-cac27f2c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d99e57aa.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f93a749f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-xIXgZHrE.js +0 -1
- /package/dist/lime-crm-building-blocks/{p-LEJjPpY0.js → p-DwHAn7LS.js} +0 -0
|
@@ -1,60 +1,26 @@
|
|
|
1
1
|
import { Operator, } from "@limetech/lime-web-components";
|
|
2
|
+
import { operatorsToConditions } from "../../filter-chip/filter-operators";
|
|
3
|
+
/**
|
|
4
|
+
* The comparison operators the query builder can author, in the order the
|
|
5
|
+
* condition picker lists them. This is the query builder's capability — which
|
|
6
|
+
* operators it can serialize — not a per-property-type catalog. The
|
|
7
|
+
* operator↔condition translation lives in the shared `filter-operators` helpers.
|
|
8
|
+
*/
|
|
2
9
|
export const LIME_QUERY_OPERATORS = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
value: Operator.GREATER,
|
|
15
|
-
label: 'webclient.operator.greater-than',
|
|
16
|
-
icon: '-lime-filter-greater',
|
|
17
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
value: Operator.GREATER_OR_EQUAL,
|
|
21
|
-
label: 'webclient.operator.greater-than-or-equal-to',
|
|
22
|
-
icon: '-lime-filter-greater-equal',
|
|
23
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
value: Operator.LESS,
|
|
27
|
-
label: 'webclient.operator.less-than',
|
|
28
|
-
icon: '-lime-filter-less',
|
|
29
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
value: Operator.LESS_OR_EQUAL,
|
|
33
|
-
label: 'webclient.operator.less-than-or-equal-to',
|
|
34
|
-
icon: '-lime-filter-less-equal',
|
|
35
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
value: Operator.IN,
|
|
39
|
-
label: 'webclient.operator.in-filter',
|
|
40
|
-
icon: '-lime-filter-set-included',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
value: Operator.LIKE,
|
|
44
|
-
label: 'webclient.operator.contains',
|
|
45
|
-
icon: '-lime-filter-contain',
|
|
46
|
-
applicableTypes: ['string', 'text'],
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
value: Operator.BEGINS,
|
|
50
|
-
label: 'webclient.operator.begins-with',
|
|
51
|
-
icon: '-lime-filter-starts-with',
|
|
52
|
-
applicableTypes: ['string', 'text'],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
value: Operator.ENDS,
|
|
56
|
-
label: 'webclient.operator.ends-with',
|
|
57
|
-
icon: '-lime-filter-ends-with',
|
|
58
|
-
applicableTypes: ['string', 'text'],
|
|
59
|
-
},
|
|
10
|
+
Operator.EQUALS,
|
|
11
|
+
Operator.NOT_EQUALS,
|
|
12
|
+
Operator.GREATER,
|
|
13
|
+
Operator.GREATER_OR_EQUAL,
|
|
14
|
+
Operator.LESS,
|
|
15
|
+
Operator.LESS_OR_EQUAL,
|
|
16
|
+
Operator.IN,
|
|
17
|
+
Operator.LIKE,
|
|
18
|
+
Operator.BEGINS,
|
|
19
|
+
Operator.ENDS,
|
|
60
20
|
];
|
|
21
|
+
/**
|
|
22
|
+
* The conditions the query builder offers, in display order — handed to the
|
|
23
|
+
* `limebb-filter-condition-picker` as its `conditions` list. Derived from
|
|
24
|
+
* {@link LIME_QUERY_OPERATORS} so the two never drift.
|
|
25
|
+
*/
|
|
26
|
+
export const LIME_QUERY_CONDITIONS = operatorsToConditions(LIME_QUERY_OPERATORS);
|
|
@@ -172,7 +172,7 @@ export class LimeQueryBuilder {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: 'd03160151a6467401424351f0bf7d05211800bf0' }, 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: 'f8edf793b05904933998d41dff2680737671754b', class: "response-format-builder" }, this.label && h("h1", { key: '2e6aaf2a0b9fa285920ba71fdc7ef50a1967948b', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '99528513c236f945e8584cb30cc9880eaf049d2d', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: 'afdb567755d27858daab5490bf22b5c349d4fa0e', 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: '4c17fbdd5760fcb83fef57f7204df42c91f70f7f', 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: '5eaad5237f6ccce6d93610bf4987cce10c06abaf' }, 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: 'fc238e47f9189531ac39969dcabfefaa41602a4b' }, h("limebb-property-selector", { key: '02ed1accd1f1febc05f300a72734150ef415cad8', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'd994587df98e632f12b489b732d3d7436860dac7', class: "control-buttons" }, h("limel-icon-button", { key: 'aeca1aceb371f3bf6c392a8e0ce903905d929c33', 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: '389a10fe59b9b06e6b9251a8bee5a1a06dbf1961', 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.css
CHANGED
|
@@ -180,12 +180,6 @@
|
|
|
180
180
|
cursor: pointer;
|
|
181
181
|
color: var(--limel-theme-on-surface-color);
|
|
182
182
|
background-color: transparent;
|
|
183
|
-
font-size: 0.625rem;
|
|
184
|
-
padding: 0 0.5rem 0 0.25rem;
|
|
185
|
-
display: flex;
|
|
186
|
-
align-items: center;
|
|
187
|
-
gap: 0.25rem;
|
|
188
|
-
border-radius: 0.25rem;
|
|
189
183
|
}
|
|
190
184
|
.button-group button:hover, .button-group button:focus, .button-group button:focus-visible {
|
|
191
185
|
will-change: color, background-color, box-shadow, transform;
|
|
@@ -219,6 +213,14 @@
|
|
|
219
213
|
outline: none;
|
|
220
214
|
box-shadow: var(--shadow-depth-8-focused);
|
|
221
215
|
}
|
|
216
|
+
.button-group button {
|
|
217
|
+
font-size: 0.625rem;
|
|
218
|
+
padding: 0 0.5rem 0 0.25rem;
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
gap: 0.25rem;
|
|
222
|
+
border-radius: 0.25rem;
|
|
223
|
+
}
|
|
222
224
|
.button-group button:hover {
|
|
223
225
|
transform: scale(1.2);
|
|
224
226
|
}
|
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: '3e3956bb95dc04ffa6bac42f242b81ccc876d100', class: "property-controls" }, h("div", { key: '65591fe8a50e6e80fa3c40c7fb5b9a53b13b8a55', class: "property-path" }, h("limebb-property-selector", { key: 'd41140ae568023f30e7047d3dcbc70a53a7503a4', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: 'e8bd2fd1c560c6f67ae99bafd3832d9199b1f939', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '5b61d939884ef26c0e83d70c22c7d42635d26aa0', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '19dc494a85c9df10b8953380b9f3eb3dda7050ce', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: 'da3b889129de1e1dba5bf431b68edb5b786dfee6', 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: '6cca6e4ef0c666b5e8b98f3520e610dd22f0e1e6', class: "header" }, h("limel-icon", { key: 'a5fcd50b843f593695fdb0d58ff676be2f381f98', name: "not_showing_video_frames" }), h("h2", { key: 'fa42a948053ef5cf2d100054300e788097f0f46d' }, "Viewing this file type requires ", h("em", { key: '3319e03d3747ef71f16aa63fa94a9640142bc08c' }, "Live Docs"))),
|
|
9
|
+
h("p", { key: 'a9aaf3ecc5a63eb37c2242d38b0138b36cb9e4d7' }, h("em", { key: 'be00747c7b6692b534446cbcd2d8e935a08f6558' }, "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: '25535725cb312328f40b8d39a165ae43bf00980d', 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: 'cb38c95a546757f47d376def9d3cf2f5d8176cf9', 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: '478562eb1347b383b23e73f28f0143fceec96b7a', 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),
|
|
@@ -133,13 +133,6 @@ limel-notched-outline:not([invalid]:not([invalid=false])) .limel-notched-outline
|
|
|
133
133
|
--limel-notched-outline-border-color: transparent;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
div[slot=content] {
|
|
137
|
-
display: flex;
|
|
138
|
-
align-items: center;
|
|
139
|
-
gap: 0.5rem;
|
|
140
|
-
border-radius: inherit;
|
|
141
|
-
background-color: transparent !important;
|
|
142
|
-
}
|
|
143
136
|
div[slot=content]:focus {
|
|
144
137
|
outline: none;
|
|
145
138
|
}
|
|
@@ -147,6 +140,13 @@ div[slot=content]:focus-visible {
|
|
|
147
140
|
outline: none;
|
|
148
141
|
box-shadow: var(--shadow-depth-8-focused);
|
|
149
142
|
}
|
|
143
|
+
div[slot=content] {
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
gap: 0.5rem;
|
|
147
|
+
border-radius: inherit;
|
|
148
|
+
background-color: transparent !important;
|
|
149
|
+
}
|
|
150
150
|
:host(limebb-percentage-visualizer[invalid]:not([invalid=false])) div[slot=content] {
|
|
151
151
|
border-color: rgb(var(--color-red-default));
|
|
152
152
|
}
|
|
@@ -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: '235b934d22f3b44c3cd1f15be75080e797367c8c', 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: '29e9cb044645d10cc1892f72a032f9484726caff', 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: '917a08e65845ec178c8cefbcfc4bb202b3b7fca0', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
116
116
|
}
|
|
117
117
|
renderVisualization() {
|
|
118
118
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -319,7 +319,7 @@ export class PercentageVisualizer {
|
|
|
319
319
|
"setter": false,
|
|
320
320
|
"reflect": true,
|
|
321
321
|
"attribute": "range-max",
|
|
322
|
-
"defaultValue": "
|
|
322
|
+
"defaultValue": "100"
|
|
323
323
|
},
|
|
324
324
|
"rangeMin": {
|
|
325
325
|
"type": "number",
|
|
@@ -339,7 +339,7 @@ export class PercentageVisualizer {
|
|
|
339
339
|
"setter": false,
|
|
340
340
|
"reflect": true,
|
|
341
341
|
"attribute": "range-min",
|
|
342
|
-
"defaultValue": "
|
|
342
|
+
"defaultValue": "0"
|
|
343
343
|
},
|
|
344
344
|
"multiplier": {
|
|
345
345
|
"type": "number",
|
|
@@ -359,7 +359,7 @@ export class PercentageVisualizer {
|
|
|
359
359
|
"setter": false,
|
|
360
360
|
"reflect": true,
|
|
361
361
|
"attribute": "multiplier",
|
|
362
|
-
"defaultValue": "
|
|
362
|
+
"defaultValue": "1"
|
|
363
363
|
},
|
|
364
364
|
"label": {
|
|
365
365
|
"type": "string",
|
|
@@ -45,7 +45,7 @@ export class RuleChipPopover {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: 'abb754c8d327cc82b5d4e7e44154e937c3aeb0d2', class: "popover" }, this.renderHeader(), this.renderBody()));
|
|
49
49
|
}
|
|
50
50
|
renderHeader() {
|
|
51
51
|
var _a, _b, _c, _d;
|
|
@@ -126,7 +126,7 @@ export class RuleEditor {
|
|
|
126
126
|
'rule-editor': true,
|
|
127
127
|
'rule-editor--disabled': this.disabled,
|
|
128
128
|
};
|
|
129
|
-
return (h("div", { key: '
|
|
129
|
+
return (h("div", { key: 'abe9c739c5fbd0749a593187fd36953482530aeb', class: containerClasses }, this.renderLabel(), h(RuleNodeView, { key: 'ba99e8de897dec3825fb74f78d42b3f503ead775', node: this.normalizedValue, path: [], ctx: this.createRenderContext() }), this.renderHelperText()));
|
|
130
130
|
}
|
|
131
131
|
renderLabel() {
|
|
132
132
|
if (!this.label) {
|
package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, } from "@stencil/core";
|
|
2
|
-
import { Operator } from "@limetech/lime-web-components";
|
|
2
|
+
import { Operator, } from "@limetech/lime-web-components";
|
|
3
|
+
import { conditionToOperator, operatorsToConditions, operatorToCondition, } from "../../filter-chip/filter-operators";
|
|
3
4
|
const TYPE_OPTIONS = [
|
|
4
5
|
{ value: 'string', text: 'Text' },
|
|
5
6
|
{ value: 'number', text: 'Number' },
|
|
@@ -7,14 +8,31 @@ const TYPE_OPTIONS = [
|
|
|
7
8
|
{ value: 'datetime', text: 'Date & time' },
|
|
8
9
|
{ value: 'time', text: 'Time' },
|
|
9
10
|
];
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The comparison operators this editor offers, in display order — the
|
|
13
|
+
* value-comparison primitive's capability. The operator↔condition translation
|
|
14
|
+
* lives in the shared `filter-operators` helpers.
|
|
15
|
+
*/
|
|
16
|
+
const COMPARISON_OPERATORS = [
|
|
17
|
+
Operator.EQUALS,
|
|
18
|
+
Operator.NOT_EQUALS,
|
|
19
|
+
Operator.LESS,
|
|
20
|
+
Operator.LESS_OR_EQUAL,
|
|
21
|
+
Operator.GREATER,
|
|
22
|
+
Operator.GREATER_OR_EQUAL,
|
|
17
23
|
];
|
|
24
|
+
const COMPARISON_CONDITIONS = operatorsToConditions(COMPARISON_OPERATORS);
|
|
25
|
+
/**
|
|
26
|
+
* Maps the editor's comparison type onto a property type so the condition
|
|
27
|
+
* picker resolves the type-specific wording (e.g. "After"/"On" for dates).
|
|
28
|
+
*/
|
|
29
|
+
const PROPERTY_TYPE_BY_VALUE_TYPE = {
|
|
30
|
+
string: 'string',
|
|
31
|
+
number: 'integer',
|
|
32
|
+
date: 'date',
|
|
33
|
+
datetime: 'date',
|
|
34
|
+
time: 'time',
|
|
35
|
+
};
|
|
18
36
|
const RELATIVE_OFFSET_KEY = '__relative_offset__';
|
|
19
37
|
const SPECIFIC_KEY = '__specific__';
|
|
20
38
|
const FIXED_TOKEN_OPTIONS = [
|
|
@@ -71,33 +89,24 @@ export class ValueComparisonEditor {
|
|
|
71
89
|
var _a, _b;
|
|
72
90
|
event.stopPropagation();
|
|
73
91
|
this.resetOperandState();
|
|
74
|
-
this.emit(this.
|
|
92
|
+
this.emit(this.currentOperator, undefined, (_b = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : 'string');
|
|
75
93
|
};
|
|
76
|
-
this.
|
|
77
|
-
var _a;
|
|
94
|
+
this.handleConditionChange = (event) => {
|
|
78
95
|
event.stopPropagation();
|
|
79
|
-
const operator = (
|
|
96
|
+
const operator = conditionToOperator(event.detail);
|
|
80
97
|
if (!operator) {
|
|
81
|
-
this.emit(undefined, undefined);
|
|
82
98
|
return;
|
|
83
99
|
}
|
|
84
100
|
this.emit(operator, this.value.operand);
|
|
85
101
|
};
|
|
86
102
|
this.handleScalarOperandChange = (event) => {
|
|
87
103
|
event.stopPropagation();
|
|
88
|
-
|
|
89
|
-
if (!operator) {
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
this.emit(operator, this.parseScalarOperand(event.detail));
|
|
104
|
+
this.emit(this.currentOperator, this.parseScalarOperand(event.detail));
|
|
93
105
|
};
|
|
94
106
|
this.handleOperandKeyChange = (event) => {
|
|
95
107
|
var _a;
|
|
96
108
|
event.stopPropagation();
|
|
97
|
-
const operator = this.
|
|
98
|
-
if (!operator) {
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
109
|
+
const operator = this.currentOperator;
|
|
101
110
|
const key = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.value;
|
|
102
111
|
this.operandKey = key;
|
|
103
112
|
if (key === RELATIVE_OFFSET_KEY) {
|
|
@@ -143,10 +152,7 @@ export class ValueComparisonEditor {
|
|
|
143
152
|
};
|
|
144
153
|
this.handleSpecificDateChange = (event) => {
|
|
145
154
|
event.stopPropagation();
|
|
146
|
-
const operator = this.
|
|
147
|
-
if (!operator) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
155
|
+
const operator = this.currentOperator;
|
|
150
156
|
const date = event.detail instanceof Date ? event.detail : undefined;
|
|
151
157
|
this.specificDate = date;
|
|
152
158
|
this.emit(operator, date ? this.formatSpecific(date) : undefined);
|
|
@@ -162,15 +168,15 @@ export class ValueComparisonEditor {
|
|
|
162
168
|
var _a;
|
|
163
169
|
return (_a = this.value.valueType) !== null && _a !== void 0 ? _a : 'string';
|
|
164
170
|
}
|
|
171
|
+
get currentOperator() {
|
|
172
|
+
var _a;
|
|
173
|
+
return (_a = this.value.operator) !== null && _a !== void 0 ? _a : COMPARISON_OPERATORS[0];
|
|
174
|
+
}
|
|
165
175
|
render() {
|
|
166
176
|
const selectedType = TYPE_OPTIONS.find((option) => option.value === this.valueType);
|
|
167
|
-
|
|
168
|
-
return (h("div", { key: 'b7ed0eedaa937029a3e51d53630cd9a352804deb', class: "rule" }, h("limel-select", { key: '402c121d9f06c1c60b6c03c7b82049127a9cd272', class: "type-select", label: "Compare as", options: TYPE_OPTIONS, value: selectedType, onChange: this.handleTypeChange }), h("limel-select", { key: 'aa59ca982dbca9a5b17d50c721fde57c6ab888d8', class: "operator-select", label: "When the value", options: OPERATOR_OPTIONS, value: selectedOperator, onChange: this.handleOperatorChange }), this.renderOperand()));
|
|
177
|
+
return (h("div", { key: 'ad1ae4fae21a213a2364a8b07db2ed157bf75419', class: "rule" }, h("limel-select", { key: 'e8dfb3d4499344b7f22b8cea5c40b59f4d15e21f', class: "type-select", label: "Compare as", options: TYPE_OPTIONS, value: selectedType, onChange: this.handleTypeChange }), h("limebb-filter-condition-picker", { key: '777d5eece2263568bf46c4a5348befeec0fe2035', class: "operator-select", platform: this.platform, propertyType: PROPERTY_TYPE_BY_VALUE_TYPE[this.valueType], conditions: COMPARISON_CONDITIONS, value: operatorToCondition(this.currentOperator), onChange: this.handleConditionChange }), this.renderOperand()));
|
|
169
178
|
}
|
|
170
179
|
renderOperand() {
|
|
171
|
-
if (!this.value.operator) {
|
|
172
|
-
return null;
|
|
173
|
-
}
|
|
174
180
|
if (TEMPORAL_TYPES.has(this.valueType)) {
|
|
175
181
|
return this.renderTemporalOperand();
|
|
176
182
|
}
|
|
@@ -228,11 +234,7 @@ export class ValueComparisonEditor {
|
|
|
228
234
|
return (h("limel-date-picker", { key: "specific-picker", class: "operand-picker", label: "Compared with", type: this.valueType, value: this.specificDate, onChange: this.handleSpecificDateChange }));
|
|
229
235
|
}
|
|
230
236
|
emitRelativeOffset() {
|
|
231
|
-
|
|
232
|
-
if (!operator) {
|
|
233
|
-
return;
|
|
234
|
-
}
|
|
235
|
-
this.emit(operator, this.relativeOffsetToken());
|
|
237
|
+
this.emit(this.currentOperator, this.relativeOffsetToken());
|
|
236
238
|
}
|
|
237
239
|
relativeOffsetToken() {
|
|
238
240
|
return `$${this.direction}_${this.unit}(${this.count})`;
|
|
@@ -360,6 +362,30 @@ export class ValueComparisonEditor {
|
|
|
360
362
|
"getter": false,
|
|
361
363
|
"setter": false,
|
|
362
364
|
"defaultValue": "{}"
|
|
365
|
+
},
|
|
366
|
+
"platform": {
|
|
367
|
+
"type": "unknown",
|
|
368
|
+
"mutable": false,
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "LimeWebComponentPlatform",
|
|
371
|
+
"resolved": "LimeWebComponentPlatform | undefined",
|
|
372
|
+
"references": {
|
|
373
|
+
"LimeWebComponentPlatform": {
|
|
374
|
+
"location": "import",
|
|
375
|
+
"path": "@limetech/lime-web-components",
|
|
376
|
+
"id": "node_modules::LimeWebComponentPlatform",
|
|
377
|
+
"referenceLocation": "LimeWebComponentPlatform"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"required": false,
|
|
382
|
+
"optional": true,
|
|
383
|
+
"docs": {
|
|
384
|
+
"tags": [],
|
|
385
|
+
"text": "Platform service provider"
|
|
386
|
+
},
|
|
387
|
+
"getter": false,
|
|
388
|
+
"setter": false
|
|
363
389
|
}
|
|
364
390
|
};
|
|
365
391
|
}
|
|
@@ -33,7 +33,7 @@ export class RuleGate {
|
|
|
33
33
|
this.evaluate();
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'ce41c51b7f8b049d7d89374ef0c452b2e961aa23', hidden: !this.shouldRender }, h("slot", { key: 'ad04db83bceca78bf7bb2eb7b7b2dae018025319' })));
|
|
37
37
|
}
|
|
38
38
|
get ruleRegistry() {
|
|
39
39
|
return this.platform.get(PlatformServiceName.RuleRegistry);
|
|
@@ -128,9 +128,9 @@ export class SummaryPopover {
|
|
|
128
128
|
top: '0.125rem',
|
|
129
129
|
right: '0.125rem',
|
|
130
130
|
};
|
|
131
|
-
return (h("limel-popover", { key: '
|
|
131
|
+
return (h("limel-popover", { key: '0eebed7c2685d3d162d8987bca7f3ce3acd38a62', style: {
|
|
132
132
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
133
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
133
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'df2242c223d4b6a2a61e822f63f50757ebfa16c4', slot: "trigger", onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocusin: this.openPopoverWithDelay }, h("slot", { key: '8f0bfcc7295cf604a4d395bc535cd4cf72069ecd', name: "trigger" }), h("div", { key: '804bb712139d21944fb5ce8e1fbb918115ba3dd8', class: "opening-countdown-indicator" })), this.renderCard(closeButtonStyle)));
|
|
134
134
|
}
|
|
135
135
|
renderCard(closeButtonStyle) {
|
|
136
136
|
return (h("limel-card", { style: {
|
|
@@ -13,8 +13,8 @@ export class MentionGroupCounter {
|
|
|
13
13
|
render() {
|
|
14
14
|
const label = this.getLabel();
|
|
15
15
|
return [
|
|
16
|
-
h("span", { key: '
|
|
17
|
-
h("limel-tooltip", { key: '
|
|
16
|
+
h("span", { key: 'b6e816b8efd22fdaff81f6669d11ab8efae9e05e', id: this.tooltipId }, label),
|
|
17
|
+
h("limel-tooltip", { key: '62294172fabc48ad688b14ae75fe43d142ac0cb7', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
20
|
getLabel() {
|
|
@@ -391,7 +391,7 @@ export class LimeBBTextEditor {
|
|
|
391
391
|
}
|
|
392
392
|
render() {
|
|
393
393
|
return [
|
|
394
|
-
h("limel-text-editor", { key: '
|
|
394
|
+
h("limel-text-editor", { key: '0f637527386d51f5b5c3e3a49b42acebafcba3fd', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
|
|
395
395
|
this.renderPicker(),
|
|
396
396
|
];
|
|
397
397
|
}
|
|
@@ -131,13 +131,6 @@ limel-notched-outline:not([invalid]:not([invalid=false])) .limel-notched-outline
|
|
|
131
131
|
--limel-notched-outline-border-color: transparent;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
div[slot=content] {
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: 0.5rem;
|
|
138
|
-
border-radius: inherit;
|
|
139
|
-
background-color: transparent !important;
|
|
140
|
-
}
|
|
141
134
|
div[slot=content]:focus {
|
|
142
135
|
outline: none;
|
|
143
136
|
}
|
|
@@ -145,6 +138,13 @@ div[slot=content]:focus-visible {
|
|
|
145
138
|
outline: none;
|
|
146
139
|
box-shadow: var(--shadow-depth-8-focused);
|
|
147
140
|
}
|
|
141
|
+
div[slot=content] {
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
gap: 0.5rem;
|
|
145
|
+
border-radius: inherit;
|
|
146
|
+
background-color: transparent !important;
|
|
147
|
+
}
|
|
148
148
|
:host(limebb-trend-indicator):has(label) div[slot=content] {
|
|
149
149
|
min-height: 2.5rem;
|
|
150
150
|
padding: 0 0.375rem 0 1rem;
|
|
@@ -69,7 +69,7 @@ export class TrendIndicator {
|
|
|
69
69
|
this.numValue = this.parseValue(this.value);
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'b963d9086b70b11dce31375284e54574f54b4f0c', class: this.getContainerClassList() }, h("limel-notched-outline", { key: 'd2d2587a0239cba584177dbc1806762e9d783460', id: this.tooltipId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, "aria-controls": this.helperTextId }, h("div", { key: '8e7b6c37d803c5c682220681e93c3a096d4e02d2', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
|
|
73
73
|
}
|
|
74
74
|
renderVisualization() {
|
|
75
75
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
package/dist/collection/index.js
CHANGED
|
@@ -4,4 +4,5 @@ export * from './factories';
|
|
|
4
4
|
export * from './util/color-palettes';
|
|
5
5
|
export * from './components/filter-chip/filter-chip.types';
|
|
6
6
|
export * from './components/filter-chip/filter-condition-icons';
|
|
7
|
+
export * from './components/filter-chip/filter-operators';
|
|
7
8
|
import "@lundalogik/lime-icons8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as i,h as n,Host as o,transformTag as t}from"@stencil/core/internal/client";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return n(o,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as i,h as n,Host as o,transformTag as t}from"@stencil/core/internal/client";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return n(o,{key:"8b396a9fe990300692e21c71e0674c412286db68",id:this.item.id},this.renderLabel(),n("div",{key:"8f1da67a4bb6916a3a76203dee5c2050ac2db1d3",class:"icons"},this.item.icons.map(((e,i)=>this.renderIcon(e,i)))))}renderLabel(){if(this.item.label)return n("span",{class:"label"},this.item.label)}renderIcon(e,i){const o=`icon-${this.item.id}-${i}`;return[n("limel-icon",{tabIndex:0,key:i,id:o,badge:!0,name:e.name,class:{"is-pending":!!e.pending,"is-clickable":!!e.onClick},style:{color:e.color,"background-color":e.backgroundColor},onClick:e.onClick}),this.renderTooltip(e,o)]}renderTooltip(e,i){if(e.title)return n("limel-tooltip",{label:e.title,elementId:i})}static get style(){return'@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}:host(limebb-chat-icon-list){display:flex;align-items:center;gap:0.5rem;margin-right:auto;max-width:calc(100% - 2rem);padding:0 0.25rem}.label{font-size:0.75rem;color:rgb(var(--contrast-900))}.icons{display:flex;align-items:center;gap:0.25rem}.icons:hover limel-icon,.icons:focus-within limel-icon{margin-left:0 !important}limel-icon{--icon-background-color:rgb(var(--contrast-500), 0.5)}limel-icon.is-clickable{cursor:pointer}limel-icon:focus{outline:none}limel-icon:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-icon{transition:margin-left 0.2s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.2s ease, box-shadow 0.2s ease;position:relative;width:1.75rem;padding:0.375rem;flex-shrink:0}limel-icon:not(.is-pending):not(:first-child){margin-left:-0.75rem}limel-icon.is-pending{animation:pending 3s linear infinite;padding:0.5rem}limel-icon.is-pending:after{content:"";position:absolute;inset:0;width:1.75rem;height:1.75rem;border-radius:50%;pointer-events:none;border-radius:50%;border:0.125rem solid rgb(var(--color-white), 0.5);border-top-color:rgb(var(--color-black), 0.8);mix-blend-mode:color-dodge;animation:spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite}@keyframes pending{0%,20%,80%,100%{filter:grayscale(0%)}45%,55%{filter:grayscale(100%)}}@keyframes spin{to{transform:rotate(360deg)}}'}},[1,"limebb-chat-icon-list",{item:[16]}]);function s(){"undefined"!=typeof customElements&&["limebb-chat-icon-list"].forEach((e=>{"limebb-chat-icon-list"===e&&(customElements.get(t(e))||customElements.define(t(e),r))}))}export{r as C,s as d}
|