@limetech/lime-crm-building-blocks 1.113.5 → 1.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{_baseIsEqual-cb7951b0.js → _baseIsEqual-f2d60d3e.js} +1 -1
- package/dist/cjs/extension-mapping-63bdafd3.js +57 -0
- package/dist/cjs/file-extension-7c2eae39.js +22 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-document-chips.cjs.entry.js +407 -0
- package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -55
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +25 -3
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-object-chip.cjs.entry.js +15 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/document-chips/document-chips.css +20 -0
- package/dist/collection/components/document-chips/document-chips.js +178 -0
- package/dist/collection/components/document-chips/document-chips.types.js +1 -0
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/object-chip/object-chip.js +37 -2
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/summary-popover/summary-popover.js +49 -3
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/collection/util/file-extension.js +18 -0
- package/dist/collection/util/file-icon-background-colors.js +98 -0
- package/dist/collection/util/file-icon-fill-colors.js +98 -0
- package/dist/collection/util/file-icon.js +18 -0
- package/dist/collection/util/file-icons.js +99 -0
- package/dist/components/_baseIsEqual.js +1 -1
- package/dist/components/document-item.js +2 -2
- package/dist/components/extension-mapping.js +55 -0
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +3 -3
- package/dist/components/limebb-document-chips.d.ts +11 -0
- package/dist/components/limebb-document-chips.js +437 -0
- package/dist/components/limebb-document-picker.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +1 -1
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
- package/dist/components/limebb-limeobject-file-viewer.js +1 -54
- package/dist/components/limebb-locale-picker.js +2 -2
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-object-chip.js +16 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +2 -2
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +1 -1
- package/dist/components/order-by-item.js +2 -2
- package/dist/components/percentage-visualizer.js +2 -2
- package/dist/components/response-format-item.js +1 -1
- package/dist/components/summary-popover.js +45 -4
- package/dist/esm/{_baseIsEqual-28053b81.js → _baseIsEqual-077b6bb3.js} +1 -1
- package/dist/esm/extension-mapping-fcade195.js +55 -0
- package/dist/esm/file-extension-568475d1.js +20 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-document-chips.entry.js +403 -0
- package/dist/esm/limebb-document-item.entry.js +2 -2
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +3 -3
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -54
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +3 -3
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +25 -3
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-object-chip.entry.js +15 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-text-editor.entry.js +1 -1
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-0c25d565.entry.js → p-0d0f4c0f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-711df3e6.entry.js → p-103654ac.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-35b75e49.entry.js → p-18d1ab86.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ddf0dcbc.entry.js → p-20b5ff30.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b2e705bc.entry.js → p-22fffe85.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-83ff2b4c.entry.js → p-2ed843e9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-14cd62c1.entry.js → p-375f40d9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c09dcd4c.entry.js → p-3a7b37cc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3443a292.entry.js → p-3b3e7328.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-551ffa9f.entry.js → p-4066e17a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a4f367f8.entry.js → p-4dad4ce8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-50aad872.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-9161869b.entry.js → p-53d54dc8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1d44c670.entry.js → p-6bd5c65f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6bf1ab6d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0536bf83.entry.js → p-7a6c1595.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9aad6195.entry.js → p-7b5a1e83.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-df13ebba.entry.js → p-812bf26e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-385020b4.entry.js → p-81f8e5df.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4d9244e7.entry.js → p-94e6f0de.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6c67ed0e.entry.js → p-9bc5caac.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-283a6f9e.entry.js → p-9c204549.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-00414464.entry.js → p-a7e55181.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ab2a95a6.js +1 -0
- package/dist/lime-crm-building-blocks/p-b42e9740.js +1 -0
- package/dist/lime-crm-building-blocks/{p-5d0874f6.entry.js → p-d5b835a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d7fc530f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-401ccdec.entry.js → p-d9f76810.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2395476f.entry.js → p-dddd8a43.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ed14ca30.entry.js → p-f7122d8e.entry.js} +1 -1
- package/dist/types/components/document-chips/document-chips.d.ts +45 -0
- package/dist/types/components/document-chips/document-chips.types.d.ts +23 -0
- package/dist/types/components/object-chip/object-chip.d.ts +5 -0
- package/dist/types/components/summary-popover/summary-popover.d.ts +10 -1
- package/dist/types/components.d.ts +120 -4
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/util/file-extension.d.ts +10 -0
- package/dist/types/util/file-icon-background-colors.d.ts +3 -0
- package/dist/types/util/file-icon-fill-colors.d.ts +3 -0
- package/dist/types/util/file-icon.d.ts +9 -0
- package/dist/types/util/file-icons.d.ts +3 -0
- package/package.json +3 -3
- package/dist/lime-crm-building-blocks/p-7b9981b9.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d2bd2fc3.entry.js +0 -1
- /package/dist/lime-crm-building-blocks/{p-a659d55a.js → p-f788a48d.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.115.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.114.0...v1.115.0) (2026-04-15)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* **object-chip:** add `size` property ([f6f99ab](https://github.com/Lundalogik/lime-crm-building-blocks/commit/f6f99abc9266dababc47023e6bfa87d5ef3d3d33))
|
|
7
|
+
|
|
8
|
+
## [1.114.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.113.5...v1.114.0) (2026-04-14)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
* **document-chips:** add new component ([4966ae2](https://github.com/Lundalogik/lime-crm-building-blocks/commit/4966ae2247e8853fa5c1eaeecad9defcab4ae586))
|
|
14
|
+
* **summary-popover:** add file preview support ([03f1d06](https://github.com/Lundalogik/lime-crm-building-blocks/commit/03f1d06b73494dcb30d7752b03ccdf5187bb1913))
|
|
15
|
+
|
|
1
16
|
## [1.113.5](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.113.4...v1.113.5) (2026-04-14)
|
|
2
17
|
|
|
3
18
|
### Bug Fixes
|
|
@@ -30,7 +30,7 @@ function setCacheAdd(value) {
|
|
|
30
30
|
* @name has
|
|
31
31
|
* @memberOf SetCache
|
|
32
32
|
* @param {*} value The value to search for.
|
|
33
|
-
* @returns {
|
|
33
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
34
34
|
*/
|
|
35
35
|
function setCacheHas(value) {
|
|
36
36
|
return this.__data__.has(value);
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Map of file extensions to their preview type
|
|
4
|
+
const previewExtensionMap = {
|
|
5
|
+
// Browser-native preview
|
|
6
|
+
avi: 'browser',
|
|
7
|
+
bmp: 'browser',
|
|
8
|
+
csv: 'browser', // CSV shows as plain text
|
|
9
|
+
gif: 'browser',
|
|
10
|
+
heic: 'browser',
|
|
11
|
+
html: 'browser',
|
|
12
|
+
jpeg: 'browser',
|
|
13
|
+
jpg: 'browser',
|
|
14
|
+
json: 'browser',
|
|
15
|
+
mp3: 'browser',
|
|
16
|
+
mp4: 'browser',
|
|
17
|
+
mov: 'browser',
|
|
18
|
+
ogg: 'browser',
|
|
19
|
+
pdf: 'browser',
|
|
20
|
+
png: 'browser',
|
|
21
|
+
svg: 'browser',
|
|
22
|
+
svgz: 'browser',
|
|
23
|
+
txt: 'browser',
|
|
24
|
+
wav: 'browser',
|
|
25
|
+
wmv: 'browser',
|
|
26
|
+
xml: 'browser',
|
|
27
|
+
// File viewer preview
|
|
28
|
+
eml: 'fileViewer',
|
|
29
|
+
// SharePoint PDF preview
|
|
30
|
+
doc: 'sharepoint',
|
|
31
|
+
docx: 'sharepoint',
|
|
32
|
+
dot: 'sharepoint',
|
|
33
|
+
dotx: 'sharepoint',
|
|
34
|
+
odp: 'sharepoint',
|
|
35
|
+
ods: 'sharepoint',
|
|
36
|
+
pot: 'sharepoint',
|
|
37
|
+
ppt: 'sharepoint',
|
|
38
|
+
pptx: 'sharepoint',
|
|
39
|
+
pps: 'sharepoint',
|
|
40
|
+
ppsx: 'sharepoint',
|
|
41
|
+
xls: 'sharepoint',
|
|
42
|
+
xlsb: 'sharepoint',
|
|
43
|
+
xlsm: 'sharepoint',
|
|
44
|
+
xlsx: 'sharepoint',
|
|
45
|
+
odt: 'sharepoint',
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Determines how a file can be previewed.
|
|
49
|
+
*
|
|
50
|
+
* @param extension - The file extension (case-insensitive).
|
|
51
|
+
* @returns The preview type.
|
|
52
|
+
*/
|
|
53
|
+
function getPreviewType(extension) {
|
|
54
|
+
return previewExtensionMap[extension.toLowerCase()] || 'unsupported';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.getPreviewType = getPreviewType;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Extracts the file extension from a filename.
|
|
5
|
+
*
|
|
6
|
+
* Returns the lowercased extension without the dot,
|
|
7
|
+
* or an empty string if the filename has no extension.
|
|
8
|
+
*
|
|
9
|
+
* @param filename - the filename to extract the extension from
|
|
10
|
+
*/
|
|
11
|
+
function getFileExtension(filename) {
|
|
12
|
+
if (!filename) {
|
|
13
|
+
return '';
|
|
14
|
+
}
|
|
15
|
+
const lastDot = filename.lastIndexOf('.');
|
|
16
|
+
if (lastDot < 1) {
|
|
17
|
+
return '';
|
|
18
|
+
}
|
|
19
|
+
return filename.slice(lastDot + 1).toLowerCase();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
exports.getFileExtension = getFileExtension;
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"limebb-lime-query-builder.cjs\",[[1,\"limebb-lime-query-builder\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"label\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"limetype\":[32],\"filter\":[32],\"internalResponseFormat\":[32],\"limit\":[32],\"orderBy\":[32],\"description\":[32]}]]],[\"limebb-feed.cjs\",[[1,\"limebb-feed\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"emptyStateMessage\":[1,\"empty-state-message\"],\"heading\":[1],\"loading\":[4],\"minutesOfProximity\":[2,\"minutes-of-proximity\"],\"totalCount\":[2,\"total-count\"],\"direction\":[513],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"],\"highlightedItemId\":[8,\"highlighted-item-id\"]},null,{\"highlightedItemId\":[\"highlightedItemIdChanged\"]}]]],[\"limebb-kanban.cjs\",[[1,\"limebb-kanban\",{\"platform\":[16],\"context\":[16],\"groups\":[16]}]]],[\"limebb-lime-query-response-format-builder.cjs\",[[1,\"limebb-lime-query-response-format-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"internalValue\":[32]}]]],[\"limebb-chat-list.cjs\",[[1,\"limebb-chat-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[516],\"isTypingIndicatorVisible\":[516,\"is-typing-indicator-visible\"],\"lastVisitedTimestamp\":[513,\"last-visited-timestamp\"],\"order\":[513]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-limeobject-file-viewer.cjs\",[[1,\"limebb-limeobject-file-viewer\",{\"platform\":[16],\"context\":[16],\"property\":[1],\"fileTypes\":[16],\"limeobject\":[32],\"limetype\":[32]}]]],[\"limebb-text-editor.cjs\",[[17,\"limebb-text-editor\",{\"platform\":[16],\"context\":[16],\"allowMentioning\":[4,\"allow-mentioning\"],\"contentType\":[1,\"content-type\"],\"language\":[513],\"disabled\":[516],\"readonly\":[516],\"helperText\":[513,\"helper-text\"],\"placeholder\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"selectedContext\":[16],\"ui\":[513],\"allowResize\":[4,\"allow-resize\"],\"value\":[1],\"draftIdentifier\":[1,\"draft-identifier\"],\"triggerMap\":[16],\"customElements\":[16],\"allowInlineImages\":[4,\"allow-inline-images\"],\"items\":[32],\"highlightedItemIndex\":[32],\"editorPickerQuery\":[32],\"searchableLimetypes\":[32],\"isPickerOpen\":[32],\"isSearching\":[32]},null,{\"isPickerOpen\":[\"watchOpen\"],\"editorPickerQuery\":[\"watchQuery\"]}]]],[\"limebb-data-cells.cjs\",[[1,\"limebb-data-cells\",{\"platform\":[16],\"context\":[16],\"limeobject\":[8],\"items\":[16]}]]],[\"limebb-date-range.cjs\",[[1,\"limebb-date-range\",{\"platform\":[16],\"context\":[16],\"startTime\":[16],\"endTime\":[16],\"startTimeLabel\":[1,\"start-time-label\"],\"endTimeLabel\":[1,\"end-time-label\"],\"language\":[1],\"timeFormat\":[1,\"time-format\"],\"type\":[1]}]]],[\"limebb-document-picker.cjs\",[[1,\"limebb-document-picker\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"label\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[516],\"required\":[516],\"type\":[513]}]]],[\"limebb-info-tile-currency-format.cjs\",[[1,\"limebb-info-tile-currency-format\",{\"platform\":[16],\"context\":[16],\"value\":[16]}]]],[\"limebb-notification-list.cjs\",[[1,\"limebb-notification-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[4],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-alert-dialog.cjs\",[[1,\"limebb-alert-dialog\",{\"type\":[513],\"open\":[516],\"icon\":[513],\"heading\":[513],\"subheading\":[1]}]]],[\"limebb-browser.cjs\",[[17,\"limebb-browser\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"layout\":[1],\"filter\":[32]}]]],[\"limebb-component-config.cjs\",[[1,\"limebb-component-config\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"formInfo\":[16],\"type\":[1],\"nameField\":[1,\"name-field\"],\"configComponent\":[32],\"configViewType\":[32]},null,{\"formInfo\":[\"watchFormInfo\"],\"configComponent\":[\"watchconfigComponent\"]}]]],[\"limebb-component-picker.cjs\",[[1,\"limebb-component-picker\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"tags\":[16],\"value\":[1],\"copyLabel\":[1,\"copy-label\"],\"hideCopyButton\":[4,\"hide-copy-button\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-composer-toolbar.cjs\",[[1,\"limebb-composer-toolbar\",{\"platform\":[16],\"mentions\":[516],\"textSnippets\":[516,\"text-snippets\"],\"internalLinks\":[516,\"internal-links\"],\"richText\":[516,\"rich-text\"],\"fileInput\":[16]}]]],[\"limebb-dashboard-widget.cjs\",[[1,\"limebb-dashboard-widget\",{\"heading\":[513],\"subheading\":[513],\"supportingText\":[513,\"supporting-text\"],\"icon\":[513]}]]],[\"limebb-icon-picker.cjs\",[[1,\"limebb-icon-picker\",{\"value\":[1],\"required\":[4],\"readonly\":[4],\"invalid\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-info-tile.cjs\",[[1,\"limebb-info-tile\",{\"platform\":[16],\"context\":[16],\"filterId\":[513,\"filter-id\"],\"disabled\":[4],\"icon\":[513],\"label\":[1],\"prefix\":[1],\"suffix\":[1],\"propertyName\":[1,\"property-name\"],\"aggregateOperator\":[1,\"aggregate-operator\"],\"format\":[16],\"config\":[32],\"filters\":[32],\"value\":[32],\"loading\":[32],\"error\":[32],\"limetypes\":[32]},null,{\"filterId\":[\"watchFilterId\"],\"propertyName\":[\"watchPropertyName\"],\"aggregateOperator\":[\"watchAggregateOperator\"]}]]],[\"limebb-info-tile-date-format.cjs\",[[1,\"limebb-info-tile-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-decimal-format.cjs\",[[1,\"limebb-info-tile-decimal-format\",{\"value\":[16]}]]],[\"limebb-info-tile-format.cjs\",[[1,\"limebb-info-tile-format\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"value\":[16]}]]],[\"limebb-info-tile-relative-date-format.cjs\",[[1,\"limebb-info-tile-relative-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-unit-format.cjs\",[[1,\"limebb-info-tile-unit-format\",{\"value\":[16]}]]],[\"limebb-loader.cjs\",[[1,\"limebb-loader\",{\"platform\":[16],\"context\":[16]}]]],[\"limebb-locale-picker.cjs\",[[1,\"limebb-locale-picker\",{\"platform\":[16],\"context\":[16],\"value\":[1],\"required\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"readonly\":[4],\"multipleChoice\":[4,\"multiple-choice\"],\"allLanguages\":[32]}]]],[\"limebb-mention.cjs\",[[1,\"limebb-mention\",{\"limetype\":[1],\"objectid\":[2],\"limeobject\":[32]}]]],[\"limebb-mention-group-counter.cjs\",[[1,\"limebb-mention-group-counter\",{\"count\":[2],\"limetype\":[16],\"helperLabel\":[1,\"helper-label\"]}]]],[\"limebb-object-chip.cjs\",[[1,\"limebb-object-chip\",{\"limetype\":[1],\"objectid\":[2],\"platform\":[16],\"data\":[32]},null,{\"limetype\":[\"handlePropChange\"],\"objectid\":[\"handlePropChange\"]}]]],[\"limebb-trend-indicator.cjs\",[[1,\"limebb-trend-indicator\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"formerValue\":[514,\"former-value\"],\"suffix\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-feed-timeline-item.cjs\",[[1,\"limebb-feed-timeline-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"ui\":[513],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"],\"isBundled\":[516,\"is-bundled\"],\"headingCanExpand\":[32],\"isHeadingExpanded\":[32],\"showMore\":[32],\"isTall\":[32]}]]],[\"limebb-kanban-item.cjs\",[[1,\"limebb-kanban-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-kanban-group.cjs\",[[1,\"limebb-kanban-group\",{\"platform\":[16],\"context\":[16],\"identifier\":[1],\"heading\":[513],\"help\":[1],\"items\":[16],\"summary\":[1],\"loading\":[516],\"totalCount\":[514,\"total-count\"]}]]],[\"limebb-text-editor-picker.cjs\",[[1,\"limebb-text-editor-picker\",{\"items\":[16],\"open\":[516],\"isSearching\":[4,\"is-searching\"],\"emptyMessage\":[1,\"empty-message\"]},null,{\"open\":[\"watchOpen\"]}]]],[\"limebb-currency-picker.cjs\",[[1,\"limebb-currency-picker\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"currencies\":[16],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"readonly\":[516],\"invalid\":[516],\"disabled\":[516],\"value\":[1]}]]],[\"limebb-date-picker.cjs\",[[1,\"limebb-date-picker\",{\"platform\":[16],\"context\":[16],\"disabled\":[516],\"readonly\":[516],\"invalid\":[516],\"label\":[513],\"placeholder\":[513],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"value\":[1],\"type\":[513]}]]],[\"limebb-document-item.cjs\",[[17,\"limebb-document-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"type\":[513],\"fileTypes\":[16]}]]],[\"limebb-live-docs-info.cjs\",[[1,\"limebb-live-docs-info\"]]],[\"limebb-notification-item.cjs\",[[1,\"limebb-notification-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-percentage-visualizer.cjs\",[[1,\"limebb-percentage-visualizer\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"rangeMax\":[514,\"range-max\"],\"rangeMin\":[514,\"range-min\"],\"multiplier\":[514],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"],\"displayPercentageColors\":[516,\"display-percentage-colors\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-property-selector.cjs\",[[1,\"limebb-property-selector\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[1],\"label\":[1],\"required\":[4],\"helperText\":[1,\"helper-text\"],\"limetypes\":[32],\"isOpen\":[32],\"navigationPath\":[32]}]]],[\"limebb-lime-query-order-by-item.cjs\",[[1,\"limebb-lime-query-order-by-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16]}]]],[\"limebb-chat-item_2.cjs\",[[1,\"limebb-chat-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"]}],[1,\"limebb-typing-indicator\"]]],[\"limebb-feed-item-thumbnail-file-info.cjs\",[[1,\"limebb-feed-item-thumbnail-file-info\",{\"description\":[1]}]]],[\"limebb-lime-query-filter-group_3.cjs\",[[1,\"limebb-lime-query-value-input\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"propertyPath\":[1,\"property-path\"],\"operator\":[1],\"value\":[8],\"label\":[1],\"limetypes\":[32],\"inputMode\":[32]}],[1,\"limebb-lime-query-filter-group\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16],\"value\":[32]}],[1,\"limebb-lime-query-filter-not\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]],[\"limebb-lime-query-filter-comparison_2.cjs\",[[1,\"limebb-lime-query-filter-expression\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-comparison\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]],[\"limebb-lime-query-filter-builder_3.cjs\",[[1,\"limebb-lime-query-filter-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-order-by-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]},null,{\"value\":[\"handleValueChange\"]}],[0,\"limebb-limetype-field\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"value\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[4],\"limetypes\":[16],\"propertyFields\":[16],\"fieldName\":[1,\"field-name\"],\"formInfo\":[16]}]]],[\"limebb-empty-state.cjs\",[[1,\"limebb-empty-state\",{\"heading\":[513],\"value\":[513],\"icon\":[16]}]]],[\"limebb-lime-query-response-format-editor_2.cjs\",[[1,\"limebb-lime-query-response-format-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]}],[1,\"limebb-lime-query-response-format-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16],\"showAliasInput\":[32],\"showDescriptionInput\":[32]}]]],[\"limebb-navigation-button_2.cjs\",[[1,\"limebb-summary-popover\",{\"triggerDelay\":[514,\"trigger-delay\"],\"heading\":[513],\"subheading\":[513],\"image\":[16],\"icon\":[513],\"value\":[1],\"openDirection\":[513,\"open-direction\"],\"popoverMaxWidth\":[513,\"popover-max-width\"],\"popoverMaxHeight\":[513,\"popover-max-height\"],\"actions\":[16],\"isPopoverOpen\":[32]}],[17,\"limebb-navigation-button\",{\"href\":[513],\"tooltipLabel\":[513,\"tooltip-label\"],\"tooltipHelperLabel\":[513,\"tooltip-helper-label\"],\"type\":[513]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"limebb-lime-query-builder.cjs\",[[1,\"limebb-lime-query-builder\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"label\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"limetype\":[32],\"filter\":[32],\"internalResponseFormat\":[32],\"limit\":[32],\"orderBy\":[32],\"description\":[32]}]]],[\"limebb-feed.cjs\",[[1,\"limebb-feed\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"emptyStateMessage\":[1,\"empty-state-message\"],\"heading\":[1],\"loading\":[4],\"minutesOfProximity\":[2,\"minutes-of-proximity\"],\"totalCount\":[2,\"total-count\"],\"direction\":[513],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"],\"highlightedItemId\":[8,\"highlighted-item-id\"]},null,{\"highlightedItemId\":[\"highlightedItemIdChanged\"]}]]],[\"limebb-kanban.cjs\",[[1,\"limebb-kanban\",{\"platform\":[16],\"context\":[16],\"groups\":[16]}]]],[\"limebb-lime-query-response-format-builder.cjs\",[[1,\"limebb-lime-query-response-format-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"limetypes\":[32],\"mode\":[32],\"codeValue\":[32],\"internalValue\":[32]}]]],[\"limebb-chat-list.cjs\",[[1,\"limebb-chat-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[516],\"isTypingIndicatorVisible\":[516,\"is-typing-indicator-visible\"],\"lastVisitedTimestamp\":[513,\"last-visited-timestamp\"],\"order\":[513]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-document-chips.cjs\",[[1,\"limebb-document-chips\",{\"accessibleLabel\":[513,\"accessible-label\"],\"files\":[16]},null,{\"files\":[\"onFilesChanged\"]}]]],[\"limebb-limeobject-file-viewer.cjs\",[[1,\"limebb-limeobject-file-viewer\",{\"platform\":[16],\"context\":[16],\"property\":[1],\"fileTypes\":[16],\"limeobject\":[32],\"limetype\":[32]}]]],[\"limebb-text-editor.cjs\",[[17,\"limebb-text-editor\",{\"platform\":[16],\"context\":[16],\"allowMentioning\":[4,\"allow-mentioning\"],\"contentType\":[1,\"content-type\"],\"language\":[513],\"disabled\":[516],\"readonly\":[516],\"helperText\":[513,\"helper-text\"],\"placeholder\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"selectedContext\":[16],\"ui\":[513],\"allowResize\":[4,\"allow-resize\"],\"value\":[1],\"draftIdentifier\":[1,\"draft-identifier\"],\"triggerMap\":[16],\"customElements\":[16],\"allowInlineImages\":[4,\"allow-inline-images\"],\"items\":[32],\"highlightedItemIndex\":[32],\"editorPickerQuery\":[32],\"searchableLimetypes\":[32],\"isPickerOpen\":[32],\"isSearching\":[32]},null,{\"isPickerOpen\":[\"watchOpen\"],\"editorPickerQuery\":[\"watchQuery\"]}]]],[\"limebb-data-cells.cjs\",[[1,\"limebb-data-cells\",{\"platform\":[16],\"context\":[16],\"limeobject\":[8],\"items\":[16]}]]],[\"limebb-date-range.cjs\",[[1,\"limebb-date-range\",{\"platform\":[16],\"context\":[16],\"startTime\":[16],\"endTime\":[16],\"startTimeLabel\":[1,\"start-time-label\"],\"endTimeLabel\":[1,\"end-time-label\"],\"language\":[1],\"timeFormat\":[1,\"time-format\"],\"type\":[1]}]]],[\"limebb-document-picker.cjs\",[[1,\"limebb-document-picker\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"label\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[516],\"required\":[516],\"type\":[513]}]]],[\"limebb-info-tile-currency-format.cjs\",[[1,\"limebb-info-tile-currency-format\",{\"platform\":[16],\"context\":[16],\"value\":[16]}]]],[\"limebb-notification-list.cjs\",[[1,\"limebb-notification-list\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"loading\":[4],\"lastVisitedTimestamp\":[1,\"last-visited-timestamp\"]},null,{\"items\":[\"handleItemsChange\"]}]]],[\"limebb-alert-dialog.cjs\",[[1,\"limebb-alert-dialog\",{\"type\":[513],\"open\":[516],\"icon\":[513],\"heading\":[513],\"subheading\":[1]}]]],[\"limebb-browser.cjs\",[[17,\"limebb-browser\",{\"platform\":[16],\"context\":[16],\"items\":[16],\"layout\":[1],\"filter\":[32]}]]],[\"limebb-component-config.cjs\",[[1,\"limebb-component-config\",{\"platform\":[16],\"context\":[16],\"value\":[16],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"formInfo\":[16],\"type\":[1],\"nameField\":[1,\"name-field\"],\"configComponent\":[32],\"configViewType\":[32]},null,{\"formInfo\":[\"watchFormInfo\"],\"configComponent\":[\"watchconfigComponent\"]}]]],[\"limebb-component-picker.cjs\",[[1,\"limebb-component-picker\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"tags\":[16],\"value\":[1],\"copyLabel\":[1,\"copy-label\"],\"hideCopyButton\":[4,\"hide-copy-button\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-composer-toolbar.cjs\",[[1,\"limebb-composer-toolbar\",{\"platform\":[16],\"mentions\":[516],\"textSnippets\":[516,\"text-snippets\"],\"internalLinks\":[516,\"internal-links\"],\"richText\":[516,\"rich-text\"],\"fileInput\":[16]}]]],[\"limebb-dashboard-widget.cjs\",[[1,\"limebb-dashboard-widget\",{\"heading\":[513],\"subheading\":[513],\"supportingText\":[513,\"supporting-text\"],\"icon\":[513]}]]],[\"limebb-icon-picker.cjs\",[[1,\"limebb-icon-picker\",{\"value\":[1],\"required\":[4],\"readonly\":[4],\"invalid\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"]}]]],[\"limebb-info-tile.cjs\",[[1,\"limebb-info-tile\",{\"platform\":[16],\"context\":[16],\"filterId\":[513,\"filter-id\"],\"disabled\":[4],\"icon\":[513],\"label\":[1],\"prefix\":[1],\"suffix\":[1],\"propertyName\":[1,\"property-name\"],\"aggregateOperator\":[1,\"aggregate-operator\"],\"format\":[16],\"config\":[32],\"filters\":[32],\"value\":[32],\"loading\":[32],\"error\":[32],\"limetypes\":[32]},null,{\"filterId\":[\"watchFilterId\"],\"propertyName\":[\"watchPropertyName\"],\"aggregateOperator\":[\"watchAggregateOperator\"]}]]],[\"limebb-info-tile-date-format.cjs\",[[1,\"limebb-info-tile-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-decimal-format.cjs\",[[1,\"limebb-info-tile-decimal-format\",{\"value\":[16]}]]],[\"limebb-info-tile-format.cjs\",[[1,\"limebb-info-tile-format\",{\"platform\":[16],\"context\":[16],\"type\":[1],\"value\":[16]}]]],[\"limebb-info-tile-relative-date-format.cjs\",[[1,\"limebb-info-tile-relative-date-format\",{\"value\":[16]}]]],[\"limebb-info-tile-unit-format.cjs\",[[1,\"limebb-info-tile-unit-format\",{\"value\":[16]}]]],[\"limebb-loader.cjs\",[[1,\"limebb-loader\",{\"platform\":[16],\"context\":[16]}]]],[\"limebb-locale-picker.cjs\",[[1,\"limebb-locale-picker\",{\"platform\":[16],\"context\":[16],\"value\":[1],\"required\":[4],\"disabled\":[4],\"label\":[1],\"helperText\":[1,\"helper-text\"],\"readonly\":[4],\"multipleChoice\":[4,\"multiple-choice\"],\"allLanguages\":[32]}]]],[\"limebb-mention.cjs\",[[1,\"limebb-mention\",{\"limetype\":[1],\"objectid\":[2],\"limeobject\":[32]}]]],[\"limebb-mention-group-counter.cjs\",[[1,\"limebb-mention-group-counter\",{\"count\":[2],\"limetype\":[16],\"helperLabel\":[1,\"helper-label\"]}]]],[\"limebb-object-chip.cjs\",[[1,\"limebb-object-chip\",{\"limetype\":[1],\"objectid\":[2],\"size\":[1],\"platform\":[16],\"data\":[32]},null,{\"limetype\":[\"handlePropChange\"],\"objectid\":[\"handlePropChange\"]}]]],[\"limebb-trend-indicator.cjs\",[[1,\"limebb-trend-indicator\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"formerValue\":[514,\"former-value\"],\"suffix\":[513],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-feed-item-thumbnail-file-info.cjs\",[[1,\"limebb-feed-item-thumbnail-file-info\",{\"description\":[1]}]]],[\"limebb-feed-timeline-item.cjs\",[[1,\"limebb-feed-timeline-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"ui\":[513],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"],\"isBundled\":[516,\"is-bundled\"],\"headingCanExpand\":[32],\"isHeadingExpanded\":[32],\"showMore\":[32],\"isTall\":[32]}]]],[\"limebb-kanban-group.cjs\",[[1,\"limebb-kanban-group\",{\"platform\":[16],\"context\":[16],\"identifier\":[1],\"heading\":[513],\"help\":[1],\"items\":[16],\"summary\":[1],\"loading\":[516],\"totalCount\":[514,\"total-count\"]}]]],[\"limebb-empty-state.cjs\",[[1,\"limebb-empty-state\",{\"heading\":[513],\"value\":[513],\"icon\":[16]}]]],[\"limebb-text-editor-picker.cjs\",[[1,\"limebb-text-editor-picker\",{\"items\":[16],\"open\":[516],\"isSearching\":[4,\"is-searching\"],\"emptyMessage\":[1,\"empty-message\"]},null,{\"open\":[\"watchOpen\"]}]]],[\"limebb-currency-picker.cjs\",[[1,\"limebb-currency-picker\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"currencies\":[16],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"readonly\":[516],\"invalid\":[516],\"disabled\":[516],\"value\":[1]}]]],[\"limebb-date-picker.cjs\",[[1,\"limebb-date-picker\",{\"platform\":[16],\"context\":[16],\"disabled\":[516],\"readonly\":[516],\"invalid\":[516],\"label\":[513],\"placeholder\":[513],\"helperText\":[513,\"helper-text\"],\"required\":[516],\"value\":[1],\"type\":[513]}]]],[\"limebb-document-item.cjs\",[[17,\"limebb-document-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"type\":[513],\"fileTypes\":[16]}]]],[\"limebb-live-docs-info.cjs\",[[1,\"limebb-live-docs-info\"]]],[\"limebb-notification-item.cjs\",[[1,\"limebb-notification-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-percentage-visualizer.cjs\",[[1,\"limebb-percentage-visualizer\",{\"platform\":[16],\"context\":[16],\"value\":[520],\"rangeMax\":[514,\"range-max\"],\"rangeMin\":[514,\"range-min\"],\"multiplier\":[514],\"label\":[513],\"invalid\":[516],\"required\":[516],\"helperText\":[513,\"helper-text\"],\"reducePresence\":[516,\"reduce-presence\"],\"displayPercentageColors\":[516,\"display-percentage-colors\"]},null,{\"value\":[\"valueChanged\"]}]]],[\"limebb-kanban-item.cjs\",[[1,\"limebb-kanban-item\",{\"platform\":[16],\"context\":[16],\"item\":[16]}]]],[\"limebb-lime-query-order-by-item.cjs\",[[1,\"limebb-lime-query-order-by-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16]}]]],[\"limebb-chat-item_2.cjs\",[[1,\"limebb-chat-item\",{\"platform\":[16],\"context\":[16],\"item\":[16],\"helperText\":[1,\"helper-text\"],\"hasError\":[516,\"has-error\"]}],[1,\"limebb-typing-indicator\"]]],[\"limebb-property-selector.cjs\",[[1,\"limebb-property-selector\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[1],\"label\":[1],\"required\":[4],\"helperText\":[1,\"helper-text\"],\"limetypes\":[32],\"isOpen\":[32],\"navigationPath\":[32]}]]],[\"limebb-lime-query-filter-comparison_2.cjs\",[[1,\"limebb-lime-query-filter-expression\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-filter-comparison\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]],[\"limebb-lime-query-filter-builder_3.cjs\",[[1,\"limebb-lime-query-filter-builder\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}],[1,\"limebb-lime-query-order-by-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]},null,{\"value\":[\"handleValueChange\"]}],[0,\"limebb-limetype-field\",{\"platform\":[16],\"context\":[16],\"label\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"value\":[513],\"helperText\":[513,\"helper-text\"],\"invalid\":[4],\"limetypes\":[16],\"propertyFields\":[16],\"fieldName\":[1,\"field-name\"],\"formInfo\":[16]}]]],[\"limebb-lime-query-response-format-editor_2.cjs\",[[1,\"limebb-lime-query-response-format-editor\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"value\":[16],\"label\":[1],\"items\":[32]}],[1,\"limebb-lime-query-response-format-item\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"item\":[16],\"showAliasInput\":[32],\"showDescriptionInput\":[32]}]]],[\"limebb-navigation-button_2.cjs\",[[1,\"limebb-summary-popover\",{\"triggerDelay\":[514,\"trigger-delay\"],\"heading\":[513],\"subheading\":[513],\"image\":[16],\"file\":[16],\"icon\":[513],\"value\":[1],\"openDirection\":[513,\"open-direction\"],\"popoverMaxWidth\":[513,\"popover-max-width\"],\"popoverMaxHeight\":[513,\"popover-max-height\"],\"actions\":[16],\"isPopoverOpen\":[32]}],[17,\"limebb-navigation-button\",{\"href\":[513],\"tooltipLabel\":[513,\"tooltip-label\"],\"tooltipHelperLabel\":[513,\"tooltip-helper-label\"],\"type\":[513]}]]],[\"limebb-lime-query-filter-group_3.cjs\",[[1,\"limebb-lime-query-value-input\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"propertyPath\":[1,\"property-path\"],\"operator\":[1],\"value\":[8],\"label\":[1],\"limetypes\":[32],\"inputMode\":[32]}],[1,\"limebb-lime-query-filter-group\",{\"platform\":[16],\"context\":[16],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16],\"value\":[32]}],[1,\"limebb-lime-query-filter-not\",{\"platform\":[16],\"context\":[16],\"label\":[1],\"limetype\":[1],\"activeLimetype\":[1,\"active-limetype\"],\"expression\":[16]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-519b904a.js');
|
|
6
|
+
const extensionMapping = require('./extension-mapping-63bdafd3.js');
|
|
7
|
+
const fileExtension = require('./file-extension-7c2eae39.js');
|
|
8
|
+
|
|
9
|
+
// Copy of file icon names from lime-elements.
|
|
10
|
+
// Source: lime-elements/src/components/file/icons.ts
|
|
11
|
+
//
|
|
12
|
+
// Stencil doesn't support exporting utility functions from a component
|
|
13
|
+
// library, so we duplicate them here until a proper shared solution exists.
|
|
14
|
+
const DEFAULT_ICON = 'file';
|
|
15
|
+
const CALENDAR_ICON = 'tear_off_calendar';
|
|
16
|
+
const EMAIL_ICON = 'email';
|
|
17
|
+
const HTML_ICON = 'internet';
|
|
18
|
+
const TEXT_ICON = 'text_box';
|
|
19
|
+
const EXCEL_ICON = 'ms_excel_copyrighted';
|
|
20
|
+
const WORD_ICON = 'ms_word_copyrighted';
|
|
21
|
+
const POWERPOINT_ICON = 'ms_powerpoint_copyrighted';
|
|
22
|
+
const IMAGE_ICON = 'picture';
|
|
23
|
+
const PHOTO_ICON = 'camera';
|
|
24
|
+
const VECTOR_GRAPHIC_ICON = 'vector';
|
|
25
|
+
const PRESENTATION_ICON = 'presentation_filled';
|
|
26
|
+
const DOCUMENT_ICON = 'overview_pages_2';
|
|
27
|
+
const SPREADSHEET_ICON = 'data_sheet';
|
|
28
|
+
const AUDIO_ICON = 'audio_wave';
|
|
29
|
+
const VIDEO_ICON = 'video_file';
|
|
30
|
+
const COMPRESSED_ICON = 'condom_package';
|
|
31
|
+
const MESSAGE_ICON = 'ms_outlook_copyrighted';
|
|
32
|
+
const DATA_ICON = 'database';
|
|
33
|
+
const DEFAULT_FILE_ICON = DEFAULT_ICON;
|
|
34
|
+
const filetypeIconTable = {
|
|
35
|
+
msg: MESSAGE_ICON,
|
|
36
|
+
ics: CALENDAR_ICON,
|
|
37
|
+
ical: CALENDAR_ICON,
|
|
38
|
+
icalendar: CALENDAR_ICON,
|
|
39
|
+
ifb: CALENDAR_ICON,
|
|
40
|
+
email: EMAIL_ICON,
|
|
41
|
+
eml: EMAIL_ICON,
|
|
42
|
+
oft: EMAIL_ICON,
|
|
43
|
+
ost: EMAIL_ICON,
|
|
44
|
+
emlx: EMAIL_ICON,
|
|
45
|
+
html: HTML_ICON,
|
|
46
|
+
xml: HTML_ICON,
|
|
47
|
+
txt: TEXT_ICON,
|
|
48
|
+
rtf: TEXT_ICON,
|
|
49
|
+
dot: WORD_ICON,
|
|
50
|
+
doc: WORD_ICON,
|
|
51
|
+
docx: WORD_ICON,
|
|
52
|
+
dotx: WORD_ICON,
|
|
53
|
+
docm: WORD_ICON,
|
|
54
|
+
dotm: WORD_ICON,
|
|
55
|
+
odt: DOCUMENT_ICON,
|
|
56
|
+
pages: DOCUMENT_ICON,
|
|
57
|
+
pdf: 'PDF_2',
|
|
58
|
+
ppt: POWERPOINT_ICON,
|
|
59
|
+
pot: POWERPOINT_ICON,
|
|
60
|
+
pps: POWERPOINT_ICON,
|
|
61
|
+
pptx: POWERPOINT_ICON,
|
|
62
|
+
pptm: POWERPOINT_ICON,
|
|
63
|
+
potx: POWERPOINT_ICON,
|
|
64
|
+
potm: POWERPOINT_ICON,
|
|
65
|
+
ppam: POWERPOINT_ICON,
|
|
66
|
+
ppsx: POWERPOINT_ICON,
|
|
67
|
+
ppsm: POWERPOINT_ICON,
|
|
68
|
+
sldx: POWERPOINT_ICON,
|
|
69
|
+
sldm: POWERPOINT_ICON,
|
|
70
|
+
odp: PRESENTATION_ICON,
|
|
71
|
+
key: PRESENTATION_ICON,
|
|
72
|
+
xls: EXCEL_ICON,
|
|
73
|
+
xlsx: EXCEL_ICON,
|
|
74
|
+
csv: SPREADSHEET_ICON,
|
|
75
|
+
numbers: SPREADSHEET_ICON,
|
|
76
|
+
jpg: PHOTO_ICON,
|
|
77
|
+
jpeg: PHOTO_ICON,
|
|
78
|
+
heic: PHOTO_ICON,
|
|
79
|
+
bmp: IMAGE_ICON,
|
|
80
|
+
png: IMAGE_ICON,
|
|
81
|
+
gif: IMAGE_ICON,
|
|
82
|
+
psd: 'adobe_photoshop_copyrighted',
|
|
83
|
+
ai: 'adobe_illustrator_copyrighted',
|
|
84
|
+
svg: VECTOR_GRAPHIC_ICON,
|
|
85
|
+
svgz: VECTOR_GRAPHIC_ICON,
|
|
86
|
+
ep: VECTOR_GRAPHIC_ICON,
|
|
87
|
+
eps: VECTOR_GRAPHIC_ICON,
|
|
88
|
+
sketch: VECTOR_GRAPHIC_ICON,
|
|
89
|
+
mp3: AUDIO_ICON,
|
|
90
|
+
wav: AUDIO_ICON,
|
|
91
|
+
wma: AUDIO_ICON,
|
|
92
|
+
ogg: AUDIO_ICON,
|
|
93
|
+
avi: VIDEO_ICON,
|
|
94
|
+
flv: VIDEO_ICON,
|
|
95
|
+
h264: VIDEO_ICON,
|
|
96
|
+
mov: VIDEO_ICON,
|
|
97
|
+
mp4: VIDEO_ICON,
|
|
98
|
+
mwv: VIDEO_ICON,
|
|
99
|
+
zip: COMPRESSED_ICON,
|
|
100
|
+
'7z': COMPRESSED_ICON,
|
|
101
|
+
rar: COMPRESSED_ICON,
|
|
102
|
+
json: 'json',
|
|
103
|
+
yaml: DATA_ICON,
|
|
104
|
+
sql: DATA_ICON,
|
|
105
|
+
db: DATA_ICON,
|
|
106
|
+
dbf: DATA_ICON,
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
// Copy of file icon fill colors from lime-elements.
|
|
110
|
+
// Source: lime-elements/src/components/file/icon-fill-colors.ts
|
|
111
|
+
//
|
|
112
|
+
// Stencil doesn't support exporting utility functions from a component
|
|
113
|
+
// library, so we duplicate them here until a proper shared solution exists.
|
|
114
|
+
const DEFAULT_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
|
|
115
|
+
const CALENDAR_ICON_FILL_COLOR = 'rgb(var(--color-cyan-dark))';
|
|
116
|
+
const EMAIL_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
|
|
117
|
+
const HTML_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
|
|
118
|
+
const TEXT_ICON_FILL_COLOR = 'rgb(var(--color-yellow-darker))';
|
|
119
|
+
const EXCEL_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
|
|
120
|
+
const POWERPOINT_ICON_FILL_COLOR = 'rgb(var(--color-coral-dark))';
|
|
121
|
+
const WORD_ICON_FILL_COLOR = 'rgb(var(--color-sky-dark))';
|
|
122
|
+
const IMAGE_ICON_FILL_COLOR = 'rgb(var(--color-lime-dark))';
|
|
123
|
+
const VECTOR_GRAPHIC_FILL_COLOR = 'rgb(var(--color-magenta-dark))';
|
|
124
|
+
const PRESENTATION_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
|
|
125
|
+
const DOCUMENT_ICON_FILL_COLOR = 'rgb(var(--color-orange-dark))';
|
|
126
|
+
const SPREADSHEET_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
|
|
127
|
+
const AUDIO_ICON_FILL_COLOR = 'rgb(var(--color-indigo-dark))';
|
|
128
|
+
const VIDEO_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
|
|
129
|
+
const COMPRESSED_ICON_FILL_COLOR = 'rgb(var(--color-brown-default))';
|
|
130
|
+
const MESSAGE_ICON_FILL_COLOR = 'rgb(var(--color-yellow-dark))';
|
|
131
|
+
const PDF_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
|
|
132
|
+
const DATA_ICON_FILL_COLOR = 'rgb(var(--color-glaucous-dark))';
|
|
133
|
+
const DEFAULT_ICON_FILL = DEFAULT_ICON_FILL_COLOR;
|
|
134
|
+
const filetypeFillColorTable = {
|
|
135
|
+
msg: MESSAGE_ICON_FILL_COLOR,
|
|
136
|
+
ics: CALENDAR_ICON_FILL_COLOR,
|
|
137
|
+
ical: CALENDAR_ICON_FILL_COLOR,
|
|
138
|
+
icalendar: CALENDAR_ICON_FILL_COLOR,
|
|
139
|
+
ifb: CALENDAR_ICON_FILL_COLOR,
|
|
140
|
+
email: EMAIL_ICON_FILL_COLOR,
|
|
141
|
+
eml: EMAIL_ICON_FILL_COLOR,
|
|
142
|
+
oft: EMAIL_ICON_FILL_COLOR,
|
|
143
|
+
ost: EMAIL_ICON_FILL_COLOR,
|
|
144
|
+
emlx: EMAIL_ICON_FILL_COLOR,
|
|
145
|
+
html: HTML_ICON_FILL_COLOR,
|
|
146
|
+
xml: HTML_ICON_FILL_COLOR,
|
|
147
|
+
txt: TEXT_ICON_FILL_COLOR,
|
|
148
|
+
rtf: TEXT_ICON_FILL_COLOR,
|
|
149
|
+
dot: WORD_ICON_FILL_COLOR,
|
|
150
|
+
doc: WORD_ICON_FILL_COLOR,
|
|
151
|
+
docx: WORD_ICON_FILL_COLOR,
|
|
152
|
+
dotx: WORD_ICON_FILL_COLOR,
|
|
153
|
+
docm: WORD_ICON_FILL_COLOR,
|
|
154
|
+
dotm: WORD_ICON_FILL_COLOR,
|
|
155
|
+
odt: DOCUMENT_ICON_FILL_COLOR,
|
|
156
|
+
pages: DOCUMENT_ICON_FILL_COLOR,
|
|
157
|
+
pdf: PDF_ICON_FILL_COLOR,
|
|
158
|
+
ppt: POWERPOINT_ICON_FILL_COLOR,
|
|
159
|
+
pot: POWERPOINT_ICON_FILL_COLOR,
|
|
160
|
+
pps: POWERPOINT_ICON_FILL_COLOR,
|
|
161
|
+
pptx: POWERPOINT_ICON_FILL_COLOR,
|
|
162
|
+
pptm: POWERPOINT_ICON_FILL_COLOR,
|
|
163
|
+
potx: POWERPOINT_ICON_FILL_COLOR,
|
|
164
|
+
potm: POWERPOINT_ICON_FILL_COLOR,
|
|
165
|
+
ppam: POWERPOINT_ICON_FILL_COLOR,
|
|
166
|
+
ppsx: POWERPOINT_ICON_FILL_COLOR,
|
|
167
|
+
ppsm: POWERPOINT_ICON_FILL_COLOR,
|
|
168
|
+
sldx: POWERPOINT_ICON_FILL_COLOR,
|
|
169
|
+
sldm: POWERPOINT_ICON_FILL_COLOR,
|
|
170
|
+
odp: PRESENTATION_ICON_FILL_COLOR,
|
|
171
|
+
key: PRESENTATION_ICON_FILL_COLOR,
|
|
172
|
+
xls: EXCEL_ICON_FILL_COLOR,
|
|
173
|
+
xlsx: EXCEL_ICON_FILL_COLOR,
|
|
174
|
+
csv: DEFAULT_ICON_FILL_COLOR,
|
|
175
|
+
numbers: SPREADSHEET_ICON_FILL_COLOR,
|
|
176
|
+
bmp: IMAGE_ICON_FILL_COLOR,
|
|
177
|
+
jpg: IMAGE_ICON_FILL_COLOR,
|
|
178
|
+
jpeg: IMAGE_ICON_FILL_COLOR,
|
|
179
|
+
heic: IMAGE_ICON_FILL_COLOR,
|
|
180
|
+
png: IMAGE_ICON_FILL_COLOR,
|
|
181
|
+
gif: IMAGE_ICON_FILL_COLOR,
|
|
182
|
+
psd: PRESENTATION_ICON_FILL_COLOR,
|
|
183
|
+
ai: DOCUMENT_ICON_FILL_COLOR,
|
|
184
|
+
svg: VECTOR_GRAPHIC_FILL_COLOR,
|
|
185
|
+
svgz: VECTOR_GRAPHIC_FILL_COLOR,
|
|
186
|
+
ep: VECTOR_GRAPHIC_FILL_COLOR,
|
|
187
|
+
eps: VECTOR_GRAPHIC_FILL_COLOR,
|
|
188
|
+
sketch: VECTOR_GRAPHIC_FILL_COLOR,
|
|
189
|
+
mp3: AUDIO_ICON_FILL_COLOR,
|
|
190
|
+
wav: AUDIO_ICON_FILL_COLOR,
|
|
191
|
+
wma: AUDIO_ICON_FILL_COLOR,
|
|
192
|
+
ogg: AUDIO_ICON_FILL_COLOR,
|
|
193
|
+
flv: VIDEO_ICON_FILL_COLOR,
|
|
194
|
+
h264: VIDEO_ICON_FILL_COLOR,
|
|
195
|
+
mov: VIDEO_ICON_FILL_COLOR,
|
|
196
|
+
mp4: VIDEO_ICON_FILL_COLOR,
|
|
197
|
+
mwv: VIDEO_ICON_FILL_COLOR,
|
|
198
|
+
zip: COMPRESSED_ICON_FILL_COLOR,
|
|
199
|
+
'7z': COMPRESSED_ICON_FILL_COLOR,
|
|
200
|
+
rar: COMPRESSED_ICON_FILL_COLOR,
|
|
201
|
+
json: DATA_ICON_FILL_COLOR,
|
|
202
|
+
yaml: DATA_ICON_FILL_COLOR,
|
|
203
|
+
sql: DATA_ICON_FILL_COLOR,
|
|
204
|
+
db: DATA_ICON_FILL_COLOR,
|
|
205
|
+
dbf: DATA_ICON_FILL_COLOR,
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// Copy of file icon background colors from lime-elements.
|
|
209
|
+
// Source: lime-elements/src/components/file/icon-background-colors.ts
|
|
210
|
+
//
|
|
211
|
+
// Stencil doesn't support exporting utility functions from a component
|
|
212
|
+
// library, so we duplicate them here until a proper shared solution exists.
|
|
213
|
+
const DEFAULT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
|
|
214
|
+
const CALENDAR_ICON_BACKGROUND_COLOR = 'rgba(var(--color-cyan-lighter), 0.4)';
|
|
215
|
+
const EMAIL_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
|
|
216
|
+
const HTML_ICON_BACKGROUND_COLOR = 'rgba(var(--color-blue-lighter), 0.4)';
|
|
217
|
+
const TEXT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-yellow-lighter), 0.4)';
|
|
218
|
+
const EXCEL_ICON_BACKGROUND_COLOR = 'rgba(var(--color-green-lighter), 0.4)';
|
|
219
|
+
const POWERPOINT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-coral-lighter), 0.4)';
|
|
220
|
+
const WORD_ICON_BACKGROUND_COLOR = 'rgba(var(--color-sky-lighter), 0.4)';
|
|
221
|
+
const IMAGE_ICON_BACKGROUND_COLOR = 'rgba(var(--color-lime-lighter), 0.4)';
|
|
222
|
+
const VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR = 'rgba(var(--color-magenta-lighter), 0.4)';
|
|
223
|
+
const PRESENTATION_BACKGROUND_COLOR = 'rgba(var(--color-blue-lighter), 0.4)';
|
|
224
|
+
const DOCUMENT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-orange-lighter), 0.4)';
|
|
225
|
+
const SPREADSHEET_ICON_BACKGROUND_COLOR = 'rgba(var(--color-green-lighter), 0.4)';
|
|
226
|
+
const AUDIO_ICON_BACKGROUND_COLOR = 'rgba(var(--color-indigo-lighter), 0.4)';
|
|
227
|
+
const VIDEO_ICON_BACKGROUND_COLOR = 'rgba(var(--color-red-lighter), 0.4)';
|
|
228
|
+
const COMPRESSED_ICON_BACKGROUND_COLOR = 'rgba(var(--color-orange-lighter), 0.4)';
|
|
229
|
+
const MESSAGE_ICON_BACKGROUND_COLOR = 'rgba(var(--color-yellow-lighter), 0.4)';
|
|
230
|
+
const PDF_ICON_BACKGROUND_COLOR = 'rgba(var(--color-red-lighter), 0.4)';
|
|
231
|
+
const DATA_ICON_BACKGROUND_COLOR = 'rgba(var(--color-glaucous-lighter), 0.4)';
|
|
232
|
+
const DEFAULT_ICON_BACKGROUND = DEFAULT_ICON_BACKGROUND_COLOR;
|
|
233
|
+
const filetypeBackgroundColorTable = {
|
|
234
|
+
msg: MESSAGE_ICON_BACKGROUND_COLOR,
|
|
235
|
+
ics: CALENDAR_ICON_BACKGROUND_COLOR,
|
|
236
|
+
ical: CALENDAR_ICON_BACKGROUND_COLOR,
|
|
237
|
+
icalendar: CALENDAR_ICON_BACKGROUND_COLOR,
|
|
238
|
+
ifb: CALENDAR_ICON_BACKGROUND_COLOR,
|
|
239
|
+
email: EMAIL_ICON_BACKGROUND_COLOR,
|
|
240
|
+
eml: EMAIL_ICON_BACKGROUND_COLOR,
|
|
241
|
+
oft: EMAIL_ICON_BACKGROUND_COLOR,
|
|
242
|
+
ost: EMAIL_ICON_BACKGROUND_COLOR,
|
|
243
|
+
emlx: EMAIL_ICON_BACKGROUND_COLOR,
|
|
244
|
+
html: HTML_ICON_BACKGROUND_COLOR,
|
|
245
|
+
xml: HTML_ICON_BACKGROUND_COLOR,
|
|
246
|
+
txt: TEXT_ICON_BACKGROUND_COLOR,
|
|
247
|
+
rtf: TEXT_ICON_BACKGROUND_COLOR,
|
|
248
|
+
dot: WORD_ICON_BACKGROUND_COLOR,
|
|
249
|
+
doc: WORD_ICON_BACKGROUND_COLOR,
|
|
250
|
+
docx: WORD_ICON_BACKGROUND_COLOR,
|
|
251
|
+
dotx: WORD_ICON_BACKGROUND_COLOR,
|
|
252
|
+
docm: WORD_ICON_BACKGROUND_COLOR,
|
|
253
|
+
dotm: WORD_ICON_BACKGROUND_COLOR,
|
|
254
|
+
odt: DOCUMENT_ICON_BACKGROUND_COLOR,
|
|
255
|
+
pages: DOCUMENT_ICON_BACKGROUND_COLOR,
|
|
256
|
+
pdf: PDF_ICON_BACKGROUND_COLOR,
|
|
257
|
+
ppt: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
258
|
+
pot: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
259
|
+
pps: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
260
|
+
pptx: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
261
|
+
pptm: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
262
|
+
potx: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
263
|
+
potm: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
264
|
+
ppam: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
265
|
+
ppsx: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
266
|
+
ppsm: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
267
|
+
sldx: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
268
|
+
sldm: POWERPOINT_ICON_BACKGROUND_COLOR,
|
|
269
|
+
odp: PRESENTATION_BACKGROUND_COLOR,
|
|
270
|
+
key: PRESENTATION_BACKGROUND_COLOR,
|
|
271
|
+
xls: EXCEL_ICON_BACKGROUND_COLOR,
|
|
272
|
+
xlsx: EXCEL_ICON_BACKGROUND_COLOR,
|
|
273
|
+
csv: DEFAULT_ICON_BACKGROUND_COLOR,
|
|
274
|
+
numbers: SPREADSHEET_ICON_BACKGROUND_COLOR,
|
|
275
|
+
bmp: IMAGE_ICON_BACKGROUND_COLOR,
|
|
276
|
+
jpg: IMAGE_ICON_BACKGROUND_COLOR,
|
|
277
|
+
jpeg: IMAGE_ICON_BACKGROUND_COLOR,
|
|
278
|
+
heic: IMAGE_ICON_BACKGROUND_COLOR,
|
|
279
|
+
png: IMAGE_ICON_BACKGROUND_COLOR,
|
|
280
|
+
gif: IMAGE_ICON_BACKGROUND_COLOR,
|
|
281
|
+
psd: PRESENTATION_BACKGROUND_COLOR,
|
|
282
|
+
ai: DOCUMENT_ICON_BACKGROUND_COLOR,
|
|
283
|
+
svg: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
|
|
284
|
+
svgz: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
|
|
285
|
+
ep: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
|
|
286
|
+
eps: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
|
|
287
|
+
sketch: VECTOR_GRAPHIC_ICON_BACKGROUND_COLOR,
|
|
288
|
+
mp3: AUDIO_ICON_BACKGROUND_COLOR,
|
|
289
|
+
wav: AUDIO_ICON_BACKGROUND_COLOR,
|
|
290
|
+
wma: AUDIO_ICON_BACKGROUND_COLOR,
|
|
291
|
+
ogg: AUDIO_ICON_BACKGROUND_COLOR,
|
|
292
|
+
flv: VIDEO_ICON_BACKGROUND_COLOR,
|
|
293
|
+
h264: VIDEO_ICON_BACKGROUND_COLOR,
|
|
294
|
+
mov: VIDEO_ICON_BACKGROUND_COLOR,
|
|
295
|
+
mp4: VIDEO_ICON_BACKGROUND_COLOR,
|
|
296
|
+
mwv: VIDEO_ICON_BACKGROUND_COLOR,
|
|
297
|
+
zip: COMPRESSED_ICON_BACKGROUND_COLOR,
|
|
298
|
+
'7z': COMPRESSED_ICON_BACKGROUND_COLOR,
|
|
299
|
+
rar: COMPRESSED_ICON_BACKGROUND_COLOR,
|
|
300
|
+
json: DATA_ICON_BACKGROUND_COLOR,
|
|
301
|
+
yaml: DATA_ICON_BACKGROUND_COLOR,
|
|
302
|
+
sql: DATA_ICON_BACKGROUND_COLOR,
|
|
303
|
+
db: DATA_ICON_BACKGROUND_COLOR,
|
|
304
|
+
dbf: DATA_ICON_BACKGROUND_COLOR,
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Returns an icon with name, fill color, and background color
|
|
309
|
+
* based on the file extension of the given filename.
|
|
310
|
+
*
|
|
311
|
+
* @param filename - the filename to get the icon for
|
|
312
|
+
*/
|
|
313
|
+
function getFileIcon(filename) {
|
|
314
|
+
const extension = fileExtension.getFileExtension(filename);
|
|
315
|
+
return {
|
|
316
|
+
name: filetypeIconTable[extension] || DEFAULT_FILE_ICON,
|
|
317
|
+
color: filetypeFillColorTable[extension] || DEFAULT_ICON_FILL,
|
|
318
|
+
backgroundColor: filetypeBackgroundColorTable[extension] || DEFAULT_ICON_BACKGROUND,
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
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}";
|
|
323
|
+
const LimebbDocumentChipsStyle0 = documentChipsCss;
|
|
324
|
+
|
|
325
|
+
const DocumentChips = class {
|
|
326
|
+
constructor(hostRef) {
|
|
327
|
+
index.registerInstance(this, hostRef);
|
|
328
|
+
this.removeFile = index.createEvent(this, "removeFile", 7);
|
|
329
|
+
/**
|
|
330
|
+
* The list of files to display as document chips.
|
|
331
|
+
*/
|
|
332
|
+
this.files = [];
|
|
333
|
+
this.blobUrls = new Map();
|
|
334
|
+
this.handleRemove = (event) => {
|
|
335
|
+
event.stopPropagation();
|
|
336
|
+
const fileId = event.detail;
|
|
337
|
+
this.revokeBlobUrl(fileId);
|
|
338
|
+
this.removeFile.emit(fileId);
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
onFilesChanged(newFiles, oldFiles) {
|
|
342
|
+
const currentIds = new Set(newFiles.map((file) => file.id));
|
|
343
|
+
for (const file of oldFiles) {
|
|
344
|
+
if (!currentIds.has(file.id)) {
|
|
345
|
+
this.revokeBlobUrl(file.id);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
disconnectedCallback() {
|
|
350
|
+
this.revokeAllBlobUrls();
|
|
351
|
+
}
|
|
352
|
+
render() {
|
|
353
|
+
return (index.h(index.Host, { key: '6c8347de35ccd6061c8fa282820210f6a3bcc2c8', role: "list", "aria-label": this.accessibleLabel }, this.files.map((file) => this.renderFile(file))));
|
|
354
|
+
}
|
|
355
|
+
renderFile(file) {
|
|
356
|
+
const isReady = !file.uploadState || file.uploadState === 'done';
|
|
357
|
+
const icon = this.getIcon(file);
|
|
358
|
+
const chip = (index.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'
|
|
359
|
+
? file.uploadProgress
|
|
360
|
+
: undefined, loading: file.uploadState === 'added' ||
|
|
361
|
+
file.uploadState === 'finalizing', onRemove: this.handleRemove }));
|
|
362
|
+
if (!isReady) {
|
|
363
|
+
return chip;
|
|
364
|
+
}
|
|
365
|
+
return (index.h("limebb-summary-popover", { role: "listitem", file: Object.assign(Object.assign({}, file), { href: this.getPreviewUrl(file) }), popoverMaxWidth: "32rem", popoverMaxHeight: "32rem", triggerDelay: 1000 }, chip));
|
|
366
|
+
}
|
|
367
|
+
getIcon(file) {
|
|
368
|
+
if (file.icon) {
|
|
369
|
+
return file.icon;
|
|
370
|
+
}
|
|
371
|
+
return getFileIcon(file.filename);
|
|
372
|
+
}
|
|
373
|
+
getPreviewUrl(file) {
|
|
374
|
+
const extension = fileExtension.getFileExtension(file.filename);
|
|
375
|
+
const previewType = extensionMapping.getPreviewType(extension);
|
|
376
|
+
if (previewType === 'sharepoint') {
|
|
377
|
+
return undefined;
|
|
378
|
+
}
|
|
379
|
+
if (file.href) {
|
|
380
|
+
return file.href;
|
|
381
|
+
}
|
|
382
|
+
if (file.fileContent) {
|
|
383
|
+
if (!this.blobUrls.has(file.id)) {
|
|
384
|
+
this.blobUrls.set(file.id, URL.createObjectURL(file.fileContent));
|
|
385
|
+
}
|
|
386
|
+
return this.blobUrls.get(file.id);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
revokeBlobUrl(fileId) {
|
|
390
|
+
const url = this.blobUrls.get(fileId);
|
|
391
|
+
if (url) {
|
|
392
|
+
URL.revokeObjectURL(url);
|
|
393
|
+
this.blobUrls.delete(fileId);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
revokeAllBlobUrls() {
|
|
397
|
+
for (const url of this.blobUrls.values())
|
|
398
|
+
URL.revokeObjectURL(url);
|
|
399
|
+
this.blobUrls.clear();
|
|
400
|
+
}
|
|
401
|
+
static get watchers() { return {
|
|
402
|
+
"files": ["onFilesChanged"]
|
|
403
|
+
}; }
|
|
404
|
+
};
|
|
405
|
+
DocumentChips.style = LimebbDocumentChipsStyle0;
|
|
406
|
+
|
|
407
|
+
exports.limebb_document_chips = DocumentChips;
|
|
@@ -119,10 +119,10 @@ const DocumentItemComponent = class {
|
|
|
119
119
|
render() {
|
|
120
120
|
const isUnavailable = this.isUnavailable();
|
|
121
121
|
const image = this.getImage();
|
|
122
|
-
return (index.h(index.Host, { key: '
|
|
122
|
+
return (index.h(index.Host, { key: 'b8c73e13073f66162b66a62f88b8b301a6a139d4', id: String(this.item.file.id), class: {
|
|
123
123
|
'has-image': !!image,
|
|
124
124
|
'has-error': !!this.item.hasError,
|
|
125
|
-
}, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, index.h("limel-card", { key: '
|
|
125
|
+
}, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, index.h("limel-card", { key: '19cf30dc7a3ce2647ddc2abbd177b9f18db8001d', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, index.h("div", { key: 'd3a2c411d3cbbe4e554f9701af6f2191a4b2078d', slot: "component" }, this.renderFileSize(), this.renderBooleanInput())), this.renderHelp()));
|
|
126
126
|
}
|
|
127
127
|
renderBooleanInput() {
|
|
128
128
|
const id = this.getControlId();
|
|
@@ -71,7 +71,7 @@ const DocumentPicker = class {
|
|
|
71
71
|
this.labelId = randomString.createRandomString();
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (index.h(index.Host, { key: '
|
|
74
|
+
return (index.h(index.Host, { key: '8f6613354bdee3af42920f78325b2e1a76bbf91e' }, index.h("limel-notched-outline", { key: '9b4b665b76f4c1fc1047052824c7cff1dcd7c495', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, index.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()));
|
|
75
75
|
}
|
|
76
76
|
renderItems() {
|
|
77
77
|
return this.items.map((item) => (index.h("limebb-document-item", { platform: this.platform, context: this.context, item: item, key: item.file.id, type: this.type, onInteract: this.handleItemInteract })));
|
|
@@ -12,7 +12,7 @@ const FeedItemThumbnailFileInfo = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return index.h("span", { key: '
|
|
15
|
+
return index.h("span", { key: 'e651265e23288802ee6d89e3cfe5e0f7bd8073c3' }, this.description);
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
FeedItemThumbnailFileInfo.style = LimebbFeedItemThumbnailFileInfoStyle0;
|
|
@@ -209,7 +209,7 @@ const FeedTimelineItem = class {
|
|
|
209
209
|
render() {
|
|
210
210
|
var _a, _b;
|
|
211
211
|
const helperTextId = `helper-text-${this.item.id}`;
|
|
212
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: 'de138a29c33bcf4b77e6699b4ecc5dd4acde1c56', id: this.item.id, class: {
|
|
213
213
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
214
214
|
'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
|
|
215
215
|
'shows-less': !this.showMore,
|