@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,421 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
/* Built-in method references that are verified to be native. */
|
|
4
|
-
var WeakMap = getNative(root, 'WeakMap');
|
|
5
|
-
|
|
6
|
-
const WeakMap$1 = WeakMap;
|
|
7
|
-
|
|
8
|
-
/** Used as references for various `Number` constants. */
|
|
9
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Checks if `value` is a valid array-like length.
|
|
13
|
-
*
|
|
14
|
-
* **Note:** This method is loosely based on
|
|
15
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
16
|
-
*
|
|
17
|
-
* @static
|
|
18
|
-
* @memberOf _
|
|
19
|
-
* @since 4.0.0
|
|
20
|
-
* @category Lang
|
|
21
|
-
* @param {*} value The value to check.
|
|
22
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
23
|
-
* @example
|
|
24
|
-
*
|
|
25
|
-
* _.isLength(3);
|
|
26
|
-
* // => true
|
|
27
|
-
*
|
|
28
|
-
* _.isLength(Number.MIN_VALUE);
|
|
29
|
-
* // => false
|
|
30
|
-
*
|
|
31
|
-
* _.isLength(Infinity);
|
|
32
|
-
* // => false
|
|
33
|
-
*
|
|
34
|
-
* _.isLength('3');
|
|
35
|
-
* // => false
|
|
36
|
-
*/
|
|
37
|
-
function isLength(value) {
|
|
38
|
-
return typeof value == 'number' &&
|
|
39
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
44
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
45
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
46
|
-
*
|
|
47
|
-
* @static
|
|
48
|
-
* @memberOf _
|
|
49
|
-
* @since 4.0.0
|
|
50
|
-
* @category Lang
|
|
51
|
-
* @param {*} value The value to check.
|
|
52
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
53
|
-
* @example
|
|
54
|
-
*
|
|
55
|
-
* _.isArrayLike([1, 2, 3]);
|
|
56
|
-
* // => true
|
|
57
|
-
*
|
|
58
|
-
* _.isArrayLike(document.body.children);
|
|
59
|
-
* // => true
|
|
60
|
-
*
|
|
61
|
-
* _.isArrayLike('abc');
|
|
62
|
-
* // => true
|
|
63
|
-
*
|
|
64
|
-
* _.isArrayLike(_.noop);
|
|
65
|
-
* // => false
|
|
66
|
-
*/
|
|
67
|
-
function isArrayLike(value) {
|
|
68
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/** Used for built-in method references. */
|
|
72
|
-
var objectProto$2 = Object.prototype;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Checks if `value` is likely a prototype object.
|
|
76
|
-
*
|
|
77
|
-
* @private
|
|
78
|
-
* @param {*} value The value to check.
|
|
79
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
80
|
-
*/
|
|
81
|
-
function isPrototype(value) {
|
|
82
|
-
var Ctor = value && value.constructor,
|
|
83
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$2;
|
|
84
|
-
|
|
85
|
-
return value === proto;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/** `Object#toString` result references. */
|
|
89
|
-
var argsTag$1 = '[object Arguments]';
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* The base implementation of `_.isArguments`.
|
|
93
|
-
*
|
|
94
|
-
* @private
|
|
95
|
-
* @param {*} value The value to check.
|
|
96
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
97
|
-
*/
|
|
98
|
-
function baseIsArguments(value) {
|
|
99
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/** Used for built-in method references. */
|
|
103
|
-
var objectProto$1 = Object.prototype;
|
|
104
|
-
|
|
105
|
-
/** Used to check objects for own properties. */
|
|
106
|
-
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
107
|
-
|
|
108
|
-
/** Built-in value references. */
|
|
109
|
-
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Checks if `value` is likely an `arguments` object.
|
|
113
|
-
*
|
|
114
|
-
* @static
|
|
115
|
-
* @memberOf _
|
|
116
|
-
* @since 0.1.0
|
|
117
|
-
* @category Lang
|
|
118
|
-
* @param {*} value The value to check.
|
|
119
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
120
|
-
* else `false`.
|
|
121
|
-
* @example
|
|
122
|
-
*
|
|
123
|
-
* _.isArguments(function() { return arguments; }());
|
|
124
|
-
* // => true
|
|
125
|
-
*
|
|
126
|
-
* _.isArguments([1, 2, 3]);
|
|
127
|
-
* // => false
|
|
128
|
-
*/
|
|
129
|
-
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
130
|
-
return isObjectLike(value) && hasOwnProperty$1.call(value, 'callee') &&
|
|
131
|
-
!propertyIsEnumerable.call(value, 'callee');
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
const isArguments$1 = isArguments;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* This method returns `false`.
|
|
138
|
-
*
|
|
139
|
-
* @static
|
|
140
|
-
* @memberOf _
|
|
141
|
-
* @since 4.13.0
|
|
142
|
-
* @category Util
|
|
143
|
-
* @returns {boolean} Returns `false`.
|
|
144
|
-
* @example
|
|
145
|
-
*
|
|
146
|
-
* _.times(2, _.stubFalse);
|
|
147
|
-
* // => [false, false]
|
|
148
|
-
*/
|
|
149
|
-
function stubFalse() {
|
|
150
|
-
return false;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/** Detect free variable `exports`. */
|
|
154
|
-
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
155
|
-
|
|
156
|
-
/** Detect free variable `module`. */
|
|
157
|
-
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
158
|
-
|
|
159
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
160
|
-
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
161
|
-
|
|
162
|
-
/** Built-in value references. */
|
|
163
|
-
var Buffer = moduleExports$1 ? root.Buffer : undefined;
|
|
164
|
-
|
|
165
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
166
|
-
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Checks if `value` is a buffer.
|
|
170
|
-
*
|
|
171
|
-
* @static
|
|
172
|
-
* @memberOf _
|
|
173
|
-
* @since 4.3.0
|
|
174
|
-
* @category Lang
|
|
175
|
-
* @param {*} value The value to check.
|
|
176
|
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
177
|
-
* @example
|
|
178
|
-
*
|
|
179
|
-
* _.isBuffer(new Buffer(2));
|
|
180
|
-
* // => true
|
|
181
|
-
*
|
|
182
|
-
* _.isBuffer(new Uint8Array(2));
|
|
183
|
-
* // => false
|
|
184
|
-
*/
|
|
185
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
186
|
-
|
|
187
|
-
const isBuffer$1 = isBuffer;
|
|
188
|
-
|
|
189
|
-
/** `Object#toString` result references. */
|
|
190
|
-
var argsTag = '[object Arguments]',
|
|
191
|
-
arrayTag = '[object Array]',
|
|
192
|
-
boolTag = '[object Boolean]',
|
|
193
|
-
dateTag = '[object Date]',
|
|
194
|
-
errorTag = '[object Error]',
|
|
195
|
-
funcTag = '[object Function]',
|
|
196
|
-
mapTag$1 = '[object Map]',
|
|
197
|
-
numberTag = '[object Number]',
|
|
198
|
-
objectTag$1 = '[object Object]',
|
|
199
|
-
regexpTag = '[object RegExp]',
|
|
200
|
-
setTag$1 = '[object Set]',
|
|
201
|
-
stringTag = '[object String]',
|
|
202
|
-
weakMapTag$1 = '[object WeakMap]';
|
|
203
|
-
|
|
204
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
205
|
-
dataViewTag$1 = '[object DataView]',
|
|
206
|
-
float32Tag = '[object Float32Array]',
|
|
207
|
-
float64Tag = '[object Float64Array]',
|
|
208
|
-
int8Tag = '[object Int8Array]',
|
|
209
|
-
int16Tag = '[object Int16Array]',
|
|
210
|
-
int32Tag = '[object Int32Array]',
|
|
211
|
-
uint8Tag = '[object Uint8Array]',
|
|
212
|
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
213
|
-
uint16Tag = '[object Uint16Array]',
|
|
214
|
-
uint32Tag = '[object Uint32Array]';
|
|
215
|
-
|
|
216
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
217
|
-
var typedArrayTags = {};
|
|
218
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
219
|
-
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
220
|
-
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
221
|
-
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
222
|
-
typedArrayTags[uint32Tag] = true;
|
|
223
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
224
|
-
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
225
|
-
typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =
|
|
226
|
-
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
227
|
-
typedArrayTags[mapTag$1] = typedArrayTags[numberTag] =
|
|
228
|
-
typedArrayTags[objectTag$1] = typedArrayTags[regexpTag] =
|
|
229
|
-
typedArrayTags[setTag$1] = typedArrayTags[stringTag] =
|
|
230
|
-
typedArrayTags[weakMapTag$1] = false;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
234
|
-
*
|
|
235
|
-
* @private
|
|
236
|
-
* @param {*} value The value to check.
|
|
237
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
238
|
-
*/
|
|
239
|
-
function baseIsTypedArray(value) {
|
|
240
|
-
return isObjectLike(value) &&
|
|
241
|
-
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
|
246
|
-
*
|
|
247
|
-
* @private
|
|
248
|
-
* @param {Function} func The function to cap arguments for.
|
|
249
|
-
* @returns {Function} Returns the new capped function.
|
|
250
|
-
*/
|
|
251
|
-
function baseUnary(func) {
|
|
252
|
-
return function(value) {
|
|
253
|
-
return func(value);
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/** Detect free variable `exports`. */
|
|
258
|
-
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
259
|
-
|
|
260
|
-
/** Detect free variable `module`. */
|
|
261
|
-
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
262
|
-
|
|
263
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
264
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
265
|
-
|
|
266
|
-
/** Detect free variable `process` from Node.js. */
|
|
267
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
268
|
-
|
|
269
|
-
/** Used to access faster Node.js helpers. */
|
|
270
|
-
var nodeUtil = (function() {
|
|
271
|
-
try {
|
|
272
|
-
// Use `util.types` for Node.js 10+.
|
|
273
|
-
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
274
|
-
|
|
275
|
-
if (types) {
|
|
276
|
-
return types;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// Legacy `process.binding('util')` for Node.js < 10.
|
|
280
|
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
281
|
-
} catch (e) {}
|
|
282
|
-
}());
|
|
283
|
-
|
|
284
|
-
const nodeUtil$1 = nodeUtil;
|
|
285
|
-
|
|
286
|
-
/* Node.js helper references. */
|
|
287
|
-
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Checks if `value` is classified as a typed array.
|
|
291
|
-
*
|
|
292
|
-
* @static
|
|
293
|
-
* @memberOf _
|
|
294
|
-
* @since 3.0.0
|
|
295
|
-
* @category Lang
|
|
296
|
-
* @param {*} value The value to check.
|
|
297
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
298
|
-
* @example
|
|
299
|
-
*
|
|
300
|
-
* _.isTypedArray(new Uint8Array);
|
|
301
|
-
* // => true
|
|
302
|
-
*
|
|
303
|
-
* _.isTypedArray([]);
|
|
304
|
-
* // => false
|
|
305
|
-
*/
|
|
306
|
-
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
307
|
-
|
|
308
|
-
const isTypedArray$1 = isTypedArray;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Creates a unary function that invokes `func` with its argument transformed.
|
|
312
|
-
*
|
|
313
|
-
* @private
|
|
314
|
-
* @param {Function} func The function to wrap.
|
|
315
|
-
* @param {Function} transform The argument transform.
|
|
316
|
-
* @returns {Function} Returns the new function.
|
|
317
|
-
*/
|
|
318
|
-
function overArg(func, transform) {
|
|
319
|
-
return function(arg) {
|
|
320
|
-
return func(transform(arg));
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
325
|
-
var nativeKeys = overArg(Object.keys, Object);
|
|
326
|
-
|
|
327
|
-
const nativeKeys$1 = nativeKeys;
|
|
328
|
-
|
|
329
|
-
/** Used for built-in method references. */
|
|
330
|
-
var objectProto = Object.prototype;
|
|
331
|
-
|
|
332
|
-
/** Used to check objects for own properties. */
|
|
333
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
337
|
-
*
|
|
338
|
-
* @private
|
|
339
|
-
* @param {Object} object The object to query.
|
|
340
|
-
* @returns {Array} Returns the array of property names.
|
|
341
|
-
*/
|
|
342
|
-
function baseKeys(object) {
|
|
343
|
-
if (!isPrototype(object)) {
|
|
344
|
-
return nativeKeys$1(object);
|
|
345
|
-
}
|
|
346
|
-
var result = [];
|
|
347
|
-
for (var key in Object(object)) {
|
|
348
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
349
|
-
result.push(key);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
return result;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/* Built-in method references that are verified to be native. */
|
|
356
|
-
var DataView = getNative(root, 'DataView');
|
|
357
|
-
|
|
358
|
-
const DataView$1 = DataView;
|
|
359
|
-
|
|
360
|
-
/* Built-in method references that are verified to be native. */
|
|
361
|
-
var Promise$1 = getNative(root, 'Promise');
|
|
362
|
-
|
|
363
|
-
const Promise$2 = Promise$1;
|
|
364
|
-
|
|
365
|
-
/* Built-in method references that are verified to be native. */
|
|
366
|
-
var Set = getNative(root, 'Set');
|
|
367
|
-
|
|
368
|
-
const Set$1 = Set;
|
|
369
|
-
|
|
370
|
-
/** `Object#toString` result references. */
|
|
371
|
-
var mapTag = '[object Map]',
|
|
372
|
-
objectTag = '[object Object]',
|
|
373
|
-
promiseTag = '[object Promise]',
|
|
374
|
-
setTag = '[object Set]',
|
|
375
|
-
weakMapTag = '[object WeakMap]';
|
|
376
|
-
|
|
377
|
-
var dataViewTag = '[object DataView]';
|
|
378
|
-
|
|
379
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
380
|
-
var dataViewCtorString = toSource(DataView$1),
|
|
381
|
-
mapCtorString = toSource(Map),
|
|
382
|
-
promiseCtorString = toSource(Promise$2),
|
|
383
|
-
setCtorString = toSource(Set$1),
|
|
384
|
-
weakMapCtorString = toSource(WeakMap$1);
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* Gets the `toStringTag` of `value`.
|
|
388
|
-
*
|
|
389
|
-
* @private
|
|
390
|
-
* @param {*} value The value to query.
|
|
391
|
-
* @returns {string} Returns the `toStringTag`.
|
|
392
|
-
*/
|
|
393
|
-
var getTag = baseGetTag;
|
|
394
|
-
|
|
395
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
396
|
-
if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag) ||
|
|
397
|
-
(Map && getTag(new Map) != mapTag) ||
|
|
398
|
-
(Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
|
|
399
|
-
(Set$1 && getTag(new Set$1) != setTag) ||
|
|
400
|
-
(WeakMap$1 && getTag(new WeakMap$1) != weakMapTag)) {
|
|
401
|
-
getTag = function(value) {
|
|
402
|
-
var result = baseGetTag(value),
|
|
403
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
404
|
-
ctorString = Ctor ? toSource(Ctor) : '';
|
|
405
|
-
|
|
406
|
-
if (ctorString) {
|
|
407
|
-
switch (ctorString) {
|
|
408
|
-
case dataViewCtorString: return dataViewTag;
|
|
409
|
-
case mapCtorString: return mapTag;
|
|
410
|
-
case promiseCtorString: return promiseTag;
|
|
411
|
-
case setCtorString: return setTag;
|
|
412
|
-
case weakMapCtorString: return weakMapTag;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
return result;
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
const getTag$1 = getTag;
|
|
420
|
-
|
|
421
|
-
export { isBuffer$1 as a, isTypedArray$1 as b, isArguments$1 as c, isPrototype as d, baseKeys as e, isLength as f, getTag$1 as g, baseUnary as h, isArrayLike as i, nodeUtil$1 as n, overArg as o };
|
|
1
|
+
import{g as e,r as t,c as r,i as n,b as o,f as u,t as a,M as c}from"./_Map.js";var s=e(t,"WeakMap");function i(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function f(e){return null!=e&&i(e.length)&&!r(e)}var b=Object.prototype;function p(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||b)}function j(e){return n(e)&&"[object Arguments]"==o(e)}var l=Object.prototype,m=l.hasOwnProperty,v=l.propertyIsEnumerable,d=j(function(){return arguments}())?j:function(e){return n(e)&&m.call(e,"callee")&&!v.call(e,"callee")},x="object"==typeof exports&&exports&&!exports.nodeType&&exports,w=x&&"object"==typeof module&&module&&!module.nodeType&&module,y=w&&w.exports===x?t.Buffer:void 0,O=(y?y.isBuffer:void 0)||function(){return!1},M={};function g(e){return function(t){return e(t)}}M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Arguments]"]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object Boolean]"]=M["[object DataView]"]=M["[object Date]"]=M["[object Error]"]=M["[object Function]"]=M["[object Map]"]=M["[object Number]"]=M["[object Object]"]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object WeakMap]"]=!1;var h="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=h&&"object"==typeof module&&module&&!module.nodeType&&module,A=k&&k.exports===h&&u.process,D=function(){try{return k&&k.require&&k.require("util").types||A&&A.binding&&A.binding("util")}catch(e){}}(),P=D&&D.isTypedArray,S=P?g(P):function(e){return n(e)&&i(e.length)&&!!M[o(e)]};function V(e,t){return function(r){return e(t(r))}}var W=V(Object.keys,Object),B=Object.prototype.hasOwnProperty;function _(e){if(!p(e))return W(e);var t=[];for(var r in Object(e))B.call(e,r)&&"constructor"!=r&&t.push(r);return t}var q=e(t,"DataView"),z=e(t,"Promise"),C=e(t,"Set"),E="[object Map]",F="[object Promise]",G="[object Set]",H="[object WeakMap]",I="[object DataView]",J=a(q),K=a(c),L=a(z),N=a(C),Q=a(s),R=o;(q&&R(new q(new ArrayBuffer(1)))!=I||c&&R(new c)!=E||z&&R(z.resolve())!=F||C&&R(new C)!=G||s&&R(new s)!=H)&&(R=function(e){var t=o(e),r="[object Object]"==t?e.constructor:void 0,n=r?a(r):"";if(n)switch(n){case J:return I;case K:return E;case L:return F;case N:return G;case Q:return H}return t});export{O as a,S as b,d as c,p as d,_ as e,g as f,R as g,i as h,f as i,D as n,V as o}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as i,h as n,Host as o,transformTag as t}from"@stencil/core/internal/client";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return n(o,{key:"09a85c9ef3125e8cbd18d55c19f929ffba6ac654",id:this.item.id},this.renderLabel(),n("div",{key:"991a9b9a7cd2124dd6c65feebc40d5a160b6f52a",class:"icons"},this.item.icons.map(((e,i)=>this.renderIcon(e,i)))))}renderLabel(){if(this.item.label)return n("span",{class:"label"},this.item.label)}renderIcon(e,i){const o=`icon-${this.item.id}-${i}`;return[n("limel-icon",{tabIndex:0,key:i,id:o,badge:!0,name:e.name,class:{"is-pending":!!e.pending},style:{color:e.color,"background-color":e.backgroundColor}}),this.renderTooltip(e,o)]}renderTooltip(e,i){if(e.title)return n("limel-tooltip",{label:e.title,elementId:i})}static get style(){return'@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}:host(limebb-chat-icon-list){display:flex;align-items:center;gap:0.5rem;margin-right:auto;max-width:calc(100% - 2rem);padding:0 0.25rem}.label{font-size:0.75rem;color:rgb(var(--contrast-900))}.icons{display:flex;align-items:center;gap:0.25rem}.icons:hover limel-icon,.icons:focus-within limel-icon{margin-left:0 !important}limel-icon{--icon-background-color:rgb(var(--contrast-500), 0.5);transition:margin-left 0.2s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.2s ease, box-shadow 0.2s ease;position:relative;width:1.75rem;padding:0.375rem;flex-shrink:0}limel-icon:focus{outline:none}limel-icon:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-icon:not(.is-pending):not(:first-child){margin-left:-0.75rem}limel-icon.is-pending{animation:pending 3s linear infinite;padding:0.5rem}@media (prefers-reduced-motion: reduce){limel-icon.is-pending{animation:none;opacity:0.5}}limel-icon.is-pending:after{content:"";position:absolute;inset:0;width:1.75rem;height:1.75rem;border-radius:50%;pointer-events:none;border-radius:50%;border:0.125rem solid rgb(var(--color-white), 0.5);border-top-color:rgb(var(--color-black), 0.8);mix-blend-mode:color-dodge;animation:spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite}@media (prefers-reduced-motion: reduce){limel-icon.is-pending:after{display:none}}@keyframes pending{0%,20%,80%,100%{filter:grayscale(0%)}45%,55%{filter:grayscale(100%)}}@keyframes spin{to{transform:rotate(360deg)}}'}},[1,"limebb-chat-icon-list",{item:[16]}]);function s(){"undefined"!=typeof customElements&&["limebb-chat-icon-list"].forEach((e=>{"limebb-chat-icon-list"===e&&(customElements.get(t(e))||customElements.define(t(e),r))}))}export{r as C,s as d}
|
|
@@ -1,184 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { c } from './index.esm.js';
|
|
3
|
-
|
|
4
|
-
const chatItemCss = "@charset \"UTF-8\";*{box-sizing:border-box}:host(limebb-chat-item){display:flex;flex-direction:column;gap:0.25rem;min-width:0;min-height:0;max-width:calc(100% - 2rem)}.bubble-content{display:flex;gap:0.25rem;min-width:0;min-height:0}:host(limebb-chat-item:hover) .helper-text,:host(limebb-chat-item:hover) .timestamp,:host(limebb-chat-item:focus-within) .helper-text,:host(limebb-chat-item:focus-within) .timestamp{opacity:1}:host(limebb-chat-item.mine){margin-left:auto}:host(limebb-chat-item.mine) .item{border-bottom-right-radius:0.125rem;background-color:rgb(var(--color-sky-default), 0.2)}:host(limebb-chat-item.mine) .bubble-content{justify-content:end}:host(limebb-chat-item.mine) .icon-picture{order:2}:host(limebb-chat-item.theirs){margin-right:auto}:host(limebb-chat-item.theirs) .item{border-bottom-left-radius:0.125rem;background-color:rgb(var(--contrast-300), 0.7)}.item{display:flex;flex-direction:column;border-radius:1.25rem;padding:0 0.25rem 0.25rem 0.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}.icon-picture{display:flex;flex-direction:column;gap:0.5rem;align-items:center;justify-content:flex-end}.icon-picture:has(.author-avatar) limel-icon{width:1.25rem;padding:0.125rem}.icon{--icon-background-color:rgb(var(--contrast-500), 0.5);flex-shrink:0;padding:0.375rem;width:2.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}limel-ai-avatar.author-avatar{background-color:rgb(var(--color-glaucous-darker))}header{display:flex;justify-content:space-between;align-items:center;min-height:2rem;padding-left:0.5rem}header:not(:has(.unpromoted-actions-menu)){padding-right:0.5rem}.body-text{padding:0.25rem 0.5rem}footer{display:flex;justify-content:space-between;align-items:end;gap:0.5rem;font-size:x-small}footer:not(:empty){padding:0 0.25rem 0.125rem 0.5rem}footer *{transition:opacity 0.2s ease;opacity:0.4}.timestamp{margin-left:auto}.author-avatar{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500;text-decoration:none}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:\"\";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-promoted-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-promoted-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-promoted-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay);padding-top:0;padding-bottom:0.75rem}:host(limebb-chat-item:hover) .action-bar,:host(limebb-chat-item:focus-within) .action-bar,:host(limebb-chat-item:focus-visible) .action-bar{--limebb-promoted-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-chat-item:hover) limel-action-bar,:host(limebb-chat-item:focus-within) limel-action-bar,:host(limebb-chat-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-chat-item:hover),:host(limebb-chat-item:focus-within){--limebb-promoted-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-promoted-action-bar-grid-template-rows-transition-delay:0.7s}.action-bar{min-width:0;width:calc(100% - calc(2rem + 0.25rem))}:host(limebb-chat-item.theirs) .action-bar{margin-left:calc(2rem + 0.25rem)}:host(limebb-chat-item[has-error]:not([has-error=false])) .bubble-content{cursor:help}:host(limebb-chat-item[has-error]:not([has-error=false])) .item{border:1px solid rgb(var(--color-red-default))}:host(limebb-chat-item[has-error]:not([has-error=false])) .error-sign{color:rgb(var(--color-red-default));flex-shrink:0;width:1.25rem;align-self:center}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .action-bar{padding-left:1.25rem}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .helper-text{opacity:1;color:rgb(var(--color-red-default))}";
|
|
5
|
-
const LimebbChatItemStyle0 = chatItemCss;
|
|
6
|
-
|
|
7
|
-
const ChatListItem = /*@__PURE__*/ proxyCustomElement(class ChatListItem extends HTMLElement {
|
|
8
|
-
constructor() {
|
|
9
|
-
super();
|
|
10
|
-
this.__registerHost();
|
|
11
|
-
this.__attachShadow();
|
|
12
|
-
/**
|
|
13
|
-
* Indicates whether there is an error,
|
|
14
|
-
* for example when message was not sent or delivered.
|
|
15
|
-
*/
|
|
16
|
-
this.hasError = false;
|
|
17
|
-
this.createActionBarItem = (action) => {
|
|
18
|
-
var _a, _b;
|
|
19
|
-
if ('separator' in action) {
|
|
20
|
-
return action;
|
|
21
|
-
}
|
|
22
|
-
let item = {
|
|
23
|
-
value: action,
|
|
24
|
-
text: (_a = action.label) !== null && _a !== void 0 ? _a : '',
|
|
25
|
-
secondaryText: action.description,
|
|
26
|
-
disabled: action.disabled,
|
|
27
|
-
};
|
|
28
|
-
if (!action.label && action.icon) {
|
|
29
|
-
item = Object.assign(Object.assign({}, item), { icon: action.icon, text: (_b = action.description) !== null && _b !== void 0 ? _b : item.text, iconOnly: true });
|
|
30
|
-
}
|
|
31
|
-
else if (action.icon) {
|
|
32
|
-
item = Object.assign(Object.assign({}, item), { icon: action.icon });
|
|
33
|
-
}
|
|
34
|
-
return item;
|
|
35
|
-
};
|
|
36
|
-
this.handleActionBarItemSelect = (event) => {
|
|
37
|
-
var _a;
|
|
38
|
-
event.stopPropagation();
|
|
39
|
-
const command = (_a = event.detail.value) === null || _a === void 0 ? void 0 : _a.command;
|
|
40
|
-
if (command) {
|
|
41
|
-
this.commandbus.handle(command);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
this.createMenuItem = (action) => {
|
|
45
|
-
var _a, _b;
|
|
46
|
-
if ('separator' in action) {
|
|
47
|
-
return action;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
value: action,
|
|
51
|
-
text: (_a = action.label) !== null && _a !== void 0 ? _a : '',
|
|
52
|
-
secondaryText: action.description,
|
|
53
|
-
disabled: action.disabled,
|
|
54
|
-
icon: (_b = action.icon) !== null && _b !== void 0 ? _b : '',
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
this.handleMenuItemSelect = (event) => {
|
|
58
|
-
var _a;
|
|
59
|
-
event.stopPropagation();
|
|
60
|
-
const command = (_a = event.detail.value) === null || _a === void 0 ? void 0 : _a.command;
|
|
61
|
-
if (command) {
|
|
62
|
-
this.commandbus.handle(command);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
const helperTextId = `helper-text-${this.item.id}`;
|
|
68
|
-
return (h(Host, { key: 'df64ed9c4080499035f5d599fbf03edf2fc711bd', id: this.item.id, "aria-describedby": this.helperText ? helperTextId : undefined, "aria-live": this.hasError ? 'assertive' : 'off', class: {
|
|
69
|
-
[`${this.item.ui}`]: true,
|
|
70
|
-
} }, h("div", { key: 'b615241104c1c5b93b4ead5adcb0ff40a6d61271', class: "bubble-content" }, h("div", { key: '2e23b9a4e8bc0709bfeb795cfe2590c244979b6f', class: "icon-picture" }, this.renderIcon(), this.renderAuthorPicture()), this.renderErrorSign(), h("div", { key: '2d2692e9d0627956a99e8486e44ca7fa9267a25e', class: "item" }, this.renderHeader(), this.renderValue(), h("footer", { key: '3b68b893d3c8a8e113ca3c15bf1d336e0722839f' }, this.renderHelperText(helperTextId), this.renderTimestamp()))), this.renderPromotedAction()));
|
|
71
|
-
}
|
|
72
|
-
renderErrorSign() {
|
|
73
|
-
if (!this.hasError) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
return h("limel-icon", { class: "error-sign", name: "brake_warning" });
|
|
77
|
-
}
|
|
78
|
-
renderHeader() {
|
|
79
|
-
var _a;
|
|
80
|
-
if (!((_a = this.item.author) === null || _a === void 0 ? void 0 : _a.name)) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
return (h("header", null, this.renderAuthorName(), h("div", { class: "action-buttons" }, this.renderUnpromotedActionsMenu())));
|
|
84
|
-
}
|
|
85
|
-
renderIcon() {
|
|
86
|
-
var _a, _b, _c, _d;
|
|
87
|
-
if (!this.item.icon) {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
return (h("limel-icon", { class: "icon", badge: true, name: (_b = (_a = this.item.icon) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : 'dot_circle', style: {
|
|
91
|
-
color: `${(_c = this.item.icon) === null || _c === void 0 ? void 0 : _c.color}`,
|
|
92
|
-
'background-color': `${(_d = this.item.icon) === null || _d === void 0 ? void 0 : _d.backgroundColor}`,
|
|
93
|
-
} }));
|
|
94
|
-
}
|
|
95
|
-
renderHelperText(helperTextId) {
|
|
96
|
-
if (!this.helperText) {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
return (h("span", { class: "helper-text", id: helperTextId }, this.helperText));
|
|
100
|
-
}
|
|
101
|
-
renderValue() {
|
|
102
|
-
if (!this.item.value) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
return (h("limel-markdown", { class: "body-text reset-img-height", value: this.item.value }));
|
|
106
|
-
}
|
|
107
|
-
renderAuthorName() {
|
|
108
|
-
var _a, _b;
|
|
109
|
-
if (typeof ((_a = this.item.author) === null || _a === void 0 ? void 0 : _a.name) === 'string') {
|
|
110
|
-
return h("span", { class: "author" }, this.item.author.name);
|
|
111
|
-
}
|
|
112
|
-
if (typeof ((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.name) === 'object') {
|
|
113
|
-
const { href, title, text } = this.item.author.name;
|
|
114
|
-
return (h("a", { class: "author", href: href, title: title }, text));
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
renderAuthorPicture() {
|
|
118
|
-
var _a;
|
|
119
|
-
if (!((_a = this.item.author) === null || _a === void 0 ? void 0 : _a.picture)) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
// If the "picture url" is set to "limel-ai-avatar",
|
|
123
|
-
// we render a limel-ai-avatar component instead of an image.
|
|
124
|
-
if (this.item.author.picture === 'limel-ai-avatar') {
|
|
125
|
-
return h("limel-ai-avatar", { class: "author-avatar" });
|
|
126
|
-
}
|
|
127
|
-
return (h("img", { class: "author-avatar", loading: "lazy", src: this.item.author.picture }));
|
|
128
|
-
}
|
|
129
|
-
renderUnpromotedActionsMenu() {
|
|
130
|
-
var _a, _b;
|
|
131
|
-
if (!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
const items = this.item.unpromotedActions.map(this.createMenuItem);
|
|
135
|
-
return (h("limel-menu", { class: "unpromoted-actions-menu", items: items, openDirection: "bottom-end", onSelect: this.handleMenuItemSelect }, h("limel-icon-button", { icon: "menu_2", slot: "trigger", label: (_b = this.translator) === null || _b === void 0 ? void 0 : _b.get('webclient.more-actions') })));
|
|
136
|
-
}
|
|
137
|
-
renderPromotedAction() {
|
|
138
|
-
if (!this.item.promotedActions) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
const actions = this.item.promotedActions.map(this.createActionBarItem);
|
|
142
|
-
return (h("div", { class: "action-bar" }, h("div", { class: "action-bar-hider" }, h("limel-action-bar", { accessibleLabel: "Action bar", actions: actions, layout: "fullWidth", onItemSelected: this.handleActionBarItemSelect }))));
|
|
143
|
-
}
|
|
144
|
-
renderTimestamp() {
|
|
145
|
-
const timestamp = this.item.timestamp;
|
|
146
|
-
if (!timestamp) {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
return (h("span", { class: "timestamp" }, this.dateTimeFormatter.format(timestamp, 'timeofday')));
|
|
150
|
-
}
|
|
151
|
-
get dateTimeFormatter() {
|
|
152
|
-
return this.platform.get(c.DateTimeFormatter);
|
|
153
|
-
}
|
|
154
|
-
get translator() {
|
|
155
|
-
var _a;
|
|
156
|
-
return (_a = this.platform) === null || _a === void 0 ? void 0 : _a.get(c.Translate);
|
|
157
|
-
}
|
|
158
|
-
get commandbus() {
|
|
159
|
-
var _a;
|
|
160
|
-
return (_a = this.platform) === null || _a === void 0 ? void 0 : _a.get(c.CommandBus);
|
|
161
|
-
}
|
|
162
|
-
static get style() { return LimebbChatItemStyle0; }
|
|
163
|
-
}, [1, "limebb-chat-item", {
|
|
164
|
-
"platform": [16],
|
|
165
|
-
"context": [16],
|
|
166
|
-
"item": [16],
|
|
167
|
-
"helperText": [1, "helper-text"],
|
|
168
|
-
"hasError": [516, "has-error"]
|
|
169
|
-
}]);
|
|
170
|
-
function defineCustomElement() {
|
|
171
|
-
if (typeof customElements === "undefined") {
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
const components = ["limebb-chat-item"];
|
|
175
|
-
components.forEach(tagName => { switch (tagName) {
|
|
176
|
-
case "limebb-chat-item":
|
|
177
|
-
if (!customElements.get(tagName)) {
|
|
178
|
-
customElements.define(tagName, ChatListItem);
|
|
179
|
-
}
|
|
180
|
-
break;
|
|
181
|
-
} });
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export { ChatListItem as C, defineCustomElement as d };
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as r,transformTag as o}from"@stencil/core/internal/client";import{n as a}from"./index.esm.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hasError=!1,this.createActionBarItem=e=>{var t,i;if("separator"in e)return e;let r={value:e,text:null!==(t=e.label)&&void 0!==t?t:"",secondaryText:e.description,disabled:e.disabled};return!e.label&&e.icon?r=Object.assign(Object.assign({},r),{icon:e.icon,text:null!==(i=e.description)&&void 0!==i?i:r.text,iconOnly:!0}):e.icon&&(r=Object.assign(Object.assign({},r),{icon:e.icon})),r},this.handleActionBarItemSelect=e=>{var t;e.stopPropagation();const i=null===(t=e.detail.value)||void 0===t?void 0:t.command;i&&this.commandbus.handle(i)},this.createMenuItem=e=>{var t,i;return"separator"in e?e:{value:e,text:null!==(t=e.label)&&void 0!==t?t:"",secondaryText:e.description,disabled:e.disabled,icon:null!==(i=e.icon)&&void 0!==i?i:""}},this.handleMenuItemSelect=e=>{var t;e.stopPropagation();const i=null===(t=e.detail.value)||void 0===t?void 0:t.command;i&&this.commandbus.handle(i)}}render(){const e=`helper-text-${this.item.id}`;return i(r,{key:"51fec84e9e040ca74c86e1f6f75a6bd5e3dbdf2f",id:this.item.id,"aria-describedby":this.helperText?e:void 0,"aria-live":this.hasError?"assertive":"off",class:{[`${this.item.ui}`]:!0}},i("div",{key:"c1ec1c4dd88749a09f0a65d66aa73bca6b6ba528",class:"bubble-content"},i("div",{key:"77540f47512a984dfdfee196c1327c622b10a9ae",class:"icon-picture"},this.renderIcon(),this.renderAuthorPicture()),this.renderErrorSign(),i("div",{key:"d95119ccf3ce6f9a621e1e099c6378671211931b",class:"item"},this.renderHeader(),this.renderValue(),i("footer",{key:"4c0f76598ba669f72b14ff2c81b1dbf9fb2e84f0"},this.renderHelperText(e),this.renderTimestamp()))),this.renderPromotedAction())}renderErrorSign(){if(this.hasError)return i("limel-icon",{class:"error-sign",name:"brake_warning"})}renderHeader(){var e;if(null===(e=this.item.author)||void 0===e?void 0:e.name)return i("header",null,this.renderAuthorName(),i("div",{class:"action-buttons"},this.renderUnpromotedActionsMenu()))}renderIcon(){var e,t,r,o;if(this.item.icon)return i("limel-icon",{class:"icon",badge:!0,name:null!==(t=null===(e=this.item.icon)||void 0===e?void 0:e.name)&&void 0!==t?t:"dot_circle",style:{color:`${null===(r=this.item.icon)||void 0===r?void 0:r.color}`,"background-color":`${null===(o=this.item.icon)||void 0===o?void 0:o.backgroundColor}`}})}renderHelperText(e){if(this.helperText)return i("span",{class:"helper-text",id:e},this.helperText)}renderValue(){if(this.item.value)return i("limel-markdown",{class:"body-text reset-img-height",value:this.item.value})}renderAuthorName(){var e,t;if("string"==typeof(null===(e=this.item.author)||void 0===e?void 0:e.name))return i("span",{class:"author"},this.item.author.name);if("object"==typeof(null===(t=this.item.author)||void 0===t?void 0:t.name)){const{href:e,title:t,text:r}=this.item.author.name;return i("a",{class:"author",href:e,title:t},r)}}renderAuthorPicture(){var e;if(null===(e=this.item.author)||void 0===e?void 0:e.picture)return"limel-ai-avatar"===this.item.author.picture?i("limel-ai-avatar",{class:"author-avatar"}):i("img",{class:"author-avatar",loading:"lazy",src:this.item.author.picture})}renderUnpromotedActionsMenu(){var e,t;if(!(null===(e=this.item.unpromotedActions)||void 0===e?void 0:e.length))return;const r=this.item.unpromotedActions.map(this.createMenuItem);return i("limel-menu",{class:"unpromoted-actions-menu",items:r,openDirection:"bottom-end",onSelect:this.handleMenuItemSelect},i("limel-icon-button",{icon:"menu_2",slot:"trigger",label:null===(t=this.translator)||void 0===t?void 0:t.get("webclient.more-actions")}))}renderPromotedAction(){if(!this.item.promotedActions)return;const e=this.item.promotedActions.map(this.createActionBarItem);return i("div",{class:"action-bar"},i("div",{class:"action-bar-hider"},i("limel-action-bar",{accessibleLabel:"Action bar",actions:e,layout:"fullWidth",onItemSelected:this.handleActionBarItemSelect})))}renderTimestamp(){const e=this.item.timestamp;if(e)return i("span",{class:"timestamp"},this.dateTimeFormatter.format(e,"timeofday"))}get dateTimeFormatter(){return this.platform.get(a.DateTimeFormatter)}get translator(){var e;return null===(e=this.platform)||void 0===e?void 0:e.get(a.Translate)}get commandbus(){var e;return null===(e=this.platform)||void 0===e?void 0:e.get(a.CommandBus)}static get style(){return'@charset "UTF-8";*{box-sizing:border-box}:host(limebb-chat-item){display:flex;flex-direction:column;gap:0.25rem;min-width:0;min-height:0;max-width:calc(100% - 2rem)}.bubble-content{display:flex;gap:0.25rem;min-width:0;min-height:0}:host(limebb-chat-item:hover) .helper-text,:host(limebb-chat-item:hover) .timestamp,:host(limebb-chat-item:focus-within) .helper-text,:host(limebb-chat-item:focus-within) .timestamp{opacity:1}:host(limebb-chat-item.mine){margin-left:auto}:host(limebb-chat-item.mine) .item{border-bottom-right-radius:0.125rem;background-color:rgb(var(--color-sky-default), 0.2)}:host(limebb-chat-item.mine) .bubble-content{justify-content:end}:host(limebb-chat-item.mine) .icon-picture{order:2}:host(limebb-chat-item.theirs){margin-right:auto}:host(limebb-chat-item.theirs) .item{border-bottom-left-radius:0.125rem;background-color:rgb(var(--contrast-300), 0.7)}.item{display:flex;flex-direction:column;border-radius:1.25rem;padding:0 0.25rem 0.25rem 0.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}.icon-picture{display:flex;flex-direction:column;gap:0.5rem;align-items:center;justify-content:flex-end}.icon-picture:has(.author-avatar) limel-icon{width:1.25rem;padding:0.125rem}.icon{--icon-background-color:rgb(var(--contrast-500), 0.5);flex-shrink:0;padding:0.375rem;width:2.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}limel-ai-avatar.author-avatar{background-color:rgb(var(--color-glaucous-darker))}header{display:flex;justify-content:space-between;align-items:center;min-height:2rem;padding-left:0.5rem}header:not(:has(.unpromoted-actions-menu)){padding-right:0.5rem}.body-text{padding:0.25rem 0.5rem}footer{display:flex;justify-content:space-between;align-items:end;gap:0.5rem;font-size:x-small}footer:not(:empty){padding:0 0.25rem 0.125rem 0.5rem}footer *{transition:opacity 0.2s ease;opacity:0.4}.timestamp{margin-left:auto}.author-avatar{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500;text-decoration:none}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:"";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-promoted-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-promoted-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-promoted-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay);padding-top:0;padding-bottom:0.75rem}:host(limebb-chat-item:hover) .action-bar,:host(limebb-chat-item:focus-within) .action-bar,:host(limebb-chat-item:focus-visible) .action-bar{--limebb-promoted-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-chat-item:hover) limel-action-bar,:host(limebb-chat-item:focus-within) limel-action-bar,:host(limebb-chat-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-chat-item:hover),:host(limebb-chat-item:focus-within){--limebb-promoted-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-promoted-action-bar-grid-template-rows-transition-delay:0.7s}.action-bar{min-width:0;width:calc(100% - calc(2rem + 0.25rem))}:host(limebb-chat-item.theirs) .action-bar{margin-left:calc(2rem + 0.25rem)}:host(limebb-chat-item[has-error]:not([has-error=false])) .bubble-content{cursor:help}:host(limebb-chat-item[has-error]:not([has-error=false])) .item{border:1px solid rgb(var(--color-red-default))}:host(limebb-chat-item[has-error]:not([has-error=false])) .error-sign{color:rgb(var(--color-red-default));flex-shrink:0;width:1.25rem;align-self:center}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .action-bar{padding-left:1.25rem}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .helper-text{opacity:1;color:rgb(var(--color-red-default))}'}},[1,"limebb-chat-item",{platform:[16],context:[16],item:[16],helperText:[1,"helper-text"],hasError:[516,"has-error"]}]);function n(){"undefined"!=typeof customElements&&["limebb-chat-item"].forEach((e=>{"limebb-chat-item"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))}export{s as C,n as d}
|