@limetech/lime-crm-building-blocks 1.135.0 → 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.
Files changed (345) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/filter-condition-icons-HypsDn6x.js +207 -0
  3. package/dist/cjs/{filter-group-logic-Dp9o1iOJ.js → filter-group-logic-BoF3Z5_P.js} +1 -1
  4. package/dist/cjs/{index-dBY184XR.js → index-B9Bi9dpZ.js} +90 -2
  5. package/dist/cjs/index.cjs.js +6 -0
  6. package/dist/cjs/{index.esm-Dgkx-Syd.js → index.esm-8LHVbTD0.js} +2 -2
  7. package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
  8. package/dist/cjs/{lime-query-validation-BszGOirf.js → lime-query-validation-q-sH7XSs.js} +1 -1
  9. package/dist/cjs/limebb-alert-dialog.cjs.entry.js +2 -2
  10. package/dist/cjs/limebb-browser.cjs.entry.js +4 -4
  11. package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +6 -6
  12. package/dist/cjs/limebb-chat-list.cjs.entry.js +3 -3
  13. package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +2 -2
  14. package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +2 -2
  15. package/dist/cjs/limebb-component-config.cjs.entry.js +3 -3
  16. package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
  17. package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +4 -4
  18. package/dist/cjs/limebb-currency-picker.cjs.entry.js +3 -3
  19. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +2 -2
  20. package/dist/cjs/limebb-data-cells.cjs.entry.js +2 -2
  21. package/dist/cjs/limebb-date-picker.cjs.entry.js +3 -3
  22. package/dist/cjs/limebb-date-range.cjs.entry.js +2 -2
  23. package/dist/cjs/limebb-document-chips.cjs.entry.js +2 -2
  24. package/dist/cjs/limebb-document-item.cjs.entry.js +3 -3
  25. package/dist/cjs/limebb-document-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +2 -2
  28. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +3 -3
  29. package/dist/cjs/limebb-feed.cjs.entry.js +3 -3
  30. package/dist/cjs/{limebb-lime-query-filter-comparison-editor_4.cjs.entry.js → limebb-filter-chip_5.cjs.entry.js} +360 -121
  31. package/dist/cjs/limebb-icon-picker.cjs.entry.js +2 -2
  32. package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
  33. package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
  34. package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
  35. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +2 -2
  36. package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
  37. package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
  38. package/dist/cjs/limebb-info-tile.cjs.entry.js +4 -4
  39. package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
  40. package/dist/cjs/limebb-kanban-item.cjs.entry.js +3 -3
  41. package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
  42. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
  43. package/dist/cjs/limebb-lime-query-filter-builder.cjs.entry.js +3 -3
  44. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +61 -45
  45. package/dist/cjs/limebb-lime-query-order-by-editor_2.cjs.entry.js +5 -5
  46. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +3 -3
  47. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
  48. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +2 -2
  49. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -2
  50. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +3 -3
  51. package/dist/cjs/limebb-loader.cjs.entry.js +2 -2
  52. package/dist/cjs/limebb-locale-picker.cjs.entry.js +3 -3
  53. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +3 -3
  54. package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
  55. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
  56. package/dist/cjs/limebb-notification-item.cjs.entry.js +3 -3
  57. package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
  58. package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
  59. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +4 -4
  60. package/dist/cjs/limebb-property-selector.cjs.entry.js +18 -23
  61. package/dist/cjs/limebb-rule-arg-filter-editor.cjs.entry.js +2 -2
  62. package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +4 -4
  63. package/dist/cjs/limebb-rule-editor.cjs.entry.js +3 -3
  64. package/dist/cjs/limebb-rule-gate.cjs.entry.js +3 -3
  65. package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
  66. package/dist/cjs/limebb-text-editor.cjs.entry.js +4 -4
  67. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +3 -3
  68. package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +3 -3
  69. package/dist/cjs/{limetype-BayDf-QY.js → limetype-CK5MVyW0.js} +1 -1
  70. package/dist/cjs/loader.cjs.js +2 -2
  71. package/dist/cjs/type-resolution-CvlsQvQD.js +113 -0
  72. package/dist/cjs/{web-component-template-CZ0lPHIg.js → web-component-template-7B9wK2bO.js} +1 -1
  73. package/dist/collection/collection-manifest.json +1 -0
  74. package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
  75. package/dist/collection/components/browser/browser.js +2 -2
  76. package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
  77. package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
  78. package/dist/collection/components/chat-list/chat-list.js +1 -1
  79. package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
  80. package/dist/collection/components/color-palette-picker/color-palette-picker.js +1 -1
  81. package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +1 -1
  82. package/dist/collection/components/composer-toolbar/composer-toolbar.js +2 -2
  83. package/dist/collection/components/currency-picker/currency-picker.js +1 -1
  84. package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
  85. package/dist/collection/components/date-picker/date-picker.js +1 -1
  86. package/dist/collection/components/date-range/date-range.js +1 -1
  87. package/dist/collection/components/document-chips/document-chips.js +1 -1
  88. package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
  89. package/dist/collection/components/document-picker/document-picker.js +1 -1
  90. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
  91. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
  92. package/dist/collection/components/feed/feed.js +1 -1
  93. package/dist/collection/components/filter-chip/filter-chip.css +341 -0
  94. package/dist/collection/components/filter-chip/filter-chip.js +672 -0
  95. package/dist/collection/components/filter-chip/filter-chip.types.js +1 -0
  96. package/dist/collection/components/filter-chip/filter-condition-icons.js +199 -0
  97. package/dist/collection/components/icon-picker/icon-picker.js +1 -1
  98. package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
  99. package/dist/collection/components/info-tile/info-tile.js +1 -1
  100. package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
  101. package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
  102. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison-editor.js +1 -1
  103. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +64 -48
  104. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +5 -0
  105. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
  106. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
  107. package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
  108. package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
  109. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
  110. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
  111. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
  112. package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +15 -20
  113. package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
  114. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  115. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  116. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  117. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  118. package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +1 -1
  119. package/dist/collection/components/rule-editor/rule-editor.js +1 -1
  120. package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js +1 -1
  121. package/dist/collection/components/rule-gate/rule-gate.js +1 -1
  122. package/dist/collection/components/summary-popover/summary-popover.js +2 -2
  123. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  124. package/dist/collection/components/text-editor/text-editor.js +1 -1
  125. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  126. package/dist/collection/index.js +2 -0
  127. package/dist/components/chat-icon-list.js +1 -1
  128. package/dist/components/chat-item.js +1 -1
  129. package/dist/components/currency-picker.js +1 -1
  130. package/dist/components/date-picker.js +1 -1
  131. package/dist/components/document-item.js +1 -1
  132. package/dist/components/feed-item-thumbnail-file-info.js +1 -1
  133. package/dist/components/feed-timeline-item.js +1 -1
  134. package/dist/components/filter-chip.js +1 -0
  135. package/dist/components/filter-condition-icons.js +1 -0
  136. package/dist/components/index.js +1 -1
  137. package/dist/components/kanban-group.js +1 -1
  138. package/dist/components/kanban-item.js +1 -1
  139. package/dist/components/lime-query-filter-builder.js +1 -1
  140. package/dist/components/lime-query-filter-comparison-editor.js +1 -1
  141. package/dist/components/lime-query-filter-comparison.js +1 -1
  142. package/dist/components/lime-query-filter-expression.js +1 -1
  143. package/dist/components/lime-query-value-input.js +1 -1
  144. package/dist/components/limebb-alert-dialog.js +1 -1
  145. package/dist/components/limebb-browser.js +1 -1
  146. package/dist/components/limebb-chat-list.js +1 -1
  147. package/dist/components/limebb-color-palette-picker.js +1 -1
  148. package/dist/components/limebb-color-palette-swatches.js +1 -1
  149. package/dist/components/limebb-composer-toolbar.js +1 -1
  150. package/dist/components/limebb-dashboard-widget.js +1 -1
  151. package/dist/components/limebb-date-range.js +1 -1
  152. package/dist/components/limebb-document-chips.js +1 -1
  153. package/dist/components/limebb-document-picker.js +1 -1
  154. package/dist/components/limebb-feed.js +1 -1
  155. package/dist/components/limebb-filter-chip.d.ts +11 -0
  156. package/dist/components/limebb-filter-chip.js +1 -0
  157. package/dist/components/limebb-icon-picker.js +1 -1
  158. package/dist/components/limebb-info-tile-format.js +1 -1
  159. package/dist/components/limebb-info-tile.js +1 -1
  160. package/dist/components/limebb-lime-query-builder.js +1 -1
  161. package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
  162. package/dist/components/limebb-locale-picker.js +1 -1
  163. package/dist/components/limebb-mention-group-counter.js +1 -1
  164. package/dist/components/limebb-rule-arg-filter-editor.js +1 -1
  165. package/dist/components/limebb-rule-editor.js +1 -1
  166. package/dist/components/limebb-rule-gate.js +1 -1
  167. package/dist/components/limebb-text-editor.js +1 -1
  168. package/dist/components/limebb-trend-indicator.js +1 -1
  169. package/dist/components/limebb-value-comparison-editor.js +1 -1
  170. package/dist/components/limetype-field.js +1 -1
  171. package/dist/components/live-docs-info.js +1 -1
  172. package/dist/components/notification-item.js +1 -1
  173. package/dist/components/order-by-editor.js +1 -1
  174. package/dist/components/order-by-item.js +1 -1
  175. package/dist/components/percentage-visualizer.js +1 -1
  176. package/dist/components/property-selector.js +1 -1
  177. package/dist/components/response-format-item.js +1 -1
  178. package/dist/components/rule-chip-popover.js +1 -1
  179. package/dist/components/summary-popover.js +1 -1
  180. package/dist/components/typing-indicator.js +1 -1
  181. package/dist/esm/filter-condition-icons-D8CJOcfs.js +201 -0
  182. package/dist/esm/{filter-group-logic-1aucZQgy.js → filter-group-logic-CRznE2g-.js} +1 -1
  183. package/dist/esm/{index-DYpn0EkA.js → index-LEJjPpY0.js} +90 -2
  184. package/dist/esm/{index.esm-B1KM7sH7.js → index.esm-B7wJLMmp.js} +1 -1
  185. package/dist/esm/index.js +1 -0
  186. package/dist/esm/lime-crm-building-blocks.js +3 -3
  187. package/dist/esm/{lime-query-validation-CiIEITCJ.js → lime-query-validation-Dds_iPHd.js} +1 -1
  188. package/dist/esm/limebb-alert-dialog.entry.js +2 -2
  189. package/dist/esm/limebb-browser.entry.js +4 -4
  190. package/dist/esm/limebb-chat-icon-list_3.entry.js +6 -6
  191. package/dist/esm/limebb-chat-list.entry.js +3 -3
  192. package/dist/esm/limebb-color-palette-picker.entry.js +2 -2
  193. package/dist/esm/limebb-color-palette-swatches.entry.js +2 -2
  194. package/dist/esm/limebb-component-config.entry.js +3 -3
  195. package/dist/esm/limebb-component-picker.entry.js +2 -2
  196. package/dist/esm/limebb-composer-toolbar.entry.js +4 -4
  197. package/dist/esm/limebb-currency-picker.entry.js +3 -3
  198. package/dist/esm/limebb-dashboard-widget.entry.js +2 -2
  199. package/dist/esm/limebb-data-cells.entry.js +2 -2
  200. package/dist/esm/limebb-date-picker.entry.js +3 -3
  201. package/dist/esm/limebb-date-range.entry.js +2 -2
  202. package/dist/esm/limebb-document-chips.entry.js +2 -2
  203. package/dist/esm/limebb-document-item.entry.js +3 -3
  204. package/dist/esm/limebb-document-picker.entry.js +2 -2
  205. package/dist/esm/limebb-empty-state.entry.js +1 -1
  206. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +2 -2
  207. package/dist/esm/limebb-feed-timeline-item.entry.js +3 -3
  208. package/dist/esm/limebb-feed.entry.js +3 -3
  209. package/dist/esm/{limebb-lime-query-filter-comparison-editor_4.entry.js → limebb-filter-chip_5.entry.js} +357 -119
  210. package/dist/esm/limebb-icon-picker.entry.js +2 -2
  211. package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
  212. package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
  213. package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
  214. package/dist/esm/limebb-info-tile-format.entry.js +2 -2
  215. package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
  216. package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
  217. package/dist/esm/limebb-info-tile.entry.js +4 -4
  218. package/dist/esm/limebb-kanban-group.entry.js +3 -3
  219. package/dist/esm/limebb-kanban-item.entry.js +3 -3
  220. package/dist/esm/limebb-kanban.entry.js +1 -1
  221. package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
  222. package/dist/esm/limebb-lime-query-filter-builder.entry.js +3 -3
  223. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +61 -45
  224. package/dist/esm/limebb-lime-query-order-by-editor_2.entry.js +5 -5
  225. package/dist/esm/limebb-lime-query-order-by-item.entry.js +3 -3
  226. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
  227. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +2 -2
  228. package/dist/esm/limebb-limeobject-file-viewer.entry.js +2 -2
  229. package/dist/esm/limebb-live-docs-info.entry.js +3 -3
  230. package/dist/esm/limebb-loader.entry.js +2 -2
  231. package/dist/esm/limebb-locale-picker.entry.js +3 -3
  232. package/dist/esm/limebb-mention-group-counter.entry.js +3 -3
  233. package/dist/esm/limebb-mention.entry.js +2 -2
  234. package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
  235. package/dist/esm/limebb-notification-item.entry.js +3 -3
  236. package/dist/esm/limebb-notification-list.entry.js +2 -2
  237. package/dist/esm/limebb-object-chip.entry.js +3 -3
  238. package/dist/esm/limebb-percentage-visualizer.entry.js +4 -4
  239. package/dist/esm/limebb-property-selector.entry.js +18 -23
  240. package/dist/esm/limebb-rule-arg-filter-editor.entry.js +2 -2
  241. package/dist/esm/limebb-rule-chip-popover.entry.js +4 -4
  242. package/dist/esm/limebb-rule-editor.entry.js +3 -3
  243. package/dist/esm/limebb-rule-gate.entry.js +3 -3
  244. package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
  245. package/dist/esm/limebb-text-editor.entry.js +4 -4
  246. package/dist/esm/limebb-trend-indicator.entry.js +3 -3
  247. package/dist/esm/limebb-value-comparison-editor.entry.js +3 -3
  248. package/dist/esm/{limetype-CIkoDD1B.js → limetype-DH77rgZZ.js} +1 -1
  249. package/dist/esm/loader.js +3 -3
  250. package/dist/esm/type-resolution-CVEd2QZ8.js +110 -0
  251. package/dist/esm/{web-component-template-D6zkEjKN.js → web-component-template-CXFK-BYa.js} +1 -1
  252. package/dist/lime-crm-building-blocks/index.esm.js +1 -1
  253. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  254. package/dist/lime-crm-building-blocks/{p-b264b37d.entry.js → p-00860497.entry.js} +1 -1
  255. package/dist/lime-crm-building-blocks/{p-c7dbd961.entry.js → p-00be69ac.entry.js} +1 -1
  256. package/dist/lime-crm-building-blocks/p-01ddcb14.entry.js +1 -0
  257. package/dist/lime-crm-building-blocks/{p-16fad0a8.entry.js → p-0bdfd7ab.entry.js} +1 -1
  258. package/dist/lime-crm-building-blocks/{p-6f0a5401.entry.js → p-15bb23c9.entry.js} +1 -1
  259. package/dist/lime-crm-building-blocks/{p-e174dccd.entry.js → p-1c67e198.entry.js} +1 -1
  260. package/dist/lime-crm-building-blocks/{p-26e25dbd.entry.js → p-2091d4c8.entry.js} +1 -1
  261. package/dist/lime-crm-building-blocks/{p-46225433.entry.js → p-23556cb1.entry.js} +1 -1
  262. package/dist/lime-crm-building-blocks/{p-fac7ff61.entry.js → p-2caee700.entry.js} +1 -1
  263. package/dist/lime-crm-building-blocks/{p-f22e2539.entry.js → p-31580e01.entry.js} +1 -1
  264. package/dist/lime-crm-building-blocks/{p-6299c46b.entry.js → p-342aae30.entry.js} +1 -1
  265. package/dist/lime-crm-building-blocks/{p-b424f55f.entry.js → p-37fbd50d.entry.js} +1 -1
  266. package/dist/lime-crm-building-blocks/{p-f011673a.entry.js → p-382ab76b.entry.js} +1 -1
  267. package/dist/lime-crm-building-blocks/{p-ff686a4e.entry.js → p-3a41d8ae.entry.js} +1 -1
  268. package/dist/lime-crm-building-blocks/{p-991783f8.entry.js → p-3c25e289.entry.js} +1 -1
  269. package/dist/lime-crm-building-blocks/{p-c8cf6e4d.entry.js → p-46cc4edb.entry.js} +1 -1
  270. package/dist/lime-crm-building-blocks/{p-0d6d8b72.entry.js → p-4e66111a.entry.js} +1 -1
  271. package/dist/lime-crm-building-blocks/{p-a2c8e1af.entry.js → p-4e7b8559.entry.js} +1 -1
  272. package/dist/lime-crm-building-blocks/{p-58e63c29.entry.js → p-4f398108.entry.js} +1 -1
  273. package/dist/lime-crm-building-blocks/{p-8c3970ed.entry.js → p-4fcb97ea.entry.js} +1 -1
  274. package/dist/lime-crm-building-blocks/{p-29dd2424.entry.js → p-5095a168.entry.js} +1 -1
  275. package/dist/lime-crm-building-blocks/p-50f5380d.entry.js +1 -0
  276. package/dist/lime-crm-building-blocks/p-52f39097.entry.js +1 -0
  277. package/dist/lime-crm-building-blocks/{p-191e4dcd.entry.js → p-5960143c.entry.js} +1 -1
  278. package/dist/lime-crm-building-blocks/p-5d2d0f4d.entry.js +1 -0
  279. package/dist/lime-crm-building-blocks/{p-4cd99453.entry.js → p-5e4c9115.entry.js} +1 -1
  280. package/dist/lime-crm-building-blocks/p-5f940ea8.entry.js +1 -0
  281. package/dist/lime-crm-building-blocks/{p-3f2f1826.entry.js → p-61ee03f9.entry.js} +1 -1
  282. package/dist/lime-crm-building-blocks/{p-6ee28dfc.entry.js → p-639032ba.entry.js} +1 -1
  283. package/dist/lime-crm-building-blocks/{p-9909b0bf.entry.js → p-6cfebec1.entry.js} +1 -1
  284. package/dist/lime-crm-building-blocks/{p-d8835b8c.entry.js → p-6db41866.entry.js} +1 -1
  285. package/dist/lime-crm-building-blocks/p-73fab4a9.entry.js +1 -0
  286. package/dist/lime-crm-building-blocks/{p-3bff70d2.entry.js → p-7597eb85.entry.js} +1 -1
  287. package/dist/lime-crm-building-blocks/{p-1a076d37.entry.js → p-7b119566.entry.js} +1 -1
  288. package/dist/lime-crm-building-blocks/{p-b7d917ed.entry.js → p-7dedd057.entry.js} +1 -1
  289. package/dist/lime-crm-building-blocks/{p-a21d6f7e.entry.js → p-840b817b.entry.js} +1 -1
  290. package/dist/lime-crm-building-blocks/{p-69cf07ba.entry.js → p-88bdf554.entry.js} +1 -1
  291. package/dist/lime-crm-building-blocks/{p-c72d3231.entry.js → p-8d41a7f8.entry.js} +1 -1
  292. package/dist/lime-crm-building-blocks/{p-ec22438d.entry.js → p-90f3e299.entry.js} +1 -1
  293. package/dist/lime-crm-building-blocks/p-9ad269dd.entry.js +1 -0
  294. package/dist/lime-crm-building-blocks/p-Bb18Bgig.js +1 -0
  295. package/dist/lime-crm-building-blocks/{p-BKtEmDNs.js → p-BxpMk4Zk.js} +1 -1
  296. package/dist/lime-crm-building-blocks/p-CVEd2QZ8.js +1 -0
  297. package/dist/lime-crm-building-blocks/p-D8CJOcfs.js +1 -0
  298. package/dist/lime-crm-building-blocks/{p-B5QzrGTX.js → p-DM0fyjo-.js} +1 -1
  299. package/dist/lime-crm-building-blocks/{p-BVxuJgRM.js → p-Dtg8KAQt.js} +1 -1
  300. package/dist/lime-crm-building-blocks/p-LEJjPpY0.js +2 -0
  301. package/dist/lime-crm-building-blocks/p-a201e304.entry.js +1 -0
  302. package/dist/lime-crm-building-blocks/{p-71e1c5f0.entry.js → p-b2b595cc.entry.js} +1 -1
  303. package/dist/lime-crm-building-blocks/{p-571777c3.entry.js → p-b6a8ad7a.entry.js} +1 -1
  304. package/dist/lime-crm-building-blocks/{p-7aaf805d.entry.js → p-b8e4a0d1.entry.js} +1 -1
  305. package/dist/lime-crm-building-blocks/{p-30f6d7ea.entry.js → p-b9c4df08.entry.js} +1 -1
  306. package/dist/lime-crm-building-blocks/{p-6c4521a0.entry.js → p-bb825e68.entry.js} +1 -1
  307. package/dist/lime-crm-building-blocks/{p-661e4700.entry.js → p-bec2bcef.entry.js} +1 -1
  308. package/dist/lime-crm-building-blocks/{p-041f1094.entry.js → p-c84136ae.entry.js} +1 -1
  309. package/dist/lime-crm-building-blocks/{p-b4b103c1.entry.js → p-c85e44a9.entry.js} +1 -1
  310. package/dist/lime-crm-building-blocks/{p-201498a9.entry.js → p-cf687fcd.entry.js} +1 -1
  311. package/dist/lime-crm-building-blocks/{p-c6cc1438.entry.js → p-cfc3f16b.entry.js} +1 -1
  312. package/dist/lime-crm-building-blocks/p-d7462e93.entry.js +1 -0
  313. package/dist/lime-crm-building-blocks/{p-52d8f7c2.entry.js → p-d8d30ec3.entry.js} +1 -1
  314. package/dist/lime-crm-building-blocks/{p-1b5f48c2.entry.js → p-db9ed6ed.entry.js} +1 -1
  315. package/dist/lime-crm-building-blocks/{p-b431df3c.entry.js → p-e0107a69.entry.js} +1 -1
  316. package/dist/lime-crm-building-blocks/{p-5573a867.entry.js → p-e2503bad.entry.js} +1 -1
  317. package/dist/lime-crm-building-blocks/p-e3d8fd1b.entry.js +1 -0
  318. package/dist/lime-crm-building-blocks/p-f382f2fa.entry.js +1 -0
  319. package/dist/lime-crm-building-blocks/{p-340250da.entry.js → p-f3d3ff7e.entry.js} +1 -1
  320. package/dist/lime-crm-building-blocks/{p-fb23df8e.entry.js → p-f5c44de2.entry.js} +1 -1
  321. package/dist/lime-crm-building-blocks/{p-DjwVpKf5.js → p-xIXgZHrE.js} +1 -1
  322. package/dist/types/components/filter-chip/filter-chip.d.ts +173 -0
  323. package/dist/types/components/filter-chip/filter-chip.types.d.ts +32 -0
  324. package/dist/types/components/filter-chip/filter-condition-icons.d.ts +64 -0
  325. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +16 -9
  326. package/dist/types/components.d.ts +280 -22
  327. package/dist/types/index.d.ts +2 -0
  328. package/dist/types/interface.d.ts +1 -0
  329. package/package.json +2 -2
  330. package/dist/cjs/lime-query-operators-B6PujuTH.js +0 -65
  331. package/dist/esm/lime-query-operators-DvI2OyJI.js +0 -63
  332. package/dist/lime-crm-building-blocks/p-096ea04d.entry.js +0 -1
  333. package/dist/lime-crm-building-blocks/p-555da984.entry.js +0 -1
  334. package/dist/lime-crm-building-blocks/p-759d0fc2.entry.js +0 -1
  335. package/dist/lime-crm-building-blocks/p-BneXZK-Q.js +0 -1
  336. package/dist/lime-crm-building-blocks/p-DK4A47Sj.js +0 -1
  337. package/dist/lime-crm-building-blocks/p-DYpn0EkA.js +0 -2
  338. package/dist/lime-crm-building-blocks/p-a8684418.entry.js +0 -1
  339. package/dist/lime-crm-building-blocks/p-c0d39ae4.entry.js +0 -1
  340. package/dist/lime-crm-building-blocks/p-c4c3f054.entry.js +0 -1
  341. package/dist/lime-crm-building-blocks/p-cea4fe16.entry.js +0 -1
  342. package/dist/lime-crm-building-blocks/p-d6ac6cd3.entry.js +0 -1
  343. package/dist/lime-crm-building-blocks/p-e1223704.entry.js +0 -1
  344. package/dist/lime-crm-building-blocks/p-efd62913.entry.js +0 -1
  345. 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 component displays:
1381
- * - A text input for the property (Phase 0 - will be replaced with property-path in Phase 1)
1382
- * - A dropdown for the operator
1383
- * - A value input (text/number based on operator)
1384
- * - A trash icon button to remove this condition
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 component displays:
3835
- * - A text input for the property (Phase 0 - will be replaced with property-path in Phase 1)
3836
- * - A dropdown for the operator
3837
- * - A value input (text/number based on operator)
3838
- * - A trash icon button to remove this condition
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 component displays:
6247
- * - A text input for the property (Phase 0 - will be replaced with property-path in Phase 1)
6248
- * - A dropdown for the operator
6249
- * - A value input (text/number based on operator)
6250
- * - A trash icon button to remove this condition
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 component displays:
8561
- * - A text input for the property (Phase 0 - will be replaced with property-path in Phase 1)
8562
- * - A dropdown for the operator
8563
- * - A value input (text/number based on operator)
8564
- * - A trash icon button to remove this condition
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>;
@@ -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
@@ -20,3 +20,4 @@ export {
20
20
  FileWrapper,
21
21
  } from './components/text-editor/uploader/building-blocks-uploader';
22
22
  export * from './components/document-chips/document-chips.types';
23
+ export * from './components/filter-chip/filter-chip.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-crm-building-blocks",
3
- "version": "1.135.0",
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.33.1",
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}