@limetech/lime-crm-building-blocks 1.135.1 → 1.136.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 +7 -0
- package/dist/cjs/filter-condition-icons-HypsDn6x.js +207 -0
- package/dist/cjs/{filter-group-logic-Dp9o1iOJ.js → filter-group-logic-BoF3Z5_P.js} +1 -1
- package/dist/cjs/{index-dBY184XR.js → index-B9Bi9dpZ.js} +90 -2
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/{index.esm-Dgkx-Syd.js → index.esm-8LHVbTD0.js} +2 -2
- package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
- package/dist/cjs/{lime-query-validation-BszGOirf.js → lime-query-validation-q-sH7XSs.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 +6 -6
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/limebb-feed.cjs.entry.js +3 -3
- package/dist/cjs/{limebb-lime-query-filter-comparison-editor_4.cjs.entry.js → limebb-filter-chip_5.cjs.entry.js} +360 -121
- 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 +3 -3
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +3 -3
- 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 +61 -45
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +3 -3
- package/dist/cjs/{limetype-BayDf-QY.js → limetype-CK5MVyW0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/type-resolution-CvlsQvQD.js +113 -0
- package/dist/cjs/{web-component-template-CZ0lPHIg.js → web-component-template-7B9wK2bO.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/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/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/filter-chip/filter-chip.css +341 -0
- package/dist/collection/components/filter-chip/filter-chip.js +672 -0
- package/dist/collection/components/filter-chip/filter-chip.types.js +1 -0
- package/dist/collection/components/filter-chip/filter-condition-icons.js +199 -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.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-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +64 -48
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +5 -0
- 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/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 +1 -1
- 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.js +1 -1
- package/dist/collection/index.js +2 -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 -0
- package/dist/components/filter-condition-icons.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/lime-query-value-input.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-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-chip.d.ts +11 -0
- package/dist/components/limebb-filter-chip.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 +201 -0
- package/dist/esm/{filter-group-logic-1aucZQgy.js → filter-group-logic-CRznE2g-.js} +1 -1
- package/dist/esm/{index-DYpn0EkA.js → index-LEJjPpY0.js} +90 -2
- package/dist/esm/{index.esm-B1KM7sH7.js → index.esm-B7wJLMmp.js} +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/lime-crm-building-blocks.js +3 -3
- package/dist/esm/{lime-query-validation-CiIEITCJ.js → lime-query-validation-Dds_iPHd.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 +6 -6
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/limebb-feed.entry.js +3 -3
- package/dist/esm/{limebb-lime-query-filter-comparison-editor_4.entry.js → limebb-filter-chip_5.entry.js} +357 -119
- 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 +3 -3
- package/dist/esm/limebb-kanban-item.entry.js +3 -3
- 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 +61 -45
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- package/dist/esm/limebb-value-comparison-editor.entry.js +3 -3
- package/dist/esm/{limetype-CIkoDD1B.js → limetype-DH77rgZZ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/type-resolution-CVEd2QZ8.js +110 -0
- package/dist/esm/{web-component-template-D6zkEjKN.js → web-component-template-CXFK-BYa.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-b264b37d.entry.js → p-00860497.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c7dbd961.entry.js → p-00be69ac.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-01ddcb14.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-16fad0a8.entry.js → p-0bdfd7ab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6f0a5401.entry.js → p-15bb23c9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e174dccd.entry.js → p-1c67e198.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-26e25dbd.entry.js → p-2091d4c8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-46225433.entry.js → p-23556cb1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fac7ff61.entry.js → p-2caee700.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f22e2539.entry.js → p-31580e01.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6299c46b.entry.js → p-342aae30.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b424f55f.entry.js → p-37fbd50d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f011673a.entry.js → p-382ab76b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ff686a4e.entry.js → p-3a41d8ae.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-991783f8.entry.js → p-3c25e289.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c8cf6e4d.entry.js → p-46cc4edb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0d6d8b72.entry.js → p-4e66111a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a2c8e1af.entry.js → p-4e7b8559.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-58e63c29.entry.js → p-4f398108.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8c3970ed.entry.js → p-4fcb97ea.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-29dd2424.entry.js → p-5095a168.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-50f5380d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-52f39097.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-191e4dcd.entry.js → p-5960143c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-5d2d0f4d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-4cd99453.entry.js → p-5e4c9115.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-5f940ea8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-3f2f1826.entry.js → p-61ee03f9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6ee28dfc.entry.js → p-639032ba.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9909b0bf.entry.js → p-6cfebec1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d8835b8c.entry.js → p-6db41866.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-73fab4a9.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-3bff70d2.entry.js → p-7597eb85.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1a076d37.entry.js → p-7b119566.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b7d917ed.entry.js → p-7dedd057.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a21d6f7e.entry.js → p-840b817b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-69cf07ba.entry.js → p-88bdf554.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c72d3231.entry.js → p-8d41a7f8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ec22438d.entry.js → p-90f3e299.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-9ad269dd.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-Bb18Bgig.js +1 -0
- package/dist/lime-crm-building-blocks/{p-BKtEmDNs.js → p-BxpMk4Zk.js} +1 -1
- package/dist/lime-crm-building-blocks/p-CVEd2QZ8.js +1 -0
- package/dist/lime-crm-building-blocks/p-D8CJOcfs.js +1 -0
- package/dist/lime-crm-building-blocks/{p-B5QzrGTX.js → p-DM0fyjo-.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-BVxuJgRM.js → p-Dtg8KAQt.js} +1 -1
- package/dist/lime-crm-building-blocks/p-LEJjPpY0.js +2 -0
- package/dist/lime-crm-building-blocks/p-a201e304.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-71e1c5f0.entry.js → p-b2b595cc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-571777c3.entry.js → p-b6a8ad7a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7aaf805d.entry.js → p-b8e4a0d1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-30f6d7ea.entry.js → p-b9c4df08.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6c4521a0.entry.js → p-bb825e68.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-661e4700.entry.js → p-bec2bcef.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-041f1094.entry.js → p-c84136ae.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b4b103c1.entry.js → p-c85e44a9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-201498a9.entry.js → p-cf687fcd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c6cc1438.entry.js → p-cfc3f16b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d7462e93.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-52d8f7c2.entry.js → p-d8d30ec3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-92014310.entry.js → p-db9ed6ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b431df3c.entry.js → p-e0107a69.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5573a867.entry.js → p-e2503bad.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e3d8fd1b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f382f2fa.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-340250da.entry.js → p-f3d3ff7e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fb23df8e.entry.js → p-f5c44de2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-DjwVpKf5.js → p-xIXgZHrE.js} +1 -1
- package/dist/types/components/filter-chip/filter-chip.d.ts +173 -0
- package/dist/types/components/filter-chip/filter-chip.types.d.ts +32 -0
- package/dist/types/components/filter-chip/filter-condition-icons.d.ts +64 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +16 -9
- package/dist/types/components.d.ts +280 -22
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interface.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/lime-query-operators-B6PujuTH.js +0 -65
- package/dist/esm/lime-query-operators-DvI2OyJI.js +0 -63
- package/dist/lime-crm-building-blocks/p-096ea04d.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-555da984.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-759d0fc2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-BneXZK-Q.js +0 -1
- package/dist/lime-crm-building-blocks/p-DK4A47Sj.js +0 -1
- package/dist/lime-crm-building-blocks/p-DYpn0EkA.js +0 -2
- package/dist/lime-crm-building-blocks/p-a8684418.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c0d39ae4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c4c3f054.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-cea4fe16.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d6ac6cd3.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-e1223704.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-efd62913.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f58d25e5.entry.js +0 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertType } from "./components/alert-dialog/alert-dialog.types";
|
|
9
|
-
import { AggregateOperator, ContextMap, ContextScope, Expression, JsonValue, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator, PrimitiveMetadata, Rule, RuleRef } from "@limetech/lime-web-components";
|
|
9
|
+
import { AggregateOperator, ContextMap, ContextScope, Expression, JsonValue, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator, PrimitiveMetadata, PropertyType, Rule, RuleRef } from "@limetech/lime-web-components";
|
|
10
10
|
import { BrowserItem } from "./components/browser/browser-item.types";
|
|
11
11
|
import { ActionBarItem, CustomElementDefinition, DateType, EditorUiType, FileInfo, FormInfo, Icon, IconName, Image, Languages, ListItem, ListSeparator, OpenDirection } from "@limetech/lime-elements";
|
|
12
12
|
import { ChatIconList } from "./components/chat-list/chat-icon-list/chat-icon-list.types";
|
|
@@ -19,6 +19,7 @@ import { DocumentChipFile } from "./components/document-chips/document-chips.typ
|
|
|
19
19
|
import { DocumentItem } from "./components/document-picker/document-item/document-item.types";
|
|
20
20
|
import { DocumentType } from "./components/document-picker/document.types";
|
|
21
21
|
import { FeedItem } from "./components/feed/feed-item/feed-item.types";
|
|
22
|
+
import { FilterChipConjunction, FilterCondition } from "./components/filter-chip/filter-chip.types";
|
|
22
23
|
import { DateTimeFormat, NumberFormat, RelativeDateTimeFormat } from "./components/info-tile/format";
|
|
23
24
|
import { InfoTile } from "./components/info-tile/info-tile";
|
|
24
25
|
import { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
@@ -35,7 +36,7 @@ import { TriggerMap } from "./components/text-editor/text-editor.types";
|
|
|
35
36
|
import { EnhancedEditorMetadata } from "./components/text-editor/uploader/building-blocks-upload-handler";
|
|
36
37
|
import { ValueComparisonEditorValue } from "./components/rule-editor/value-comparison-editor/value-comparison-editor";
|
|
37
38
|
export { AlertType } from "./components/alert-dialog/alert-dialog.types";
|
|
38
|
-
export { AggregateOperator, ContextMap, ContextScope, Expression, JsonValue, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator, PrimitiveMetadata, Rule, RuleRef } from "@limetech/lime-web-components";
|
|
39
|
+
export { AggregateOperator, ContextMap, ContextScope, Expression, JsonValue, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator, PrimitiveMetadata, PropertyType, Rule, RuleRef } from "@limetech/lime-web-components";
|
|
39
40
|
export { BrowserItem } from "./components/browser/browser-item.types";
|
|
40
41
|
export { ActionBarItem, CustomElementDefinition, DateType, EditorUiType, FileInfo, FormInfo, Icon, IconName, Image, Languages, ListItem, ListSeparator, OpenDirection } from "@limetech/lime-elements";
|
|
41
42
|
export { ChatIconList } from "./components/chat-list/chat-icon-list/chat-icon-list.types";
|
|
@@ -48,6 +49,7 @@ export { DocumentChipFile } from "./components/document-chips/document-chips.typ
|
|
|
48
49
|
export { DocumentItem } from "./components/document-picker/document-item/document-item.types";
|
|
49
50
|
export { DocumentType } from "./components/document-picker/document.types";
|
|
50
51
|
export { FeedItem } from "./components/feed/feed-item/feed-item.types";
|
|
52
|
+
export { FilterChipConjunction, FilterCondition } from "./components/filter-chip/filter-chip.types";
|
|
51
53
|
export { DateTimeFormat, NumberFormat, RelativeDateTimeFormat } from "./components/info-tile/format";
|
|
52
54
|
export { InfoTile } from "./components/info-tile/info-tile";
|
|
53
55
|
export { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
@@ -1010,6 +1012,93 @@ export namespace Components {
|
|
|
1010
1012
|
*/
|
|
1011
1013
|
"ui"?: string;
|
|
1012
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Filter chip
|
|
1017
|
+
* A compact, static chip that visualizes a single filter condition: a
|
|
1018
|
+
* floating label (the property/column the filter applies to), an icon that
|
|
1019
|
+
* describes the kind of condition (equals, contains, is between, …), and
|
|
1020
|
+
* the filter value.
|
|
1021
|
+
* It is presentational: it understands the shared Lime filter vocabulary
|
|
1022
|
+
* (the `condition` and `propertyType`, from which it derives the icon and
|
|
1023
|
+
* wording) but nothing about how a consumer models or stores its filters.
|
|
1024
|
+
* Consumers feed it strings and pick a `condition`, and wire up their own
|
|
1025
|
+
* editor by listening to the chip's `click`/`remove` events (for example by
|
|
1026
|
+
* slotting the chip as the trigger of a popover).
|
|
1027
|
+
* @exampleComponent limebb-example-filter-chip-basic
|
|
1028
|
+
* @exampleComponent limebb-example-filter-chip-states
|
|
1029
|
+
* @exampleComponent limebb-example-filter-chip-conditions
|
|
1030
|
+
* @exampleComponent limebb-example-filter-chip-property-types
|
|
1031
|
+
* @exampleComponent limebb-example-filter-chip-multiple-values
|
|
1032
|
+
* @beta
|
|
1033
|
+
*/
|
|
1034
|
+
interface LimebbFilterChip {
|
|
1035
|
+
/**
|
|
1036
|
+
* The kind of condition the filter represents. The chip maps it to a standard icon (via the shared filter-condition vocabulary), so the same condition shows the same icon across every consumer.
|
|
1037
|
+
*/
|
|
1038
|
+
"condition"?: FilterCondition;
|
|
1039
|
+
/**
|
|
1040
|
+
* How multiple values are joined: `"or"` (any of) or `"and"` (all of). The chip renders the localized join word muted between the values — `and` is shown compactly as `&`. Only used when `value` is an array.
|
|
1041
|
+
*/
|
|
1042
|
+
"conjunction"?: FilterChipConjunction;
|
|
1043
|
+
/**
|
|
1044
|
+
* Set to `true` to make the chip disabled. Like `readonly`, this neutralizes clicks and the remove shortcut, but still lets the tooltip show on hover so the full filter stays readable.
|
|
1045
|
+
* @default false
|
|
1046
|
+
*/
|
|
1047
|
+
"disabled": boolean;
|
|
1048
|
+
/**
|
|
1049
|
+
* The secondary line of the tooltip, typically the full, untruncated condition (e.g. `"Equals «full value»"`). Defaults to the joined value when not provided.
|
|
1050
|
+
*/
|
|
1051
|
+
"helperLabel"?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* An explicit icon for the chip. Normally you do not set this — the chip picks the standard icon for the `condition` automatically. Use `icon` to override that: for a condition outside the standard set, or when you have already resolved a context-dependent icon yourself (for example when the same condition uses a different icon depending on the property type, as in the CRM's date vs. number filters).
|
|
1054
|
+
*/
|
|
1055
|
+
"icon"?: IconName;
|
|
1056
|
+
/**
|
|
1057
|
+
* A unique identifier for the chip, emitted as the payload of the `remove` event.
|
|
1058
|
+
*/
|
|
1059
|
+
"identifier"?: string | number;
|
|
1060
|
+
/**
|
|
1061
|
+
* Set to `true` to visualize the chip as invalid, for example when the filter cannot be resolved.
|
|
1062
|
+
* @default false
|
|
1063
|
+
*/
|
|
1064
|
+
"invalid": boolean;
|
|
1065
|
+
/**
|
|
1066
|
+
* The label of the chip, typically the name of the property or column the filter applies to. Rendered as a small floating label above the chip and used as the primary line of the tooltip.
|
|
1067
|
+
*/
|
|
1068
|
+
"label": string;
|
|
1069
|
+
/**
|
|
1070
|
+
* The maximum number of characters of value text to show before collapsing the remainder into a `+N` badge.
|
|
1071
|
+
* @default DEFAULT_MAX_LENGTH
|
|
1072
|
+
*/
|
|
1073
|
+
"maxLength": number;
|
|
1074
|
+
/**
|
|
1075
|
+
* Reference to the platform, used to translate the chip's built-in labels — currently the remove button's accessible label (`webclient.remove-filter`). When omitted, a non-localized fallback is used. This is the only platform dependency; the chip is otherwise purely presentational.
|
|
1076
|
+
*/
|
|
1077
|
+
"platform"?: LimeWebComponentPlatform;
|
|
1078
|
+
/**
|
|
1079
|
+
* The data type of the filtered property (e.g. `string`, `integer`, `date`, `option`, `yesno`). The chip combines it with `condition` to pick the type-specific icon and wording: a `greater-than` on a date shows as "After" (▶) rather than `>`, and equality reads as "Is" for text and options, "Equals" for numbers, and "On" for dates. Leave unset for types where the standard condition presentation already applies.
|
|
1080
|
+
*/
|
|
1081
|
+
"propertyType"?: PropertyType;
|
|
1082
|
+
/**
|
|
1083
|
+
* Set to `true` to make the chip readonly.
|
|
1084
|
+
* @default false
|
|
1085
|
+
*/
|
|
1086
|
+
"readonly": boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* Set to `true` to render a remove button on the chip.
|
|
1089
|
+
* @default true
|
|
1090
|
+
*/
|
|
1091
|
+
"removable": boolean;
|
|
1092
|
+
/**
|
|
1093
|
+
* Set to `true` to visualize the chip as active/pressed, for example while its editor is open.
|
|
1094
|
+
* @default false
|
|
1095
|
+
*/
|
|
1096
|
+
"selected": boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
* The filter value to display. Pass a single string for a single value, or an array of strings for multiple values. When an array is given, the values are joined by the `conjunction` and any that do not fit are collapsed into a `+N` badge.
|
|
1099
|
+
*/
|
|
1100
|
+
"value"?: string | string[];
|
|
1101
|
+
}
|
|
1013
1102
|
/**
|
|
1014
1103
|
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
1015
1104
|
* <limebb-example-icon-finder />
|
|
@@ -1377,11 +1466,11 @@ export namespace Components {
|
|
|
1377
1466
|
* - value > 100000
|
|
1378
1467
|
* - name ? "Big" (contains "Big")
|
|
1379
1468
|
* - dealstatus IN ["won", "tender"]
|
|
1380
|
-
* The
|
|
1381
|
-
*
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
*
|
|
1469
|
+
* The comparison is shown as the shared, presentational `limebb-filter-chip`
|
|
1470
|
+
* (slotted as the trigger of the edit popover): this component resolves the
|
|
1471
|
+
* property label, maps the operator to a `FilterCondition`, resolves the
|
|
1472
|
+
* property type, and formats the value — and lets the chip render the icon,
|
|
1473
|
+
* wording, tooltip, and remove button.
|
|
1385
1474
|
* @private
|
|
1386
1475
|
*/
|
|
1387
1476
|
interface LimebbLimeQueryFilterComparison {
|
|
@@ -2773,6 +2862,10 @@ export interface LimebbFeedCustomEvent<T> extends CustomEvent<T> {
|
|
|
2773
2862
|
detail: T;
|
|
2774
2863
|
target: HTMLLimebbFeedElement;
|
|
2775
2864
|
}
|
|
2865
|
+
export interface LimebbFilterChipCustomEvent<T> extends CustomEvent<T> {
|
|
2866
|
+
detail: T;
|
|
2867
|
+
target: HTMLLimebbFilterChipElement;
|
|
2868
|
+
}
|
|
2776
2869
|
export interface LimebbIconPickerCustomEvent<T> extends CustomEvent<T> {
|
|
2777
2870
|
detail: T;
|
|
2778
2871
|
target: HTMLLimebbIconPickerElement;
|
|
@@ -3497,6 +3590,42 @@ declare global {
|
|
|
3497
3590
|
prototype: HTMLLimebbFeedTimelineItemElement;
|
|
3498
3591
|
new (): HTMLLimebbFeedTimelineItemElement;
|
|
3499
3592
|
};
|
|
3593
|
+
interface HTMLLimebbFilterChipElementEventMap {
|
|
3594
|
+
"remove": string | number | undefined;
|
|
3595
|
+
}
|
|
3596
|
+
/**
|
|
3597
|
+
* Filter chip
|
|
3598
|
+
* A compact, static chip that visualizes a single filter condition: a
|
|
3599
|
+
* floating label (the property/column the filter applies to), an icon that
|
|
3600
|
+
* describes the kind of condition (equals, contains, is between, …), and
|
|
3601
|
+
* the filter value.
|
|
3602
|
+
* It is presentational: it understands the shared Lime filter vocabulary
|
|
3603
|
+
* (the `condition` and `propertyType`, from which it derives the icon and
|
|
3604
|
+
* wording) but nothing about how a consumer models or stores its filters.
|
|
3605
|
+
* Consumers feed it strings and pick a `condition`, and wire up their own
|
|
3606
|
+
* editor by listening to the chip's `click`/`remove` events (for example by
|
|
3607
|
+
* slotting the chip as the trigger of a popover).
|
|
3608
|
+
* @exampleComponent limebb-example-filter-chip-basic
|
|
3609
|
+
* @exampleComponent limebb-example-filter-chip-states
|
|
3610
|
+
* @exampleComponent limebb-example-filter-chip-conditions
|
|
3611
|
+
* @exampleComponent limebb-example-filter-chip-property-types
|
|
3612
|
+
* @exampleComponent limebb-example-filter-chip-multiple-values
|
|
3613
|
+
* @beta
|
|
3614
|
+
*/
|
|
3615
|
+
interface HTMLLimebbFilterChipElement extends Components.LimebbFilterChip, HTMLStencilElement {
|
|
3616
|
+
addEventListener<K extends keyof HTMLLimebbFilterChipElementEventMap>(type: K, listener: (this: HTMLLimebbFilterChipElement, ev: LimebbFilterChipCustomEvent<HTMLLimebbFilterChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3617
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3618
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3619
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3620
|
+
removeEventListener<K extends keyof HTMLLimebbFilterChipElementEventMap>(type: K, listener: (this: HTMLLimebbFilterChipElement, ev: LimebbFilterChipCustomEvent<HTMLLimebbFilterChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3621
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3622
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3623
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3624
|
+
}
|
|
3625
|
+
var HTMLLimebbFilterChipElement: {
|
|
3626
|
+
prototype: HTMLLimebbFilterChipElement;
|
|
3627
|
+
new (): HTMLLimebbFilterChipElement;
|
|
3628
|
+
};
|
|
3500
3629
|
interface HTMLLimebbIconPickerElementEventMap {
|
|
3501
3630
|
"change": string;
|
|
3502
3631
|
}
|
|
@@ -3831,11 +3960,11 @@ declare global {
|
|
|
3831
3960
|
* - value > 100000
|
|
3832
3961
|
* - name ? "Big" (contains "Big")
|
|
3833
3962
|
* - dealstatus IN ["won", "tender"]
|
|
3834
|
-
* The
|
|
3835
|
-
*
|
|
3836
|
-
*
|
|
3837
|
-
*
|
|
3838
|
-
*
|
|
3963
|
+
* The comparison is shown as the shared, presentational `limebb-filter-chip`
|
|
3964
|
+
* (slotted as the trigger of the edit popover): this component resolves the
|
|
3965
|
+
* property label, maps the operator to a `FilterCondition`, resolves the
|
|
3966
|
+
* property type, and formats the value — and lets the chip render the icon,
|
|
3967
|
+
* wording, tooltip, and remove button.
|
|
3839
3968
|
* @private
|
|
3840
3969
|
*/
|
|
3841
3970
|
interface HTMLLimebbLimeQueryFilterComparisonElement extends Components.LimebbLimeQueryFilterComparison, HTMLStencilElement {
|
|
@@ -4758,6 +4887,7 @@ declare global {
|
|
|
4758
4887
|
"limebb-feed": HTMLLimebbFeedElement;
|
|
4759
4888
|
"limebb-feed-item-thumbnail-file-info": HTMLLimebbFeedItemThumbnailFileInfoElement;
|
|
4760
4889
|
"limebb-feed-timeline-item": HTMLLimebbFeedTimelineItemElement;
|
|
4890
|
+
"limebb-filter-chip": HTMLLimebbFilterChipElement;
|
|
4761
4891
|
"limebb-icon-picker": HTMLLimebbIconPickerElement;
|
|
4762
4892
|
"limebb-info-tile": HTMLLimebbInfoTileElement;
|
|
4763
4893
|
"limebb-info-tile-currency-format": HTMLLimebbInfoTileCurrencyFormatElement;
|
|
@@ -5824,6 +5954,97 @@ declare namespace LocalJSX {
|
|
|
5824
5954
|
*/
|
|
5825
5955
|
"ui"?: string;
|
|
5826
5956
|
}
|
|
5957
|
+
/**
|
|
5958
|
+
* Filter chip
|
|
5959
|
+
* A compact, static chip that visualizes a single filter condition: a
|
|
5960
|
+
* floating label (the property/column the filter applies to), an icon that
|
|
5961
|
+
* describes the kind of condition (equals, contains, is between, …), and
|
|
5962
|
+
* the filter value.
|
|
5963
|
+
* It is presentational: it understands the shared Lime filter vocabulary
|
|
5964
|
+
* (the `condition` and `propertyType`, from which it derives the icon and
|
|
5965
|
+
* wording) but nothing about how a consumer models or stores its filters.
|
|
5966
|
+
* Consumers feed it strings and pick a `condition`, and wire up their own
|
|
5967
|
+
* editor by listening to the chip's `click`/`remove` events (for example by
|
|
5968
|
+
* slotting the chip as the trigger of a popover).
|
|
5969
|
+
* @exampleComponent limebb-example-filter-chip-basic
|
|
5970
|
+
* @exampleComponent limebb-example-filter-chip-states
|
|
5971
|
+
* @exampleComponent limebb-example-filter-chip-conditions
|
|
5972
|
+
* @exampleComponent limebb-example-filter-chip-property-types
|
|
5973
|
+
* @exampleComponent limebb-example-filter-chip-multiple-values
|
|
5974
|
+
* @beta
|
|
5975
|
+
*/
|
|
5976
|
+
interface LimebbFilterChip {
|
|
5977
|
+
/**
|
|
5978
|
+
* The kind of condition the filter represents. The chip maps it to a standard icon (via the shared filter-condition vocabulary), so the same condition shows the same icon across every consumer.
|
|
5979
|
+
*/
|
|
5980
|
+
"condition"?: FilterCondition;
|
|
5981
|
+
/**
|
|
5982
|
+
* How multiple values are joined: `"or"` (any of) or `"and"` (all of). The chip renders the localized join word muted between the values — `and` is shown compactly as `&`. Only used when `value` is an array.
|
|
5983
|
+
*/
|
|
5984
|
+
"conjunction"?: FilterChipConjunction;
|
|
5985
|
+
/**
|
|
5986
|
+
* Set to `true` to make the chip disabled. Like `readonly`, this neutralizes clicks and the remove shortcut, but still lets the tooltip show on hover so the full filter stays readable.
|
|
5987
|
+
* @default false
|
|
5988
|
+
*/
|
|
5989
|
+
"disabled"?: boolean;
|
|
5990
|
+
/**
|
|
5991
|
+
* The secondary line of the tooltip, typically the full, untruncated condition (e.g. `"Equals «full value»"`). Defaults to the joined value when not provided.
|
|
5992
|
+
*/
|
|
5993
|
+
"helperLabel"?: string;
|
|
5994
|
+
/**
|
|
5995
|
+
* An explicit icon for the chip. Normally you do not set this — the chip picks the standard icon for the `condition` automatically. Use `icon` to override that: for a condition outside the standard set, or when you have already resolved a context-dependent icon yourself (for example when the same condition uses a different icon depending on the property type, as in the CRM's date vs. number filters).
|
|
5996
|
+
*/
|
|
5997
|
+
"icon"?: IconName;
|
|
5998
|
+
/**
|
|
5999
|
+
* A unique identifier for the chip, emitted as the payload of the `remove` event.
|
|
6000
|
+
*/
|
|
6001
|
+
"identifier"?: string | number;
|
|
6002
|
+
/**
|
|
6003
|
+
* Set to `true` to visualize the chip as invalid, for example when the filter cannot be resolved.
|
|
6004
|
+
* @default false
|
|
6005
|
+
*/
|
|
6006
|
+
"invalid"?: boolean;
|
|
6007
|
+
/**
|
|
6008
|
+
* The label of the chip, typically the name of the property or column the filter applies to. Rendered as a small floating label above the chip and used as the primary line of the tooltip.
|
|
6009
|
+
*/
|
|
6010
|
+
"label"?: string;
|
|
6011
|
+
/**
|
|
6012
|
+
* The maximum number of characters of value text to show before collapsing the remainder into a `+N` badge.
|
|
6013
|
+
* @default DEFAULT_MAX_LENGTH
|
|
6014
|
+
*/
|
|
6015
|
+
"maxLength"?: number;
|
|
6016
|
+
/**
|
|
6017
|
+
* Emitted when the chip is removed, either by clicking the remove button or by pressing `Backspace`/`Delete` while the chip is focused. The payload is the chip's `identifier`.
|
|
6018
|
+
*/
|
|
6019
|
+
"onRemove"?: (event: LimebbFilterChipCustomEvent<string | number | undefined>) => void;
|
|
6020
|
+
/**
|
|
6021
|
+
* Reference to the platform, used to translate the chip's built-in labels — currently the remove button's accessible label (`webclient.remove-filter`). When omitted, a non-localized fallback is used. This is the only platform dependency; the chip is otherwise purely presentational.
|
|
6022
|
+
*/
|
|
6023
|
+
"platform"?: LimeWebComponentPlatform;
|
|
6024
|
+
/**
|
|
6025
|
+
* The data type of the filtered property (e.g. `string`, `integer`, `date`, `option`, `yesno`). The chip combines it with `condition` to pick the type-specific icon and wording: a `greater-than` on a date shows as "After" (▶) rather than `>`, and equality reads as "Is" for text and options, "Equals" for numbers, and "On" for dates. Leave unset for types where the standard condition presentation already applies.
|
|
6026
|
+
*/
|
|
6027
|
+
"propertyType"?: PropertyType;
|
|
6028
|
+
/**
|
|
6029
|
+
* Set to `true` to make the chip readonly.
|
|
6030
|
+
* @default false
|
|
6031
|
+
*/
|
|
6032
|
+
"readonly"?: boolean;
|
|
6033
|
+
/**
|
|
6034
|
+
* Set to `true` to render a remove button on the chip.
|
|
6035
|
+
* @default true
|
|
6036
|
+
*/
|
|
6037
|
+
"removable"?: boolean;
|
|
6038
|
+
/**
|
|
6039
|
+
* Set to `true` to visualize the chip as active/pressed, for example while its editor is open.
|
|
6040
|
+
* @default false
|
|
6041
|
+
*/
|
|
6042
|
+
"selected"?: boolean;
|
|
6043
|
+
/**
|
|
6044
|
+
* The filter value to display. Pass a single string for a single value, or an array of strings for multiple values. When an array is given, the values are joined by the `conjunction` and any that do not fit are collapsed into a `+N` badge.
|
|
6045
|
+
*/
|
|
6046
|
+
"value"?: string | string[];
|
|
6047
|
+
}
|
|
5827
6048
|
/**
|
|
5828
6049
|
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
5829
6050
|
* <limebb-example-icon-finder />
|
|
@@ -6243,11 +6464,11 @@ declare namespace LocalJSX {
|
|
|
6243
6464
|
* - value > 100000
|
|
6244
6465
|
* - name ? "Big" (contains "Big")
|
|
6245
6466
|
* - dealstatus IN ["won", "tender"]
|
|
6246
|
-
* The
|
|
6247
|
-
*
|
|
6248
|
-
*
|
|
6249
|
-
*
|
|
6250
|
-
*
|
|
6467
|
+
* The comparison is shown as the shared, presentational `limebb-filter-chip`
|
|
6468
|
+
* (slotted as the trigger of the edit popover): this component resolves the
|
|
6469
|
+
* property label, maps the operator to a `FilterCondition`, resolves the
|
|
6470
|
+
* property type, and formats the value — and lets the chip render the icon,
|
|
6471
|
+
* wording, tooltip, and remove button.
|
|
6251
6472
|
* @private
|
|
6252
6473
|
*/
|
|
6253
6474
|
interface LimebbLimeQueryFilterComparison {
|
|
@@ -7816,6 +8037,22 @@ declare namespace LocalJSX {
|
|
|
7816
8037
|
"hasError": boolean;
|
|
7817
8038
|
"isBundled": boolean;
|
|
7818
8039
|
}
|
|
8040
|
+
interface LimebbFilterChipAttributes {
|
|
8041
|
+
"label": string;
|
|
8042
|
+
"value": string | string[];
|
|
8043
|
+
"conjunction": FilterChipConjunction;
|
|
8044
|
+
"condition": FilterCondition;
|
|
8045
|
+
"propertyType": PropertyType;
|
|
8046
|
+
"icon": IconName;
|
|
8047
|
+
"helperLabel": string;
|
|
8048
|
+
"removable": boolean;
|
|
8049
|
+
"readonly": boolean;
|
|
8050
|
+
"disabled": boolean;
|
|
8051
|
+
"invalid": boolean;
|
|
8052
|
+
"selected": boolean;
|
|
8053
|
+
"identifier": string;
|
|
8054
|
+
"maxLength": number;
|
|
8055
|
+
}
|
|
7819
8056
|
interface LimebbIconPickerAttributes {
|
|
7820
8057
|
"value": string;
|
|
7821
8058
|
"required": boolean;
|
|
@@ -8049,6 +8286,7 @@ declare namespace LocalJSX {
|
|
|
8049
8286
|
"limebb-feed": Omit<LimebbFeed, keyof LimebbFeedAttributes> & { [K in keyof LimebbFeed & keyof LimebbFeedAttributes]?: LimebbFeed[K] } & { [K in keyof LimebbFeed & keyof LimebbFeedAttributes as `attr:${K}`]?: LimebbFeedAttributes[K] } & { [K in keyof LimebbFeed & keyof LimebbFeedAttributes as `prop:${K}`]?: LimebbFeed[K] };
|
|
8050
8287
|
"limebb-feed-item-thumbnail-file-info": Omit<LimebbFeedItemThumbnailFileInfo, keyof LimebbFeedItemThumbnailFileInfoAttributes> & { [K in keyof LimebbFeedItemThumbnailFileInfo & keyof LimebbFeedItemThumbnailFileInfoAttributes]?: LimebbFeedItemThumbnailFileInfo[K] } & { [K in keyof LimebbFeedItemThumbnailFileInfo & keyof LimebbFeedItemThumbnailFileInfoAttributes as `attr:${K}`]?: LimebbFeedItemThumbnailFileInfoAttributes[K] } & { [K in keyof LimebbFeedItemThumbnailFileInfo & keyof LimebbFeedItemThumbnailFileInfoAttributes as `prop:${K}`]?: LimebbFeedItemThumbnailFileInfo[K] };
|
|
8051
8288
|
"limebb-feed-timeline-item": Omit<LimebbFeedTimelineItem, keyof LimebbFeedTimelineItemAttributes> & { [K in keyof LimebbFeedTimelineItem & keyof LimebbFeedTimelineItemAttributes]?: LimebbFeedTimelineItem[K] } & { [K in keyof LimebbFeedTimelineItem & keyof LimebbFeedTimelineItemAttributes as `attr:${K}`]?: LimebbFeedTimelineItemAttributes[K] } & { [K in keyof LimebbFeedTimelineItem & keyof LimebbFeedTimelineItemAttributes as `prop:${K}`]?: LimebbFeedTimelineItem[K] };
|
|
8289
|
+
"limebb-filter-chip": Omit<LimebbFilterChip, keyof LimebbFilterChipAttributes> & { [K in keyof LimebbFilterChip & keyof LimebbFilterChipAttributes]?: LimebbFilterChip[K] } & { [K in keyof LimebbFilterChip & keyof LimebbFilterChipAttributes as `attr:${K}`]?: LimebbFilterChipAttributes[K] } & { [K in keyof LimebbFilterChip & keyof LimebbFilterChipAttributes as `prop:${K}`]?: LimebbFilterChip[K] };
|
|
8052
8290
|
"limebb-icon-picker": Omit<LimebbIconPicker, keyof LimebbIconPickerAttributes> & { [K in keyof LimebbIconPicker & keyof LimebbIconPickerAttributes]?: LimebbIconPicker[K] } & { [K in keyof LimebbIconPicker & keyof LimebbIconPickerAttributes as `attr:${K}`]?: LimebbIconPickerAttributes[K] } & { [K in keyof LimebbIconPicker & keyof LimebbIconPickerAttributes as `prop:${K}`]?: LimebbIconPicker[K] };
|
|
8053
8291
|
"limebb-info-tile": Omit<LimebbInfoTile, keyof LimebbInfoTileAttributes> & { [K in keyof LimebbInfoTile & keyof LimebbInfoTileAttributes]?: LimebbInfoTile[K] } & { [K in keyof LimebbInfoTile & keyof LimebbInfoTileAttributes as `attr:${K}`]?: LimebbInfoTileAttributes[K] } & { [K in keyof LimebbInfoTile & keyof LimebbInfoTileAttributes as `prop:${K}`]?: LimebbInfoTile[K] } & OneOf<"filterId", LimebbInfoTile["filterId"], LimebbInfoTileAttributes["filterId"]>;
|
|
8054
8292
|
"limebb-info-tile-currency-format": LimebbInfoTileCurrencyFormat;
|
|
@@ -8424,6 +8662,26 @@ declare module "@stencil/core" {
|
|
|
8424
8662
|
* @private
|
|
8425
8663
|
*/
|
|
8426
8664
|
"limebb-feed-timeline-item": LocalJSX.IntrinsicElements["limebb-feed-timeline-item"] & JSXBase.HTMLAttributes<HTMLLimebbFeedTimelineItemElement>;
|
|
8665
|
+
/**
|
|
8666
|
+
* Filter chip
|
|
8667
|
+
* A compact, static chip that visualizes a single filter condition: a
|
|
8668
|
+
* floating label (the property/column the filter applies to), an icon that
|
|
8669
|
+
* describes the kind of condition (equals, contains, is between, …), and
|
|
8670
|
+
* the filter value.
|
|
8671
|
+
* It is presentational: it understands the shared Lime filter vocabulary
|
|
8672
|
+
* (the `condition` and `propertyType`, from which it derives the icon and
|
|
8673
|
+
* wording) but nothing about how a consumer models or stores its filters.
|
|
8674
|
+
* Consumers feed it strings and pick a `condition`, and wire up their own
|
|
8675
|
+
* editor by listening to the chip's `click`/`remove` events (for example by
|
|
8676
|
+
* slotting the chip as the trigger of a popover).
|
|
8677
|
+
* @exampleComponent limebb-example-filter-chip-basic
|
|
8678
|
+
* @exampleComponent limebb-example-filter-chip-states
|
|
8679
|
+
* @exampleComponent limebb-example-filter-chip-conditions
|
|
8680
|
+
* @exampleComponent limebb-example-filter-chip-property-types
|
|
8681
|
+
* @exampleComponent limebb-example-filter-chip-multiple-values
|
|
8682
|
+
* @beta
|
|
8683
|
+
*/
|
|
8684
|
+
"limebb-filter-chip": LocalJSX.IntrinsicElements["limebb-filter-chip"] & JSXBase.HTMLAttributes<HTMLLimebbFilterChipElement>;
|
|
8427
8685
|
/**
|
|
8428
8686
|
* Search for an icon and **click on it to copy its name to clipboard**.
|
|
8429
8687
|
* <limebb-example-icon-finder />
|
|
@@ -8557,11 +8815,11 @@ declare module "@stencil/core" {
|
|
|
8557
8815
|
* - value > 100000
|
|
8558
8816
|
* - name ? "Big" (contains "Big")
|
|
8559
8817
|
* - dealstatus IN ["won", "tender"]
|
|
8560
|
-
* The
|
|
8561
|
-
*
|
|
8562
|
-
*
|
|
8563
|
-
*
|
|
8564
|
-
*
|
|
8818
|
+
* The comparison is shown as the shared, presentational `limebb-filter-chip`
|
|
8819
|
+
* (slotted as the trigger of the edit popover): this component resolves the
|
|
8820
|
+
* property label, maps the operator to a `FilterCondition`, resolves the
|
|
8821
|
+
* property type, and formats the value — and lets the chip render the icon,
|
|
8822
|
+
* wording, tooltip, and remove button.
|
|
8565
8823
|
* @private
|
|
8566
8824
|
*/
|
|
8567
8825
|
"limebb-lime-query-filter-comparison": LocalJSX.IntrinsicElements["limebb-lime-query-filter-comparison"] & JSXBase.HTMLAttributes<HTMLLimebbLimeQueryFilterComparisonElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,5 +2,7 @@ export * from './components';
|
|
|
2
2
|
export * from './interface';
|
|
3
3
|
export * from './factories';
|
|
4
4
|
export * from './util/color-palettes';
|
|
5
|
+
export * from './components/filter-chip/filter-chip.types';
|
|
6
|
+
export * from './components/filter-chip/filter-condition-icons';
|
|
5
7
|
import '@lundalogik/lime-icons8';
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-crm-building-blocks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.136.0",
|
|
4
4
|
"description": "A home for shared components meant for use with Lime CRM",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@limetech/eslint-config": "^4.0.1",
|
|
38
|
-
"@limetech/lime-elements": "^39.
|
|
38
|
+
"@limetech/lime-elements": "^39.34.0",
|
|
39
39
|
"@limetech/lime-web-components": "^6.25.0",
|
|
40
40
|
"@lundalogik/lime-icons8": "^2.41.0",
|
|
41
41
|
"@lundalogik/limeclient.js": "^1.107.0",
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index_esm = require('./index.esm-Dgkx-Syd.js');
|
|
4
|
-
|
|
5
|
-
const LIME_QUERY_OPERATORS = [
|
|
6
|
-
{
|
|
7
|
-
value: index_esm.nt.EQUALS,
|
|
8
|
-
label: 'webclient.operator.equals',
|
|
9
|
-
icon: '-lime-filter-equal',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
value: index_esm.nt.NOT_EQUALS,
|
|
13
|
-
label: 'webclient.operator.not-equals',
|
|
14
|
-
icon: '-lime-filter-equal-not',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
value: index_esm.nt.GREATER,
|
|
18
|
-
label: 'webclient.operator.greater-than',
|
|
19
|
-
icon: '-lime-filter-greater',
|
|
20
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
value: index_esm.nt.GREATER_OR_EQUAL,
|
|
24
|
-
label: 'webclient.operator.greater-than-or-equal-to',
|
|
25
|
-
icon: '-lime-filter-greater-equal',
|
|
26
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
value: index_esm.nt.LESS,
|
|
30
|
-
label: 'webclient.operator.less-than',
|
|
31
|
-
icon: '-lime-filter-less',
|
|
32
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
value: index_esm.nt.LESS_OR_EQUAL,
|
|
36
|
-
label: 'webclient.operator.less-than-or-equal-to',
|
|
37
|
-
icon: '-lime-filter-less-equal',
|
|
38
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
value: index_esm.nt.IN,
|
|
42
|
-
label: 'webclient.operator.in-filter',
|
|
43
|
-
icon: '-lime-filter-set-included',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
value: index_esm.nt.LIKE,
|
|
47
|
-
label: 'webclient.operator.contains',
|
|
48
|
-
icon: '-lime-filter-contain',
|
|
49
|
-
applicableTypes: ['string', 'text'],
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
value: index_esm.nt.BEGINS,
|
|
53
|
-
label: 'webclient.operator.begins-with',
|
|
54
|
-
icon: '-lime-filter-starts-with',
|
|
55
|
-
applicableTypes: ['string', 'text'],
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
value: index_esm.nt.ENDS,
|
|
59
|
-
label: 'webclient.operator.ends-with',
|
|
60
|
-
icon: '-lime-filter-ends-with',
|
|
61
|
-
applicableTypes: ['string', 'text'],
|
|
62
|
-
},
|
|
63
|
-
];
|
|
64
|
-
|
|
65
|
-
exports.LIME_QUERY_OPERATORS = LIME_QUERY_OPERATORS;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { n as nt } from './index.esm-B1KM7sH7.js';
|
|
2
|
-
|
|
3
|
-
const LIME_QUERY_OPERATORS = [
|
|
4
|
-
{
|
|
5
|
-
value: nt.EQUALS,
|
|
6
|
-
label: 'webclient.operator.equals',
|
|
7
|
-
icon: '-lime-filter-equal',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
value: nt.NOT_EQUALS,
|
|
11
|
-
label: 'webclient.operator.not-equals',
|
|
12
|
-
icon: '-lime-filter-equal-not',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
value: nt.GREATER,
|
|
16
|
-
label: 'webclient.operator.greater-than',
|
|
17
|
-
icon: '-lime-filter-greater',
|
|
18
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
value: nt.GREATER_OR_EQUAL,
|
|
22
|
-
label: 'webclient.operator.greater-than-or-equal-to',
|
|
23
|
-
icon: '-lime-filter-greater-equal',
|
|
24
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
value: nt.LESS,
|
|
28
|
-
label: 'webclient.operator.less-than',
|
|
29
|
-
icon: '-lime-filter-less',
|
|
30
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
value: nt.LESS_OR_EQUAL,
|
|
34
|
-
label: 'webclient.operator.less-than-or-equal-to',
|
|
35
|
-
icon: '-lime-filter-less-equal',
|
|
36
|
-
applicableTypes: ['integer', 'decimal', 'date', 'time'],
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
value: nt.IN,
|
|
40
|
-
label: 'webclient.operator.in-filter',
|
|
41
|
-
icon: '-lime-filter-set-included',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
value: nt.LIKE,
|
|
45
|
-
label: 'webclient.operator.contains',
|
|
46
|
-
icon: '-lime-filter-contain',
|
|
47
|
-
applicableTypes: ['string', 'text'],
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
value: nt.BEGINS,
|
|
51
|
-
label: 'webclient.operator.begins-with',
|
|
52
|
-
icon: '-lime-filter-starts-with',
|
|
53
|
-
applicableTypes: ['string', 'text'],
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
value: nt.ENDS,
|
|
57
|
-
label: 'webclient.operator.ends-with',
|
|
58
|
-
icon: '-lime-filter-ends-with',
|
|
59
|
-
applicableTypes: ['string', 'text'],
|
|
60
|
-
},
|
|
61
|
-
];
|
|
62
|
-
|
|
63
|
-
export { LIME_QUERY_OPERATORS as L };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as o}from"./p-DYpn0EkA.js";import{O as i}from"./p-BVxuJgRM.js";const s=class{constructor(o){e(this,o),this.change=t(this,"change"),this.value={},this.handleExpressionChange=e=>{e.stopPropagation(),this.change.emit({expression:e.detail})}}render(){var e,t;const i=null===(e=this.resolvedContext)||void 0===e?void 0:e.limetype;return i?o("limebb-lime-query-filter-builder",{platform:this.platform,context:this.context,limetype:i,expression:null===(t=this.value)||void 0===t?void 0:t.expression,onExpressionChange:this.handleExpressionChange}):o("limel-callout",{type:"note"},"Select a limetype on the surface to author a filter.")}};(function(e,t,o,i){var s,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(l=(r<3?s(l):r>3?s(t,o,l):s(t,o))||l);r>3&&l&&Object.defineProperty(t,o,l)})([i("context")],s.prototype,"resolvedContext",void 0),s.style=":host{display:block}";export{s as limebb_rule_arg_filter_editor}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t}from"./p-DYpn0EkA.js";import{H as o,b as i}from"./p-BVxuJgRM.js";import{H as c}from"./p-BWMpG2bS.js";let n=class{constructor(e){this.itemId=e}};n=function(e,t,o,i){var c,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(n<3?c(s):n>3?c(t,o,s):c(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s}([o({id:"limebb-feed.highlight-item"})],n);const s="limetech.limeobject-matches-filter",l=class{constructor(o){e(this,o),this.loaded=t(this,"loaded")}connectedCallback(){}async componentWillLoad(){const e=new c;var t;this.platform.register(c.SERVICE_NAME,e),this.commandBus.register(n,e),(t=this.platform.get(i.RuleRegistry)).listPrimitives().some((e=>e.id===s))&&t.attachMetadata(s,{configComponent:{name:"limebb-rule-arg-filter-editor"}}),(()=>{this.platform.get(i.RuleRegistry).attachMetadata("limetech.value-comparison",{configComponent:{name:"limebb-value-comparison-editor"}})})(),this.loaded.emit()}componentWillUpdate(){}disconnectedCallback(){}get commandBus(){return this.platform.get(i.CommandBus)}};export{l as limebb_loader}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a}from"./p-DYpn0EkA.js";import{n as r}from"./p-BVxuJgRM.js";const s=[{value:r.EQUALS,text:"Equals"},{value:r.NOT_EQUALS,text:"Does not equal"},{value:r.LESS,text:"Less than"},{value:r.LESS_OR_EQUAL,text:"Less than or equal to"},{value:r.GREATER,text:"Greater than"},{value:r.GREATER_OR_EQUAL,text:"Greater than or equal to"}],i=class{constructor(a){e(this,a),this.change=t(this,"change"),this.value={},this.handleOperatorChange=e=>{var t;e.stopPropagation();const a=null===(t=e.detail)||void 0===t?void 0:t.value;this.change.emit(a?this.withOperand(a,this.value.operand):{})},this.handleOperandChange=e=>{e.stopPropagation();const t=this.value.operator;t&&this.change.emit(this.withOperand(t,function(e){if(""===e.trim())return;const t=Number(e);return Number.isNaN(t)?e:t}(e.detail)))}}render(){const e=s.find((e=>e.value===this.value.operator));return a("div",{key:"edb77347e6e20e6a85030297749800edd3eebcfc",class:"rule"},a("limel-select",{key:"0d5272a422cd36a0d1ac834a873ff865426adf92",label:"When the value",options:s,value:e,onChange:this.handleOperatorChange}),this.renderOperandInput())}renderOperandInput(){return this.value.operator?a("limel-input-field",{label:"Compared with",value:void 0===this.value.operand?"":String(this.value.operand),onChange:this.handleOperandChange}):null}withOperand(e,t){return void 0===t?{operator:e}:{operator:e,operand:t,valueType:"number"==typeof t?"number":"string"}}};i.style=":host{display:block}.rule{display:grid;gap:0.5rem;grid-template-columns:repeat(auto-fit, minmax(12rem, 1fr))}";export{i as limebb_value_comparison_editor}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./p-BVxuJgRM.js";const l=[{value:e.EQUALS,label:"webclient.operator.equals",icon:"-lime-filter-equal"},{value:e.NOT_EQUALS,label:"webclient.operator.not-equals",icon:"-lime-filter-equal-not"},{value:e.GREATER,label:"webclient.operator.greater-than",icon:"-lime-filter-greater",applicableTypes:["integer","decimal","date","time"]},{value:e.GREATER_OR_EQUAL,label:"webclient.operator.greater-than-or-equal-to",icon:"-lime-filter-greater-equal",applicableTypes:["integer","decimal","date","time"]},{value:e.LESS,label:"webclient.operator.less-than",icon:"-lime-filter-less",applicableTypes:["integer","decimal","date","time"]},{value:e.LESS_OR_EQUAL,label:"webclient.operator.less-than-or-equal-to",icon:"-lime-filter-less-equal",applicableTypes:["integer","decimal","date","time"]},{value:e.IN,label:"webclient.operator.in-filter",icon:"-lime-filter-set-included"},{value:e.LIKE,label:"webclient.operator.contains",icon:"-lime-filter-contain",applicableTypes:["string","text"]},{value:e.BEGINS,label:"webclient.operator.begins-with",icon:"-lime-filter-starts-with",applicableTypes:["string","text"]},{value:e.ENDS,label:"webclient.operator.ends-with",icon:"-lime-filter-ends-with",applicableTypes:["string","text"]}];export{l as L}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n,a as r}from"./p-BVxuJgRM.js";function o(n){var r;return(o=(null===(r=null==n?void 0:n.ui)||void 0===r?void 0:r.color)||"rgb(var(--color-gray-default))").startsWith("lime-")?`var(--${o})`:o;var o}function t(n){var r;return{name:(null===(r=null==n?void 0:n.ui)||void 0===r?void 0:r.icon)||"decision",color:o(n)}}function i(n,r){return n.label===r}function e(n,r){return Object.values(n.properties).find((n=>n&&n.relation&&i(n.relation.getLimetype(),r)))}function u(o,t){const i=e(o,t);return!!i&&function(o){return n(o)&&!r(o)}(i)}function l(n){var r,o,t;const{targetLimetype:i,currentLimetype:e,contextLimetypeName:u,contextId:l,propertyName:v}=n;if(i&&u&&l){if(v){const n=null===(o=null===(r=null==e?void 0:e.getProperty(v))||void 0===r?void 0:r.relation)||void 0===o?void 0:o.getBackreference();if(n)return n.name}return null===(t=Object.values(i.properties).find((n=>{var r;return(null===(r=n.relation)||void 0===r?void 0:r.getLimetype().name)===u})))||void 0===t?void 0:t.name}}export{l as a,i as b,e as c,t as g,u as h}
|