@limetech/lime-crm-building-blocks 1.139.1 → 2.0.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 (349) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/file-contents-url-CIoCVl85.js +14 -0
  3. package/dist/cjs/{filter-condition-icons-HypsDn6x.js → filter-condition-icons-QK5stWj6.js} +142 -0
  4. package/dist/cjs/{filter-group-logic-BPpM2NqX.js → filter-group-logic-EDLGrkTt.js} +12 -12
  5. package/dist/cjs/filter-operators-CVCyCZ7Q.js +61 -0
  6. package/dist/cjs/index.cjs.js +8 -1
  7. package/dist/cjs/{index.esm-Se3EtD3m.js → index.esm-CcYbS__E.js} +210 -181
  8. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  9. package/dist/cjs/{lime-query-validation-CJC3mtnT.js → lime-query-validation-B0oYW7Z6.js} +7 -7
  10. package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/limebb-browser.cjs.entry.js +3 -3
  12. package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +5 -5
  13. package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
  14. package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-component-config.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-component-picker.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +3 -3
  19. package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
  20. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
  21. package/dist/cjs/limebb-data-cells.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
  23. package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
  24. package/dist/cjs/limebb-document-chips.cjs.entry.js +1 -1
  25. package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
  26. package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
  28. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +6 -2
  29. package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
  30. package/dist/cjs/{limebb-filter-chip_5.cjs.entry.js → limebb-filter-chip_6.cjs.entry.js} +126 -92
  31. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  32. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
  33. package/dist/cjs/limebb-info-tile.cjs.entry.js +11 -10
  34. package/dist/cjs/limebb-inline-image.cjs.entry.js +49 -0
  35. package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
  36. package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
  37. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
  38. package/dist/cjs/limebb-lime-query-filter-builder.cjs.entry.js +5 -5
  39. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +10 -27
  40. package/dist/cjs/limebb-lime-query-order-by-editor_2.cjs.entry.js +4 -4
  41. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
  42. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
  43. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
  44. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +3 -3
  45. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
  46. package/dist/cjs/limebb-loader.cjs.entry.js +2 -2
  47. package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
  48. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
  49. package/dist/cjs/limebb-mention.cjs.entry.js +1 -1
  50. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +2 -2
  51. package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
  52. package/dist/cjs/limebb-notification-list.cjs.entry.js +1 -1
  53. package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
  54. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +3 -3
  55. package/dist/cjs/limebb-property-selector.cjs.entry.js +3 -3
  56. package/dist/cjs/limebb-rule-arg-filter-editor.cjs.entry.js +2 -2
  57. package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +3 -3
  58. package/dist/cjs/limebb-rule-editor.cjs.entry.js +3 -3
  59. package/dist/cjs/limebb-rule-gate.cjs.entry.js +2 -2
  60. package/dist/cjs/limebb-text-editor.cjs.entry.js +51 -144
  61. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +2 -2
  62. package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +38 -36
  63. package/dist/cjs/{limetype-CmgP0nbZ.js → limetype-C-fVThrI.js} +1 -1
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/collection/collection-manifest.json +2 -0
  66. package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
  67. package/dist/collection/components/browser/browser.js +2 -2
  68. package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
  69. package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
  70. package/dist/collection/components/chat-list/chat-list.js +1 -1
  71. package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
  72. package/dist/collection/components/color-palette-picker/color-palette-picker.js +1 -1
  73. package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +1 -1
  74. package/dist/collection/components/composer-toolbar/composer-toolbar.js +2 -2
  75. package/dist/collection/components/currency-picker/currency-picker.js +1 -1
  76. package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
  77. package/dist/collection/components/date-picker/date-picker.js +1 -1
  78. package/dist/collection/components/date-range/date-range.js +1 -1
  79. package/dist/collection/components/document-chips/document-chips.js +1 -1
  80. package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
  81. package/dist/collection/components/document-picker/document-picker.js +1 -1
  82. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +5 -1
  83. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
  84. package/dist/collection/components/feed/feed.js +1 -1
  85. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  86. package/dist/collection/components/filter-chip/filter-condition-icons.js +141 -0
  87. package/dist/collection/components/filter-chip/filter-operators.js +54 -0
  88. package/dist/collection/components/filter-condition-picker/filter-condition-picker.css +7 -0
  89. package/dist/collection/components/filter-condition-picker/filter-condition-picker.js +256 -0
  90. package/dist/collection/components/icon-picker/icon-picker.js +1 -1
  91. package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
  92. package/dist/collection/components/info-tile/info-tile.js +2 -2
  93. package/dist/collection/components/info-tile/loader.js +2 -1
  94. package/dist/collection/components/inline-image/inline-image.css +12 -0
  95. package/dist/collection/components/inline-image/inline-image.js +146 -0
  96. package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
  97. package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
  98. package/dist/collection/components/lime-query-builder/expressions/compound-leaf.js +6 -6
  99. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison-editor.js +37 -20
  100. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +8 -25
  101. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
  102. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
  103. package/dist/collection/components/lime-query-builder/expressions/lime-query-operators.js +23 -57
  104. package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
  105. package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
  106. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
  107. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
  108. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
  109. package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
  110. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  111. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  112. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  113. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  114. package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +1 -1
  115. package/dist/collection/components/rule-editor/rule-editor.js +1 -1
  116. package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js +62 -36
  117. package/dist/collection/components/rule-gate/rule-gate.js +1 -1
  118. package/dist/collection/components/summary-popover/summary-popover.js +2 -2
  119. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  120. package/dist/collection/components/text-editor/text-editor.js +57 -45
  121. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  122. package/dist/collection/index.js +1 -0
  123. package/dist/collection/util/file-contents-url.js +10 -0
  124. package/dist/components/chat-icon-list.js +1 -1
  125. package/dist/components/chat-item.js +1 -1
  126. package/dist/components/currency-picker.js +1 -1
  127. package/dist/components/date-picker.js +1 -1
  128. package/dist/components/document-item.js +1 -1
  129. package/dist/components/feed-item-thumbnail-file-info.js +1 -1
  130. package/dist/components/feed-timeline-item.js +1 -1
  131. package/dist/components/file-contents-url.js +1 -0
  132. package/dist/components/filter-chip.js +1 -1
  133. package/dist/components/filter-condition-icons.js +1 -1
  134. package/dist/components/filter-condition-picker.js +1 -0
  135. package/dist/components/filter-operators.js +1 -0
  136. package/dist/components/index.esm.js +1 -1
  137. package/dist/components/index.js +1 -1
  138. package/dist/components/kanban-group.js +1 -1
  139. package/dist/components/kanban-item.js +1 -1
  140. package/dist/components/lime-query-filter-builder.js +1 -1
  141. package/dist/components/lime-query-filter-comparison-editor.js +1 -1
  142. package/dist/components/lime-query-filter-comparison.js +1 -1
  143. package/dist/components/lime-query-filter-expression.js +1 -1
  144. package/dist/components/lime-query-validation.js +1 -1
  145. package/dist/components/lime-query-value-input.js +1 -1
  146. package/dist/components/limebb-alert-dialog.js +1 -1
  147. package/dist/components/limebb-browser.js +1 -1
  148. package/dist/components/limebb-chat-list.js +1 -1
  149. package/dist/components/limebb-color-palette-picker.js +1 -1
  150. package/dist/components/limebb-color-palette-swatches.js +1 -1
  151. package/dist/components/limebb-component-config.js +1 -1
  152. package/dist/components/limebb-component-picker.js +1 -1
  153. package/dist/components/limebb-composer-toolbar.js +1 -1
  154. package/dist/components/limebb-dashboard-widget.js +1 -1
  155. package/dist/components/limebb-data-cells.js +1 -1
  156. package/dist/components/limebb-date-range.js +1 -1
  157. package/dist/components/limebb-document-chips.js +1 -1
  158. package/dist/components/limebb-document-picker.js +1 -1
  159. package/dist/components/limebb-feed.js +1 -1
  160. package/dist/components/limebb-filter-condition-picker.d.ts +11 -0
  161. package/dist/components/limebb-filter-condition-picker.js +1 -0
  162. package/dist/components/limebb-icon-picker.js +1 -1
  163. package/dist/components/limebb-info-tile-format.js +1 -1
  164. package/dist/components/limebb-info-tile.js +1 -1
  165. package/dist/components/limebb-inline-image.d.ts +11 -0
  166. package/dist/components/limebb-inline-image.js +1 -0
  167. package/dist/components/limebb-lime-query-builder.js +1 -1
  168. package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
  169. package/dist/components/limebb-limeobject-file-viewer.js +1 -1
  170. package/dist/components/limebb-loader.js +1 -1
  171. package/dist/components/limebb-locale-picker.js +1 -1
  172. package/dist/components/limebb-mention-group-counter.js +1 -1
  173. package/dist/components/limebb-mention.js +1 -1
  174. package/dist/components/limebb-notification-list.js +1 -1
  175. package/dist/components/limebb-object-chip.js +1 -1
  176. package/dist/components/limebb-rule-arg-filter-editor.js +1 -1
  177. package/dist/components/limebb-rule-editor.js +1 -1
  178. package/dist/components/limebb-rule-gate.js +1 -1
  179. package/dist/components/limebb-text-editor.js +1 -1
  180. package/dist/components/limebb-trend-indicator.js +1 -1
  181. package/dist/components/limebb-value-comparison-editor.js +1 -1
  182. package/dist/components/limetype-field.js +1 -1
  183. package/dist/components/live-docs-info.js +1 -1
  184. package/dist/components/notification-item.js +1 -1
  185. package/dist/components/order-by-editor.js +1 -1
  186. package/dist/components/order-by-item.js +1 -1
  187. package/dist/components/percentage-visualizer.js +1 -1
  188. package/dist/components/property-selector.js +1 -1
  189. package/dist/components/response-format-item.js +1 -1
  190. package/dist/components/rule-chip-popover.js +1 -1
  191. package/dist/components/summary-popover.js +1 -1
  192. package/dist/components/typing-indicator.js +1 -1
  193. package/dist/esm/file-contents-url-Oswz9F3I.js +12 -0
  194. package/dist/esm/{filter-condition-icons-D8CJOcfs.js → filter-condition-icons-C_y3-T4Q.js} +142 -1
  195. package/dist/esm/{filter-group-logic-BMY_GEsX.js → filter-group-logic-DS1inQTh.js} +12 -12
  196. package/dist/esm/filter-operators-CsZi5iCV.js +57 -0
  197. package/dist/esm/{index.esm-C-L5fkQs.js → index.esm-BjIhvFKX.js} +200 -172
  198. package/dist/esm/index.js +4 -1
  199. package/dist/esm/lime-crm-building-blocks.js +1 -1
  200. package/dist/esm/{lime-query-validation-BwvluehW.js → lime-query-validation-CVV7mrLj.js} +7 -7
  201. package/dist/esm/limebb-alert-dialog.entry.js +1 -1
  202. package/dist/esm/limebb-browser.entry.js +3 -3
  203. package/dist/esm/limebb-chat-icon-list_3.entry.js +5 -5
  204. package/dist/esm/limebb-chat-list.entry.js +2 -2
  205. package/dist/esm/limebb-color-palette-picker.entry.js +1 -1
  206. package/dist/esm/limebb-color-palette-swatches.entry.js +1 -1
  207. package/dist/esm/limebb-component-config.entry.js +1 -1
  208. package/dist/esm/limebb-component-picker.entry.js +1 -1
  209. package/dist/esm/limebb-composer-toolbar.entry.js +3 -3
  210. package/dist/esm/limebb-currency-picker.entry.js +2 -2
  211. package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
  212. package/dist/esm/limebb-data-cells.entry.js +1 -1
  213. package/dist/esm/limebb-date-picker.entry.js +2 -2
  214. package/dist/esm/limebb-date-range.entry.js +1 -1
  215. package/dist/esm/limebb-document-chips.entry.js +1 -1
  216. package/dist/esm/limebb-document-item.entry.js +2 -2
  217. package/dist/esm/limebb-document-picker.entry.js +1 -1
  218. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
  219. package/dist/esm/limebb-feed-timeline-item.entry.js +6 -2
  220. package/dist/esm/limebb-feed.entry.js +2 -2
  221. package/dist/esm/{limebb-filter-chip_5.entry.js → limebb-filter-chip_6.entry.js} +126 -93
  222. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  223. package/dist/esm/limebb-info-tile-format.entry.js +1 -1
  224. package/dist/esm/limebb-info-tile.entry.js +11 -10
  225. package/dist/esm/limebb-inline-image.entry.js +47 -0
  226. package/dist/esm/limebb-kanban-group.entry.js +3 -3
  227. package/dist/esm/limebb-kanban-item.entry.js +2 -2
  228. package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
  229. package/dist/esm/limebb-lime-query-filter-builder.entry.js +5 -5
  230. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +10 -27
  231. package/dist/esm/limebb-lime-query-order-by-editor_2.entry.js +4 -4
  232. package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
  233. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
  234. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
  235. package/dist/esm/limebb-limeobject-file-viewer.entry.js +3 -3
  236. package/dist/esm/limebb-live-docs-info.entry.js +2 -2
  237. package/dist/esm/limebb-loader.entry.js +2 -2
  238. package/dist/esm/limebb-locale-picker.entry.js +2 -2
  239. package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
  240. package/dist/esm/limebb-mention.entry.js +1 -1
  241. package/dist/esm/limebb-navigation-button_2.entry.js +2 -2
  242. package/dist/esm/limebb-notification-item.entry.js +2 -2
  243. package/dist/esm/limebb-notification-list.entry.js +1 -1
  244. package/dist/esm/limebb-object-chip.entry.js +3 -3
  245. package/dist/esm/limebb-percentage-visualizer.entry.js +3 -3
  246. package/dist/esm/limebb-property-selector.entry.js +3 -3
  247. package/dist/esm/limebb-rule-arg-filter-editor.entry.js +2 -2
  248. package/dist/esm/limebb-rule-chip-popover.entry.js +3 -3
  249. package/dist/esm/limebb-rule-editor.entry.js +3 -3
  250. package/dist/esm/limebb-rule-gate.entry.js +2 -2
  251. package/dist/esm/limebb-text-editor.entry.js +51 -144
  252. package/dist/esm/limebb-trend-indicator.entry.js +2 -2
  253. package/dist/esm/limebb-value-comparison-editor.entry.js +38 -36
  254. package/dist/esm/{limetype-D4ZaWZ-3.js → limetype-BbMRN-SU.js} +1 -1
  255. package/dist/esm/loader.js +1 -1
  256. package/dist/lime-crm-building-blocks/index.esm.js +1 -1
  257. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  258. package/dist/lime-crm-building-blocks/p-135ba2ee.entry.js +1 -0
  259. package/dist/lime-crm-building-blocks/{p-e4cef02f.entry.js → p-19dc7242.entry.js} +1 -1
  260. package/dist/lime-crm-building-blocks/p-1c6e5402.entry.js +1 -0
  261. package/dist/lime-crm-building-blocks/{p-96ea4550.entry.js → p-1f97e235.entry.js} +1 -1
  262. package/dist/lime-crm-building-blocks/{p-0f821315.entry.js → p-22e68812.entry.js} +1 -1
  263. package/dist/lime-crm-building-blocks/{p-fd38bf57.entry.js → p-240cbd82.entry.js} +1 -1
  264. package/dist/lime-crm-building-blocks/{p-3fc9866a.entry.js → p-251aca46.entry.js} +1 -1
  265. package/dist/lime-crm-building-blocks/p-25984c90.entry.js +1 -0
  266. package/dist/lime-crm-building-blocks/{p-80e04b27.entry.js → p-397a6191.entry.js} +1 -1
  267. package/dist/lime-crm-building-blocks/{p-46dc34a6.entry.js → p-3f537135.entry.js} +1 -1
  268. package/dist/lime-crm-building-blocks/{p-a6e9cefe.entry.js → p-52a92d89.entry.js} +1 -1
  269. package/dist/lime-crm-building-blocks/p-585f6cfe.entry.js +1 -0
  270. package/dist/lime-crm-building-blocks/{p-0579d006.entry.js → p-59fb624c.entry.js} +1 -1
  271. package/dist/lime-crm-building-blocks/{p-fb8d854b.entry.js → p-5beb508a.entry.js} +1 -1
  272. package/dist/lime-crm-building-blocks/{p-5b1ccfe1.entry.js → p-662fb8b6.entry.js} +1 -1
  273. package/dist/lime-crm-building-blocks/{p-00ca6522.entry.js → p-673226a6.entry.js} +1 -1
  274. package/dist/lime-crm-building-blocks/{p-9033acb5.entry.js → p-69b08896.entry.js} +1 -1
  275. package/dist/lime-crm-building-blocks/{p-01f84b0c.entry.js → p-6c2e25d9.entry.js} +1 -1
  276. package/dist/lime-crm-building-blocks/{p-bf4b2a91.entry.js → p-7033d408.entry.js} +1 -1
  277. package/dist/lime-crm-building-blocks/{p-fce1a282.entry.js → p-73b71080.entry.js} +1 -1
  278. package/dist/lime-crm-building-blocks/{p-3bf316f9.entry.js → p-742926a3.entry.js} +1 -1
  279. package/dist/lime-crm-building-blocks/p-78d362b4.entry.js +1 -0
  280. package/dist/lime-crm-building-blocks/p-79c492b2.entry.js +1 -0
  281. package/dist/lime-crm-building-blocks/{p-994296b0.entry.js → p-7a5c2dda.entry.js} +1 -1
  282. package/dist/lime-crm-building-blocks/{p-de785fee.entry.js → p-7b6c9cbf.entry.js} +1 -1
  283. package/dist/lime-crm-building-blocks/{p-354257f4.entry.js → p-7ce967b6.entry.js} +1 -1
  284. package/dist/lime-crm-building-blocks/{p-1cd148e2.entry.js → p-896e77b9.entry.js} +1 -1
  285. package/dist/lime-crm-building-blocks/{p-bde3e779.entry.js → p-906b4eca.entry.js} +1 -1
  286. package/dist/lime-crm-building-blocks/{p-41ddbdde.entry.js → p-964b066d.entry.js} +1 -1
  287. package/dist/lime-crm-building-blocks/p-CE43qjk3.js +1 -0
  288. package/dist/lime-crm-building-blocks/{p-D8CJOcfs.js → p-C_y3-T4Q.js} +1 -1
  289. package/dist/lime-crm-building-blocks/p-Cw4kdMw3.js +1 -0
  290. package/dist/lime-crm-building-blocks/p-DLehg4hi.js +1 -0
  291. package/dist/lime-crm-building-blocks/{p-CI6VHE0w.js → p-Dhyy9Td7.js} +1 -1
  292. package/dist/lime-crm-building-blocks/p-Oswz9F3I.js +1 -0
  293. package/dist/lime-crm-building-blocks/p-a157233b.entry.js +1 -0
  294. package/dist/lime-crm-building-blocks/p-a3058b72.entry.js +1 -0
  295. package/dist/lime-crm-building-blocks/{p-13a35953.entry.js → p-a4e676a6.entry.js} +1 -1
  296. package/dist/lime-crm-building-blocks/{p-b0ec4121.entry.js → p-aafead4e.entry.js} +1 -1
  297. package/dist/lime-crm-building-blocks/p-b78ub0mY.js +1 -0
  298. package/dist/lime-crm-building-blocks/{p-0f9a680c.entry.js → p-bc297cf4.entry.js} +1 -1
  299. package/dist/lime-crm-building-blocks/p-bcd8c767.entry.js +1 -0
  300. package/dist/lime-crm-building-blocks/p-c4e5e589.entry.js +1 -0
  301. package/dist/lime-crm-building-blocks/{p-dacd1df3.entry.js → p-d014ec57.entry.js} +1 -1
  302. package/dist/lime-crm-building-blocks/p-d20404ec.entry.js +1 -0
  303. package/dist/lime-crm-building-blocks/{p-e2420cde.entry.js → p-d2e85be2.entry.js} +1 -1
  304. package/dist/lime-crm-building-blocks/{p-69a3038b.entry.js → p-d3fe25a7.entry.js} +1 -1
  305. package/dist/lime-crm-building-blocks/{p-bd0a30d7.entry.js → p-d43cf8d1.entry.js} +1 -1
  306. package/dist/lime-crm-building-blocks/{p-e618ccd3.entry.js → p-d78370be.entry.js} +1 -1
  307. package/dist/lime-crm-building-blocks/{p-f73e3da0.entry.js → p-dd7aec09.entry.js} +1 -1
  308. package/dist/lime-crm-building-blocks/{p-5bc41701.entry.js → p-e29c27b8.entry.js} +1 -1
  309. package/dist/lime-crm-building-blocks/{p-b7e5a10e.entry.js → p-e2e1358d.entry.js} +1 -1
  310. package/dist/lime-crm-building-blocks/{p-8d592755.entry.js → p-e4a21ebe.entry.js} +1 -1
  311. package/dist/lime-crm-building-blocks/p-e581d0b7.entry.js +1 -0
  312. package/dist/lime-crm-building-blocks/{p-be5c43bb.entry.js → p-e6a85c26.entry.js} +1 -1
  313. package/dist/lime-crm-building-blocks/p-e8b2df7c.entry.js +1 -0
  314. package/dist/lime-crm-building-blocks/{p-302e6e3e.entry.js → p-ef890206.entry.js} +1 -1
  315. package/dist/lime-crm-building-blocks/{p-558915e4.entry.js → p-f4214745.entry.js} +1 -1
  316. package/dist/lime-crm-building-blocks/{p-6cdefdc9.entry.js → p-f6377fa5.entry.js} +1 -1
  317. package/dist/lime-crm-building-blocks/p-f9e9d18e.entry.js +1 -0
  318. package/dist/test/setup.js +1 -0
  319. package/dist/types/components/filter-chip/filter-condition-icons.d.ts +8 -0
  320. package/dist/types/components/filter-chip/filter-operators.d.ts +22 -0
  321. package/dist/types/components/filter-condition-picker/filter-condition-picker.d.ts +60 -0
  322. package/dist/types/components/inline-image/inline-image.d.ts +32 -0
  323. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison-editor.d.ts +8 -4
  324. package/dist/types/components/lime-query-builder/expressions/lime-query-operators.d.ts +16 -9
  325. package/dist/types/components/rule-editor/value-comparison-editor/value-comparison-editor.d.ts +7 -2
  326. package/dist/types/components/text-editor/text-editor.d.ts +17 -11
  327. package/dist/types/components.d.ts +257 -14
  328. package/dist/types/index.d.ts +1 -0
  329. package/dist/types/interface.d.ts +0 -5
  330. package/dist/types/util/file-contents-url.d.ts +9 -0
  331. package/package.json +14 -15
  332. package/dist/collection/components/text-editor/uploader/building-blocks-upload-handler.js +0 -112
  333. package/dist/lime-crm-building-blocks/p-0843b50b.entry.js +0 -1
  334. package/dist/lime-crm-building-blocks/p-29758303.entry.js +0 -1
  335. package/dist/lime-crm-building-blocks/p-39009b47.entry.js +0 -1
  336. package/dist/lime-crm-building-blocks/p-5b819d10.entry.js +0 -1
  337. package/dist/lime-crm-building-blocks/p-752742f8.entry.js +0 -1
  338. package/dist/lime-crm-building-blocks/p-7a158104.entry.js +0 -1
  339. package/dist/lime-crm-building-blocks/p-817e2952.entry.js +0 -1
  340. package/dist/lime-crm-building-blocks/p-92679e20.entry.js +0 -1
  341. package/dist/lime-crm-building-blocks/p-927e446d.entry.js +0 -1
  342. package/dist/lime-crm-building-blocks/p-B-WBKAaa.js +0 -1
  343. package/dist/lime-crm-building-blocks/p-BjXRsiQr.js +0 -1
  344. package/dist/lime-crm-building-blocks/p-Bkno2RtN.js +0 -1
  345. package/dist/lime-crm-building-blocks/p-c891125e.entry.js +0 -1
  346. package/dist/lime-crm-building-blocks/p-d7d6d21b.entry.js +0 -1
  347. package/dist/lime-crm-building-blocks/p-d95f66c8.entry.js +0 -1
  348. package/dist/lime-crm-building-blocks/p-ec1e079e.entry.js +0 -1
  349. package/dist/types/components/text-editor/uploader/building-blocks-upload-handler.d.ts +0 -62
@@ -33,7 +33,6 @@ import { NavigationButtonType } from "./components/navigation-button/navigation-
33
33
  import { NotificationItem } from "./components/notification-list/notification-item/notification-item.types";
34
34
  import { RuleArgFilterEditorValue } from "./components/rule-editor/rule-arg-filter-editor/rule-arg-filter-editor";
35
35
  import { TriggerMap } from "./components/text-editor/text-editor.types";
36
- import { EnhancedEditorMetadata } from "./components/text-editor/uploader/building-blocks-upload-handler";
37
36
  import { ValueComparisonEditorValue } from "./components/rule-editor/value-comparison-editor/value-comparison-editor";
38
37
  export { AlertType } from "./components/alert-dialog/alert-dialog.types";
39
38
  export { AggregateOperator, ContextMap, ContextScope, Expression, JsonValue, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator, PrimitiveMetadata, PropertyType, Rule, RuleRef } from "@limetech/lime-web-components";
@@ -63,7 +62,6 @@ export { NavigationButtonType } from "./components/navigation-button/navigation-
63
62
  export { NotificationItem } from "./components/notification-list/notification-item/notification-item.types";
64
63
  export { RuleArgFilterEditorValue } from "./components/rule-editor/rule-arg-filter-editor/rule-arg-filter-editor";
65
64
  export { TriggerMap } from "./components/text-editor/text-editor.types";
66
- export { EnhancedEditorMetadata } from "./components/text-editor/uploader/building-blocks-upload-handler";
67
65
  export { ValueComparisonEditorValue } from "./components/rule-editor/value-comparison-editor/value-comparison-editor";
68
66
  export namespace Components {
69
67
  /**
@@ -1099,6 +1097,46 @@ export namespace Components {
1099
1097
  */
1100
1098
  "value"?: string | string[];
1101
1099
  }
1100
+ /**
1101
+ * Filter condition picker
1102
+ * A dropdown for choosing a single filter condition, such as Is / Is not /
1103
+ * Greater than / Contains / Between / After / Empty / …
1104
+ * It is presentational and speaks the shared filter vocabulary: give it a
1105
+ * `propertyType` and it lists the right conditions for that data type, each with
1106
+ * the correct icon and localized wording (e.g. `greater-than` reads "Greater
1107
+ * than" for a number but "After" for a date, and `equals` reads "Is" for an
1108
+ * option).
1109
+ * A consumer that supports only a subset of conditions passes its own
1110
+ * list via `conditions`; the consumer maps its domain operators to and from the
1111
+ * `FilterCondition` values itself.
1112
+ * @exampleComponent limebb-example-filter-condition-picker-basic
1113
+ * @exampleComponent limebb-example-filter-condition-picker-property-types
1114
+ * @exampleComponent limebb-example-filter-condition-picker-boolean
1115
+ * @exampleComponent limebb-example-filter-condition-picker-custom
1116
+ */
1117
+ interface LimebbFilterConditionPicker {
1118
+ /**
1119
+ * Explicit conditions to offer, overriding the per-type catalog.
1120
+ */
1121
+ "conditions"?: FilterCondition[];
1122
+ /**
1123
+ * Whether the picker is disabled.
1124
+ * @default false
1125
+ */
1126
+ "disabled": boolean;
1127
+ /**
1128
+ * Platform service provider
1129
+ */
1130
+ "platform"?: LimeWebComponentPlatform;
1131
+ /**
1132
+ * Data type of the filtered property; selects which conditions are listed and their type-specific wording and icons.
1133
+ */
1134
+ "propertyType"?: PropertyType;
1135
+ /**
1136
+ * The currently selected condition.
1137
+ */
1138
+ "value"?: FilterCondition;
1139
+ }
1102
1140
  /**
1103
1141
  * Search for an icon and **click on it to copy its name to clipboard**.
1104
1142
  * <limebb-example-icon-finder />
@@ -1279,6 +1317,32 @@ export namespace Components {
1279
1317
  */
1280
1318
  "value": NumberFormat;
1281
1319
  }
1320
+ /**
1321
+ * An inline image, referenced only by its file id so stored content stays
1322
+ * portable. The contents URL is resolved at render time. Used for read-only
1323
+ * rendering via `limel-markdown`; inside the editor the same tag is handled by
1324
+ * `limel-text-editor`.
1325
+ * @private
1326
+ */
1327
+ interface LimebbInlineImage {
1328
+ /**
1329
+ * Alternative text for the image.
1330
+ * @default ''
1331
+ */
1332
+ "alt": string;
1333
+ /**
1334
+ * Rendered height (e.g. `300` or `300px`).
1335
+ */
1336
+ "height"?: string;
1337
+ /**
1338
+ * Id of the file backing this image. Maps to the `image-id` attribute.
1339
+ */
1340
+ "imageId": string;
1341
+ /**
1342
+ * Rendered width (e.g. `400` or `400px`).
1343
+ */
1344
+ "width"?: string;
1345
+ }
1282
1346
  /**
1283
1347
  * A Kanban board is a visual management tool that displays work items as
1284
1348
  * cards, organized into groups representing different stages of a workflow.
@@ -1511,6 +1575,10 @@ export namespace Components {
1511
1575
  "expression": ComparisonExpression;
1512
1576
  "limetype": string;
1513
1577
  "platform": LimeWebComponentPlatform;
1578
+ /**
1579
+ * Data type of the selected property; lets the picker pick type-specific wording and icons.
1580
+ */
1581
+ "propertyType"?: PropertyType;
1514
1582
  }
1515
1583
  /**
1516
1584
  * Lime Query Filter Expression Router
@@ -2597,15 +2665,15 @@ export namespace Components {
2597
2665
  */
2598
2666
  interface LimebbTextEditor {
2599
2667
  /**
2600
- * Enables image pasting in the editor. Default: `false` :::note This component handles the upload process. The consumer must process the uploaded images by listening to `metadataChange` event. :::
2668
+ * Set to true to enable mentioning a coworker or groups of coworkers. Mentions already present will still be rendered with a link to the coworker or the group of coworkers regardless of the value of this property
2601
2669
  * @default false
2602
2670
  */
2603
- "allowInlineImages": boolean;
2671
+ "allowMentioning": boolean;
2604
2672
  /**
2605
- * Set to true to enable mentioning a coworker or groups of coworkers. Mentions already present will still be rendered with a link to the coworker or the group of coworkers regardless of the value of this property
2673
+ * Enables pasting images into the editor. Default: `false` Existing inline images always render and round-trip regardless of this setting; it only controls whether the user can paste and upload new ones. :::note This component handles the upload process and embeds pasted images directly in the editor content. Listen to `imageUploadingChange` to know when an upload is in progress (e.g. to disable a save button). :::
2606
2674
  * @default false
2607
2675
  */
2608
- "allowMentioning": boolean;
2676
+ "allowPasteImages": boolean;
2609
2677
  /**
2610
2678
  * Set to `true` to allow the user to vertically resize the editor. Set to `false` to disable the resize functionality.
2611
2679
  * @default true
@@ -2802,6 +2870,10 @@ export namespace Components {
2802
2870
  * @private
2803
2871
  */
2804
2872
  interface LimebbValueComparisonEditor {
2873
+ /**
2874
+ * Platform service provider
2875
+ */
2876
+ "platform"?: LimeWebComponentPlatform;
2805
2877
  /**
2806
2878
  * The value of the current property
2807
2879
  * @inheritdoc
@@ -2866,6 +2938,10 @@ export interface LimebbFilterChipCustomEvent<T> extends CustomEvent<T> {
2866
2938
  detail: T;
2867
2939
  target: HTMLLimebbFilterChipElement;
2868
2940
  }
2941
+ export interface LimebbFilterConditionPickerCustomEvent<T> extends CustomEvent<T> {
2942
+ detail: T;
2943
+ target: HTMLLimebbFilterConditionPickerElement;
2944
+ }
2869
2945
  export interface LimebbIconPickerCustomEvent<T> extends CustomEvent<T> {
2870
2946
  detail: T;
2871
2947
  target: HTMLLimebbIconPickerElement;
@@ -3626,6 +3702,40 @@ declare global {
3626
3702
  prototype: HTMLLimebbFilterChipElement;
3627
3703
  new (): HTMLLimebbFilterChipElement;
3628
3704
  };
3705
+ interface HTMLLimebbFilterConditionPickerElementEventMap {
3706
+ "change": FilterCondition;
3707
+ }
3708
+ /**
3709
+ * Filter condition picker
3710
+ * A dropdown for choosing a single filter condition, such as Is / Is not /
3711
+ * Greater than / Contains / Between / After / Empty / …
3712
+ * It is presentational and speaks the shared filter vocabulary: give it a
3713
+ * `propertyType` and it lists the right conditions for that data type, each with
3714
+ * the correct icon and localized wording (e.g. `greater-than` reads "Greater
3715
+ * than" for a number but "After" for a date, and `equals` reads "Is" for an
3716
+ * option).
3717
+ * A consumer that supports only a subset of conditions passes its own
3718
+ * list via `conditions`; the consumer maps its domain operators to and from the
3719
+ * `FilterCondition` values itself.
3720
+ * @exampleComponent limebb-example-filter-condition-picker-basic
3721
+ * @exampleComponent limebb-example-filter-condition-picker-property-types
3722
+ * @exampleComponent limebb-example-filter-condition-picker-boolean
3723
+ * @exampleComponent limebb-example-filter-condition-picker-custom
3724
+ */
3725
+ interface HTMLLimebbFilterConditionPickerElement extends Components.LimebbFilterConditionPicker, HTMLStencilElement {
3726
+ addEventListener<K extends keyof HTMLLimebbFilterConditionPickerElementEventMap>(type: K, listener: (this: HTMLLimebbFilterConditionPickerElement, ev: LimebbFilterConditionPickerCustomEvent<HTMLLimebbFilterConditionPickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
3727
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3728
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3729
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
3730
+ removeEventListener<K extends keyof HTMLLimebbFilterConditionPickerElementEventMap>(type: K, listener: (this: HTMLLimebbFilterConditionPickerElement, ev: LimebbFilterConditionPickerCustomEvent<HTMLLimebbFilterConditionPickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
3731
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3732
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3733
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
3734
+ }
3735
+ var HTMLLimebbFilterConditionPickerElement: {
3736
+ prototype: HTMLLimebbFilterConditionPickerElement;
3737
+ new (): HTMLLimebbFilterConditionPickerElement;
3738
+ };
3629
3739
  interface HTMLLimebbIconPickerElementEventMap {
3630
3740
  "change": string;
3631
3741
  }
@@ -3802,6 +3912,19 @@ declare global {
3802
3912
  prototype: HTMLLimebbInfoTileUnitFormatElement;
3803
3913
  new (): HTMLLimebbInfoTileUnitFormatElement;
3804
3914
  };
3915
+ /**
3916
+ * An inline image, referenced only by its file id so stored content stays
3917
+ * portable. The contents URL is resolved at render time. Used for read-only
3918
+ * rendering via `limel-markdown`; inside the editor the same tag is handled by
3919
+ * `limel-text-editor`.
3920
+ * @private
3921
+ */
3922
+ interface HTMLLimebbInlineImageElement extends Components.LimebbInlineImage, HTMLStencilElement {
3923
+ }
3924
+ var HTMLLimebbInlineImageElement: {
3925
+ prototype: HTMLLimebbInlineImageElement;
3926
+ new (): HTMLLimebbInlineImageElement;
3927
+ };
3805
3928
  interface HTMLLimebbKanbanElementEventMap {
3806
3929
  "loadMore": KanbanGroup;
3807
3930
  "interact": KanbanItem;
@@ -4738,7 +4861,7 @@ declare global {
4738
4861
  };
4739
4862
  interface HTMLLimebbTextEditorElementEventMap {
4740
4863
  "change": string;
4741
- "metadataChange": EnhancedEditorMetadata;
4864
+ "imageUploadingChange": boolean;
4742
4865
  }
4743
4866
  /**
4744
4867
  * This component is a wrapper on the `limel-text-editor`. It adds support for platform
@@ -4888,6 +5011,7 @@ declare global {
4888
5011
  "limebb-feed-item-thumbnail-file-info": HTMLLimebbFeedItemThumbnailFileInfoElement;
4889
5012
  "limebb-feed-timeline-item": HTMLLimebbFeedTimelineItemElement;
4890
5013
  "limebb-filter-chip": HTMLLimebbFilterChipElement;
5014
+ "limebb-filter-condition-picker": HTMLLimebbFilterConditionPickerElement;
4891
5015
  "limebb-icon-picker": HTMLLimebbIconPickerElement;
4892
5016
  "limebb-info-tile": HTMLLimebbInfoTileElement;
4893
5017
  "limebb-info-tile-currency-format": HTMLLimebbInfoTileCurrencyFormatElement;
@@ -4896,6 +5020,7 @@ declare global {
4896
5020
  "limebb-info-tile-format": HTMLLimebbInfoTileFormatElement;
4897
5021
  "limebb-info-tile-relative-date-format": HTMLLimebbInfoTileRelativeDateFormatElement;
4898
5022
  "limebb-info-tile-unit-format": HTMLLimebbInfoTileUnitFormatElement;
5023
+ "limebb-inline-image": HTMLLimebbInlineImageElement;
4899
5024
  "limebb-kanban": HTMLLimebbKanbanElement;
4900
5025
  "limebb-kanban-group": HTMLLimebbKanbanGroupElement;
4901
5026
  "limebb-kanban-item": HTMLLimebbKanbanItemElement;
@@ -6045,6 +6170,50 @@ declare namespace LocalJSX {
6045
6170
  */
6046
6171
  "value"?: string | string[];
6047
6172
  }
6173
+ /**
6174
+ * Filter condition picker
6175
+ * A dropdown for choosing a single filter condition, such as Is / Is not /
6176
+ * Greater than / Contains / Between / After / Empty / …
6177
+ * It is presentational and speaks the shared filter vocabulary: give it a
6178
+ * `propertyType` and it lists the right conditions for that data type, each with
6179
+ * the correct icon and localized wording (e.g. `greater-than` reads "Greater
6180
+ * than" for a number but "After" for a date, and `equals` reads "Is" for an
6181
+ * option).
6182
+ * A consumer that supports only a subset of conditions passes its own
6183
+ * list via `conditions`; the consumer maps its domain operators to and from the
6184
+ * `FilterCondition` values itself.
6185
+ * @exampleComponent limebb-example-filter-condition-picker-basic
6186
+ * @exampleComponent limebb-example-filter-condition-picker-property-types
6187
+ * @exampleComponent limebb-example-filter-condition-picker-boolean
6188
+ * @exampleComponent limebb-example-filter-condition-picker-custom
6189
+ */
6190
+ interface LimebbFilterConditionPicker {
6191
+ /**
6192
+ * Explicit conditions to offer, overriding the per-type catalog.
6193
+ */
6194
+ "conditions"?: FilterCondition[];
6195
+ /**
6196
+ * Whether the picker is disabled.
6197
+ * @default false
6198
+ */
6199
+ "disabled"?: boolean;
6200
+ /**
6201
+ * Emitted when the user selects a condition.
6202
+ */
6203
+ "onChange"?: (event: LimebbFilterConditionPickerCustomEvent<FilterCondition>) => void;
6204
+ /**
6205
+ * Platform service provider
6206
+ */
6207
+ "platform"?: LimeWebComponentPlatform;
6208
+ /**
6209
+ * Data type of the filtered property; selects which conditions are listed and their type-specific wording and icons.
6210
+ */
6211
+ "propertyType"?: PropertyType;
6212
+ /**
6213
+ * The currently selected condition.
6214
+ */
6215
+ "value"?: FilterCondition;
6216
+ }
6048
6217
  /**
6049
6218
  * Search for an icon and **click on it to copy its name to clipboard**.
6050
6219
  * <limebb-example-icon-finder />
@@ -6253,6 +6422,32 @@ declare namespace LocalJSX {
6253
6422
  */
6254
6423
  "value"?: NumberFormat;
6255
6424
  }
6425
+ /**
6426
+ * An inline image, referenced only by its file id so stored content stays
6427
+ * portable. The contents URL is resolved at render time. Used for read-only
6428
+ * rendering via `limel-markdown`; inside the editor the same tag is handled by
6429
+ * `limel-text-editor`.
6430
+ * @private
6431
+ */
6432
+ interface LimebbInlineImage {
6433
+ /**
6434
+ * Alternative text for the image.
6435
+ * @default ''
6436
+ */
6437
+ "alt"?: string;
6438
+ /**
6439
+ * Rendered height (e.g. `300` or `300px`).
6440
+ */
6441
+ "height"?: string;
6442
+ /**
6443
+ * Id of the file backing this image. Maps to the `image-id` attribute.
6444
+ */
6445
+ "imageId"?: string;
6446
+ /**
6447
+ * Rendered width (e.g. `400` or `400px`).
6448
+ */
6449
+ "width"?: string;
6450
+ }
6256
6451
  /**
6257
6452
  * A Kanban board is a visual management tool that displays work items as
6258
6453
  * cards, organized into groups representing different stages of a workflow.
@@ -6514,6 +6709,10 @@ declare namespace LocalJSX {
6514
6709
  "limetype"?: string;
6515
6710
  "onExpressionChange"?: (event: LimebbLimeQueryFilterComparisonEditorCustomEvent<ComparisonExpression>) => void;
6516
6711
  "platform"?: LimeWebComponentPlatform;
6712
+ /**
6713
+ * Data type of the selected property; lets the picker pick type-specific wording and icons.
6714
+ */
6715
+ "propertyType"?: PropertyType;
6517
6716
  }
6518
6717
  /**
6519
6718
  * Lime Query Filter Expression Router
@@ -7678,15 +7877,15 @@ declare namespace LocalJSX {
7678
7877
  */
7679
7878
  interface LimebbTextEditor {
7680
7879
  /**
7681
- * Enables image pasting in the editor. Default: `false` :::note This component handles the upload process. The consumer must process the uploaded images by listening to `metadataChange` event. :::
7880
+ * Set to true to enable mentioning a coworker or groups of coworkers. Mentions already present will still be rendered with a link to the coworker or the group of coworkers regardless of the value of this property
7682
7881
  * @default false
7683
7882
  */
7684
- "allowInlineImages"?: boolean;
7883
+ "allowMentioning"?: boolean;
7685
7884
  /**
7686
- * Set to true to enable mentioning a coworker or groups of coworkers. Mentions already present will still be rendered with a link to the coworker or the group of coworkers regardless of the value of this property
7885
+ * Enables pasting images into the editor. Default: `false` Existing inline images always render and round-trip regardless of this setting; it only controls whether the user can paste and upload new ones. :::note This component handles the upload process and embeds pasted images directly in the editor content. Listen to `imageUploadingChange` to know when an upload is in progress (e.g. to disable a save button). :::
7687
7886
  * @default false
7688
7887
  */
7689
- "allowMentioning"?: boolean;
7888
+ "allowPasteImages"?: boolean;
7690
7889
  /**
7691
7890
  * Set to `true` to allow the user to vertically resize the editor. Set to `false` to disable the resize functionality.
7692
7891
  * @default true
@@ -7738,9 +7937,9 @@ declare namespace LocalJSX {
7738
7937
  */
7739
7938
  "onChange"?: (event: LimebbTextEditorCustomEvent<string>) => void;
7740
7939
  /**
7741
- * Dispatched when the metadata of the editor changes
7940
+ * Dispatched when an inline image upload starts (`true`) and when all in-flight uploads have settled (`false`). Use it to gate actions that must wait for pasted images to finish uploading, such as saving.
7742
7941
  */
7743
- "onMetadataChange"?: (event: LimebbTextEditorCustomEvent<EnhancedEditorMetadata>) => void;
7942
+ "onImageUploadingChange"?: (event: LimebbTextEditorCustomEvent<boolean>) => void;
7744
7943
  /**
7745
7944
  * The placeholder text shown inside the input field, when the field is empty.
7746
7945
  */
@@ -7901,6 +8100,10 @@ declare namespace LocalJSX {
7901
8100
  * @inheritdoc
7902
8101
  */
7903
8102
  "onChange"?: (event: LimebbValueComparisonEditorCustomEvent<ValueComparisonEditorValue>) => void;
8103
+ /**
8104
+ * Platform service provider
8105
+ */
8106
+ "platform"?: LimeWebComponentPlatform;
7904
8107
  /**
7905
8108
  * The value of the current property
7906
8109
  * @inheritdoc
@@ -8053,6 +8256,11 @@ declare namespace LocalJSX {
8053
8256
  "identifier": string;
8054
8257
  "maxLength": number;
8055
8258
  }
8259
+ interface LimebbFilterConditionPickerAttributes {
8260
+ "value": FilterCondition;
8261
+ "propertyType": PropertyType;
8262
+ "disabled": boolean;
8263
+ }
8056
8264
  interface LimebbIconPickerAttributes {
8057
8265
  "value": string;
8058
8266
  "required": boolean;
@@ -8076,6 +8284,12 @@ declare namespace LocalJSX {
8076
8284
  interface LimebbInfoTileFormatAttributes {
8077
8285
  "type": 'number' | 'date' | 'none';
8078
8286
  }
8287
+ interface LimebbInlineImageAttributes {
8288
+ "imageId": string;
8289
+ "alt": string;
8290
+ "width": string;
8291
+ "height": string;
8292
+ }
8079
8293
  interface LimebbKanbanGroupAttributes {
8080
8294
  "identifier": string;
8081
8295
  "heading": string;
@@ -8100,6 +8314,7 @@ declare namespace LocalJSX {
8100
8314
  interface LimebbLimeQueryFilterComparisonEditorAttributes {
8101
8315
  "limetype": string;
8102
8316
  "activeLimetype": string;
8317
+ "propertyType": PropertyType;
8103
8318
  }
8104
8319
  interface LimebbLimeQueryFilterExpressionAttributes {
8105
8320
  "label": string;
@@ -8245,7 +8460,7 @@ declare namespace LocalJSX {
8245
8460
  "allowResize": boolean;
8246
8461
  "value": string;
8247
8462
  "draftIdentifier": string;
8248
- "allowInlineImages": boolean;
8463
+ "allowPasteImages": boolean;
8249
8464
  }
8250
8465
  interface LimebbTextEditorPickerAttributes {
8251
8466
  "open": boolean;
@@ -8287,6 +8502,7 @@ declare namespace LocalJSX {
8287
8502
  "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] };
8288
8503
  "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
8504
  "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] };
8505
+ "limebb-filter-condition-picker": Omit<LimebbFilterConditionPicker, keyof LimebbFilterConditionPickerAttributes> & { [K in keyof LimebbFilterConditionPicker & keyof LimebbFilterConditionPickerAttributes]?: LimebbFilterConditionPicker[K] } & { [K in keyof LimebbFilterConditionPicker & keyof LimebbFilterConditionPickerAttributes as `attr:${K}`]?: LimebbFilterConditionPickerAttributes[K] } & { [K in keyof LimebbFilterConditionPicker & keyof LimebbFilterConditionPickerAttributes as `prop:${K}`]?: LimebbFilterConditionPicker[K] };
8290
8506
  "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] };
8291
8507
  "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"]>;
8292
8508
  "limebb-info-tile-currency-format": LimebbInfoTileCurrencyFormat;
@@ -8295,6 +8511,7 @@ declare namespace LocalJSX {
8295
8511
  "limebb-info-tile-format": Omit<LimebbInfoTileFormat, keyof LimebbInfoTileFormatAttributes> & { [K in keyof LimebbInfoTileFormat & keyof LimebbInfoTileFormatAttributes]?: LimebbInfoTileFormat[K] } & { [K in keyof LimebbInfoTileFormat & keyof LimebbInfoTileFormatAttributes as `attr:${K}`]?: LimebbInfoTileFormatAttributes[K] } & { [K in keyof LimebbInfoTileFormat & keyof LimebbInfoTileFormatAttributes as `prop:${K}`]?: LimebbInfoTileFormat[K] };
8296
8512
  "limebb-info-tile-relative-date-format": LimebbInfoTileRelativeDateFormat;
8297
8513
  "limebb-info-tile-unit-format": LimebbInfoTileUnitFormat;
8514
+ "limebb-inline-image": Omit<LimebbInlineImage, keyof LimebbInlineImageAttributes> & { [K in keyof LimebbInlineImage & keyof LimebbInlineImageAttributes]?: LimebbInlineImage[K] } & { [K in keyof LimebbInlineImage & keyof LimebbInlineImageAttributes as `attr:${K}`]?: LimebbInlineImageAttributes[K] } & { [K in keyof LimebbInlineImage & keyof LimebbInlineImageAttributes as `prop:${K}`]?: LimebbInlineImage[K] };
8298
8515
  "limebb-kanban": LimebbKanban;
8299
8516
  "limebb-kanban-group": Omit<LimebbKanbanGroup, keyof LimebbKanbanGroupAttributes> & { [K in keyof LimebbKanbanGroup & keyof LimebbKanbanGroupAttributes]?: LimebbKanbanGroup[K] } & { [K in keyof LimebbKanbanGroup & keyof LimebbKanbanGroupAttributes as `attr:${K}`]?: LimebbKanbanGroupAttributes[K] } & { [K in keyof LimebbKanbanGroup & keyof LimebbKanbanGroupAttributes as `prop:${K}`]?: LimebbKanbanGroup[K] };
8300
8517
  "limebb-kanban-item": LimebbKanbanItem;
@@ -8682,6 +8899,24 @@ declare module "@stencil/core" {
8682
8899
  * @beta
8683
8900
  */
8684
8901
  "limebb-filter-chip": LocalJSX.IntrinsicElements["limebb-filter-chip"] & JSXBase.HTMLAttributes<HTMLLimebbFilterChipElement>;
8902
+ /**
8903
+ * Filter condition picker
8904
+ * A dropdown for choosing a single filter condition, such as Is / Is not /
8905
+ * Greater than / Contains / Between / After / Empty / …
8906
+ * It is presentational and speaks the shared filter vocabulary: give it a
8907
+ * `propertyType` and it lists the right conditions for that data type, each with
8908
+ * the correct icon and localized wording (e.g. `greater-than` reads "Greater
8909
+ * than" for a number but "After" for a date, and `equals` reads "Is" for an
8910
+ * option).
8911
+ * A consumer that supports only a subset of conditions passes its own
8912
+ * list via `conditions`; the consumer maps its domain operators to and from the
8913
+ * `FilterCondition` values itself.
8914
+ * @exampleComponent limebb-example-filter-condition-picker-basic
8915
+ * @exampleComponent limebb-example-filter-condition-picker-property-types
8916
+ * @exampleComponent limebb-example-filter-condition-picker-boolean
8917
+ * @exampleComponent limebb-example-filter-condition-picker-custom
8918
+ */
8919
+ "limebb-filter-condition-picker": LocalJSX.IntrinsicElements["limebb-filter-condition-picker"] & JSXBase.HTMLAttributes<HTMLLimebbFilterConditionPickerElement>;
8685
8920
  /**
8686
8921
  * Search for an icon and **click on it to copy its name to clipboard**.
8687
8922
  * <limebb-example-icon-finder />
@@ -8741,6 +8976,14 @@ declare module "@stencil/core" {
8741
8976
  * @private
8742
8977
  */
8743
8978
  "limebb-info-tile-unit-format": LocalJSX.IntrinsicElements["limebb-info-tile-unit-format"] & JSXBase.HTMLAttributes<HTMLLimebbInfoTileUnitFormatElement>;
8979
+ /**
8980
+ * An inline image, referenced only by its file id so stored content stays
8981
+ * portable. The contents URL is resolved at render time. Used for read-only
8982
+ * rendering via `limel-markdown`; inside the editor the same tag is handled by
8983
+ * `limel-text-editor`.
8984
+ * @private
8985
+ */
8986
+ "limebb-inline-image": LocalJSX.IntrinsicElements["limebb-inline-image"] & JSXBase.HTMLAttributes<HTMLLimebbInlineImageElement>;
8744
8987
  /**
8745
8988
  * A Kanban board is a visual management tool that displays work items as
8746
8989
  * cards, organized into groups representing different stages of a workflow.
@@ -4,5 +4,6 @@ export * from './factories';
4
4
  export * from './util/color-palettes';
5
5
  export * from './components/filter-chip/filter-chip.types';
6
6
  export * from './components/filter-chip/filter-condition-icons';
7
+ export * from './components/filter-chip/filter-operators';
7
8
  import '@lundalogik/lime-icons8';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -9,11 +9,6 @@ export * from './components/notification-list/notification-item/notification-ite
9
9
  export * from './components/browser/browser-item.types';
10
10
  export * from './components/text-editor/text-editor.types';
11
11
  export * from './util/basic-limetype-props';
12
- export {
13
- EnhancedEditorMetadata,
14
- EnhancedEditorImage,
15
- UploadHandler,
16
- } from './components/text-editor/uploader/building-blocks-upload-handler';
17
12
  export {
18
13
  FileUpload,
19
14
  FileStatus,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Builds the contents URL for a stored file, relative to the application base.
3
+ *
4
+ * @param appName - the current application name
5
+ * @param fileId - the id of the file
6
+ * @returns the file contents URL
7
+ */
8
+ export declare function getFileContentsUrl(appName: string, fileId: string): string;
9
+ //# sourceMappingURL=file-contents-url.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-crm-building-blocks",
3
- "version": "1.139.1",
3
+ "version": "2.0.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",
@@ -21,9 +21,8 @@
21
21
  "lint": "eslint --max-warnings=0 && prettier -c --ignore-path .gitignore **/*.scss",
22
22
  "lint:fix": "eslint --max-warnings=0 --fix && prettier --write --ignore-path .gitignore **/*.scss",
23
23
  "start": "stencil build --dev --watch --serve --docs",
24
- "test": "cross-env-shell TZ=Europe/Stockholm \"stencil test --spec --collect-coverage\"",
25
- "test:watch": "cross-env-shell TZ=Europe/Stockholm \"stencil test --spec --watchAll\"",
26
- "test:watch:cov": "npm run test:watch -- --collect-coverage",
24
+ "test": "cross-env-shell TZ=Europe/Stockholm \"vitest run --config vitest.config.mts --coverage\"",
25
+ "test:watch": "cross-env-shell TZ=Europe/Stockholm \"vitest --config vitest.config.mts\"",
27
26
  "generate": "stencil generate"
28
27
  },
29
28
  "repository": {
@@ -35,29 +34,29 @@
35
34
  },
36
35
  "devDependencies": {
37
36
  "@limetech/eslint-config": "^4.0.1",
38
- "@limetech/lime-elements": "^39.35.0",
39
- "@limetech/lime-web-components": "^6.26.0",
37
+ "@limetech/lime-elements": "^39.42.0",
38
+ "@limetech/lime-web-components": "^7.2.0",
40
39
  "@lundalogik/lime-icons8": "^2.41.0",
41
- "@lundalogik/limeclient.js": "^1.109.0",
40
+ "@lundalogik/limeclient.js": "^1.113.1",
42
41
  "@stencil/core": "^4.43.5",
43
42
  "@stencil/sass": "^3.2.3",
44
- "@types/jest": "^29.5.14",
43
+ "@stencil/vitest": "^1.13.3",
45
44
  "@types/json-schema": "^7.0.15",
46
45
  "@types/lodash-es": "^4.17.12",
46
+ "@vitest/coverage-v8": "^4.1.10",
47
47
  "cross-env": "^10.1.0",
48
48
  "currency-codes": "^2.2.0",
49
49
  "date-fns": "^4.4.0",
50
- "eslint": "^10.5.0",
50
+ "eslint": "^10.6.0",
51
51
  "fs": "^0.0.1-security",
52
- "globals": "^16.0.0",
53
- "jest": "^29.7.0",
54
- "jest-cli": "^29.7.0",
52
+ "globals": "^17.7.0",
53
+ "happy-dom": "^20.10.6",
55
54
  "kompendium": "npm:@limetech/kompendium@^1.3.0",
56
55
  "lodash-es": "^4.18.1",
57
- "prettier": "^3.8.4",
58
- "puppeteer": "^24.41.0",
56
+ "prettier": "^3.9.4",
59
57
  "replace-in-file": "^7.2.0",
60
- "shelljs": "^0.8.5",
58
+ "shelljs": "^0.10.0",
59
+ "vitest": "^4.1.9",
61
60
  "yargs": "^18.0.0"
62
61
  }
63
62
  }