@limetech/lime-crm-building-blocks 1.105.3 → 1.106.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 (184) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/{index-ff255a0d.js → index-519b904a.js} +4 -1
  3. package/dist/cjs/{index.esm-d785eb6e.js → index.esm-b68bd570.js} +398 -268
  4. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  5. package/dist/cjs/{lime-query-validation-6d419d03.js → lime-query-validation-5eb432fe.js} +7 -7
  6. package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
  7. package/dist/cjs/limebb-chat-item_2.cjs.entry.js +2 -2
  8. package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
  9. package/dist/cjs/limebb-component-config.cjs.entry.js +2 -2
  10. package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
  11. package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
  12. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
  14. package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-document-item.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
  19. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +2 -2
  20. package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
  21. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
  23. package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
  24. package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
  25. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
  26. package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
  28. package/dist/cjs/limebb-info-tile.cjs.entry.js +84 -9
  29. package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
  30. package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
  31. package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
  32. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -4
  33. package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +7 -7
  34. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +18 -18
  35. package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +12 -12
  36. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +1 -1
  37. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +4 -4
  38. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
  39. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +4 -4
  40. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +1 -1
  41. package/dist/cjs/limebb-loader.cjs.entry.js +3 -3
  42. package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
  43. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +1 -1
  44. package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
  45. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +1 -1
  46. package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
  47. package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
  48. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +1 -1
  49. package/dist/cjs/limebb-property-selector.cjs.entry.js +4 -4
  50. package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
  51. package/dist/cjs/limebb-text-editor.cjs.entry.js +6 -6
  52. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  53. package/dist/cjs/{limetype-f2e4376e.js → limetype-b91060e7.js} +2 -2
  54. package/dist/cjs/loader.cjs.js +1 -1
  55. package/dist/collection/components/info-tile/info-tile-context-provider.js +46 -0
  56. package/dist/collection/components/info-tile/info-tile.js +30 -1
  57. package/dist/components/index.esm.js +389 -259
  58. package/dist/components/kanban-group.js +2 -2
  59. package/dist/components/lime-query-filter-builder.js +5 -5
  60. package/dist/components/lime-query-filter-comparison.js +14 -14
  61. package/dist/components/lime-query-filter-expression.js +12 -12
  62. package/dist/components/lime-query-validation.js +7 -7
  63. package/dist/components/lime-query-value-input.js +3 -3
  64. package/dist/components/limebb-info-tile.js +83 -8
  65. package/dist/components/limebb-lime-query-builder.js +2 -2
  66. package/dist/components/limebb-lime-query-response-format-builder.js +2 -2
  67. package/dist/components/limebb-limeobject-file-viewer.js +3 -3
  68. package/dist/components/limebb-loader.js +2 -2
  69. package/dist/components/limebb-text-editor.js +4 -4
  70. package/dist/components/limetype.js +2 -2
  71. package/dist/components/property-selector.js +2 -2
  72. package/dist/esm/{index-96dd111f.js → index-d86e55c0.js} +4 -2
  73. package/dist/esm/{index.esm-bb569663.js → index.esm-863d7783.js} +389 -259
  74. package/dist/esm/lime-crm-building-blocks.js +2 -2
  75. package/dist/esm/{lime-query-validation-237ee440.js → lime-query-validation-84253575.js} +7 -7
  76. package/dist/esm/limebb-browser.entry.js +2 -2
  77. package/dist/esm/limebb-chat-item_2.entry.js +2 -2
  78. package/dist/esm/limebb-chat-list.entry.js +2 -2
  79. package/dist/esm/limebb-component-config.entry.js +2 -2
  80. package/dist/esm/limebb-component-picker.entry.js +2 -2
  81. package/dist/esm/limebb-currency-picker.entry.js +2 -2
  82. package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
  83. package/dist/esm/limebb-date-picker.entry.js +2 -2
  84. package/dist/esm/limebb-date-range.entry.js +1 -1
  85. package/dist/esm/limebb-document-item.entry.js +1 -1
  86. package/dist/esm/limebb-document-picker.entry.js +1 -1
  87. package/dist/esm/limebb-empty-state.entry.js +1 -1
  88. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
  89. package/dist/esm/limebb-feed-timeline-item.entry.js +2 -2
  90. package/dist/esm/limebb-feed.entry.js +2 -2
  91. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  92. package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
  93. package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
  94. package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
  95. package/dist/esm/limebb-info-tile-format.entry.js +1 -1
  96. package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
  97. package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
  98. package/dist/esm/limebb-info-tile.entry.js +84 -9
  99. package/dist/esm/limebb-kanban-group.entry.js +3 -3
  100. package/dist/esm/limebb-kanban-item.entry.js +2 -2
  101. package/dist/esm/limebb-kanban.entry.js +1 -1
  102. package/dist/esm/limebb-lime-query-builder.entry.js +4 -4
  103. package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +7 -7
  104. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +18 -18
  105. package/dist/esm/limebb-lime-query-filter-group_3.entry.js +12 -12
  106. package/dist/esm/limebb-lime-query-order-by-item.entry.js +1 -1
  107. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +4 -4
  108. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
  109. package/dist/esm/limebb-limeobject-file-viewer.entry.js +4 -4
  110. package/dist/esm/limebb-live-docs-info.entry.js +1 -1
  111. package/dist/esm/limebb-loader.entry.js +3 -3
  112. package/dist/esm/limebb-locale-picker.entry.js +2 -2
  113. package/dist/esm/limebb-mention-group-counter.entry.js +1 -1
  114. package/dist/esm/limebb-mention.entry.js +2 -2
  115. package/dist/esm/limebb-navigation-button_2.entry.js +1 -1
  116. package/dist/esm/limebb-notification-item.entry.js +2 -2
  117. package/dist/esm/limebb-notification-list.entry.js +2 -2
  118. package/dist/esm/limebb-percentage-visualizer.entry.js +1 -1
  119. package/dist/esm/limebb-property-selector.entry.js +4 -4
  120. package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
  121. package/dist/esm/limebb-text-editor.entry.js +6 -6
  122. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  123. package/dist/esm/{limetype-c0e041f7.js → limetype-09477163.js} +2 -2
  124. package/dist/esm/loader.js +2 -2
  125. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  126. package/dist/lime-crm-building-blocks/{p-e9d23ef7.entry.js → p-0bab7df6.entry.js} +1 -1
  127. package/dist/lime-crm-building-blocks/{p-218b7f38.entry.js → p-0c290fd8.entry.js} +1 -1
  128. package/dist/lime-crm-building-blocks/{p-2fdcb868.entry.js → p-0da02112.entry.js} +1 -1
  129. package/dist/lime-crm-building-blocks/{p-3932077b.entry.js → p-17baea44.entry.js} +1 -1
  130. package/dist/lime-crm-building-blocks/{p-2673c79e.entry.js → p-228573ab.entry.js} +1 -1
  131. package/dist/lime-crm-building-blocks/p-351de229.entry.js +1 -0
  132. package/dist/lime-crm-building-blocks/p-3b1fcd5b.js +1 -0
  133. package/dist/lime-crm-building-blocks/{p-6c56121c.entry.js → p-3da67f32.entry.js} +1 -1
  134. package/dist/lime-crm-building-blocks/{p-28346b49.entry.js → p-4653738d.entry.js} +1 -1
  135. package/dist/lime-crm-building-blocks/{p-568b7520.entry.js → p-4ca1caf4.entry.js} +1 -1
  136. package/dist/lime-crm-building-blocks/{p-3175883d.entry.js → p-4fa58e0e.entry.js} +1 -1
  137. package/dist/lime-crm-building-blocks/p-52cf8641.js +2 -0
  138. package/dist/lime-crm-building-blocks/{p-7271f47a.entry.js → p-52fb8909.entry.js} +1 -1
  139. package/dist/lime-crm-building-blocks/{p-25e1a434.entry.js → p-579be797.entry.js} +1 -1
  140. package/dist/lime-crm-building-blocks/{p-eb81bceb.entry.js → p-5f12cdea.entry.js} +1 -1
  141. package/dist/lime-crm-building-blocks/{p-20bfca36.js → p-6aeb7b9b.js} +1 -1
  142. package/dist/lime-crm-building-blocks/{p-1be0eec7.entry.js → p-77b97c9f.entry.js} +1 -1
  143. package/dist/lime-crm-building-blocks/{p-c0ec1ddf.entry.js → p-7c04361c.entry.js} +1 -1
  144. package/dist/lime-crm-building-blocks/{p-5464f0de.entry.js → p-7ce112a7.entry.js} +1 -1
  145. package/dist/lime-crm-building-blocks/{p-9031f136.entry.js → p-85cae2a1.entry.js} +1 -1
  146. package/dist/lime-crm-building-blocks/{p-61282e1a.entry.js → p-92062bd6.entry.js} +1 -1
  147. package/dist/lime-crm-building-blocks/{p-10ac8b3e.entry.js → p-937e9144.entry.js} +1 -1
  148. package/dist/lime-crm-building-blocks/{p-09ce8be4.entry.js → p-9624acfd.entry.js} +1 -1
  149. package/dist/lime-crm-building-blocks/{p-3a406a20.entry.js → p-973146f7.entry.js} +1 -1
  150. package/dist/lime-crm-building-blocks/{p-8491aaa1.entry.js → p-9b4617bd.entry.js} +1 -1
  151. package/dist/lime-crm-building-blocks/{p-ef042c82.entry.js → p-9d41c07e.entry.js} +1 -1
  152. package/dist/lime-crm-building-blocks/p-9f2a9cf5.js +1 -0
  153. package/dist/lime-crm-building-blocks/{p-fdd5600b.entry.js → p-a9160103.entry.js} +1 -1
  154. package/dist/lime-crm-building-blocks/{p-03af0e66.entry.js → p-a9807878.entry.js} +1 -1
  155. package/dist/lime-crm-building-blocks/{p-80b9d946.entry.js → p-a9ef0153.entry.js} +1 -1
  156. package/dist/lime-crm-building-blocks/{p-7d2188aa.entry.js → p-aec5cbca.entry.js} +1 -1
  157. package/dist/lime-crm-building-blocks/{p-2faaacbc.entry.js → p-b4bd67e2.entry.js} +1 -1
  158. package/dist/lime-crm-building-blocks/{p-19ff678d.entry.js → p-bd6b5a42.entry.js} +1 -1
  159. package/dist/lime-crm-building-blocks/{p-098ee6c1.entry.js → p-bd92871a.entry.js} +1 -1
  160. package/dist/lime-crm-building-blocks/{p-9c2062bc.entry.js → p-c3c0c738.entry.js} +1 -1
  161. package/dist/lime-crm-building-blocks/{p-ff0b244b.entry.js → p-c678ba6d.entry.js} +1 -1
  162. package/dist/lime-crm-building-blocks/{p-ee1b00b9.entry.js → p-cbbcec09.entry.js} +1 -1
  163. package/dist/lime-crm-building-blocks/{p-cfa1a4ad.entry.js → p-d51d607b.entry.js} +1 -1
  164. package/dist/lime-crm-building-blocks/{p-00da9b24.entry.js → p-d880ba5e.entry.js} +1 -1
  165. package/dist/lime-crm-building-blocks/{p-761c7c7c.entry.js → p-da511a18.entry.js} +1 -1
  166. package/dist/lime-crm-building-blocks/{p-f7ea292d.entry.js → p-dd6861b1.entry.js} +1 -1
  167. package/dist/lime-crm-building-blocks/p-ddfd5196.entry.js +1 -0
  168. package/dist/lime-crm-building-blocks/{p-32534eb7.entry.js → p-e03755ed.entry.js} +1 -1
  169. package/dist/lime-crm-building-blocks/{p-292631ea.entry.js → p-e79f16ca.entry.js} +1 -1
  170. package/dist/lime-crm-building-blocks/{p-8c4eb49f.entry.js → p-eaf58ba4.entry.js} +1 -1
  171. package/dist/lime-crm-building-blocks/{p-01cff04f.entry.js → p-eb56d4eb.entry.js} +1 -1
  172. package/dist/lime-crm-building-blocks/{p-ee0e42dd.entry.js → p-f1eee3bb.entry.js} +1 -1
  173. package/dist/lime-crm-building-blocks/{p-5dc574a3.entry.js → p-f97ea913.entry.js} +1 -1
  174. package/dist/lime-crm-building-blocks/{p-4caa8bbe.entry.js → p-fb292b3f.entry.js} +1 -1
  175. package/dist/lime-crm-building-blocks/{p-bc18b0e7.entry.js → p-fc92dab6.entry.js} +1 -1
  176. package/dist/lime-crm-building-blocks/{p-f52125a0.entry.js → p-fcb3499b.entry.js} +1 -1
  177. package/dist/types/components/info-tile/info-tile-context-provider.d.ts +35 -0
  178. package/dist/types/components/info-tile/info-tile.d.ts +4 -0
  179. package/package.json +4 -4
  180. package/dist/lime-crm-building-blocks/p-11aa4103.js +0 -1
  181. package/dist/lime-crm-building-blocks/p-1556b545.js +0 -2
  182. package/dist/lime-crm-building-blocks/p-206575e4.entry.js +0 -1
  183. package/dist/lime-crm-building-blocks/p-45caed2d.entry.js +0 -1
  184. package/dist/lime-crm-building-blocks/p-4838284a.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { L as Le, c } from './index.esm.js';
2
+ import { z as ze, c } from './index.esm.js';
3
3
  import { d as defineCustomElement$3 } from './kanban-item.js';
4
4
  import { d as defineCustomElement$2 } from './navigation-button.js';
5
5
  import { d as defineCustomElement$1 } from './summary-popover.js';
@@ -111,7 +111,7 @@ const KanbanGroup = /*@__PURE__*/ proxyCustomElement(class KanbanGroup extends H
111
111
  "totalCount": [514, "total-count"]
112
112
  }]);
113
113
  __decorate([
114
- Le()
114
+ ze()
115
115
  ], KanbanGroup.prototype, "limetype", void 0);
116
116
  function defineCustomElement() {
117
117
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { Z as Zt } from './index.esm.js';
2
+ import { r as re } from './index.esm.js';
3
3
  import { d as defineCustomElement$6 } from './lime-query-filter-comparison.js';
4
4
  import { d as defineCustomElement$3, a as defineCustomElement$4, b as defineCustomElement$5 } from './lime-query-filter-expression.js';
5
5
  import { d as defineCustomElement$2 } from './lime-query-value-input.js';
@@ -17,7 +17,7 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
17
17
  this.handleAddFirstCondition = () => {
18
18
  const newExpression = {
19
19
  key: '',
20
- op: Zt.EQUALS,
20
+ op: re.EQUALS,
21
21
  exp: '',
22
22
  };
23
23
  this.expressionChange.emit(newExpression);
@@ -28,12 +28,12 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
28
28
  }
29
29
  // Wrap current expression in AND and add a new comparison
30
30
  const newExpression = {
31
- op: Zt.AND,
31
+ op: re.AND,
32
32
  exp: [
33
33
  this.expression,
34
34
  {
35
35
  key: '',
36
- op: Zt.EQUALS,
36
+ op: re.EQUALS,
37
37
  exp: '',
38
38
  },
39
39
  ],
@@ -66,7 +66,7 @@ const LimeQueryFilterBuilderComponent = /*@__PURE__*/ proxyCustomElement(class L
66
66
  return true;
67
67
  }
68
68
  // NOT needs promotion
69
- return this.expression.op === Zt.NOT;
69
+ return this.expression.op === re.NOT;
70
70
  }
71
71
  renderEmptyState() {
72
72
  return (h("limel-button", { label: "Condition", icon: {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c, Z as Zt } from './index.esm.js';
2
+ import { c, r as re } from './index.esm.js';
3
3
  import { d as defineCustomElement$2 } from './lime-query-value-input.js';
4
4
  import { d as defineCustomElement$1 } from './property-selector.js';
5
5
 
@@ -8,58 +8,58 @@ const LimebbLimeQueryFilterComparisonStyle0 = limeQueryFilterComparisonCss;
8
8
 
9
9
  const LIME_QUERY_OPERATORS = [
10
10
  {
11
- value: Zt.EQUALS,
11
+ value: re.EQUALS,
12
12
  label: 'webclient.operator.equals',
13
13
  icon: '-lime-filter-equal',
14
14
  },
15
15
  {
16
- value: Zt.NOT_EQUALS,
16
+ value: re.NOT_EQUALS,
17
17
  label: 'webclient.operator.not-equals',
18
18
  icon: '-lime-filter-equal-not',
19
19
  },
20
20
  {
21
- value: Zt.GREATER,
21
+ value: re.GREATER,
22
22
  label: 'webclient.operator.greater-than',
23
23
  icon: '-lime-filter-greater',
24
24
  applicableTypes: ['integer', 'decimal', 'date', 'time'],
25
25
  },
26
26
  {
27
- value: Zt.GREATER_OR_EQUAL,
27
+ value: re.GREATER_OR_EQUAL,
28
28
  label: 'webclient.operator.greater-than-or-equal-to',
29
29
  icon: '-lime-filter-greater-equal',
30
30
  applicableTypes: ['integer', 'decimal', 'date', 'time'],
31
31
  },
32
32
  {
33
- value: Zt.LESS,
33
+ value: re.LESS,
34
34
  label: 'webclient.operator.less-than',
35
35
  icon: '-lime-filter-less',
36
36
  applicableTypes: ['integer', 'decimal', 'date', 'time'],
37
37
  },
38
38
  {
39
- value: Zt.LESS_OR_EQUAL,
39
+ value: re.LESS_OR_EQUAL,
40
40
  label: 'webclient.operator.less-than-or-equal-to',
41
41
  icon: '-lime-filter-less-equal',
42
42
  applicableTypes: ['integer', 'decimal', 'date', 'time'],
43
43
  },
44
44
  {
45
- value: Zt.IN,
45
+ value: re.IN,
46
46
  label: 'webclient.operator.in-filter',
47
47
  icon: '-lime-filter-set-included',
48
48
  },
49
49
  {
50
- value: Zt.LIKE,
50
+ value: re.LIKE,
51
51
  label: 'webclient.operator.contains',
52
52
  icon: '-lime-filter-contain',
53
53
  applicableTypes: ['string', 'text'],
54
54
  },
55
55
  {
56
- value: Zt.BEGINS,
56
+ value: re.BEGINS,
57
57
  label: 'webclient.operator.begins-with',
58
58
  icon: '-lime-filter-starts-with',
59
59
  applicableTypes: ['string', 'text'],
60
60
  },
61
61
  {
62
- value: Zt.ENDS,
62
+ value: re.ENDS,
63
63
  label: 'webclient.operator.ends-with',
64
64
  icon: '-lime-filter-ends-with',
65
65
  applicableTypes: ['string', 'text'],
@@ -82,15 +82,15 @@ const LimeQueryFilterComparisonComponent = /*@__PURE__*/ proxyCustomElement(clas
82
82
  let convertedValue = this.expression.exp;
83
83
  // Convert value when switching between IN and other operators
84
84
  // IN operator expects an array, other operators expect a single value
85
- if (newOperator === Zt.IN && !Array.isArray(convertedValue)) {
85
+ if (newOperator === re.IN && !Array.isArray(convertedValue)) {
86
86
  // Switching TO IN operator: wrap non-array value in array
87
87
  convertedValue =
88
88
  convertedValue !== undefined && convertedValue !== ''
89
89
  ? [convertedValue]
90
90
  : [];
91
91
  }
92
- else if (oldOperator === Zt.IN &&
93
- newOperator !== Zt.IN &&
92
+ else if (oldOperator === re.IN &&
93
+ newOperator !== re.IN &&
94
94
  Array.isArray(convertedValue)) {
95
95
  // Switching FROM IN operator: extract first element from array
96
96
  convertedValue = convertedValue.length > 0 ? convertedValue[0] : '';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { Z as Zt } from './index.esm.js';
2
+ import { r as re } from './index.esm.js';
3
3
  import { d as defineCustomElement$3 } from './lime-query-filter-comparison.js';
4
4
  import { d as defineCustomElement$5 } from './lime-query-value-input.js';
5
5
  import { d as defineCustomElement$4 } from './property-selector.js';
@@ -15,7 +15,7 @@ function getFilterGroupSubheading(operator, expressionCount) {
15
15
  if (expressionCount <= 1) {
16
16
  return '';
17
17
  }
18
- return operator === Zt.AND
18
+ return operator === re.AND
19
19
  ? 'All of these conditions are met'
20
20
  : 'Any of these conditions are met';
21
21
  }
@@ -27,7 +27,7 @@ function getFilterGroupSubheading(operator, expressionCount) {
27
27
  function createEmptyComparison() {
28
28
  return {
29
29
  key: '',
30
- op: Zt.EQUALS,
30
+ op: re.EQUALS,
31
31
  exp: '',
32
32
  };
33
33
  }
@@ -38,7 +38,7 @@ function createEmptyComparison() {
38
38
  * @returns A new group with the opposite operator and one empty comparison
39
39
  */
40
40
  function createNestedGroup(parentOperator) {
41
- const oppositeOp = parentOperator === Zt.AND ? Zt.OR : Zt.AND;
41
+ const oppositeOp = parentOperator === re.AND ? re.OR : re.AND;
42
42
  return {
43
43
  op: oppositeOp,
44
44
  exp: [createEmptyComparison()],
@@ -64,7 +64,7 @@ function addExpressionToGroup(group, newExpression) {
64
64
  * @returns A new group with the toggled operator
65
65
  */
66
66
  function toggleGroupOperator(group) {
67
- const newOperator = group.op === Zt.AND ? Zt.OR : Zt.AND;
67
+ const newOperator = group.op === re.AND ? re.OR : re.AND;
68
68
  return {
69
69
  op: newOperator,
70
70
  exp: [...group.exp],
@@ -142,7 +142,7 @@ const LimeQueryFilterNotComponent = /*@__PURE__*/ proxyCustomElement(class LimeQ
142
142
  return;
143
143
  }
144
144
  this.expressionChange.emit({
145
- op: Zt.NOT,
145
+ op: re.NOT,
146
146
  exp: updatedExpression,
147
147
  });
148
148
  };
@@ -223,7 +223,7 @@ const LimeQueryFilterGroupComponent = /*@__PURE__*/ proxyCustomElement(class Lim
223
223
  ? event.detail[0]
224
224
  : event.detail;
225
225
  this.value = selectedOption;
226
- const newOp = selectedOption.value === 'and' ? Zt.AND : Zt.OR;
226
+ const newOp = selectedOption.value === 'and' ? re.AND : re.OR;
227
227
  if (newOp !== this.expression.op) {
228
228
  const newGroup = toggleGroupOperator(this.expression);
229
229
  this.expressionChange.emit(newGroup);
@@ -250,11 +250,11 @@ const LimeQueryFilterGroupComponent = /*@__PURE__*/ proxyCustomElement(class Lim
250
250
  componentWillLoad() {
251
251
  this.value =
252
252
  this.options.find((option) => option.value ===
253
- (this.expression.op === Zt.AND ? 'and' : 'or')) || this.options[0];
253
+ (this.expression.op === re.AND ? 'and' : 'or')) || this.options[0];
254
254
  }
255
255
  render() {
256
256
  return (h(Host, { key: '324805229eab509d12b6d41a99a54c1a4d8560a1', style: {
257
- '--limebb-lime-query-filter-group-operator': `"${this.expression.op === Zt.AND ? 'AND' : 'OR'}"`,
257
+ '--limebb-lime-query-filter-group-operator': `"${this.expression.op === re.AND ? 'AND' : 'OR'}"`,
258
258
  } }, h("div", { key: '948dda71aac51cbfd8b93bc657a79c00a6bd6f68', class: "expression" }, this.renderHeader(), h("ul", { key: 'b1dbce8f4f20f72e00567d431eed0fe5900f4fbf' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
259
259
  }
260
260
  renderHeader() {
@@ -356,11 +356,11 @@ const LimeQueryFilterExpressionComponent = /*@__PURE__*/ proxyCustomElement(clas
356
356
  if ('key' in this.expression) {
357
357
  return (h("limebb-lime-query-filter-comparison", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
358
358
  }
359
- if (this.expression.op === Zt.AND ||
360
- this.expression.op === Zt.OR) {
359
+ if (this.expression.op === re.AND ||
360
+ this.expression.op === re.OR) {
361
361
  return (h("limebb-lime-query-filter-group", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
362
362
  }
363
- if (this.expression.op === Zt.NOT) {
363
+ if (this.expression.op === re.NOT) {
364
364
  return (h("limebb-lime-query-filter-not", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
365
365
  }
366
366
  }
@@ -1,4 +1,4 @@
1
- import { Z as Zt } from './index.esm.js';
1
+ import { r as re } from './index.esm.js';
2
2
  import { g as getPropertyFromPath, a as getNormalizedProperties, v as validatePropertyPath } from './property-selector.js';
3
3
 
4
4
  /**
@@ -297,7 +297,7 @@ function validatePropertySelection(selection, limetypes, limetype, visualModeEna
297
297
  */
298
298
  function validateComparisonExpression(filter, activeLimetype, limetypes, limetype) {
299
299
  // Validate operator
300
- const allValidOperators = Object.values(Zt);
300
+ const allValidOperators = Object.values(re);
301
301
  if (!allValidOperators.includes(filter.op)) {
302
302
  throw new Error(`Unsupported filter operator: ${filter.op}`);
303
303
  }
@@ -322,16 +322,16 @@ function validateComparisonExpression(filter, activeLimetype, limetypes, limetyp
322
322
  */
323
323
  function validateGroupExpression(filter, activeLimetype, limetypes, limetype, visualModeEnabled) {
324
324
  // Validate operator
325
- if (filter.op !== Zt.AND &&
326
- filter.op !== Zt.OR &&
327
- filter.op !== Zt.NOT) {
325
+ if (filter.op !== re.AND &&
326
+ filter.op !== re.OR &&
327
+ filter.op !== re.NOT) {
328
328
  throw new Error(`Unsupported group operator: ${filter.op}`);
329
329
  }
330
330
  // Recursively validate children
331
- if (filter.op === Zt.NOT) {
331
+ if (filter.op === re.NOT) {
332
332
  validateFilterPlaceholders(filter.exp, activeLimetype, limetypes, limetype, visualModeEnabled);
333
333
  }
334
- else if (filter.op === Zt.AND || filter.op === Zt.OR) {
334
+ else if (filter.op === re.AND || filter.op === re.OR) {
335
335
  const expressions = filter.exp;
336
336
  for (const expr of expressions) {
337
337
  validateFilterPlaceholders(expr, activeLimetype, limetypes, limetype, visualModeEnabled);
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { T as Te, Z as Zt } from './index.esm.js';
2
+ import { Z as Ze, r as re } from './index.esm.js';
3
3
  import { g as getPropertyFromPath, d as defineCustomElement$1 } from './property-selector.js';
4
4
 
5
5
  /**
@@ -268,7 +268,7 @@ const LimeQueryValueInput = /*@__PURE__*/ proxyCustomElement(class LimeQueryValu
268
268
  }
269
269
  renderValueInputByType() {
270
270
  // Special handling for IN operator - always use chip set for arrays
271
- if (this.operator === Zt.IN) {
271
+ if (this.operator === re.IN) {
272
272
  return this.renderMultiValueInput();
273
273
  }
274
274
  const property = this.getProperty();
@@ -363,7 +363,7 @@ const LimeQueryValueInput = /*@__PURE__*/ proxyCustomElement(class LimeQueryValu
363
363
  "inputMode": [32]
364
364
  }]);
365
365
  __decorate([
366
- Te()
366
+ Ze()
367
367
  ], LimeQueryValueInput.prototype, "limetypes", void 0);
368
368
  function defineCustomElement() {
369
369
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { c, Y as Ye, K as Ke, T as Te, W as We, Z as Zt } from './index.esm.js';
2
+ import { c, a as ar, f as fr, Z as Ze, s as sr, r as re } from './index.esm.js';
3
3
  import { i as isArrayLike, a as isBuffer, b as isTypedArray, c as isArguments, g as getTag, d as isPrototype, e as baseKeys } from './_getTag.js';
4
4
  import { i as isArray } from './_Map.js';
5
5
 
@@ -70,6 +70,53 @@ function isEmpty(value) {
70
70
  return true;
71
71
  }
72
72
 
73
+ /**
74
+ * Context provider for the info-tile component.
75
+ *
76
+ * This provider contributes contextual information about an info tile
77
+ * to the AI chat feature, including the limetype, filter, aggregation
78
+ * method, and current value.
79
+ *
80
+ * @alpha
81
+ */
82
+ class InfoTileContextProvider {
83
+ /**
84
+ * Create an InfoTileContextProvider.
85
+ *
86
+ * @param getState - Function that returns the current tile state
87
+ */
88
+ constructor(getState) {
89
+ this.getState = getState;
90
+ this.contextType = 'info-tile';
91
+ this.description = 'Provides context about an info tile showing an aggregated value';
92
+ }
93
+ getContext() {
94
+ const { limetype, filterId, filterName, aggregateOperator, propertyName, value, label, } = this.getState();
95
+ if (!limetype || !filterId) {
96
+ return {};
97
+ }
98
+ const data = {
99
+ widgetType: 'info-tile',
100
+ limetype,
101
+ filterId,
102
+ };
103
+ if (filterName) {
104
+ data.filterName = filterName;
105
+ }
106
+ data.aggregateOperator = aggregateOperator;
107
+ if (propertyName) {
108
+ data.propertyName = propertyName;
109
+ }
110
+ if (value !== undefined) {
111
+ data.value = value;
112
+ }
113
+ if (label) {
114
+ data.label = label;
115
+ }
116
+ return { data };
117
+ }
118
+ }
119
+
73
120
  class InfoTileLoader {
74
121
  constructor(platform, filters = []) {
75
122
  this.platform = platform;
@@ -319,10 +366,17 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
319
366
  /**
320
367
  * Type of aggregation operator to use
321
368
  */
322
- this.aggregateOperator = We.Count;
369
+ this.aggregateOperator = sr.Count;
323
370
  this.loading = false;
324
371
  this.error = false;
325
372
  }
373
+ connectedCallback() {
374
+ this.registerContextProvider();
375
+ }
376
+ disconnectedCallback() {
377
+ var _a;
378
+ (_a = this.unregisterContextProvider) === null || _a === void 0 ? void 0 : _a.call(this);
379
+ }
326
380
  componentWillLoad() {
327
381
  this.loadInfoTileValue();
328
382
  }
@@ -377,7 +431,7 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
377
431
  const errorProps = Object.assign(Object.assign({}, baseProps), { icon: 'error', prefix: 'ERROR', loading: true, label: this.getLabel(filter) });
378
432
  const normalProps = Object.assign(Object.assign({}, baseProps), { label: this.getLabel(filter), link: this.getLink(filter), loading: this.loading, value: value === null || value === void 0 ? void 0 : value.value.trim() });
379
433
  const props = !filter || this.error ? errorProps : normalProps;
380
- return (h("limel-info-tile", Object.assign({ key: '2f234d921ab8b45f9ce00f1830fb782bd9d9aa72', class: { error: !filter || this.error } }, props)));
434
+ return (h("limel-info-tile", Object.assign({ key: 'c94459e6651a37365feac2faf711578629ea3499', class: { error: !filter || this.error } }, props)));
381
435
  }
382
436
  getFormattedValue() {
383
437
  if (!this.value && this.value !== 0) {
@@ -437,7 +491,7 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
437
491
  }
438
492
  const relationFilter = {
439
493
  key: relationPropertyName,
440
- op: Zt.EQUALS,
494
+ op: re.EQUALS,
441
495
  exp: this.context.id,
442
496
  };
443
497
  if (!filter) {
@@ -446,7 +500,7 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
446
500
  };
447
501
  }
448
502
  return {
449
- op: Zt.AND,
503
+ op: re.AND,
450
504
  exp: [relationFilter, filter],
451
505
  };
452
506
  }
@@ -483,6 +537,27 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
483
537
  get loader() {
484
538
  return new InfoTileLoader(this.platform, this.filters);
485
539
  }
540
+ registerContextProvider() {
541
+ const registry = this.platform.get(c.AIContextRegistry);
542
+ if (!(registry === null || registry === void 0 ? void 0 : registry.register)) {
543
+ return;
544
+ }
545
+ const provider = new InfoTileContextProvider(() => {
546
+ const filter = this.getFilter();
547
+ return {
548
+ limetype: filter === null || filter === void 0 ? void 0 : filter.limetype,
549
+ filterId: this.filterId,
550
+ filterName: filter
551
+ ? this.getLocalizedString(filter.name)
552
+ : undefined,
553
+ aggregateOperator: this.aggregateOperator,
554
+ propertyName: this.propertyName,
555
+ value: this.value,
556
+ label: this.getLabel(filter),
557
+ };
558
+ });
559
+ this.unregisterContextProvider = registry.register(provider);
560
+ }
486
561
  static get watchers() { return {
487
562
  "filterId": ["watchFilterId"],
488
563
  "propertyName": ["watchPropertyName"],
@@ -513,13 +588,13 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
513
588
  "aggregateOperator": ["watchAggregateOperator"]
514
589
  }]);
515
590
  __decorate([
516
- Ye({})
591
+ ar({})
517
592
  ], InfoTile.prototype, "config", void 0);
518
593
  __decorate([
519
- Ke()
594
+ fr()
520
595
  ], InfoTile.prototype, "filters", void 0);
521
596
  __decorate([
522
- Te()
597
+ Ze()
523
598
  ], InfoTile.prototype, "limetypes", void 0);
524
599
  function defineCustomElement$1() {
525
600
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { T as Te } from './index.esm.js';
2
+ import { Z as Ze } from './index.esm.js';
3
3
  import { i as isLimeQuerySupported } from './lime-query-validation.js';
4
4
  import { d as defineCustomElement$d } from './lime-query-filter-builder.js';
5
5
  import { d as defineCustomElement$c } from './lime-query-filter-comparison.js';
@@ -342,7 +342,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
342
342
  "description": [32]
343
343
  }]);
344
344
  __decorate([
345
- Te()
345
+ Ze()
346
346
  ], LimeQueryBuilder.prototype, "limetypes", void 0);
347
347
  function defineCustomElement$1() {
348
348
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { T as Te } from './index.esm.js';
2
+ import { Z as Ze } from './index.esm.js';
3
3
  import { v as validateResponseFormatOnly } from './lime-query-validation.js';
4
4
  import { d as defineCustomElement$4 } from './response-format-editor.js';
5
5
  import { d as defineCustomElement$3 } from './response-format-item.js';
@@ -273,7 +273,7 @@ const LimeQueryResponseFormatBuilder = /*@__PURE__*/ proxyCustomElement(class Li
273
273
  "internalValue": [32]
274
274
  }]);
275
275
  __decorate([
276
- Te()
276
+ Ze()
277
277
  ], LimeQueryResponseFormatBuilder.prototype, "limetypes", void 0);
278
278
  function defineCustomElement$1() {
279
279
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { G as Ge, L as Le, c } from './index.esm.js';
2
+ import { i as ir, z as ze, c } from './index.esm.js';
3
3
  import { d as defineCustomElement$3 } from './empty-state.js';
4
4
  import { d as defineCustomElement$2 } from './live-docs-info.js';
5
5
  import { n as negate } from './negate.js';
@@ -190,10 +190,10 @@ const FileViewer = /*@__PURE__*/ proxyCustomElement(class FileViewer extends HTM
190
190
  "limetype": [32]
191
191
  }]);
192
192
  __decorate([
193
- Ge()
193
+ ir()
194
194
  ], FileViewer.prototype, "limeobject", void 0);
195
195
  __decorate([
196
- Le()
196
+ ze()
197
197
  ], FileViewer.prototype, "limetype", void 0);
198
198
  function defineCustomElement$1() {
199
199
  if (typeof customElements === "undefined") {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { h, c } from './index.esm.js';
2
+ import { d, c } from './index.esm.js';
3
3
  import { H as HighlightFeedItemHandler } from './highlight-item.handler.js';
4
4
 
5
5
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -30,7 +30,7 @@ let HighlightFeedItemCommand = class HighlightFeedItemCommand {
30
30
  }
31
31
  };
32
32
  HighlightFeedItemCommand = __decorate([
33
- h({
33
+ d({
34
34
  id: COMMAND_ID,
35
35
  })
36
36
  ], HighlightFeedItemCommand);
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c, W as We, H as He, T as Te } from './index.esm.js';
2
+ import { c, s as sr, b as cr, Z as Ze } from './index.esm.js';
3
3
  import { A as ARROW_DOWN, a as ESCAPE, b as ARROW_UP, E as ENTER, T as TAB } from './keycodes.js';
4
4
  import { b as arrayLikeKeys, k as keys, c as getSymbols, s as stubArray, a as arrayPush, d as baseGetAllKeys, U as Uint8Array, S as Stack, g as getAllKeys } from './_Uint8Array.js';
5
5
  import { d as defineProperty } from './_defineProperty.js';
@@ -1199,7 +1199,7 @@ class MentionsService {
1199
1199
  [coworkerProperty.name]: {
1200
1200
  count: {
1201
1201
  aggregate: {
1202
- op: We.Count,
1202
+ op: sr.Count,
1203
1203
  },
1204
1204
  },
1205
1205
  },
@@ -1274,7 +1274,7 @@ class FileUpload {
1274
1274
  };
1275
1275
  }
1276
1276
  async initialize() {
1277
- this.uploadService = await this.http.createFileUpload(He.Post, this.getUrl(), this.file);
1277
+ this.uploadService = await this.http.createFileUpload(cr.Post, this.getUrl(), this.file);
1278
1278
  if (this.progressCallback) {
1279
1279
  this.uploadService.onProgress = this.progressCallback;
1280
1280
  }
@@ -1863,7 +1863,7 @@ const LimeBBTextEditor = /*@__PURE__*/ proxyCustomElement(class LimeBBTextEditor
1863
1863
  "editorPickerQuery": ["watchQuery"]
1864
1864
  }]);
1865
1865
  __decorate([
1866
- Te({
1866
+ Ze({
1867
1867
  map: [getMentionLimetypes],
1868
1868
  })
1869
1869
  ], LimeBBTextEditor.prototype, "searchableLimetypes", void 0);
@@ -1,4 +1,4 @@
1
- import { D as De, M as Me } from './index.esm.js';
1
+ import { Y as Ye, q as qe } from './index.esm.js';
2
2
 
3
3
  /**
4
4
  * Get the color for a limetype from its UI configuration
@@ -55,7 +55,7 @@ function hasLabel(object, label) {
55
55
  * @returns true if the property is a hasmany relation
56
56
  */
57
57
  function isManyRelation(property) {
58
- return De(property) && !Me(property);
58
+ return Ye(property) && !qe(property);
59
59
  }
60
60
  /**
61
61
  * Finds a relation property on the given limetype that is related to a
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { T as Te, c } from './index.esm.js';
2
+ import { Z as Ze, c } from './index.esm.js';
3
3
  import { g as getIcon } from './limetype.js';
4
4
 
5
5
  /**
@@ -353,7 +353,7 @@ const PropertySelector = /*@__PURE__*/ proxyCustomElement(class PropertySelector
353
353
  "navigationPath": [32]
354
354
  }]);
355
355
  __decorate([
356
- Te()
356
+ Ze()
357
357
  ], PropertySelector.prototype, "limetypes", void 0);
358
358
  function defineCustomElement() {
359
359
  if (typeof customElements === "undefined") {
@@ -38,7 +38,9 @@ var registerHost = (hostElement, cmpMeta) => {
38
38
  return ref;
39
39
  };
40
40
  var isMemberInElement = (elm, memberName) => memberName in elm;
41
- var consoleError = (e, el) => (0, console.error)(e, el);
41
+ var customError;
42
+ var consoleError = (e, el) => (customError || console.error)(e, el);
43
+ var setErrorHandler = (handler) => customError = handler;
42
44
 
43
45
  // src/client/client-load-module.ts
44
46
  var cmpModules = /* @__PURE__ */ new Map();
@@ -1413,4 +1415,4 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1413
1415
  // src/runtime/nonce.ts
1414
1416
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1415
1417
 
1416
- export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1418
+ export { Host as H, setErrorHandler as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };