@limetech/lime-crm-building-blocks 1.115.1 → 1.116.1
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 +17 -0
- package/dist/cjs/{_Map-60aae0ed.js → _Map-BlpAtLvq.js} +12 -24
- package/dist/cjs/{_MapCache-8b125fbb.js → _MapCache-De1Fwe0H.js} +5 -7
- package/dist/cjs/{_Uint8Array-95263550.js → _Uint8Array-C_lvn5HO.js} +6 -14
- package/dist/cjs/{_baseIsEqual-f2d60d3e.js → _baseIsEqual-BtwicGmu.js} +4 -4
- package/dist/cjs/{_defineProperty-40a6ad5d.js → _defineProperty-eImBwVFM.js} +2 -4
- package/dist/cjs/{_getTag-8809c5c6.js → _getTag-CdUodI28.js} +18 -39
- package/dist/cjs/{get-932b213e.js → get-BRGtX379.js} +6 -14
- package/dist/cjs/{index-519b904a.js → index-C_OnxXhP.js} +541 -322
- package/dist/cjs/index.esm-DhBVH875.js +838 -0
- package/dist/cjs/{isSymbol-5b36aeee.js → isSymbol-D8S28StA.js} +1 -1
- package/dist/cjs/lime-crm-building-blocks.cjs.js +7 -7
- package/dist/cjs/{lime-query-validation-c118b96d.js → lime-query-validation-CWlZPm8m.js} +8 -8
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +5 -8
- package/dist/cjs/limebb-browser.cjs.entry.js +11 -14
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +212 -0
- package/dist/cjs/limebb-chat-list.cjs.entry.js +46 -45
- package/dist/cjs/limebb-component-config.cjs.entry.js +17 -16
- package/dist/cjs/limebb-component-picker.cjs.entry.js +9 -12
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +9 -12
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1907 -1790
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +4 -7
- package/dist/cjs/limebb-data-cells.cjs.entry.js +5 -8
- package/dist/cjs/limebb-date-picker.cjs.entry.js +7 -9
- package/dist/cjs/limebb-date-range.cjs.entry.js +6 -9
- package/dist/cjs/limebb-document-chips.cjs.entry.js +10 -11
- package/dist/cjs/limebb-document-item.cjs.entry.js +6 -9
- package/dist/cjs/limebb-document-picker.cjs.entry.js +6 -9
- package/dist/cjs/limebb-empty-state.cjs.entry.js +3 -6
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +4 -7
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +8 -11
- package/dist/cjs/limebb-feed.cjs.entry.js +430 -168
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +4 -6
- package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +2 -4
- package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +4 -7
- package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +2 -4
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +5 -8
- package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +2 -4
- package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +2 -4
- package/dist/cjs/limebb-info-tile.cjs.entry.js +27 -24
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +8 -11
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +8 -11
- package/dist/cjs/limebb-kanban.cjs.entry.js +5 -8
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +9 -12
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +27 -29
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +26 -30
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +25 -30
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +6 -9
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +9 -12
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +8 -12
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +9 -12
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +5 -8
- package/dist/cjs/limebb-loader.cjs.entry.js +12 -10
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +29 -49
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +5 -8
- package/dist/cjs/limebb-mention.cjs.entry.js +6 -9
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +10 -14
- package/dist/cjs/limebb-notification-item.cjs.entry.js +9 -12
- package/dist/cjs/limebb-notification-list.cjs.entry.js +10 -11
- package/dist/cjs/limebb-object-chip.cjs.entry.js +16 -15
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +9 -10
- package/dist/cjs/limebb-property-selector.cjs.entry.js +9 -12
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +9 -10
- package/dist/cjs/limebb-text-editor.cjs.entry.js +53 -307
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +8 -9
- package/dist/cjs/{limetype-3c1c53b6.js → limetype-6tkuY6nm.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/alert-dialog/alert-dialog.js +11 -10
- package/dist/collection/components/browser/browser.js +14 -9
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.css +199 -0
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +75 -0
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.types.js +1 -0
- package/dist/collection/components/chat-list/chat-item/chat-item.js +11 -8
- package/dist/collection/components/chat-list/chat-list.js +30 -17
- package/dist/collection/components/chat-list/chat-list.types.js +1 -0
- package/dist/collection/components/chat-list/process-chat-items.js +26 -33
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/component-command-picker/component-config/component-config.js +23 -19
- package/dist/collection/components/component-command-picker/component-picker/component-picker.js +21 -18
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +14 -10
- package/dist/collection/components/currency-picker/currency-picker.js +15 -13
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +11 -10
- package/dist/collection/components/data-cells/data-cells.js +8 -5
- package/dist/collection/components/date-picker/date-picker.js +20 -17
- package/dist/collection/components/date-range/date-range.js +19 -15
- package/dist/collection/components/document-chips/document-chips.js +5 -4
- package/dist/collection/components/document-picker/document-item/document-item.js +13 -8
- package/dist/collection/components/document-picker/document-picker.js +18 -13
- package/dist/collection/components/empty-state/empty-state.js +6 -5
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +12 -9
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +3 -3
- package/dist/collection/components/feed/feed.js +21 -18
- package/dist/collection/components/icon-picker/icon-picker.js +15 -15
- package/dist/collection/components/info-tile/format/config/info-tile-currency-format.js +8 -4
- package/dist/collection/components/info-tile/format/config/info-tile-date-format.js +4 -2
- package/dist/collection/components/info-tile/format/config/info-tile-decimal-format.js +4 -2
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +11 -7
- package/dist/collection/components/info-tile/format/config/info-tile-relative-date-format.js +4 -2
- package/dist/collection/components/info-tile/format/config/info-tile-unit-format.js +4 -2
- package/dist/collection/components/info-tile/info-tile.js +29 -23
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +19 -16
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +9 -5
- package/dist/collection/components/kanban/kanban.js +10 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-builder.js +12 -8
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +11 -9
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.js +14 -10
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +14 -10
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +15 -11
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +17 -14
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +13 -9
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +13 -9
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +22 -19
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +12 -8
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +12 -8
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +12 -10
- package/dist/collection/components/lime-query-builder/response-format/response-format-editor.js +11 -7
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +11 -7
- package/dist/collection/components/limeobject/file-viewer/file-viewer.js +8 -5
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/loader/loader.js +4 -2
- package/dist/collection/components/locale-picker/locale-picker.js +23 -19
- package/dist/collection/components/mention/mention.js +4 -4
- package/dist/collection/components/navigation-button/navigation-button.js +10 -9
- package/dist/collection/components/notification-list/notification-item/notification-item.js +9 -5
- package/dist/collection/components/notification-list/notification-list.js +12 -8
- package/dist/collection/components/object-chip/object-chip.js +7 -6
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +21 -19
- package/dist/collection/components/summary-popover/summary-popover.js +28 -21
- package/dist/collection/components/text-editor/mention-group-counter.js +8 -7
- package/dist/collection/components/text-editor/text-editor-picker.js +10 -7
- package/dist/collection/components/text-editor/text-editor.js +37 -29
- package/dist/collection/components/trend-indicator/trend-indicator.js +19 -17
- package/dist/components/_Map.js +1 -342
- package/dist/components/_MapCache.js +1 -433
- package/dist/components/_Uint8Array.js +1 -349
- package/dist/components/_baseIsEqual.js +1 -494
- package/dist/components/_defineProperty.js +1 -13
- package/dist/components/_getTag.js +1 -421
- package/dist/components/chat-icon-list.js +1 -0
- package/dist/components/chat-item.js +1 -184
- package/dist/components/currency-picker.js +1 -1917
- package/dist/components/date-picker.js +1 -151
- package/dist/components/document-item.js +1 -212
- package/dist/components/dom.js +1 -26
- package/dist/components/empty-state.js +1 -61
- package/dist/components/extension-mapping.js +1 -55
- package/dist/components/feed-item-thumbnail-file-info.js +1 -33
- package/dist/components/feed-timeline-item.js +1 -453
- package/dist/components/get.js +1 -308
- package/dist/components/highlight-item.handler.js +1 -36
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.esm.js +1 -963
- package/dist/components/index.js +1 -1
- package/dist/components/isSymbol.js +1 -28
- package/dist/components/kanban-group.js +1 -148
- package/dist/components/kanban-item.js +1 -182
- package/dist/components/keycodes.js +1 -7
- package/dist/components/lime-query-filter-builder.js +1 -132
- package/dist/components/lime-query-filter-comparison.js +1 -180
- package/dist/components/lime-query-filter-expression.js +1 -420
- package/dist/components/lime-query-validation.js +1 -617
- package/dist/components/lime-query-value-input.js +1 -387
- package/dist/components/limebb-alert-dialog.js +1 -71
- package/dist/components/limebb-browser.js +1 -116
- package/dist/components/limebb-chat-icon-list.d.ts +11 -0
- package/dist/components/limebb-chat-icon-list.js +1 -0
- package/dist/components/limebb-chat-item.js +1 -6
- package/dist/components/limebb-chat-list.js +1 -294
- package/dist/components/limebb-component-config.js +1 -176
- package/dist/components/limebb-component-picker.js +1 -180
- package/dist/components/limebb-composer-toolbar.js +1 -136
- package/dist/components/limebb-currency-picker.js +1 -6
- package/dist/components/limebb-dashboard-widget.js +1 -48
- package/dist/components/limebb-data-cells.js +1 -169
- package/dist/components/limebb-date-picker.js +1 -6
- package/dist/components/limebb-date-range.js +1 -83
- package/dist/components/limebb-document-chips.js +1 -437
- package/dist/components/limebb-document-item.js +1 -6
- package/dist/components/limebb-document-picker.js +1 -111
- package/dist/components/limebb-empty-state.js +1 -6
- package/dist/components/limebb-feed-item-thumbnail-file-info.js +1 -6
- package/dist/components/limebb-feed-timeline-item.js +1 -6
- package/dist/components/limebb-feed.js +1 -398
- package/dist/components/limebb-icon-picker.js +1 -53026
- package/dist/components/limebb-info-tile-currency-format.js +1 -116
- package/dist/components/limebb-info-tile-date-format.js +1 -272
- package/dist/components/limebb-info-tile-decimal-format.js +1 -95
- package/dist/components/limebb-info-tile-format.js +1 -144
- package/dist/components/limebb-info-tile-relative-date-format.js +1 -72
- package/dist/components/limebb-info-tile-unit-format.js +1 -183
- package/dist/components/limebb-info-tile.js +1 -626
- package/dist/components/limebb-kanban-group.js +1 -6
- package/dist/components/limebb-kanban-item.js +1 -6
- package/dist/components/limebb-kanban.js +1 -79
- package/dist/components/limebb-lime-query-builder.js +1 -424
- package/dist/components/limebb-lime-query-filter-builder.js +1 -6
- package/dist/components/limebb-lime-query-filter-comparison.js +1 -6
- package/dist/components/limebb-lime-query-filter-expression.js +1 -6
- package/dist/components/limebb-lime-query-filter-group.js +1 -6
- package/dist/components/limebb-lime-query-filter-not.js +1 -6
- package/dist/components/limebb-lime-query-order-by-editor.js +1 -6
- package/dist/components/limebb-lime-query-order-by-item.js +1 -6
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -310
- package/dist/components/limebb-lime-query-response-format-editor.js +1 -6
- package/dist/components/limebb-lime-query-response-format-item.js +1 -6
- package/dist/components/limebb-lime-query-value-input.js +1 -6
- package/dist/components/limebb-limeobject-file-viewer.js +1 -175
- package/dist/components/limebb-limetype-field.js +1 -6
- package/dist/components/limebb-live-docs-info.js +1 -6
- package/dist/components/limebb-loader.js +1 -78
- package/dist/components/limebb-locale-picker.js +1 -1165
- package/dist/components/limebb-mention-group-counter.js +1 -48
- package/dist/components/limebb-mention.js +1 -79
- package/dist/components/limebb-navigation-button.js +1 -6
- package/dist/components/limebb-notification-item.js +1 -6
- package/dist/components/limebb-notification-list.js +1 -253
- package/dist/components/limebb-object-chip.js +1 -253
- package/dist/components/limebb-percentage-visualizer.js +1 -6
- package/dist/components/limebb-property-selector.js +1 -6
- package/dist/components/limebb-summary-popover.js +1 -6
- package/dist/components/limebb-text-editor-picker.js +1 -6
- package/dist/components/limebb-text-editor.js +1 -1902
- package/dist/components/limebb-trend-indicator.js +1 -175
- package/dist/components/limebb-typing-indicator.js +1 -6
- package/dist/components/limetype-field.js +1 -216
- package/dist/components/limetype.js +1 -85
- package/dist/components/live-docs-info.js +1 -34
- package/dist/components/navigation-button.js +1 -74
- package/dist/components/negate.js +1 -40
- package/dist/components/non-null.js +1 -10
- package/dist/components/notification-item.js +1 -168
- package/dist/components/order-by-editor.js +1 -139
- package/dist/components/order-by-item.js +1 -73
- package/dist/components/percentage-class.js +1 -64
- package/dist/components/percentage-visualizer.js +1 -219
- package/dist/components/property-selector.js +1 -372
- package/dist/components/random-string.js +1 -22
- package/dist/components/response-format-editor.js +1 -331
- package/dist/components/response-format-item.js +1 -126
- package/dist/components/summary-popover.js +1 -159
- package/dist/components/text-editor-picker.js +1 -128
- package/dist/components/typing-indicator.js +1 -31
- package/dist/esm/{_Map-aede53b6.js → _Map-ByjZfyP_.js} +8 -20
- package/dist/esm/{_MapCache-af496e9d.js → _MapCache-C_kVhYUl.js} +5 -7
- package/dist/esm/{_Uint8Array-d6ebd526.js → _Uint8Array-DVXPnoWk.js} +6 -10
- package/dist/esm/{_baseIsEqual-077b6bb3.js → _baseIsEqual-DB13O4pD.js} +4 -4
- package/dist/esm/{_defineProperty-e6a185c3.js → _defineProperty-DSmG08hO.js} +2 -4
- package/dist/esm/{_getTag-d02a95fa.js → _getTag-DZlkp9mJ.js} +12 -32
- package/dist/esm/{get-3e42932b.js → get-Bo260bSC.js} +6 -14
- package/dist/esm/{index-d86e55c0.js → index-BIwHMk6j.js} +539 -300
- package/dist/esm/index.esm-BjlE4usG.js +823 -0
- package/dist/esm/{isSymbol-1c5f65cc.js → isSymbol-Ci8cASb6.js} +1 -1
- package/dist/esm/lime-crm-building-blocks.js +6 -5
- package/dist/esm/{lime-query-validation-01797a51.js → lime-query-validation-S9h8L6bg.js} +8 -8
- package/dist/esm/limebb-alert-dialog.entry.js +5 -6
- package/dist/esm/limebb-browser.entry.js +11 -12
- package/dist/esm/limebb-chat-icon-list_3.entry.js +208 -0
- package/dist/esm/limebb-chat-list.entry.js +46 -43
- package/dist/esm/limebb-component-config.entry.js +17 -14
- package/dist/esm/limebb-component-picker.entry.js +9 -10
- package/dist/esm/limebb-composer-toolbar.entry.js +9 -10
- package/dist/esm/limebb-currency-picker.entry.js +1908 -1789
- package/dist/esm/limebb-dashboard-widget.entry.js +4 -5
- package/dist/esm/limebb-data-cells.entry.js +5 -6
- package/dist/esm/limebb-date-picker.entry.js +7 -7
- package/dist/esm/limebb-date-range.entry.js +6 -7
- package/dist/esm/limebb-document-chips.entry.js +10 -9
- package/dist/esm/limebb-document-item.entry.js +6 -7
- package/dist/esm/limebb-document-picker.entry.js +6 -7
- package/dist/esm/limebb-empty-state.entry.js +3 -4
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +4 -5
- package/dist/esm/limebb-feed-timeline-item.entry.js +8 -9
- package/dist/esm/limebb-feed.entry.js +430 -166
- package/dist/esm/limebb-icon-picker.entry.js +4 -4
- package/dist/esm/limebb-info-tile-currency-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile-date-format.entry.js +4 -5
- package/dist/esm/limebb-info-tile-decimal-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile-format.entry.js +5 -6
- package/dist/esm/limebb-info-tile-relative-date-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile-unit-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile.entry.js +27 -22
- package/dist/esm/limebb-kanban-group.entry.js +8 -9
- package/dist/esm/limebb-kanban-item.entry.js +8 -9
- package/dist/esm/limebb-kanban.entry.js +5 -6
- package/dist/esm/limebb-lime-query-builder.entry.js +9 -10
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +27 -27
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +26 -28
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +25 -28
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +6 -7
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +9 -10
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +8 -10
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +9 -10
- package/dist/esm/limebb-live-docs-info.entry.js +5 -6
- package/dist/esm/limebb-loader.entry.js +12 -8
- package/dist/esm/limebb-locale-picker.entry.js +29 -47
- package/dist/esm/limebb-mention-group-counter.entry.js +5 -6
- package/dist/esm/limebb-mention.entry.js +6 -7
- package/dist/esm/limebb-navigation-button_2.entry.js +10 -12
- package/dist/esm/limebb-notification-item.entry.js +9 -10
- package/dist/esm/limebb-notification-list.entry.js +10 -9
- package/dist/esm/limebb-object-chip.entry.js +16 -13
- package/dist/esm/limebb-percentage-visualizer.entry.js +9 -8
- package/dist/esm/limebb-property-selector.entry.js +9 -10
- package/dist/esm/limebb-text-editor-picker.entry.js +9 -8
- package/dist/esm/limebb-text-editor.entry.js +53 -305
- package/dist/esm/limebb-trend-indicator.entry.js +8 -7
- package/dist/esm/{limetype-12fbba0f.js → limetype-B3nph1qc.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-eb4aa158.entry.js → p-0afc0db2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-12aadae6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-1428aa13.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-152edb10.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-1f02a411.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-21ec697f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-283270c5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3252e153.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3263f8d5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-32f8477f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-35a51259.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-38201f65.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3ef87b11.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-e79f16ca.entry.js → p-4446f170.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-77e7d7da.entry.js → p-49afe71b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4ddd75bc.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-528f3635.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-52fb2a66.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-5d87cb38.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-60e22f51.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-62437a1d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-626421bf.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-62981791.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-685dd8a1.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-94e6f0de.entry.js → p-6cb2d9dd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6fdee70a.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-71191041.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f7122d8e.entry.js → p-740ae712.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-79f3fd73.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-8477cb5d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-50aad872.entry.js → p-8e2cc2e8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-9ae55a96.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-B8RiYkLS.js +1 -0
- package/dist/lime-crm-building-blocks/p-BIwHMk6j.js +2 -0
- package/dist/lime-crm-building-blocks/p-BJ8HvfgI.js +1 -0
- package/dist/lime-crm-building-blocks/p-ByjZfyP_.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0a266c26.js → p-CMfAKLlA.js} +1 -1
- package/dist/lime-crm-building-blocks/p-CQ-z_HTt.js +1 -0
- package/dist/lime-crm-building-blocks/p-CcGMZOP-.js +1 -0
- package/dist/lime-crm-building-blocks/p-Dm_AIMQj.js +1 -0
- package/dist/lime-crm-building-blocks/p-V3xfp9dg.js +1 -0
- package/dist/lime-crm-building-blocks/p-aaeecca6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-ac59093c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-acbc40f5.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-b2383e7f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-b36ad4e8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-ba42e434.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-bac3d599.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-7a6c1595.entry.js → p-bc3de5e3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-375f40d9.entry.js → p-c3b13800.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d9f76810.entry.js → p-c6bbcbee.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-cff9bccd.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-d2a01f51.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-dabb227b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-dbe2c5df.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-e2e9adff.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-ebe6040f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-eec0a0c8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f23ea0e7.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-22fffe85.entry.js → p-fa41a9e6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-fdf269f7.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-mljVfXwO.js +1 -0
- package/dist/lime-crm-building-blocks/p-wbuFLk-j.js +1 -0
- package/dist/lime-crm-building-blocks/p-yc--7_7T.js +1 -0
- package/dist/types/components/chat-list/chat-icon-list/chat-icon-list.d.ts +19 -0
- package/dist/types/components/chat-list/chat-icon-list/chat-icon-list.types.d.ts +52 -0
- package/dist/types/components/chat-list/chat-list.d.ts +7 -2
- package/dist/types/components/chat-list/chat-list.types.d.ts +13 -0
- package/dist/types/components/chat-list/process-chat-items.d.ts +20 -28
- package/dist/types/components.d.ts +664 -117
- package/dist/types/interface.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +192 -12
- package/package.json +10 -10
- package/dist/cjs/index.esm-e01e9bd4.js +0 -977
- package/dist/cjs/limebb-chat-item_2.cjs.entry.js +0 -181
- package/dist/esm/index.esm-11a8b9e2.js +0 -963
- package/dist/esm/limebb-chat-item_2.entry.js +0 -176
- package/dist/lime-crm-building-blocks/p-0d0f4c0f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-0eac6b68.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-103654ac.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-123190c3.js +0 -1
- package/dist/lime-crm-building-blocks/p-18d1ab86.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-199799ff.js +0 -1
- package/dist/lime-crm-building-blocks/p-20939cd4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-20b5ff30.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-2ed843e9.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-35897ec3.js +0 -1
- package/dist/lime-crm-building-blocks/p-3a7b37cc.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-3b3e7328.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-3da67f32.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4066e17a.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4b494de7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4ca1caf4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4dad4ce8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-52cf8641.js +0 -2
- package/dist/lime-crm-building-blocks/p-5322fd19.js +0 -1
- package/dist/lime-crm-building-blocks/p-53d54dc8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-579be797.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6a87a407.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6ad6a88d.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6bd5c65f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6bf1ab6d.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-703fa2fe.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7b5a1e83.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7e6fb4af.js +0 -1
- package/dist/lime-crm-building-blocks/p-7f72be40.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-812bf26e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-81583fc8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-81f8e5df.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-87d3f42c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8c3f563e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-95b6eaf5.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-973146f7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9bc5caac.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9c204549.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-9c334694.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-a7e55181.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-b31772c8.js +0 -1
- package/dist/lime-crm-building-blocks/p-b675d5f0.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-b7959ddb.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d298b34e.js +0 -1
- package/dist/lime-crm-building-blocks/p-d47b6c3c.js +0 -1
- package/dist/lime-crm-building-blocks/p-d5b835a6.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d7fc530f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-dddd8a43.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-eb56d4eb.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f31eeeaa.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f788a48d.js +0 -1
- package/dist/lime-crm-building-blocks/p-fb292b3f.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-fe2b91d9.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{dom-2ea30350.js → dom--t_vVnyU.js} +0 -0
- /package/dist/cjs/{extension-mapping-63bdafd3.js → extension-mapping-CvK-Mz3f.js} +0 -0
- /package/dist/cjs/{file-extension-7c2eae39.js → file-extension-DolkaRwB.js} +0 -0
- /package/dist/cjs/{highlight-item.handler-584ab58a.js → highlight-item.handler-BVqvzXiD.js} +0 -0
- /package/dist/cjs/{keycodes-88522d7f.js → keycodes-BCQoLEdB.js} +0 -0
- /package/dist/cjs/{negate-e0a2bf77.js → negate-Bg3SqQh6.js} +0 -0
- /package/dist/cjs/{non-null-3bf14aa1.js → non-null-BMnREsqJ.js} +0 -0
- /package/dist/cjs/{percentage-class-012e94d9.js → percentage-class-DVoYzFLR.js} +0 -0
- /package/dist/cjs/{property-resolution-5f798b03.js → property-resolution-Bz1zPcfq.js} +0 -0
- /package/dist/cjs/{random-string-aac0a74b.js → random-string-BdZGIsGg.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{dom-9cc051d7.js → dom-B95D7tDb.js} +0 -0
- /package/dist/esm/{extension-mapping-fcade195.js → extension-mapping-Bcm94u_z.js} +0 -0
- /package/dist/esm/{file-extension-568475d1.js → file-extension-DtnPTzDv.js} +0 -0
- /package/dist/esm/{highlight-item.handler-dfbf11c0.js → highlight-item.handler-BWMpG2bS.js} +0 -0
- /package/dist/esm/{keycodes-58a1fcc9.js → keycodes-CwMJvF_Z.js} +0 -0
- /package/dist/esm/{negate-55744008.js → negate-ooVD-6_a.js} +0 -0
- /package/dist/esm/{non-null-5a66a269.js → non-null-CkTg5UPD.js} +0 -0
- /package/dist/esm/{percentage-class-2766f8ef.js → percentage-class-BaQl_Elp.js} +0 -0
- /package/dist/esm/{property-resolution-e4e8dcf7.js → property-resolution-CQUZjrU4.js} +0 -0
- /package/dist/esm/{random-string-f6ef6fbf.js → random-string-C2JP2nLw.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-4a85590d.js → p-B95D7tDb.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-66352a1e.js → p-BWMpG2bS.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-a99197b1.js → p-BaQl_Elp.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-ab2a95a6.js → p-Bcm94u_z.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-fbda77a7.js → p-C2JP2nLw.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-b02c99d5.js → p-CQUZjrU4.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-1484e300.js → p-CkTg5UPD.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-463d3174.js → p-CwMJvF_Z.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-b42e9740.js → p-DtnPTzDv.js} +0 -0
- /package/dist/lime-crm-building-blocks/{p-7c9484b1.js → p-ooVD-6_a.js} +0 -0
|
@@ -1,34 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-519b904a.js');
|
|
6
|
-
const index_esm = require('./index.esm-e01e9bd4.js');
|
|
3
|
+
var index = require('./index-C_OnxXhP.js');
|
|
4
|
+
var index_esm = require('./index.esm-DhBVH875.js');
|
|
7
5
|
|
|
6
|
+
function isIconList(item) {
|
|
7
|
+
return 'type' in item && item.type === 'iconList';
|
|
8
|
+
}
|
|
9
|
+
function getProcessedItemTimestamp(item) {
|
|
10
|
+
if (item.type === 'chat' || item.type === 'iconList') {
|
|
11
|
+
return item.item.timestamp;
|
|
12
|
+
}
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
8
15
|
/**
|
|
9
|
-
* Processes a list of
|
|
16
|
+
* Processes a list of chat list inputs by adding date headers and a "new items" indicator.
|
|
10
17
|
*
|
|
11
|
-
* @param items - The list of
|
|
18
|
+
* @param items - The list of items to process. Pre-sorted by `timestamp` in descending order.
|
|
12
19
|
* @param dateTimeFormatter - A service used to format dates for the date headers.
|
|
13
|
-
* @param lastVisitedTimestamp - The timestamp of the user's last visit.
|
|
14
|
-
*
|
|
15
|
-
* @returns An array of processed items, including notifications, date headers, and a "new items" indicator if applicable.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* const processedItems = processNotificationItems(
|
|
19
|
-
* notifications,
|
|
20
|
-
* dateTimeFormatter,
|
|
21
|
-
* new Date('2024-09-01T10:00:00Z')
|
|
22
|
-
* );
|
|
20
|
+
* @param lastVisitedTimestamp - The timestamp of the user's last visit. Used to position the
|
|
21
|
+
* "new items" indicator.
|
|
23
22
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* // { type: 'notification', item: notification1 },
|
|
27
|
-
* // { type: 'notification', item: notification2 },
|
|
28
|
-
* // { type: 'newItemIndicator' },
|
|
29
|
-
* // { type: 'dateHeader', date: '2024-08-31' },
|
|
30
|
-
* // { type: 'notification', item: notification3 },
|
|
31
|
-
* // ]
|
|
23
|
+
* @returns An array of processed items, including chat items, icon lists, date headers,
|
|
24
|
+
* and a "new items" indicator if applicable.
|
|
32
25
|
*/
|
|
33
26
|
function processChatItems(items, dateTimeFormatter, lastVisitedTimestamp) {
|
|
34
27
|
const initialContext = {
|
|
@@ -60,7 +53,12 @@ function createPipeline(initialContext, processors) {
|
|
|
60
53
|
*/
|
|
61
54
|
function insertNotifications(context) {
|
|
62
55
|
for (const item of context.items) {
|
|
63
|
-
|
|
56
|
+
if (isIconList(item)) {
|
|
57
|
+
context.processedItems.push({ type: 'iconList', item: item });
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
context.processedItems.push({ type: 'chat', item: item });
|
|
61
|
+
}
|
|
64
62
|
}
|
|
65
63
|
return context;
|
|
66
64
|
}
|
|
@@ -72,16 +70,15 @@ function insertNewItemIndicator(context) {
|
|
|
72
70
|
const processedWithIndicator = [];
|
|
73
71
|
let newItemIndicatorInserted = context.newItemIndicatorInserted;
|
|
74
72
|
for (const item of context.processedItems) {
|
|
75
|
-
|
|
73
|
+
const timestamp = getProcessedItemTimestamp(item);
|
|
74
|
+
if (timestamp !== undefined &&
|
|
76
75
|
context.lastVisitedTimestamp &&
|
|
77
76
|
!newItemIndicatorInserted &&
|
|
78
|
-
new Date(
|
|
77
|
+
new Date(timestamp) <= context.lastVisitedTimestamp &&
|
|
79
78
|
context.hasUnseenNotifications) {
|
|
80
|
-
// Insert the new item indicator before the first old notification
|
|
81
79
|
processedWithIndicator.push({ type: 'newItemIndicator' });
|
|
82
80
|
newItemIndicatorInserted = true;
|
|
83
81
|
}
|
|
84
|
-
// Push the current item to the new array
|
|
85
82
|
processedWithIndicator.push(item);
|
|
86
83
|
}
|
|
87
84
|
context.processedItems = processedWithIndicator;
|
|
@@ -97,12 +94,10 @@ function insertDateGroups(context) {
|
|
|
97
94
|
const newProcessedItems = [];
|
|
98
95
|
let currentGroup = null;
|
|
99
96
|
let lastProcessedDate = null;
|
|
100
|
-
// Iterate through the notifications in processedItems
|
|
101
97
|
for (const item of context.processedItems) {
|
|
102
|
-
if (item.type === 'chat') {
|
|
98
|
+
if (item.type === 'chat' || item.type === 'iconList') {
|
|
103
99
|
const currentTimestamp = new Date(item.item.timestamp);
|
|
104
100
|
const currentDate = context.dateTimeFormatter.format(currentTimestamp, 'date');
|
|
105
|
-
// If the date changes, push the previous group and create a new group
|
|
106
101
|
if (currentDate !== lastProcessedDate) {
|
|
107
102
|
if (currentGroup) {
|
|
108
103
|
newProcessedItems.push(currentGroup);
|
|
@@ -115,31 +110,26 @@ function insertDateGroups(context) {
|
|
|
115
110
|
};
|
|
116
111
|
lastProcessedDate = currentDate;
|
|
117
112
|
}
|
|
118
|
-
// Add the notification to the current group
|
|
119
113
|
if (currentGroup) {
|
|
120
114
|
currentGroup.items.push(item);
|
|
121
115
|
}
|
|
122
116
|
}
|
|
123
117
|
else if (item.type === 'newItemIndicator') {
|
|
124
|
-
// Insert the newItemIndicator within the current group if it exists
|
|
125
118
|
if (currentGroup) {
|
|
126
119
|
currentGroup.items.push(item);
|
|
127
120
|
}
|
|
128
121
|
else {
|
|
129
|
-
newProcessedItems.push(item);
|
|
122
|
+
newProcessedItems.push(item);
|
|
130
123
|
}
|
|
131
124
|
}
|
|
132
125
|
}
|
|
133
|
-
// Push the last group, if it exists
|
|
134
126
|
if (currentGroup) {
|
|
135
127
|
newProcessedItems.push(currentGroup);
|
|
136
128
|
}
|
|
137
|
-
// Return updated context with grouped items
|
|
138
129
|
return Object.assign(Object.assign({}, context), { processedItems: newProcessedItems });
|
|
139
130
|
}
|
|
140
131
|
|
|
141
|
-
const chatListCss =
|
|
142
|
-
const LimebbChatListStyle0 = chatListCss;
|
|
132
|
+
const chatListCss = () => `@charset "UTF-8";:host(limebb-chat-list){--limel-top-edge-fade-height:0.75rem;isolation:isolate;--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);box-sizing:border-box;display:flex;gap:0.5rem;height:100%;width:100%;min-width:0;min-height:0;padding:var(--limel-top-edge-fade-height) 0.5rem;overflow:hidden auto}:host(limebb-chat-list.is-empty){padding:0}:host(limebb-chat-list[order=oldest-on-top]){flex-direction:column-reverse}:host(limebb-chat-list[order=newest-on-top]){flex-direction:column}*{box-sizing:border-box}limel-spinner{align-self:center;justify-self:center;margin:auto}.date-group{isolation:isolate;display:flex;flex-direction:inherit;gap:0.5rem}.date-heading{position:sticky;z-index:1;top:0.25rem;display:flex;border-radius:9rem;padding:0.25rem 0.5rem;margin:0 auto;width:fit-content;font-size:0.75rem;line-height:1;color:rgb(var(--contrast-900));backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem);transition:color 0.2s ease, border-color 0.4s ease}.date-heading:hover{color:rgb(var(--contrast-1000));border-color:rgb(var(--contrast-500))}.date-heading:hover:before{opacity:1}.date-heading:before{transition:opacity 0.2s ease;content:"";position:absolute;z-index:-1;inset:0;opacity:0.6;border-radius:inherit;background-color:rgb(var(--contrast-100))}.new-items-indicator{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end;margin:0.25rem 0}.new-items-indicator hr{border:none;position:absolute;width:100%;height:1px;background-color:rgb(var(--color-red-lighter))}.new-items-indicator h3{z-index:1;padding:0 0.5rem;border-radius:1rem;margin:0 1rem;font-size:small;line-height:0.75rem;text-transform:lowercase;color:rgb(var(--color-red-default));background-color:rgb(var(--contrast-100))}.typing-indicator-height-animation{--limebb-chat-typing-opacity-transition-speed:0.1s;--limebb-chat-typing-opacity-transition-delay:0s;--limebb-chat-typing-grid-template-rows-transition-speed:0.3s;position:sticky;top:0;z-index:1;transition:grid-template-rows var(--limebb-chat-typing-grid-template-rows-transition-speed) ease;display:grid;grid-template-rows:0}.typing-indicator-height-animation div{transition:opacity var(--limebb-chat-typing-opacity-transition-speed) ease var(--limebb-chat-typing-opacity-transition-delay);overflow:hidden;opacity:0}:host(limebb-chat-list[is-typing-indicator-visible]) .typing-indicator-height-animation{--limebb-chat-typing-opacity-transition-speed:0.4s;--limebb-chat-typing-opacity-transition-delay:0.3s;--limebb-chat-typing-grid-template-rows-transition-speed:0.46s;grid-template-rows:1.5rem}:host(limebb-chat-list[is-typing-indicator-visible]) .typing-indicator-height-animation div{opacity:1}.date-group limebb-chat-item{--limebb-promoted-action-bar-grid-template-rows:0fr}:host(limebb-chat-list[order=oldest-on-top]) .date-group:first-of-type limebb-chat-item:first-of-type{--limebb-promoted-action-bar-grid-template-rows:1fr}:host(limebb-chat-list[order=newest-on-top]) .date-group:first-of-type limebb-chat-item:first-of-type{--limebb-promoted-action-bar-grid-template-rows:1fr}`;
|
|
143
133
|
|
|
144
134
|
const ChatList = class {
|
|
145
135
|
constructor(hostRef) {
|
|
@@ -147,6 +137,9 @@ const ChatList = class {
|
|
|
147
137
|
/**
|
|
148
138
|
* List of items to display in the feed.
|
|
149
139
|
* These items must be sorted by their `timestamp` in descending order.
|
|
140
|
+
*
|
|
141
|
+
* See the [ChatListItem](#/type/ChatListItem/) type for the kinds of
|
|
142
|
+
* items that can appear in the list.
|
|
150
143
|
*/
|
|
151
144
|
this.items = [];
|
|
152
145
|
/**
|
|
@@ -176,10 +169,10 @@ const ChatList = class {
|
|
|
176
169
|
this.handleItemsChange();
|
|
177
170
|
}
|
|
178
171
|
render() {
|
|
179
|
-
return (index.h(index.Host, { key: '
|
|
172
|
+
return (index.h(index.Host, { key: '83ddfe2912d25cf344f63b56f4fe4a65c20b575e', class: {
|
|
180
173
|
'is-empty': this.items.length === 0 &&
|
|
181
174
|
!this.isTypingIndicatorVisible,
|
|
182
|
-
}, "aria-busy": this.isBusy(), role: "log" }, this.renderSpinner(), index.h("div", { key: '
|
|
175
|
+
}, "aria-busy": this.isBusy(), role: "log" }, this.renderSpinner(), index.h("div", { key: 'a4eec0bad09789e93c695680cf6fc0e0eab24465', class: "typing-indicator-height-animation" }, index.h("div", { key: '0895e2f0afce0465513a8c89191128732304b008' }, this.renderTypingIndicator())), this.renderChatItems()));
|
|
183
176
|
}
|
|
184
177
|
renderSpinner() {
|
|
185
178
|
if (!this.loading) {
|
|
@@ -213,6 +206,9 @@ const ChatList = class {
|
|
|
213
206
|
if (item.type === 'chat') {
|
|
214
207
|
return this.renderChatItem(item.item);
|
|
215
208
|
}
|
|
209
|
+
else if (item.type === 'iconList') {
|
|
210
|
+
return this.renderIconList(item.item);
|
|
211
|
+
}
|
|
216
212
|
else if (item.type === 'newItemIndicator') {
|
|
217
213
|
return this.renderIndicator();
|
|
218
214
|
}
|
|
@@ -231,6 +227,9 @@ const ChatList = class {
|
|
|
231
227
|
renderChatItem(item) {
|
|
232
228
|
return (index.h("limebb-chat-item", { platform: this.platform, context: this.context, item: item, helperText: item.helperText, hasError: item.hasError, key: item.id }));
|
|
233
229
|
}
|
|
230
|
+
renderIconList(item) {
|
|
231
|
+
return index.h("limebb-chat-icon-list", { item: item, key: item.id });
|
|
232
|
+
}
|
|
234
233
|
renderIndicator() {
|
|
235
234
|
return (index.h("div", { class: "new-items-indicator", role: "separator" }, index.h("hr", null), index.h("h3", null, this.translator.get('webclient.new'))));
|
|
236
235
|
}
|
|
@@ -238,13 +237,15 @@ const ChatList = class {
|
|
|
238
237
|
return this.loading || this.isTypingIndicatorVisible ? 'true' : 'false';
|
|
239
238
|
}
|
|
240
239
|
get dateTimeFormatter() {
|
|
241
|
-
return this.platform.get(index_esm.
|
|
240
|
+
return this.platform.get(index_esm.n.DateTimeFormatter);
|
|
242
241
|
}
|
|
243
242
|
get translator() {
|
|
244
|
-
return this.platform.get(index_esm.
|
|
243
|
+
return this.platform.get(index_esm.n.Translate);
|
|
245
244
|
}
|
|
246
245
|
static get watchers() { return {
|
|
247
|
-
"items": [
|
|
246
|
+
"items": [{
|
|
247
|
+
"handleItemsChange": 0
|
|
248
|
+
}]
|
|
248
249
|
}; }
|
|
249
250
|
};
|
|
250
251
|
function parseToUTCDate(date) {
|
|
@@ -253,6 +254,6 @@ function parseToUTCDate(date) {
|
|
|
253
254
|
}
|
|
254
255
|
return new Date(date); // This will automatically be UTC
|
|
255
256
|
}
|
|
256
|
-
ChatList.style =
|
|
257
|
+
ChatList.style = chatListCss();
|
|
257
258
|
|
|
258
259
|
exports.limebb_chat_list = ChatList;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
require('./
|
|
9
|
-
require('./isSymbol-5b36aeee.js');
|
|
10
|
-
require('./_MapCache-8b125fbb.js');
|
|
3
|
+
var index = require('./index-C_OnxXhP.js');
|
|
4
|
+
var index_esm = require('./index.esm-DhBVH875.js');
|
|
5
|
+
var get = require('./get-BRGtX379.js');
|
|
6
|
+
require('./_Map-BlpAtLvq.js');
|
|
7
|
+
require('./isSymbol-D8S28StA.js');
|
|
8
|
+
require('./_MapCache-De1Fwe0H.js');
|
|
11
9
|
|
|
12
10
|
const LimeWebComponentTemplate = (props, children) => {
|
|
13
11
|
const Name = props.name;
|
|
@@ -22,13 +20,12 @@ function getComponentProps(props) {
|
|
|
22
20
|
return Object.assign({ context: props.context, platform: props.platform }, componentProps);
|
|
23
21
|
}
|
|
24
22
|
|
|
25
|
-
const componentConfigCss =
|
|
26
|
-
const LimebbComponentConfigStyle0 = componentConfigCss;
|
|
23
|
+
const componentConfigCss = () => `:host(*){--header-background-color:rgb(var(--contrast-600));display:flex;flex-direction:column;border:1px dashed rgb(var(--contrast-700));overflow:clip;border-radius:0.75rem;background-color:rgb(var(--contrast-500))}*{box-sizing:border-box}.label{margin-top:1rem;margin-bottom:1rem}.config-component{display:grid;column-gap:1rem;row-gap:1rem;margin:1rem;grid-template-columns:repeat(3, minmax(0, 1fr))}`;
|
|
27
24
|
|
|
28
25
|
const ComponentConfig = class {
|
|
29
26
|
constructor(hostRef) {
|
|
30
27
|
index.registerInstance(this, hostRef);
|
|
31
|
-
this.change = index.createEvent(this, "change"
|
|
28
|
+
this.change = index.createEvent(this, "change");
|
|
32
29
|
this.value = {};
|
|
33
30
|
/**
|
|
34
31
|
* If the value should be fetched from the commandbus or the web component registry
|
|
@@ -133,16 +130,20 @@ const ComponentConfig = class {
|
|
|
133
130
|
return fields[this.type];
|
|
134
131
|
}
|
|
135
132
|
get registry() {
|
|
136
|
-
return this.platform.get(index_esm.
|
|
133
|
+
return this.platform.get(index_esm.n.WebComponentRegistry);
|
|
137
134
|
}
|
|
138
135
|
get commandbus() {
|
|
139
|
-
return this.platform.get(index_esm.
|
|
136
|
+
return this.platform.get(index_esm.n.CommandBus);
|
|
140
137
|
}
|
|
141
138
|
static get watchers() { return {
|
|
142
|
-
"formInfo": [
|
|
143
|
-
|
|
139
|
+
"formInfo": [{
|
|
140
|
+
"watchFormInfo": 0
|
|
141
|
+
}],
|
|
142
|
+
"configComponent": [{
|
|
143
|
+
"watchconfigComponent": 0
|
|
144
|
+
}]
|
|
144
145
|
}; }
|
|
145
146
|
};
|
|
146
|
-
ComponentConfig.style =
|
|
147
|
+
ComponentConfig.style = componentConfigCss();
|
|
147
148
|
|
|
148
149
|
exports.limebb_component_config = ComponentConfig;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index = require('./index-C_OnxXhP.js');
|
|
4
|
+
var index_esm = require('./index.esm-DhBVH875.js');
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
const index_esm = require('./index.esm-e01e9bd4.js');
|
|
7
|
-
|
|
8
|
-
const componentPickerCss = ":host(limebb-component-picker){position:relative;display:flex;align-items:center}:host(limebb-component-picker) limel-picker{flex-grow:1;min-width:0}:host(limebb-component-picker) limel-icon-button{position:absolute;right:0.25rem}";
|
|
9
|
-
const LimebbComponentPickerStyle0 = componentPickerCss;
|
|
6
|
+
const componentPickerCss = () => `:host(limebb-component-picker){position:relative;display:flex;align-items:center}:host(limebb-component-picker) limel-picker{flex-grow:1;min-width:0}:host(limebb-component-picker) limel-icon-button{position:absolute;right:0.25rem}`;
|
|
10
7
|
|
|
11
8
|
const ComponentPicker = class {
|
|
12
9
|
constructor(hostRef) {
|
|
13
10
|
index.registerInstance(this, hostRef);
|
|
14
|
-
this.change = index.createEvent(this, "change"
|
|
15
|
-
this.copy = index.createEvent(this, "copy"
|
|
11
|
+
this.change = index.createEvent(this, "change");
|
|
12
|
+
this.copy = index.createEvent(this, "copy");
|
|
16
13
|
/**
|
|
17
14
|
* The type of items to display in the picker
|
|
18
15
|
*/
|
|
@@ -138,16 +135,16 @@ const ComponentPicker = class {
|
|
|
138
135
|
return ((_g = (_f = (_e = (_d = (_c = (_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('limel-picker')) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('limel-chip-set')) === null || _d === void 0 ? void 0 : _d.shadowRoot) === null || _e === void 0 ? void 0 : _e.querySelector('input')) === null || _f === void 0 ? void 0 : _f.value) !== null && _g !== void 0 ? _g : '');
|
|
139
136
|
}
|
|
140
137
|
get webComponentRegistry() {
|
|
141
|
-
return this.platform.get(index_esm.
|
|
138
|
+
return this.platform.get(index_esm.n.WebComponentRegistry);
|
|
142
139
|
}
|
|
143
140
|
get commandbus() {
|
|
144
|
-
return this.platform.get(index_esm.
|
|
141
|
+
return this.platform.get(index_esm.n.CommandBus);
|
|
145
142
|
}
|
|
146
143
|
get translator() {
|
|
147
|
-
return this.platform.get(index_esm.
|
|
144
|
+
return this.platform.get(index_esm.n.Translate);
|
|
148
145
|
}
|
|
149
146
|
get host() { return index.getElement(this); }
|
|
150
147
|
};
|
|
151
|
-
ComponentPicker.style =
|
|
148
|
+
ComponentPicker.style = componentPickerCss();
|
|
152
149
|
|
|
153
150
|
exports.limebb_component_picker = ComponentPicker;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index = require('./index-C_OnxXhP.js');
|
|
4
|
+
var index_esm = require('./index.esm-DhBVH875.js');
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
const index_esm = require('./index.esm-e01e9bd4.js');
|
|
7
|
-
|
|
8
|
-
const composerToolbarCss = "*{box-sizing:border-box;min-width:0}:host(limebb-composer-toolbar){box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;gap:0.5rem}.actions{display:flex;align-items:center;flex-wrap:nowrap;flex-grow:1}limel-icon-button,::slotted(limel-icon-button){display:inline-block;scale:0.86}limel-file-input{flex-shrink:0}";
|
|
9
|
-
const LimebbComposerToolbarStyle0 = composerToolbarCss;
|
|
6
|
+
const composerToolbarCss = () => `*{box-sizing:border-box;min-width:0}:host(limebb-composer-toolbar){box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;gap:0.5rem}.actions{display:flex;align-items:center;flex-wrap:nowrap;flex-grow:1}limel-icon-button,::slotted(limel-icon-button){display:inline-block;scale:0.86}limel-file-input{flex-shrink:0}`;
|
|
10
7
|
|
|
11
8
|
const TRIGGER_DEFINITIONS = [
|
|
12
9
|
{
|
|
@@ -36,8 +33,8 @@ const TRIGGER_DEFINITIONS = [
|
|
|
36
33
|
const ComposerToolbar = class {
|
|
37
34
|
constructor(hostRef) {
|
|
38
35
|
index.registerInstance(this, hostRef);
|
|
39
|
-
this.triggerInsert = index.createEvent(this, "triggerInsert"
|
|
40
|
-
this.filesSelected = index.createEvent(this, "filesSelected"
|
|
36
|
+
this.triggerInsert = index.createEvent(this, "triggerInsert");
|
|
37
|
+
this.filesSelected = index.createEvent(this, "filesSelected");
|
|
41
38
|
/**
|
|
42
39
|
* When `true`, displays a button that triggers
|
|
43
40
|
* the mention character (`@`) in the text editor.
|
|
@@ -69,13 +66,13 @@ const ComposerToolbar = class {
|
|
|
69
66
|
}
|
|
70
67
|
render() {
|
|
71
68
|
return [
|
|
72
|
-
index.h("div", { key: '
|
|
73
|
-
index.h("slot", { key: '
|
|
69
|
+
index.h("div", { key: '62fa9154e6593b46509a4b4185c425c416fbf1de', class: "actions" }, index.h("slot", { key: '97476b607eb583b8c26e0164836174b9aeb8faa9', name: "leading" }), this.renderFileInput(), this.renderTriggerActions(), index.h("slot", { key: '14c2388e0cb0d1ec2a1cd548d11994475da5e949', name: "trailing" })),
|
|
70
|
+
index.h("slot", { key: 'bc290147db27a9a6454cb32031bfe0990fe59e77', name: "primary-action" }),
|
|
74
71
|
];
|
|
75
72
|
}
|
|
76
73
|
get translator() {
|
|
77
74
|
var _a;
|
|
78
|
-
return (_a = this.platform) === null || _a === void 0 ? void 0 : _a.get(index_esm.
|
|
75
|
+
return (_a = this.platform) === null || _a === void 0 ? void 0 : _a.get(index_esm.n.Translate);
|
|
79
76
|
}
|
|
80
77
|
get triggerActions() {
|
|
81
78
|
const enabledFlags = {
|
|
@@ -110,6 +107,6 @@ const ComposerToolbar = class {
|
|
|
110
107
|
return (index.h("limel-file-input", { accept: (_a = this.fileInput.accept) !== null && _a !== void 0 ? _a : '*', multiple: (_b = this.fileInput.multiple) !== null && _b !== void 0 ? _b : false, disabled: (_c = this.fileInput.disabled) !== null && _c !== void 0 ? _c : false, onFilesSelected: this.handleFilesSelected }, index.h("limel-icon-button", { icon: "attach", disabled: (_d = this.fileInput.disabled) !== null && _d !== void 0 ? _d : false, label: (_e = this.translator) === null || _e === void 0 ? void 0 : _e.get('webclient.attach-files'), helperLabel: (_f = this.translator) === null || _f === void 0 ? void 0 : _f.get('webclient.attach-files-helper') })));
|
|
111
108
|
}
|
|
112
109
|
};
|
|
113
|
-
ComposerToolbar.style =
|
|
110
|
+
ComposerToolbar.style = composerToolbarCss();
|
|
114
111
|
|
|
115
112
|
exports.limebb_composer_toolbar = ComposerToolbar;
|