@limetech/lime-crm-building-blocks 1.113.4 → 1.114.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 (177) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/extension-mapping-63bdafd3.js +57 -0
  3. package/dist/cjs/file-extension-7c2eae39.js +22 -0
  4. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  5. package/dist/cjs/limebb-document-chips.cjs.entry.js +407 -0
  6. package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
  7. package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
  9. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
  10. package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
  11. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  12. package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
  14. package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +2 -2
  18. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
  19. package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +3 -3
  20. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
  21. package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
  23. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -55
  24. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
  25. package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
  26. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
  27. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +25 -3
  28. package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
  29. package/dist/cjs/limebb-object-chip.cjs.entry.js +1 -1
  30. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
  31. package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
  32. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/collection/collection-manifest.json +1 -0
  35. package/dist/collection/components/document-chips/document-chips.css +20 -0
  36. package/dist/collection/components/document-chips/document-chips.js +178 -0
  37. package/dist/collection/components/document-chips/document-chips.types.js +1 -0
  38. package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
  39. package/dist/collection/components/document-picker/document-picker.js +1 -1
  40. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
  41. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
  42. package/dist/collection/components/feed/feed.js +1 -1
  43. package/dist/collection/components/icon-picker/icon-picker.js +1 -1
  44. package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
  45. package/dist/collection/components/info-tile/info-tile.js +1 -1
  46. package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
  47. package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
  48. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
  49. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
  50. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
  51. package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
  52. package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
  53. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
  54. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
  55. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
  56. package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
  57. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  58. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  59. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  60. package/dist/collection/components/object-chip/object-chip.css +1 -0
  61. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  62. package/dist/collection/components/summary-popover/summary-popover.js +49 -3
  63. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  64. package/dist/collection/components/text-editor/text-editor.js +1 -1
  65. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  66. package/dist/collection/util/file-extension.js +18 -0
  67. package/dist/collection/util/file-icon-background-colors.js +98 -0
  68. package/dist/collection/util/file-icon-fill-colors.js +98 -0
  69. package/dist/collection/util/file-icon.js +18 -0
  70. package/dist/collection/util/file-icons.js +99 -0
  71. package/dist/components/document-item.js +2 -2
  72. package/dist/components/extension-mapping.js +55 -0
  73. package/dist/components/feed-item-thumbnail-file-info.js +1 -1
  74. package/dist/components/feed-timeline-item.js +1 -1
  75. package/dist/components/kanban-group.js +1 -1
  76. package/dist/components/kanban-item.js +1 -1
  77. package/dist/components/lime-query-filter-comparison.js +1 -1
  78. package/dist/components/lime-query-filter-expression.js +3 -3
  79. package/dist/components/limebb-document-chips.d.ts +11 -0
  80. package/dist/components/limebb-document-chips.js +437 -0
  81. package/dist/components/limebb-document-picker.js +1 -1
  82. package/dist/components/limebb-feed.js +1 -1
  83. package/dist/components/limebb-icon-picker.js +1 -1
  84. package/dist/components/limebb-info-tile-format.js +1 -1
  85. package/dist/components/limebb-info-tile.js +1 -1
  86. package/dist/components/limebb-lime-query-builder.js +1 -1
  87. package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
  88. package/dist/components/limebb-limeobject-file-viewer.js +1 -54
  89. package/dist/components/limebb-locale-picker.js +1 -1
  90. package/dist/components/limebb-mention-group-counter.js +2 -2
  91. package/dist/components/limebb-object-chip.js +1 -1
  92. package/dist/components/limebb-text-editor.js +1 -1
  93. package/dist/components/limebb-trend-indicator.js +1 -1
  94. package/dist/components/limetype-field.js +1 -1
  95. package/dist/components/live-docs-info.js +2 -2
  96. package/dist/components/notification-item.js +1 -1
  97. package/dist/components/order-by-editor.js +1 -1
  98. package/dist/components/order-by-item.js +2 -2
  99. package/dist/components/percentage-visualizer.js +2 -2
  100. package/dist/components/response-format-item.js +1 -1
  101. package/dist/components/summary-popover.js +45 -4
  102. package/dist/esm/extension-mapping-fcade195.js +55 -0
  103. package/dist/esm/file-extension-568475d1.js +20 -0
  104. package/dist/esm/lime-crm-building-blocks.js +1 -1
  105. package/dist/esm/limebb-document-chips.entry.js +403 -0
  106. package/dist/esm/limebb-document-item.entry.js +2 -2
  107. package/dist/esm/limebb-document-picker.entry.js +1 -1
  108. package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
  109. package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
  110. package/dist/esm/limebb-feed.entry.js +1 -1
  111. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  112. package/dist/esm/limebb-info-tile-format.entry.js +1 -1
  113. package/dist/esm/limebb-info-tile.entry.js +1 -1
  114. package/dist/esm/limebb-kanban-group.entry.js +1 -1
  115. package/dist/esm/limebb-kanban-item.entry.js +1 -1
  116. package/dist/esm/limebb-lime-query-builder.entry.js +1 -1
  117. package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +2 -2
  118. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
  119. package/dist/esm/limebb-lime-query-filter-group_3.entry.js +3 -3
  120. package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
  121. package/dist/esm/limebb-lime-query-response-format-builder.entry.js +1 -1
  122. package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
  123. package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -54
  124. package/dist/esm/limebb-live-docs-info.entry.js +2 -2
  125. package/dist/esm/limebb-locale-picker.entry.js +1 -1
  126. package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
  127. package/dist/esm/limebb-navigation-button_2.entry.js +25 -3
  128. package/dist/esm/limebb-notification-item.entry.js +1 -1
  129. package/dist/esm/limebb-object-chip.entry.js +1 -1
  130. package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
  131. package/dist/esm/limebb-text-editor.entry.js +1 -1
  132. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  133. package/dist/esm/loader.js +1 -1
  134. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  135. package/dist/lime-crm-building-blocks/{p-0c25d565.entry.js → p-0d0f4c0f.entry.js} +1 -1
  136. package/dist/lime-crm-building-blocks/{p-35b75e49.entry.js → p-18d1ab86.entry.js} +1 -1
  137. package/dist/lime-crm-building-blocks/{p-551ffa9f.entry.js → p-1e3e06be.entry.js} +1 -1
  138. package/dist/lime-crm-building-blocks/{p-ddf0dcbc.entry.js → p-20b5ff30.entry.js} +1 -1
  139. package/dist/lime-crm-building-blocks/{p-b2e705bc.entry.js → p-22fffe85.entry.js} +1 -1
  140. package/dist/lime-crm-building-blocks/{p-83ff2b4c.entry.js → p-2ed843e9.entry.js} +1 -1
  141. package/dist/lime-crm-building-blocks/{p-14cd62c1.entry.js → p-375f40d9.entry.js} +1 -1
  142. package/dist/lime-crm-building-blocks/{p-c09dcd4c.entry.js → p-3a7b37cc.entry.js} +1 -1
  143. package/dist/lime-crm-building-blocks/{p-3443a292.entry.js → p-3b3e7328.entry.js} +1 -1
  144. package/dist/lime-crm-building-blocks/{p-a4f367f8.entry.js → p-4dad4ce8.entry.js} +1 -1
  145. package/dist/lime-crm-building-blocks/p-50aad872.entry.js +1 -0
  146. package/dist/lime-crm-building-blocks/{p-9161869b.entry.js → p-53d54dc8.entry.js} +1 -1
  147. package/dist/lime-crm-building-blocks/{p-1d44c670.entry.js → p-6bd5c65f.entry.js} +1 -1
  148. package/dist/lime-crm-building-blocks/p-6bf1ab6d.entry.js +1 -0
  149. package/dist/lime-crm-building-blocks/{p-0536bf83.entry.js → p-7a6c1595.entry.js} +1 -1
  150. package/dist/lime-crm-building-blocks/{p-9aad6195.entry.js → p-7b5a1e83.entry.js} +1 -1
  151. package/dist/lime-crm-building-blocks/{p-df13ebba.entry.js → p-812bf26e.entry.js} +1 -1
  152. package/dist/lime-crm-building-blocks/{p-385020b4.entry.js → p-81f8e5df.entry.js} +1 -1
  153. package/dist/lime-crm-building-blocks/{p-4d9244e7.entry.js → p-94e6f0de.entry.js} +1 -1
  154. package/dist/lime-crm-building-blocks/{p-6c67ed0e.entry.js → p-9bc5caac.entry.js} +1 -1
  155. package/dist/lime-crm-building-blocks/{p-283a6f9e.entry.js → p-9c204549.entry.js} +1 -1
  156. package/dist/lime-crm-building-blocks/{p-00414464.entry.js → p-a7e55181.entry.js} +1 -1
  157. package/dist/lime-crm-building-blocks/p-ab2a95a6.js +1 -0
  158. package/dist/lime-crm-building-blocks/p-b42e9740.js +1 -0
  159. package/dist/lime-crm-building-blocks/{p-5d0874f6.entry.js → p-d5b835a6.entry.js} +1 -1
  160. package/dist/lime-crm-building-blocks/p-d7fc530f.entry.js +1 -0
  161. package/dist/lime-crm-building-blocks/{p-401ccdec.entry.js → p-d9f76810.entry.js} +1 -1
  162. package/dist/lime-crm-building-blocks/{p-2395476f.entry.js → p-dddd8a43.entry.js} +1 -1
  163. package/dist/lime-crm-building-blocks/{p-77ef7ad1.entry.js → p-ed14ca30.entry.js} +1 -1
  164. package/dist/lime-crm-building-blocks/{p-711df3e6.entry.js → p-f8520955.entry.js} +1 -1
  165. package/dist/types/components/document-chips/document-chips.d.ts +45 -0
  166. package/dist/types/components/document-chips/document-chips.types.d.ts +23 -0
  167. package/dist/types/components/summary-popover/summary-popover.d.ts +10 -1
  168. package/dist/types/components.d.ts +110 -0
  169. package/dist/types/interface.d.ts +1 -0
  170. package/dist/types/util/file-extension.d.ts +10 -0
  171. package/dist/types/util/file-icon-background-colors.d.ts +3 -0
  172. package/dist/types/util/file-icon-fill-colors.d.ts +3 -0
  173. package/dist/types/util/file-icon.d.ts +9 -0
  174. package/dist/types/util/file-icons.d.ts +3 -0
  175. package/package.json +2 -2
  176. package/dist/lime-crm-building-blocks/p-7b9981b9.entry.js +0 -1
  177. package/dist/lime-crm-building-blocks/p-d2bd2fc3.entry.js +0 -1
@@ -0,0 +1,403 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-d86e55c0.js';
2
+ import { g as getPreviewType } from './extension-mapping-fcade195.js';
3
+ import { g as getFileExtension } from './file-extension-568475d1.js';
4
+
5
+ // Copy of file icon names from lime-elements.
6
+ // Source: lime-elements/src/components/file/icons.ts
7
+ //
8
+ // Stencil doesn't support exporting utility functions from a component
9
+ // library, so we duplicate them here until a proper shared solution exists.
10
+ const DEFAULT_ICON = 'file';
11
+ const CALENDAR_ICON = 'tear_off_calendar';
12
+ const EMAIL_ICON = 'email';
13
+ const HTML_ICON = 'internet';
14
+ const TEXT_ICON = 'text_box';
15
+ const EXCEL_ICON = 'ms_excel_copyrighted';
16
+ const WORD_ICON = 'ms_word_copyrighted';
17
+ const POWERPOINT_ICON = 'ms_powerpoint_copyrighted';
18
+ const IMAGE_ICON = 'picture';
19
+ const PHOTO_ICON = 'camera';
20
+ const VECTOR_GRAPHIC_ICON = 'vector';
21
+ const PRESENTATION_ICON = 'presentation_filled';
22
+ const DOCUMENT_ICON = 'overview_pages_2';
23
+ const SPREADSHEET_ICON = 'data_sheet';
24
+ const AUDIO_ICON = 'audio_wave';
25
+ const VIDEO_ICON = 'video_file';
26
+ const COMPRESSED_ICON = 'condom_package';
27
+ const MESSAGE_ICON = 'ms_outlook_copyrighted';
28
+ const DATA_ICON = 'database';
29
+ const DEFAULT_FILE_ICON = DEFAULT_ICON;
30
+ const filetypeIconTable = {
31
+ msg: MESSAGE_ICON,
32
+ ics: CALENDAR_ICON,
33
+ ical: CALENDAR_ICON,
34
+ icalendar: CALENDAR_ICON,
35
+ ifb: CALENDAR_ICON,
36
+ email: EMAIL_ICON,
37
+ eml: EMAIL_ICON,
38
+ oft: EMAIL_ICON,
39
+ ost: EMAIL_ICON,
40
+ emlx: EMAIL_ICON,
41
+ html: HTML_ICON,
42
+ xml: HTML_ICON,
43
+ txt: TEXT_ICON,
44
+ rtf: TEXT_ICON,
45
+ dot: WORD_ICON,
46
+ doc: WORD_ICON,
47
+ docx: WORD_ICON,
48
+ dotx: WORD_ICON,
49
+ docm: WORD_ICON,
50
+ dotm: WORD_ICON,
51
+ odt: DOCUMENT_ICON,
52
+ pages: DOCUMENT_ICON,
53
+ pdf: 'PDF_2',
54
+ ppt: POWERPOINT_ICON,
55
+ pot: POWERPOINT_ICON,
56
+ pps: POWERPOINT_ICON,
57
+ pptx: POWERPOINT_ICON,
58
+ pptm: POWERPOINT_ICON,
59
+ potx: POWERPOINT_ICON,
60
+ potm: POWERPOINT_ICON,
61
+ ppam: POWERPOINT_ICON,
62
+ ppsx: POWERPOINT_ICON,
63
+ ppsm: POWERPOINT_ICON,
64
+ sldx: POWERPOINT_ICON,
65
+ sldm: POWERPOINT_ICON,
66
+ odp: PRESENTATION_ICON,
67
+ key: PRESENTATION_ICON,
68
+ xls: EXCEL_ICON,
69
+ xlsx: EXCEL_ICON,
70
+ csv: SPREADSHEET_ICON,
71
+ numbers: SPREADSHEET_ICON,
72
+ jpg: PHOTO_ICON,
73
+ jpeg: PHOTO_ICON,
74
+ heic: PHOTO_ICON,
75
+ bmp: IMAGE_ICON,
76
+ png: IMAGE_ICON,
77
+ gif: IMAGE_ICON,
78
+ psd: 'adobe_photoshop_copyrighted',
79
+ ai: 'adobe_illustrator_copyrighted',
80
+ svg: VECTOR_GRAPHIC_ICON,
81
+ svgz: VECTOR_GRAPHIC_ICON,
82
+ ep: VECTOR_GRAPHIC_ICON,
83
+ eps: VECTOR_GRAPHIC_ICON,
84
+ sketch: VECTOR_GRAPHIC_ICON,
85
+ mp3: AUDIO_ICON,
86
+ wav: AUDIO_ICON,
87
+ wma: AUDIO_ICON,
88
+ ogg: AUDIO_ICON,
89
+ avi: VIDEO_ICON,
90
+ flv: VIDEO_ICON,
91
+ h264: VIDEO_ICON,
92
+ mov: VIDEO_ICON,
93
+ mp4: VIDEO_ICON,
94
+ mwv: VIDEO_ICON,
95
+ zip: COMPRESSED_ICON,
96
+ '7z': COMPRESSED_ICON,
97
+ rar: COMPRESSED_ICON,
98
+ json: 'json',
99
+ yaml: DATA_ICON,
100
+ sql: DATA_ICON,
101
+ db: DATA_ICON,
102
+ dbf: DATA_ICON,
103
+ };
104
+
105
+ // Copy of file icon fill colors from lime-elements.
106
+ // Source: lime-elements/src/components/file/icon-fill-colors.ts
107
+ //
108
+ // Stencil doesn't support exporting utility functions from a component
109
+ // library, so we duplicate them here until a proper shared solution exists.
110
+ const DEFAULT_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
111
+ const CALENDAR_ICON_FILL_COLOR = 'rgb(var(--color-cyan-dark))';
112
+ const EMAIL_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
113
+ const HTML_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
114
+ const TEXT_ICON_FILL_COLOR = 'rgb(var(--color-yellow-darker))';
115
+ const EXCEL_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
116
+ const POWERPOINT_ICON_FILL_COLOR = 'rgb(var(--color-coral-dark))';
117
+ const WORD_ICON_FILL_COLOR = 'rgb(var(--color-sky-dark))';
118
+ const IMAGE_ICON_FILL_COLOR = 'rgb(var(--color-lime-dark))';
119
+ const VECTOR_GRAPHIC_FILL_COLOR = 'rgb(var(--color-magenta-dark))';
120
+ const PRESENTATION_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
121
+ const DOCUMENT_ICON_FILL_COLOR = 'rgb(var(--color-orange-dark))';
122
+ const SPREADSHEET_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
123
+ const AUDIO_ICON_FILL_COLOR = 'rgb(var(--color-indigo-dark))';
124
+ const VIDEO_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
125
+ const COMPRESSED_ICON_FILL_COLOR = 'rgb(var(--color-brown-default))';
126
+ const MESSAGE_ICON_FILL_COLOR = 'rgb(var(--color-yellow-dark))';
127
+ const PDF_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
128
+ const DATA_ICON_FILL_COLOR = 'rgb(var(--color-glaucous-dark))';
129
+ const DEFAULT_ICON_FILL = DEFAULT_ICON_FILL_COLOR;
130
+ const filetypeFillColorTable = {
131
+ msg: MESSAGE_ICON_FILL_COLOR,
132
+ ics: CALENDAR_ICON_FILL_COLOR,
133
+ ical: CALENDAR_ICON_FILL_COLOR,
134
+ icalendar: CALENDAR_ICON_FILL_COLOR,
135
+ ifb: CALENDAR_ICON_FILL_COLOR,
136
+ email: EMAIL_ICON_FILL_COLOR,
137
+ eml: EMAIL_ICON_FILL_COLOR,
138
+ oft: EMAIL_ICON_FILL_COLOR,
139
+ ost: EMAIL_ICON_FILL_COLOR,
140
+ emlx: EMAIL_ICON_FILL_COLOR,
141
+ html: HTML_ICON_FILL_COLOR,
142
+ xml: HTML_ICON_FILL_COLOR,
143
+ txt: TEXT_ICON_FILL_COLOR,
144
+ rtf: TEXT_ICON_FILL_COLOR,
145
+ dot: WORD_ICON_FILL_COLOR,
146
+ doc: WORD_ICON_FILL_COLOR,
147
+ docx: WORD_ICON_FILL_COLOR,
148
+ dotx: WORD_ICON_FILL_COLOR,
149
+ docm: WORD_ICON_FILL_COLOR,
150
+ dotm: WORD_ICON_FILL_COLOR,
151
+ odt: DOCUMENT_ICON_FILL_COLOR,
152
+ pages: DOCUMENT_ICON_FILL_COLOR,
153
+ pdf: PDF_ICON_FILL_COLOR,
154
+ ppt: POWERPOINT_ICON_FILL_COLOR,
155
+ pot: POWERPOINT_ICON_FILL_COLOR,
156
+ pps: POWERPOINT_ICON_FILL_COLOR,
157
+ pptx: POWERPOINT_ICON_FILL_COLOR,
158
+ pptm: POWERPOINT_ICON_FILL_COLOR,
159
+ potx: POWERPOINT_ICON_FILL_COLOR,
160
+ potm: POWERPOINT_ICON_FILL_COLOR,
161
+ ppam: POWERPOINT_ICON_FILL_COLOR,
162
+ ppsx: POWERPOINT_ICON_FILL_COLOR,
163
+ ppsm: POWERPOINT_ICON_FILL_COLOR,
164
+ sldx: POWERPOINT_ICON_FILL_COLOR,
165
+ sldm: POWERPOINT_ICON_FILL_COLOR,
166
+ odp: PRESENTATION_ICON_FILL_COLOR,
167
+ key: PRESENTATION_ICON_FILL_COLOR,
168
+ xls: EXCEL_ICON_FILL_COLOR,
169
+ xlsx: EXCEL_ICON_FILL_COLOR,
170
+ csv: DEFAULT_ICON_FILL_COLOR,
171
+ numbers: SPREADSHEET_ICON_FILL_COLOR,
172
+ bmp: IMAGE_ICON_FILL_COLOR,
173
+ jpg: IMAGE_ICON_FILL_COLOR,
174
+ jpeg: IMAGE_ICON_FILL_COLOR,
175
+ heic: IMAGE_ICON_FILL_COLOR,
176
+ png: IMAGE_ICON_FILL_COLOR,
177
+ gif: IMAGE_ICON_FILL_COLOR,
178
+ psd: PRESENTATION_ICON_FILL_COLOR,
179
+ ai: DOCUMENT_ICON_FILL_COLOR,
180
+ svg: VECTOR_GRAPHIC_FILL_COLOR,
181
+ svgz: VECTOR_GRAPHIC_FILL_COLOR,
182
+ ep: VECTOR_GRAPHIC_FILL_COLOR,
183
+ eps: VECTOR_GRAPHIC_FILL_COLOR,
184
+ sketch: VECTOR_GRAPHIC_FILL_COLOR,
185
+ mp3: AUDIO_ICON_FILL_COLOR,
186
+ wav: AUDIO_ICON_FILL_COLOR,
187
+ wma: AUDIO_ICON_FILL_COLOR,
188
+ ogg: AUDIO_ICON_FILL_COLOR,
189
+ flv: VIDEO_ICON_FILL_COLOR,
190
+ h264: VIDEO_ICON_FILL_COLOR,
191
+ mov: VIDEO_ICON_FILL_COLOR,
192
+ mp4: VIDEO_ICON_FILL_COLOR,
193
+ mwv: VIDEO_ICON_FILL_COLOR,
194
+ zip: COMPRESSED_ICON_FILL_COLOR,
195
+ '7z': COMPRESSED_ICON_FILL_COLOR,
196
+ rar: COMPRESSED_ICON_FILL_COLOR,
197
+ json: DATA_ICON_FILL_COLOR,
198
+ yaml: DATA_ICON_FILL_COLOR,
199
+ sql: DATA_ICON_FILL_COLOR,
200
+ db: DATA_ICON_FILL_COLOR,
201
+ dbf: DATA_ICON_FILL_COLOR,
202
+ };
203
+
204
+ // Copy of file icon background colors from lime-elements.
205
+ // Source: lime-elements/src/components/file/icon-background-colors.ts
206
+ //
207
+ // Stencil doesn't support exporting utility functions from a component
208
+ // library, so we duplicate them here until a proper shared solution exists.
209
+ const DEFAULT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
210
+ const CALENDAR_ICON_BACKGROUND_COLOR = 'rgba(var(--color-cyan-lighter), 0.4)';
211
+ const EMAIL_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
212
+ const HTML_ICON_BACKGROUND_COLOR = 'rgba(var(--color-blue-lighter), 0.4)';
213
+ const TEXT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-yellow-lighter), 0.4)';
214
+ const EXCEL_ICON_BACKGROUND_COLOR = 'rgba(var(--color-green-lighter), 0.4)';
215
+ const POWERPOINT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-coral-lighter), 0.4)';
216
+ const WORD_ICON_BACKGROUND_COLOR = 'rgba(var(--color-sky-lighter), 0.4)';
217
+ const IMAGE_ICON_BACKGROUND_COLOR = 'rgba(var(--color-lime-lighter), 0.4)';
218
+ const VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR = 'rgba(var(--color-magenta-lighter), 0.4)';
219
+ const PRESENTATION_BACKGROUND_COLOR = 'rgba(var(--color-blue-lighter), 0.4)';
220
+ const DOCUMENT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-orange-lighter), 0.4)';
221
+ const SPREADSHEET_ICON_BACKGROUND_COLOR = 'rgba(var(--color-green-lighter), 0.4)';
222
+ const AUDIO_ICON_BACKGROUND_COLOR = 'rgba(var(--color-indigo-lighter), 0.4)';
223
+ const VIDEO_ICON_BACKGROUND_COLOR = 'rgba(var(--color-red-lighter), 0.4)';
224
+ const COMPRESSED_ICON_BACKGROUND_COLOR = 'rgba(var(--color-orange-lighter), 0.4)';
225
+ const MESSAGE_ICON_BACKGROUND_COLOR = 'rgba(var(--color-yellow-lighter), 0.4)';
226
+ const PDF_ICON_BACKGROUND_COLOR = 'rgba(var(--color-red-lighter), 0.4)';
227
+ const DATA_ICON_BACKGROUND_COLOR = 'rgba(var(--color-glaucous-lighter), 0.4)';
228
+ const DEFAULT_ICON_BACKGROUND = DEFAULT_ICON_BACKGROUND_COLOR;
229
+ const filetypeBackgroundColorTable = {
230
+ msg: MESSAGE_ICON_BACKGROUND_COLOR,
231
+ ics: CALENDAR_ICON_BACKGROUND_COLOR,
232
+ ical: CALENDAR_ICON_BACKGROUND_COLOR,
233
+ icalendar: CALENDAR_ICON_BACKGROUND_COLOR,
234
+ ifb: CALENDAR_ICON_BACKGROUND_COLOR,
235
+ email: EMAIL_ICON_BACKGROUND_COLOR,
236
+ eml: EMAIL_ICON_BACKGROUND_COLOR,
237
+ oft: EMAIL_ICON_BACKGROUND_COLOR,
238
+ ost: EMAIL_ICON_BACKGROUND_COLOR,
239
+ emlx: EMAIL_ICON_BACKGROUND_COLOR,
240
+ html: HTML_ICON_BACKGROUND_COLOR,
241
+ xml: HTML_ICON_BACKGROUND_COLOR,
242
+ txt: TEXT_ICON_BACKGROUND_COLOR,
243
+ rtf: TEXT_ICON_BACKGROUND_COLOR,
244
+ dot: WORD_ICON_BACKGROUND_COLOR,
245
+ doc: WORD_ICON_BACKGROUND_COLOR,
246
+ docx: WORD_ICON_BACKGROUND_COLOR,
247
+ dotx: WORD_ICON_BACKGROUND_COLOR,
248
+ docm: WORD_ICON_BACKGROUND_COLOR,
249
+ dotm: WORD_ICON_BACKGROUND_COLOR,
250
+ odt: DOCUMENT_ICON_BACKGROUND_COLOR,
251
+ pages: DOCUMENT_ICON_BACKGROUND_COLOR,
252
+ pdf: PDF_ICON_BACKGROUND_COLOR,
253
+ ppt: POWERPOINT_ICON_BACKGROUND_COLOR,
254
+ pot: POWERPOINT_ICON_BACKGROUND_COLOR,
255
+ pps: POWERPOINT_ICON_BACKGROUND_COLOR,
256
+ pptx: POWERPOINT_ICON_BACKGROUND_COLOR,
257
+ pptm: POWERPOINT_ICON_BACKGROUND_COLOR,
258
+ potx: POWERPOINT_ICON_BACKGROUND_COLOR,
259
+ potm: POWERPOINT_ICON_BACKGROUND_COLOR,
260
+ ppam: POWERPOINT_ICON_BACKGROUND_COLOR,
261
+ ppsx: POWERPOINT_ICON_BACKGROUND_COLOR,
262
+ ppsm: POWERPOINT_ICON_BACKGROUND_COLOR,
263
+ sldx: POWERPOINT_ICON_BACKGROUND_COLOR,
264
+ sldm: POWERPOINT_ICON_BACKGROUND_COLOR,
265
+ odp: PRESENTATION_BACKGROUND_COLOR,
266
+ key: PRESENTATION_BACKGROUND_COLOR,
267
+ xls: EXCEL_ICON_BACKGROUND_COLOR,
268
+ xlsx: EXCEL_ICON_BACKGROUND_COLOR,
269
+ csv: DEFAULT_ICON_BACKGROUND_COLOR,
270
+ numbers: SPREADSHEET_ICON_BACKGROUND_COLOR,
271
+ bmp: IMAGE_ICON_BACKGROUND_COLOR,
272
+ jpg: IMAGE_ICON_BACKGROUND_COLOR,
273
+ jpeg: IMAGE_ICON_BACKGROUND_COLOR,
274
+ heic: IMAGE_ICON_BACKGROUND_COLOR,
275
+ png: IMAGE_ICON_BACKGROUND_COLOR,
276
+ gif: IMAGE_ICON_BACKGROUND_COLOR,
277
+ psd: PRESENTATION_BACKGROUND_COLOR,
278
+ ai: DOCUMENT_ICON_BACKGROUND_COLOR,
279
+ svg: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
280
+ svgz: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
281
+ ep: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
282
+ eps: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
283
+ sketch: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
284
+ mp3: AUDIO_ICON_BACKGROUND_COLOR,
285
+ wav: AUDIO_ICON_BACKGROUND_COLOR,
286
+ wma: AUDIO_ICON_BACKGROUND_COLOR,
287
+ ogg: AUDIO_ICON_BACKGROUND_COLOR,
288
+ flv: VIDEO_ICON_BACKGROUND_COLOR,
289
+ h264: VIDEO_ICON_BACKGROUND_COLOR,
290
+ mov: VIDEO_ICON_BACKGROUND_COLOR,
291
+ mp4: VIDEO_ICON_BACKGROUND_COLOR,
292
+ mwv: VIDEO_ICON_BACKGROUND_COLOR,
293
+ zip: COMPRESSED_ICON_BACKGROUND_COLOR,
294
+ '7z': COMPRESSED_ICON_BACKGROUND_COLOR,
295
+ rar: COMPRESSED_ICON_BACKGROUND_COLOR,
296
+ json: DATA_ICON_BACKGROUND_COLOR,
297
+ yaml: DATA_ICON_BACKGROUND_COLOR,
298
+ sql: DATA_ICON_BACKGROUND_COLOR,
299
+ db: DATA_ICON_BACKGROUND_COLOR,
300
+ dbf: DATA_ICON_BACKGROUND_COLOR,
301
+ };
302
+
303
+ /**
304
+ * Returns an icon with name, fill color, and background color
305
+ * based on the file extension of the given filename.
306
+ *
307
+ * @param filename - the filename to get the icon for
308
+ */
309
+ function getFileIcon(filename) {
310
+ const extension = getFileExtension(filename);
311
+ return {
312
+ name: filetypeIconTable[extension] || DEFAULT_FILE_ICON,
313
+ color: filetypeFillColorTable[extension] || DEFAULT_ICON_FILL,
314
+ backgroundColor: filetypeBackgroundColorTable[extension] || DEFAULT_ICON_BACKGROUND,
315
+ };
316
+ }
317
+
318
+ const documentChipsCss = ":host(limebb-document-chips){box-sizing:border-box;display:flex;flex-wrap:wrap;gap:0.25rem;width:100%}*{box-sizing:border-box;min-width:0}limebb-summary-popover{max-width:100%}limel-chip{max-width:18rem}";
319
+ const LimebbDocumentChipsStyle0 = documentChipsCss;
320
+
321
+ const DocumentChips = class {
322
+ constructor(hostRef) {
323
+ registerInstance(this, hostRef);
324
+ this.removeFile = createEvent(this, "removeFile", 7);
325
+ /**
326
+ * The list of files to display as document chips.
327
+ */
328
+ this.files = [];
329
+ this.blobUrls = new Map();
330
+ this.handleRemove = (event) => {
331
+ event.stopPropagation();
332
+ const fileId = event.detail;
333
+ this.revokeBlobUrl(fileId);
334
+ this.removeFile.emit(fileId);
335
+ };
336
+ }
337
+ onFilesChanged(newFiles, oldFiles) {
338
+ const currentIds = new Set(newFiles.map((file) => file.id));
339
+ for (const file of oldFiles) {
340
+ if (!currentIds.has(file.id)) {
341
+ this.revokeBlobUrl(file.id);
342
+ }
343
+ }
344
+ }
345
+ disconnectedCallback() {
346
+ this.revokeAllBlobUrls();
347
+ }
348
+ render() {
349
+ return (h(Host, { key: '6c8347de35ccd6061c8fa282820210f6a3bcc2c8', role: "list", "aria-label": this.accessibleLabel }, this.files.map((file) => this.renderFile(file))));
350
+ }
351
+ renderFile(file) {
352
+ const isReady = !file.uploadState || file.uploadState === 'done';
353
+ const icon = this.getIcon(file);
354
+ const chip = (h("limel-chip", { role: isReady ? undefined : 'listitem', slot: isReady ? 'trigger' : undefined, removable: true, identifier: file.id, text: file.filename, icon: icon, invalid: file.uploadState === 'failed', progress: file.uploadState === 'uploading'
355
+ ? file.uploadProgress
356
+ : undefined, loading: file.uploadState === 'added' ||
357
+ file.uploadState === 'finalizing', onRemove: this.handleRemove }));
358
+ if (!isReady) {
359
+ return chip;
360
+ }
361
+ return (h("limebb-summary-popover", { role: "listitem", file: Object.assign(Object.assign({}, file), { href: this.getPreviewUrl(file) }), popoverMaxWidth: "32rem", popoverMaxHeight: "32rem", triggerDelay: 1000 }, chip));
362
+ }
363
+ getIcon(file) {
364
+ if (file.icon) {
365
+ return file.icon;
366
+ }
367
+ return getFileIcon(file.filename);
368
+ }
369
+ getPreviewUrl(file) {
370
+ const extension = getFileExtension(file.filename);
371
+ const previewType = getPreviewType(extension);
372
+ if (previewType === 'sharepoint') {
373
+ return undefined;
374
+ }
375
+ if (file.href) {
376
+ return file.href;
377
+ }
378
+ if (file.fileContent) {
379
+ if (!this.blobUrls.has(file.id)) {
380
+ this.blobUrls.set(file.id, URL.createObjectURL(file.fileContent));
381
+ }
382
+ return this.blobUrls.get(file.id);
383
+ }
384
+ }
385
+ revokeBlobUrl(fileId) {
386
+ const url = this.blobUrls.get(fileId);
387
+ if (url) {
388
+ URL.revokeObjectURL(url);
389
+ this.blobUrls.delete(fileId);
390
+ }
391
+ }
392
+ revokeAllBlobUrls() {
393
+ for (const url of this.blobUrls.values())
394
+ URL.revokeObjectURL(url);
395
+ this.blobUrls.clear();
396
+ }
397
+ static get watchers() { return {
398
+ "files": ["onFilesChanged"]
399
+ }; }
400
+ };
401
+ DocumentChips.style = LimebbDocumentChipsStyle0;
402
+
403
+ export { DocumentChips as limebb_document_chips };
@@ -115,10 +115,10 @@ const DocumentItemComponent = class {
115
115
  render() {
116
116
  const isUnavailable = this.isUnavailable();
117
117
  const image = this.getImage();
118
- return (h(Host, { key: 'dcde12cbad8827bf2a24aeed5f79a2a142ccd447', id: String(this.item.file.id), class: {
118
+ return (h(Host, { key: 'b8c73e13073f66162b66a62f88b8b301a6a139d4', id: String(this.item.file.id), class: {
119
119
  'has-image': !!image,
120
120
  'has-error': !!this.item.hasError,
121
- }, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, h("limel-card", { key: '9ff6628132ce3d11e0f714dc986a7e22cd0c7a76', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, h("div", { key: '64d7d70132e981fdb8d2e19edf467bfa25b5957e', slot: "component" }, this.renderFileSize(), this.renderBooleanInput())), this.renderHelp()));
121
+ }, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, h("limel-card", { key: '19cf30dc7a3ce2647ddc2abbd177b9f18db8001d', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'd3a2c411d3cbbe4e554f9701af6f2191a4b2078d', slot: "component" }, this.renderFileSize(), this.renderBooleanInput())), this.renderHelp()));
122
122
  }
123
123
  renderBooleanInput() {
124
124
  const id = this.getControlId();
@@ -67,7 +67,7 @@ const DocumentPicker = class {
67
67
  this.labelId = createRandomString();
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: '6554eadab98c010e090558343f2b7fe02f0ff30f' }, h("limel-notched-outline", { key: 'cb70c92e464ec41cc7792825dbf341b73c0d51b5', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, h("limel-masonry-layout", { key: 'b2e41fd16407b1a3218c07a4e205bdb60f442ae3', slot: "content", role: this.type === 'radio' ? 'radiogroup' : 'group', "aria-labelledby": this.label ? this.labelId : undefined, "aria-describedby": this.helperText ? this.helperTextId : undefined }, this.renderItems())), this.renderHelperLine()));
70
+ return (h(Host, { key: '8f6613354bdee3af42920f78325b2e1a76bbf91e' }, h("limel-notched-outline", { key: '9b4b665b76f4c1fc1047052824c7cff1dcd7c495', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, h("limel-masonry-layout", { key: '1578066ee0b76f4344389a91c68b09b5955bae90', slot: "content", role: this.type === 'radio' ? 'radiogroup' : 'group', "aria-labelledby": this.label ? this.labelId : undefined, "aria-describedby": this.helperText ? this.helperTextId : undefined }, this.renderItems())), this.renderHelperLine()));
71
71
  }
72
72
  renderItems() {
73
73
  return this.items.map((item) => (h("limebb-document-item", { platform: this.platform, context: this.context, item: item, key: item.file.id, type: this.type, onInteract: this.handleItemInteract })));
@@ -8,7 +8,7 @@ const FeedItemThumbnailFileInfo = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return h("span", { key: '069a5fa52cbf4a8af6bd2b1a39b06a55b2425cf9' }, this.description);
11
+ return h("span", { key: 'e651265e23288802ee6d89e3cfe5e0f7bd8073c3' }, this.description);
12
12
  }
13
13
  };
14
14
  FeedItemThumbnailFileInfo.style = LimebbFeedItemThumbnailFileInfoStyle0;
@@ -205,7 +205,7 @@ const FeedTimelineItem = class {
205
205
  render() {
206
206
  var _a, _b;
207
207
  const helperTextId = `helper-text-${this.item.id}`;
208
- return (h(Host, { key: '23db557be6e62f605b3d457209d3e03e47b88510', id: this.item.id, class: {
208
+ return (h(Host, { key: 'de138a29c33bcf4b77e6699b4ecc5dd4acde1c56', id: this.item.id, class: {
209
209
  'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
210
210
  'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
211
211
  'shows-less': !this.showMore,
@@ -237,7 +237,7 @@ const Feed = class {
237
237
  this.highlighter.unregisterFeed(this.feedItemElement);
238
238
  }
239
239
  render() {
240
- return (h(Host, { key: 'ba514e5c049d1c06260bca13834317688f5c8966', role: "log", "aria-busy": this.loading ? 'true' : 'false', style: {
240
+ return (h(Host, { key: 'b56f2996447a80c5cf12f83fce2ca05de53553e4', role: "log", "aria-busy": this.loading ? 'true' : 'false', style: {
241
241
  '--limebb-feed-highlight-duration': `${ITEM_HIGHLIGHT_DURATION}ms`,
242
242
  } }, this.renderLoadMore(), this.renderEmptyFeedMessage(), this.renderSpinner(), this.renderFeedItems()));
243
243
  }
@@ -52993,7 +52993,7 @@ const IconPicker = class {
52993
52993
  icon: this.value,
52994
52994
  };
52995
52995
  }
52996
- return (h("limel-picker", { key: '9ab148e0ae9bf8095b4f018303b7d13821a8ce83', label: this.label, helperText: this.helperText, disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, required: this.required, value: value, searcher: this.search, onChange: this.handleChange, badgeIcons: false, leadingIcon: "search", searchLabel: "Start typing to find the right icon" }));
52996
+ return (h("limel-picker", { key: 'd86348e6a8d4e6aa03ac880565cfd53eccfa4aff', label: this.label, helperText: this.helperText, disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, required: this.required, value: value, searcher: this.search, onChange: this.handleChange, badgeIcons: false, leadingIcon: "search", searchLabel: "Start typing to find the right icon" }));
52997
52997
  }
52998
52998
  };
52999
52999
 
@@ -92,7 +92,7 @@ const InfoTileAdminConfig = class {
92
92
  },
93
93
  ];
94
94
  return [
95
- h("limel-button-group", { key: '971f24abda709fdf0b6803037557472bbec9c357', value: buttons.filter(this.isValidButton), onChange: this.handleChangeType }),
95
+ h("limel-button-group", { key: 'cac8e4793eb19e3f4d959a7a53115954b190eddf', value: buttons.filter(this.isValidButton), onChange: this.handleChangeType }),
96
96
  this.renderFormatConfig(),
97
97
  ];
98
98
  }
@@ -433,7 +433,7 @@ const InfoTile = class {
433
433
  const errorProps = Object.assign(Object.assign({}, baseProps), { icon: 'error', prefix: 'ERROR', loading: true, label: this.getLabel(filter) });
434
434
  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() });
435
435
  const props = !filter || this.error ? errorProps : normalProps;
436
- return (h("limel-info-tile", Object.assign({ key: '9634fc3d797fa0382b9e0eca1eabf67c19ffa4a6', class: { error: !filter || this.error } }, props)));
436
+ return (h("limel-info-tile", Object.assign({ key: '1211ee931d2cf7a5a3c13896515812ddbcab29f2', class: { error: !filter || this.error } }, props)));
437
437
  }
438
438
  getFormattedValue() {
439
439
  if (!this.value && this.value !== 0) {
@@ -28,7 +28,7 @@ const KanbanGroup = class {
28
28
  };
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '1257ca054481efc8f33ad7b9fb729ee8304e5539' }, this.renderHelp(), this.renderGroupHeading(), this.renderGroupSummary(), this.renderItems()));
31
+ return (h(Host, { key: '45122f5462476d2c0c9a44af4c5281ef510fdea1' }, this.renderHelp(), this.renderGroupHeading(), this.renderGroupSummary(), this.renderItems()));
32
32
  }
33
33
  renderGroupSummary() {
34
34
  if (!this.summary || !this.totalCount) {
@@ -56,7 +56,7 @@ const KanbanItemComponent = class {
56
56
  }
57
57
  render() {
58
58
  var _a, _b;
59
- return (h(Host, { key: '4c57d77052c3773be3ec323f34769095d514d82b', id: this.item.id.toString(), class: {
59
+ return (h(Host, { key: 'b426be161e49623843ff6c47cddad048177ca441', id: this.item.id.toString(), class: {
60
60
  'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
61
61
  'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
62
62
  }, style: {
@@ -150,7 +150,7 @@ const LimeQueryBuilder = class {
150
150
  }
151
151
  }
152
152
  render() {
153
- return (h(Host, { key: '683e54464031d37a38480a55aed3e3006ec9e806' }, this.renderHeader(), this.renderContent()));
153
+ return (h(Host, { key: '883901b3f445419dad53e7c02dd160ad7483c0cb' }, this.renderHeader(), this.renderContent()));
154
154
  }
155
155
  renderContent() {
156
156
  const visualModeSupported = this.checkVisualModeSupport();
@@ -195,7 +195,7 @@ const OrderByEditor = class {
195
195
  }
196
196
  }
197
197
  render() {
198
- return (h(Host, { key: 'b0caaa11dcb633423bae612e22105de44ed1a7a1' }, this.renderEmptyState(), this.renderOrderByEditor()));
198
+ return (h(Host, { key: 'accbc6c9e4d55d7480a0742da0bc96db3077fbf1' }, this.renderEmptyState(), this.renderOrderByEditor()));
199
199
  }
200
200
  renderEmptyState() {
201
201
  if (this.limetype) {
@@ -323,7 +323,7 @@ const LimetypeField = class {
323
323
  value: '',
324
324
  };
325
325
  options.unshift(emptyOption);
326
- return (h("limel-select", { key: '098e8b2996788bdfdb785e602173c1a75f506661', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
326
+ return (h("limel-select", { key: '6157ed54a38920f001fa79b5a39c48b677826dd5', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
327
327
  }
328
328
  componentWillRender() {
329
329
  this.updatePropertyFields(this.value || '');
@@ -106,7 +106,7 @@ const LimeQueryFilterComparisonComponent = class {
106
106
  };
107
107
  }
108
108
  render() {
109
- return (h(Host, { key: '1bbb2389d353b5a1b174ee5423ab524a350d5810' }, this.renderHeader(), h("div", { key: 'a81fed03577d534e509ddcbc9ef66456191fe53f', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'e3f76847095e0d586d7c72e6750acb220a187e6e', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
109
+ return (h(Host, { key: '008be722e21a16f4e2f80f655f70a564a9b1e38d' }, this.renderHeader(), h("div", { key: '2cd041b142596671c7ead3849406b8fa65c29926', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: '1fb2fc8a0cec0b70f5d3c24a976f0f436a294eae', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
110
110
  }
111
111
  renderHeader() {
112
112
  if (!this.label) {
@@ -180,9 +180,9 @@ const LimeQueryFilterGroupComponent = class {
180
180
  (this.expression.op === re.AND ? 'and' : 'or')) || this.options[0];
181
181
  }
182
182
  render() {
183
- return (h(Host, { key: '3543d72a3edb0c320abb3f9379d338d36ad6d6c4', style: {
183
+ return (h(Host, { key: 'a93a715b9bd65e6e9381083aef11951588471fc5', style: {
184
184
  '--limebb-lime-query-filter-group-operator': `"${this.expression.op === re.AND ? 'AND' : 'OR'}"`,
185
- } }, h("div", { key: '01bed380a233e8add40afb4d45c1606fb28989fc', class: "expression" }, this.renderHeader(), h("ul", { key: '7b6ac524a60a7782ca1ecc7759040d4eca3647ef' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
185
+ } }, h("div", { key: 'efbf025924e34613504f38db66affa1650bfe70c', class: "expression" }, this.renderHeader(), h("ul", { key: '6e287058fb7969124e4f22b42b32b14d80c0511f' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
186
186
  }
187
187
  renderHeader() {
188
188
  const subheading = this.getSubheading();
@@ -237,7 +237,7 @@ const LimeQueryFilterNotComponent = class {
237
237
  };
238
238
  }
239
239
  render() {
240
- return (h("div", { key: '7ee2b42fce778c2239a8537cf3d9ce6808c97d79', class: "expression" }, this.label && h("limel-header", { key: 'd14cadc9ca8522a637614952579c760943df27f9', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'd9b52ba968caafd32405744ebff05f216b805f56', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
240
+ return (h("div", { key: '2967dd36cabe81bc1f140be7d11d471b1f29f5e7', class: "expression" }, this.label && h("limel-header", { key: '5a7ab204d8c0d45706ad61b1db8d1ef3acfb0731', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'ee8ea7f9eeb111d77abbcecd98d61e550ff8cdb9', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
241
241
  }
242
242
  };
243
243
  LimeQueryFilterNotComponent.style = LimebbLimeQueryFilterNotStyle0;
@@ -37,9 +37,9 @@ const OrderByItemComponent = class {
37
37
  render() {
38
38
  const propertyPath = Object.keys(this.item)[0] || '';
39
39
  const direction = this.item[propertyPath] || 'ASC';
40
- return (h(Host, { key: 'c0f53a833675b0f086791cdd408e1cffe4fe0f63' }, h("limebb-property-selector", { key: 'd7dc95d9b452334db487494d012ae80dbd3cc3fb', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'f7e70e87cf611acee5b74f2d04416055834b3dcd', class: "control-buttons" }, h("limel-icon-button", { key: 'ca44aa6f7cd6fbadafafe09540494f95215b4d8c', icon: direction === 'ASC'
40
+ return (h(Host, { key: 'd9acb6f013d44d467410a7ed0f318d668bf54055' }, h("limebb-property-selector", { key: '419cfc3264a1fcae40888cc43f5c60a68f2f23db', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'b85f69b1596a61d6d0b63cf857e5b0382f2b6e8c', class: "control-buttons" }, h("limel-icon-button", { key: 'd7beb38b2452bd41ab1cd5f273292c9e58be15cf', icon: direction === 'ASC'
41
41
  ? 'sort_ascending'
42
- : 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '92a21267fc8c803c59a686064a77103ddcba71fd', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
42
+ : 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '0407b6a44822a4ee182aa95140fe8d9fd01dc377', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
43
43
  }
44
44
  };
45
45
  OrderByItemComponent.style = LimebbLimeQueryOrderByItemStyle0;
@@ -192,7 +192,7 @@ const LimeQueryResponseFormatBuilder = class {
192
192
  }
193
193
  render() {
194
194
  const visualModeSupported = this.checkVisualModeSupport();
195
- return (h("div", { key: '56166271cfd95e3164f6002605de9b4a73d5b850', class: "response-format-builder" }, this.label && h("h1", { key: 'cccc53913dc0ced44b736328a16c85b3db2a61d4', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '765ea2f4a052f78beba9c60157f07711f432293e', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '15a7159322713ab288ef70e8f98aaa11d5064d1f', class: "mode-controls" }, this.renderModeSwitch(visualModeSupported))), !this.visualModeEnabled || this.mode === 'code' ? (h("div", { class: "code-mode" }, this.renderCodeEditor(visualModeSupported))) : (h("div", { class: "visual-mode" }, this.renderVisualMode()))));
195
+ return (h("div", { key: '7f4adae0e3f4d14194fc558600db983f45fe760a', class: "response-format-builder" }, this.label && h("h1", { key: 'eeb78bdccf2f8e344de742618b72a7bb341e5bf5', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '03ff96e0645d03377b28c048f02d868046f17903', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '65ca3551326e0ec4deff00aff4a19aec2fee9702', class: "mode-controls" }, this.renderModeSwitch(visualModeSupported))), !this.visualModeEnabled || this.mode === 'code' ? (h("div", { class: "code-mode" }, this.renderCodeEditor(visualModeSupported))) : (h("div", { class: "visual-mode" }, this.renderVisualMode()))));
196
196
  }
197
197
  renderModeSwitch(support) {
198
198
  const visualDisabled = !support.visualModeSupported;
@@ -359,7 +359,7 @@ const ResponseFormatItem = class {
359
359
  }
360
360
  render() {
361
361
  return [
362
- h("div", { key: 'c3620eddb3e12eba09262f80997a56d83cf6cc83', class: "property-controls" }, h("div", { key: 'fea873463b097f78e65586956e3b235d123453b4', class: "property-path" }, h("limebb-property-selector", { key: '7a01e8d7723f00caecf23d71cf8795357200ad3e', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: 'a8be4ce31636be8e2f55d222dd93efe4cc456178', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '38e2c185b5c69feb2aa7b734a1b55786687b6459', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '09310ff2237d191a20a8804cb011f10fc852e425', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: 'acc1b919770d035745e05f3811043ad189443566', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
362
+ h("div", { key: '5f95a0ebd3f9eb632405f2bf8f1ac14a00042c5a', class: "property-controls" }, h("div", { key: '26d132043bf28e243749b97f7e5d3e439b2756dc', class: "property-path" }, h("limebb-property-selector", { key: '7c7616d91cd4a51648e22171ba921e7586b2e1f0', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: '805a1a1776eaf1c1e46ebeabe899d6c0d0576043', class: "input-grid" }, this.renderAliasInput()), h("div", { key: 'd38b4d3b5d9e58a112dbadcf847102aa29659ddb', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '7cecdf95dc03bc55ab267c8357139360cde63a1c', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: '1e98658175aa6c02abc647425c87f8f4e9680520', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
363
363
  ];
364
364
  }
365
365
  renderAliasButton() {