@limetech/lime-crm-building-blocks 1.111.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +51 -0
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-item_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-chat-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert-dialog/alert-dialog.css +99 -0
- package/dist/collection/components/alert-dialog/alert-dialog.js +218 -0
- package/dist/collection/components/alert-dialog/alert-dialog.types.js +1 -0
- package/dist/collection/components/browser/browser.js +2 -2
- package/dist/collection/components/chat-list/chat-item/chat-item.css +26 -5
- package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
- package/dist/collection/components/chat-list/chat-list.css +26 -5
- package/dist/collection/components/chat-list/chat-list.js +2 -2
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/currency-picker/currency-picker.js +1 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
- package/dist/collection/components/data-cells/data-cells.css +26 -5
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-range/date-range.js +1 -1
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.css +26 -5
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +26 -5
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +26 -5
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.css +26 -5
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.css +26 -5
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +26 -5
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/navigation-button/navigation-button.css +26 -5
- package/dist/collection/components/notification-list/notification-item/notification-item.css +26 -5
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/notification-list/notification-list.css +26 -5
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +26 -5
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/summary-popover/summary-popover.js +3 -3
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor-picker.css +2 -0
- package/dist/collection/components/text-editor/text-editor.js +2 -1
- package/dist/collection/components/trend-indicator/trend-indicator.css +26 -5
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/components/chat-item.js +2 -2
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/document-item.js +2 -2
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +3 -3
- package/dist/components/limebb-alert-dialog.d.ts +11 -0
- package/dist/components/limebb-alert-dialog.js +71 -0
- package/dist/components/limebb-browser.js +2 -2
- package/dist/components/limebb-chat-list.js +2 -2
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-date-range.js +1 -1
- package/dist/components/limebb-document-picker.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +1 -1
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +2 -2
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +1 -1
- package/dist/components/order-by-item.js +2 -2
- package/dist/components/percentage-visualizer.js +2 -2
- package/dist/components/response-format-item.js +1 -1
- package/dist/components/summary-popover.js +3 -3
- package/dist/components/text-editor-picker.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +47 -0
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-item_2.entry.js +3 -3
- package/dist/esm/limebb-chat-list.entry.js +2 -2
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +2 -2
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +3 -3
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +1 -1
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-5f5cd2b2.entry.js → p-000cccb8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-228573ab.entry.js → p-1b13e8f1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6e969c97.entry.js → p-239d68c7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a9ef0153.entry.js → p-2ba38d7f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d880ba5e.entry.js → p-2fd586a0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c1c89173.entry.js → p-377da950.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e8069516.entry.js → p-40f29017.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-59b4af72.entry.js → p-48585665.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0c290fd8.entry.js → p-4a60bde2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f9daa703.entry.js → p-55c494f9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-85c04627.entry.js → p-57591c89.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-92062bd6.entry.js → p-5cea7fb4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-af1e3cac.entry.js → p-62c5cb1b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-acf77715.entry.js → p-630fa055.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6bd3f952.entry.js → p-64cbf4f4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6a87a407.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-87e5d049.entry.js → p-6ad6a88d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c38f0931.entry.js → p-703fa2fe.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-17baea44.entry.js → p-71697503.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ef08b09f.entry.js → p-74953ead.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-eaf58ba4.entry.js → p-7c54f3c7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1b2ed672.entry.js → p-7f72be40.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c678ba6d.entry.js → p-8633cd5f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9b4617bd.entry.js → p-8e885ec8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-199f0a47.entry.js → p-920a321e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ac833ff7.entry.js → p-a1bb9206.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bd6b5a42.entry.js → p-adc423db.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-937e9144.entry.js → p-b90be9d3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-01375d63.entry.js → p-cc1ef69e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a9160103.entry.js → p-ce1b05e4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-517fd960.entry.js → p-d7fcac35.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-442dffef.entry.js → p-de84f26b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3d4c4df2.entry.js → p-e980329d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f965d2a6.entry.js → p-e990af19.entry.js} +1 -1
- package/dist/types/components/alert-dialog/alert-dialog.d.ts +78 -0
- package/dist/types/components/alert-dialog/alert-dialog.types.d.ts +13 -0
- package/dist/types/components/text-editor/text-editor.d.ts +1 -0
- package/dist/types/components.d.ts +222 -0
- package/package.json +2 -2
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* node module, for consumer projects to import.
|
|
5
|
-
* That means this file cannot import from any file that isn't
|
|
6
|
-
* also exported, keeping the same relative path.
|
|
3
|
+
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
|
|
7
4
|
*
|
|
8
|
-
*
|
|
5
|
+
* This file enables the clean import path:
|
|
6
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
7
|
+
*
|
|
8
|
+
* It simply forwards everything from the built exports file.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Public SCSS exports for consumers of @limetech/lime-elements.
|
|
12
|
+
*
|
|
13
|
+
* This file provides reusable styling utilities.
|
|
14
|
+
*
|
|
15
|
+
* Import this file using:
|
|
16
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
17
|
+
*
|
|
18
|
+
* For detailed documentation of each utility, its parameters,
|
|
19
|
+
* and usage examples, refer to the respective source files.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Note! This file is forwarded via `src/style/exports.scss`
|
|
23
|
+
* and exposed to consumers through the root `index.scss`.
|
|
24
|
+
*
|
|
25
|
+
* Consumers import it using:
|
|
26
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
27
|
+
*
|
|
28
|
+
* Legacy import paths (`dist/scss/mixins`) are maintained
|
|
29
|
+
* for backward compatibility via copy rules in the Stencil config.
|
|
9
30
|
*/
|
|
10
31
|
/**
|
|
11
32
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
package/dist/collection/components/notification-list/notification-item/notification-item.css
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* node module, for consumer projects to import.
|
|
5
|
-
* That means this file cannot import from any file that isn't
|
|
6
|
-
* also exported, keeping the same relative path.
|
|
3
|
+
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
|
|
7
4
|
*
|
|
8
|
-
*
|
|
5
|
+
* This file enables the clean import path:
|
|
6
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
7
|
+
*
|
|
8
|
+
* It simply forwards everything from the built exports file.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Public SCSS exports for consumers of @limetech/lime-elements.
|
|
12
|
+
*
|
|
13
|
+
* This file provides reusable styling utilities.
|
|
14
|
+
*
|
|
15
|
+
* Import this file using:
|
|
16
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
17
|
+
*
|
|
18
|
+
* For detailed documentation of each utility, its parameters,
|
|
19
|
+
* and usage examples, refer to the respective source files.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Note! This file is forwarded via `src/style/exports.scss`
|
|
23
|
+
* and exposed to consumers through the root `index.scss`.
|
|
24
|
+
*
|
|
25
|
+
* Consumers import it using:
|
|
26
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
27
|
+
*
|
|
28
|
+
* Legacy import paths (`dist/scss/mixins`) are maintained
|
|
29
|
+
* for backward compatibility via copy rules in the Stencil config.
|
|
9
30
|
*/
|
|
10
31
|
/**
|
|
11
32
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
@@ -56,7 +56,7 @@ export class NotificationListItem {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '64a1c152d49ac5daa9ec02237ff17d9bb97face5', id: this.item.id, class: {
|
|
60
60
|
'is-clickable': this.isItemClickable(),
|
|
61
61
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
62
62
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* node module, for consumer projects to import.
|
|
5
|
-
* That means this file cannot import from any file that isn't
|
|
6
|
-
* also exported, keeping the same relative path.
|
|
3
|
+
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
|
|
7
4
|
*
|
|
8
|
-
*
|
|
5
|
+
* This file enables the clean import path:
|
|
6
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
7
|
+
*
|
|
8
|
+
* It simply forwards everything from the built exports file.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Public SCSS exports for consumers of @limetech/lime-elements.
|
|
12
|
+
*
|
|
13
|
+
* This file provides reusable styling utilities.
|
|
14
|
+
*
|
|
15
|
+
* Import this file using:
|
|
16
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
17
|
+
*
|
|
18
|
+
* For detailed documentation of each utility, its parameters,
|
|
19
|
+
* and usage examples, refer to the respective source files.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Note! This file is forwarded via `src/style/exports.scss`
|
|
23
|
+
* and exposed to consumers through the root `index.scss`.
|
|
24
|
+
*
|
|
25
|
+
* Consumers import it using:
|
|
26
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
27
|
+
*
|
|
28
|
+
* Legacy import paths (`dist/scss/mixins`) are maintained
|
|
29
|
+
* for backward compatibility via copy rules in the Stencil config.
|
|
9
30
|
*/
|
|
10
31
|
/**
|
|
11
32
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
@@ -3,12 +3,33 @@
|
|
|
3
3
|
* @prop --percentage-visualizer-color: defines the color of the percentage bar
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* node module, for consumer projects to import.
|
|
8
|
-
* That means this file cannot import from any file that isn't
|
|
9
|
-
* also exported, keeping the same relative path.
|
|
6
|
+
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
|
|
10
7
|
*
|
|
11
|
-
*
|
|
8
|
+
* This file enables the clean import path:
|
|
9
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
10
|
+
*
|
|
11
|
+
* It simply forwards everything from the built exports file.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Public SCSS exports for consumers of @limetech/lime-elements.
|
|
15
|
+
*
|
|
16
|
+
* This file provides reusable styling utilities.
|
|
17
|
+
*
|
|
18
|
+
* Import this file using:
|
|
19
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
20
|
+
*
|
|
21
|
+
* For detailed documentation of each utility, its parameters,
|
|
22
|
+
* and usage examples, refer to the respective source files.
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Note! This file is forwarded via `src/style/exports.scss`
|
|
26
|
+
* and exposed to consumers through the root `index.scss`.
|
|
27
|
+
*
|
|
28
|
+
* Consumers import it using:
|
|
29
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
30
|
+
*
|
|
31
|
+
* Legacy import paths (`dist/scss/mixins`) are maintained
|
|
32
|
+
* for backward compatibility via copy rules in the Stencil config.
|
|
12
33
|
*/
|
|
13
34
|
/**
|
|
14
35
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
@@ -91,11 +91,11 @@ export class PercentageVisualizer {
|
|
|
91
91
|
render() {
|
|
92
92
|
const normalizedValue = this.getNormalizedValue();
|
|
93
93
|
const zeroPoint = this.getZeroPointPosition();
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '5f43d08e559a8be88c2d2426699208cef33fe9ae', class: this.getContainerClassList(), style: {
|
|
95
95
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
96
96
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
97
97
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
98
|
-
} }, h("limel-notched-outline", { key: '
|
|
98
|
+
} }, h("limel-notched-outline", { key: 'cccb03afaea2560edf610356286b59c7a3f9ebcd', tabIndex: 0, role: "meter", "aria-valuemin": this.rangeMin, "aria-valuemax": this.rangeMax, "aria-valuenow": this.numValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-controls": this.helperTextId }, h("div", { key: 'a4bff08185207a8ae82be37c607b1d1daf10d1e7', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
99
99
|
}
|
|
100
100
|
renderVisualization() {
|
|
101
101
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -118,14 +118,14 @@ export class SummaryPopover {
|
|
|
118
118
|
top: '0.125rem',
|
|
119
119
|
right: '0.125rem',
|
|
120
120
|
};
|
|
121
|
-
return (h("limel-popover", { key: '
|
|
121
|
+
return (h("limel-popover", { key: 'd5142ad5871d8cf04492bda3623c3030d1b86699', style: {
|
|
122
122
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
123
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
123
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '876fc3afb9e00e18effdaf081f8e879bccfe0a56', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: 'aec98e47257894960d4adacd004a286e7f7cb64c', name: "trigger" }), h("div", { key: 'f1771f1aea8080c383ba81295848bb242c910f29', class: "opening-countdown-indicator" })), h("limel-card", { key: '1d17f98a066f31650432cd7b657a835ae1dbebcb', style: {
|
|
124
124
|
'max-width': this.popoverMaxWidth,
|
|
125
125
|
'max-height': this.popoverMaxHeight,
|
|
126
126
|
'min-width': '7rem',
|
|
127
127
|
'min-height': '3rem',
|
|
128
|
-
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: '
|
|
128
|
+
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: '2edbd8ce64c46b48bc0c11be51339b98f980db40', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "limebb-summary-popover"; }
|
|
131
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,8 +13,8 @@ export class MentionGroupCounter {
|
|
|
13
13
|
render() {
|
|
14
14
|
const label = this.getLabel();
|
|
15
15
|
return [
|
|
16
|
-
h("span", { key: '
|
|
17
|
-
h("limel-tooltip", { key: '
|
|
16
|
+
h("span", { key: 'be19b705f56d74ddf3645c11cb905be4758d6038', id: this.tooltipId }, label),
|
|
17
|
+
h("limel-tooltip", { key: 'c02c356b6fc3320930def24994997107f903923f', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
20
|
getLabel() {
|
|
@@ -38,6 +38,7 @@ const DEBOUNCE_SEARCH_TIMEOUT = 300;
|
|
|
38
38
|
* @exampleComponent limebb-example-text-editor-composite
|
|
39
39
|
* @exampleComponent limebb-example-text-editor-allow-resize
|
|
40
40
|
* @exampleComponent limebb-example-text-editor-focus
|
|
41
|
+
* @exampleComponent limebb-example-text-editor-many-picker-items
|
|
41
42
|
* @beta
|
|
42
43
|
*/
|
|
43
44
|
export class LimeBBTextEditor {
|
|
@@ -390,7 +391,7 @@ export class LimeBBTextEditor {
|
|
|
390
391
|
}
|
|
391
392
|
render() {
|
|
392
393
|
return [
|
|
393
|
-
h("limel-text-editor", { key: '
|
|
394
|
+
h("limel-text-editor", { key: 'c8af41c98f9bee357bbf9ff23f0862ab7144139f', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
|
|
394
395
|
this.renderPicker(),
|
|
395
396
|
];
|
|
396
397
|
}
|
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* node module, for consumer projects to import.
|
|
5
|
-
* That means this file cannot import from any file that isn't
|
|
6
|
-
* also exported, keeping the same relative path.
|
|
3
|
+
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
|
|
7
4
|
*
|
|
8
|
-
*
|
|
5
|
+
* This file enables the clean import path:
|
|
6
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
7
|
+
*
|
|
8
|
+
* It simply forwards everything from the built exports file.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Public SCSS exports for consumers of @limetech/lime-elements.
|
|
12
|
+
*
|
|
13
|
+
* This file provides reusable styling utilities.
|
|
14
|
+
*
|
|
15
|
+
* Import this file using:
|
|
16
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
17
|
+
*
|
|
18
|
+
* For detailed documentation of each utility, its parameters,
|
|
19
|
+
* and usage examples, refer to the respective source files.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Note! This file is forwarded via `src/style/exports.scss`
|
|
23
|
+
* and exposed to consumers through the root `index.scss`.
|
|
24
|
+
*
|
|
25
|
+
* Consumers import it using:
|
|
26
|
+
* `@use '@limetech/lime-elements' as lime-elements;`
|
|
27
|
+
*
|
|
28
|
+
* Legacy import paths (`dist/scss/mixins`) are maintained
|
|
29
|
+
* for backward compatibility via copy rules in the Stencil config.
|
|
9
30
|
*/
|
|
10
31
|
/**
|
|
11
32
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
@@ -52,7 +52,7 @@ export class TrendIndicator {
|
|
|
52
52
|
this.numValue = this.parseValue(this.value);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'ab0f00081e519133ed9e139c907e3f5365e1323c', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '41578e4885e1de13ca6dfc2bd90e0aa58caaf58a', id: this.tooltipId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, "aria-controls": this.helperTextId }, h("div", { key: '23da812d26acb20a8841eff9a8ad2330de01e8a3', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
|
|
56
56
|
}
|
|
57
57
|
renderVisualization() {
|
|
58
58
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -65,9 +65,9 @@ const ChatListItem = /*@__PURE__*/ proxyCustomElement(class ChatListItem extends
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
const helperTextId = `helper-text-${this.item.id}`;
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'df64ed9c4080499035f5d599fbf03edf2fc711bd', id: this.item.id, "aria-describedby": this.helperText ? helperTextId : undefined, "aria-live": this.hasError ? 'assertive' : 'off', class: {
|
|
69
69
|
[`${this.item.ui}`]: true,
|
|
70
|
-
} }, h("div", { key: '
|
|
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
71
|
}
|
|
72
72
|
renderErrorSign() {
|
|
73
73
|
if (!this.hasError) {
|
|
@@ -1851,7 +1851,7 @@ const CurrencyPicker = /*@__PURE__*/ proxyCustomElement(class CurrencyPicker ext
|
|
|
1851
1851
|
};
|
|
1852
1852
|
}
|
|
1853
1853
|
render() {
|
|
1854
|
-
return (h("limel-picker", { key: '
|
|
1854
|
+
return (h("limel-picker", { key: 'a8f8adca9dddaeaf0e8007b98d5d824d94a10a56', label: this.label || this.defaultLabel, value: this.createListItem(this.value), helperText: this.helperText, onChange: this.handleChange, badgeIcons: false, disabled: this.disabled, required: this.required, readonly: this.readonly, invalid: this.readonly, searcher: this.search }));
|
|
1855
1855
|
}
|
|
1856
1856
|
getCurrencyName(code) {
|
|
1857
1857
|
var _a;
|
|
@@ -75,7 +75,7 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class DatePicker extends HTM
|
|
|
75
75
|
if (this.value) {
|
|
76
76
|
this.shouldEmitValueAsString = typeof this.value === 'string';
|
|
77
77
|
}
|
|
78
|
-
return (h("limel-date-picker", { key: '
|
|
78
|
+
return (h("limel-date-picker", { key: '95502501f32531eda1620df9350be229e0c75f9e', disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, label: this.label, placeholder: this.placeholder, helperText: this.helperText, required: this.required, value: this.parseDateValue(), type: this.type, language: this.language, formatter: this.formatter, onChange: this.handleChange }));
|
|
79
79
|
}
|
|
80
80
|
parseDateValue() {
|
|
81
81
|
const value = this.value;
|
|
@@ -117,10 +117,10 @@ const DocumentItemComponent = /*@__PURE__*/ proxyCustomElement(class DocumentIte
|
|
|
117
117
|
render() {
|
|
118
118
|
const isUnavailable = this.isUnavailable();
|
|
119
119
|
const image = this.getImage();
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'c4a70828295792ed3a50679adb08ed0692c25131', id: String(this.item.file.id), class: {
|
|
121
121
|
'has-image': !!image,
|
|
122
122
|
'has-error': !!this.item.hasError,
|
|
123
|
-
}, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, h("limel-card", { key: '
|
|
123
|
+
}, role: this.type === 'radio' ? 'radio' : 'checkbox', "aria-checked": this.item.selected ? 'true' : 'false', "aria-disabled": isUnavailable ? 'true' : 'false', tabIndex: isUnavailable ? -1 : 0 }, h("limel-card", { key: 'b9794a751ebc9cf62d39ec21104f6f54b53c204d', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, h("div", { key: '895d606422f773ab62da2ea0d9ce327001225cc0', slot: "component" }, this.renderFileSize(), this.renderBooleanInput())), this.renderHelp()));
|
|
124
124
|
}
|
|
125
125
|
renderBooleanInput() {
|
|
126
126
|
const id = this.getControlId();
|
|
@@ -10,7 +10,7 @@ const FeedItemThumbnailFileInfo = /*@__PURE__*/ proxyCustomElement(class FeedIte
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h("span", { key: '
|
|
13
|
+
return h("span", { key: '8666d078890e59b7c3cad08449be74f8d0b454a9' }, this.description);
|
|
14
14
|
}
|
|
15
15
|
static get style() { return LimebbFeedItemThumbnailFileInfoStyle0; }
|
|
16
16
|
}, [1, "limebb-feed-item-thumbnail-file-info", {
|
|
@@ -210,7 +210,7 @@ const FeedTimelineItem = /*@__PURE__*/ proxyCustomElement(class FeedTimelineItem
|
|
|
210
210
|
render() {
|
|
211
211
|
var _a, _b;
|
|
212
212
|
const helperTextId = `helper-text-${this.item.id}`;
|
|
213
|
-
return (h(Host, { key: '
|
|
213
|
+
return (h(Host, { key: '2c7bc6857a6ff9d7241f6c62f5cf049c47e3d118', id: this.item.id, class: {
|
|
214
214
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
215
215
|
'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
|
|
216
216
|
'shows-less': !this.showMore,
|
|
@@ -33,7 +33,7 @@ const KanbanGroup = /*@__PURE__*/ proxyCustomElement(class KanbanGroup extends H
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'facbffb1c7247c2fe6873b0764bfeed96cd0eebd' }, this.renderHelp(), this.renderGroupHeading(), this.renderGroupSummary(), this.renderItems()));
|
|
37
37
|
}
|
|
38
38
|
renderGroupSummary() {
|
|
39
39
|
if (!this.summary || !this.totalCount) {
|
|
@@ -60,7 +60,7 @@ const KanbanItemComponent = /*@__PURE__*/ proxyCustomElement(class KanbanItemCom
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '64ddf50711549fd8dbbd8a3661af34e4275c594e', id: this.item.id.toString(), class: {
|
|
64
64
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
65
65
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
66
66
|
}, style: {
|
|
@@ -110,7 +110,7 @@ const LimeQueryFilterComparisonComponent = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '7f43cdd2fe758a89c72f93b45986fbe3919d3173' }, this.renderHeader(), h("div", { key: '870ab0dc2f8467f95d00194e78eeb4a9e8fe711e', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: '2712a25b9058e1d60cbf86c5b968eaa054a96f0e', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
114
114
|
}
|
|
115
115
|
renderHeader() {
|
|
116
116
|
if (!this.label) {
|
|
@@ -148,7 +148,7 @@ const LimeQueryFilterNotComponent = /*@__PURE__*/ proxyCustomElement(class LimeQ
|
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h("div", { key: '
|
|
151
|
+
return (h("div", { key: '853b9dc1c02b9079615fbb912f6c9857ce88ecaf', class: "expression" }, this.label && h("limel-header", { key: '6ac9a53f1238c6f2c1ab2d87fb0c3bcc54606216', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'b736dc7bdab308ce03007ab6bbe907494376eb9b', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
152
152
|
}
|
|
153
153
|
static get style() { return LimebbLimeQueryFilterNotStyle0; }
|
|
154
154
|
}, [1, "limebb-lime-query-filter-not", {
|
|
@@ -253,9 +253,9 @@ const LimeQueryFilterGroupComponent = /*@__PURE__*/ proxyCustomElement(class Lim
|
|
|
253
253
|
(this.expression.op === re.AND ? 'and' : 'or')) || this.options[0];
|
|
254
254
|
}
|
|
255
255
|
render() {
|
|
256
|
-
return (h(Host, { key: '
|
|
256
|
+
return (h(Host, { key: '757b08e5d85d11131b5b5e47cefacb11fd2894f9', style: {
|
|
257
257
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === re.AND ? 'AND' : 'OR'}"`,
|
|
258
|
-
} }, h("div", { key: '
|
|
258
|
+
} }, h("div", { key: '4d2c562555247b40856454aa8072fbd7bf65c5ba', class: "expression" }, this.renderHeader(), h("ul", { key: '1d68ef3bafc0ba2444a7712b795cb878c0a770dd' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
259
259
|
}
|
|
260
260
|
renderHeader() {
|
|
261
261
|
const subheading = this.getSubheading();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface LimebbAlertDialog extends Components.LimebbAlertDialog, HTMLElement {}
|
|
4
|
+
export const LimebbAlertDialog: {
|
|
5
|
+
prototype: LimebbAlertDialog;
|
|
6
|
+
new (): LimebbAlertDialog;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const alertDialogCss = ":host(limebb-alert-dialog){--dialog-width:20rem;overflow:hidden}:host([type=note]){--alert-type-background:var(--color-sky-lighter);--alert-type-color:var(--color-sky-dark)}:host([type=success]){--alert-type-background:var(--color-lime-lighter);--alert-type-color:var(--color-lime-dark)}:host([type=caution]){--alert-type-background:var(--color-orange-lighter);--alert-type-color:var(--color-orange-dark)}:host([type=warning]){--alert-type-background:var(--color-coral-lighter);--alert-type-color:var(--color-coral-dark)}.dialog-content{display:flex;flex-direction:column;align-items:center}.icon-slot{display:flex;justify-content:center;align-items:center;height:7rem;width:7rem;border-radius:50%;margin:1.5rem 0;background:rgb(var(--alert-type-background))}limel-icon{height:3.5rem;width:3.5rem;color:rgb(var(--alert-type-color))}h1{color:rgb(var(--contrast-1500));font-size:1.5rem}h2{text-align:center;color:rgb(var(--contrast-1200));margin:0 0 0.25rem 0;font-size:0.9rem;font-weight:500;line-height:1.2rem}div[slot=button]{display:flex;flex-direction:column;align-items:center;gap:0.5rem;width:100%}::slotted(limel-button){display:block;width:100%}::slotted(limel-button[primary]){color:rgb(var(--contrast-100));--lime-primary-color:rgb(var(--alert-type-color))}::slotted(limel-button:not([primary])){--lime-primary-color:rgb(var(--contrast-1000))}::slotted(button),::slotted(a){all:unset;color:rgb(var(--contrast-1000));border-bottom:1px solid rgb(var(--contrast-800));text-align:center;width:fit-content;cursor:pointer}::slotted(button:focus-visible),::slotted(a:focus-visible){outline:none;box-shadow:var(--shadow-depth-8-focused)}";
|
|
4
|
+
const LimebbAlertDialogStyle0 = alertDialogCss;
|
|
5
|
+
|
|
6
|
+
const LimebbAlertDialog$1 = /*@__PURE__*/ proxyCustomElement(class LimebbAlertDialog extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.dismiss = createEvent(this, "dismiss", 7);
|
|
12
|
+
/**
|
|
13
|
+
* Defines how the component is visualized with a default icon and fixed color scheme.
|
|
14
|
+
*/
|
|
15
|
+
this.type = 'note';
|
|
16
|
+
/**
|
|
17
|
+
* Controls whether the dialog is open
|
|
18
|
+
* (controlled by the parent)
|
|
19
|
+
*/
|
|
20
|
+
this.open = false;
|
|
21
|
+
this.handleClose = () => {
|
|
22
|
+
this.dismiss.emit();
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (h("limel-dialog", { key: '1080d6acee061cf61877784f67afed4c2f682349', open: this.open, onClose: this.handleClose }, h("div", { key: 'c7bf831281d2ce36245d83a2ccd248f73b009960', class: "dialog-content" }, h("div", { key: '319a799672c79e43e4d8b5a9e70eaf33360b579f', class: "icon-slot" }, h("limel-icon", { key: '182a60387cacd8308762631ba43baff0e06bf4cf', name: this.getIconName(), "aria-hidden": "true" })), h("h1", { key: '75e57d7c1ae1161ab3c38dbbe785def5e7cfa0ef', id: "alert-dialog-title" }, this.heading), this.renderSubheading()), h("div", { key: '3179d22e12f36cf6b217633d1a50cc8a13ee90d3', slot: "button" }, h("slot", { key: '196ab8241f91be8c187365adef30c066e018d7c3', name: "button" }))));
|
|
27
|
+
}
|
|
28
|
+
renderSubheading() {
|
|
29
|
+
if (!this.subheading) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return h("h2", { id: "alert-dialog-content" }, this.subheading);
|
|
33
|
+
}
|
|
34
|
+
getIconName() {
|
|
35
|
+
if (this.icon) {
|
|
36
|
+
return this.icon;
|
|
37
|
+
}
|
|
38
|
+
const defaultIcons = {
|
|
39
|
+
note: 'information',
|
|
40
|
+
success: 'check_mark',
|
|
41
|
+
caution: 'error_(14)',
|
|
42
|
+
warning: 'multiply',
|
|
43
|
+
};
|
|
44
|
+
return defaultIcons[this.type];
|
|
45
|
+
}
|
|
46
|
+
static get style() { return LimebbAlertDialogStyle0; }
|
|
47
|
+
}, [1, "limebb-alert-dialog", {
|
|
48
|
+
"type": [513],
|
|
49
|
+
"open": [516],
|
|
50
|
+
"icon": [513],
|
|
51
|
+
"heading": [513],
|
|
52
|
+
"subheading": [1]
|
|
53
|
+
}]);
|
|
54
|
+
function defineCustomElement$1() {
|
|
55
|
+
if (typeof customElements === "undefined") {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const components = ["limebb-alert-dialog"];
|
|
59
|
+
components.forEach(tagName => { switch (tagName) {
|
|
60
|
+
case "limebb-alert-dialog":
|
|
61
|
+
if (!customElements.get(tagName)) {
|
|
62
|
+
customElements.define(tagName, LimebbAlertDialog$1);
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const LimebbAlertDialog = LimebbAlertDialog$1;
|
|
69
|
+
const defineCustomElement = defineCustomElement$1;
|
|
70
|
+
|
|
71
|
+
export { LimebbAlertDialog, defineCustomElement };
|
|
@@ -59,8 +59,8 @@ const Browser = /*@__PURE__*/ proxyCustomElement(class Browser extends HTMLEleme
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
return [
|
|
62
|
-
h("limel-input-field", { key: '
|
|
63
|
-
h("limel-list", { key: '
|
|
62
|
+
h("limel-input-field", { key: '177ac1e49a2d0cfd0c43815a9fe36ed4a7243aab', tabIndex: 0, value: this.filter, type: "search", "leading-icon": "search", placeholder: this.translator.get('webclient.global-search-route'), onChange: this.handleChangeFilter, onKeyDown: this.handleKeyDown }),
|
|
63
|
+
h("limel-list", { key: 'f29f85ad1caad374a75e5835152e4e6100f1d011', items: this.getItems(), type: "selectable", class: {
|
|
64
64
|
'has-interactive-items': true,
|
|
65
65
|
'has-grid-layout': this.layout === 'grid',
|
|
66
66
|
}, onChange: this.handleChange }),
|
|
@@ -176,10 +176,10 @@ const ChatList = /*@__PURE__*/ proxyCustomElement(class ChatList extends HTMLEle
|
|
|
176
176
|
this.handleItemsChange();
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '1aa955956f1efb361777c52b27047a3169bb7492', class: {
|
|
180
180
|
'is-empty': this.items.length === 0 &&
|
|
181
181
|
!this.isTypingIndicatorVisible,
|
|
182
|
-
}, "aria-busy": this.isBusy(), role: "log" }, this.renderSpinner(), h("div", { key: '
|
|
182
|
+
}, "aria-busy": this.isBusy(), role: "log" }, this.renderSpinner(), h("div", { key: 'ca0412d181544f901b0741ce5753aba56cf35081', class: "typing-indicator-height-animation" }, h("div", { key: '107508f3a978f7cd8dd671fa12d6a57c86e8af82' }, this.renderTypingIndicator())), this.renderChatItems()));
|
|
183
183
|
}
|
|
184
184
|
renderSpinner() {
|
|
185
185
|
if (!this.loading) {
|
|
@@ -19,7 +19,7 @@ const DashboardComponent = /*@__PURE__*/ proxyCustomElement(class DashboardCompo
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return [this.renderHeader(), h("slot", { key: '
|
|
22
|
+
return [this.renderHeader(), h("slot", { key: '1b38b23d42d5a90c88e814ae617ee98d8dbf4d94', name: "content" })];
|
|
23
23
|
}
|
|
24
24
|
static get style() { return LimebbDashboardWidgetStyle0; }
|
|
25
25
|
}, [1, "limebb-dashboard-widget", {
|
|
@@ -25,7 +25,7 @@ const DateRange = /*@__PURE__*/ proxyCustomElement(class DateRange extends HTMLE
|
|
|
25
25
|
this.originalEndTime = this.endTime;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '65c4cc481586b8303227a6ee60ffae59d27c9db5', class: "date-pickers" }, this.renderStartDatePicker(), this.renderEndDatePicker()));
|
|
29
29
|
}
|
|
30
30
|
renderStartDatePicker() {
|
|
31
31
|
if (!this.originalStartTime) {
|
|
@@ -70,7 +70,7 @@ const DocumentPicker = /*@__PURE__*/ proxyCustomElement(class DocumentPicker ext
|
|
|
70
70
|
this.labelId = createRandomString();
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '48b0a743a0ae3295497d40ac4c363e3b273ef079' }, h("limel-notched-outline", { key: '11888648097397f97361b3088c047ebb947a3ac7', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, h("div", { key: '3288515518395ff1f57c2614760bd549d107f9b5', slot: "content", role: this.type === 'radio' ? 'radiogroup' : 'group', "aria-labelledby": this.label ? this.labelId : undefined, "aria-describedby": this.helperText ? this.helperTextId : undefined }, this.renderItems())), this.renderHelperLine()));
|
|
74
74
|
}
|
|
75
75
|
renderItems() {
|
|
76
76
|
return this.items.map((item) => (h("limebb-document-item", { platform: this.platform, context: this.context, item: item, key: item.file.id, type: this.type, onInteract: this.handleItemInteract })));
|
|
@@ -244,7 +244,7 @@ const Feed = /*@__PURE__*/ proxyCustomElement(class Feed extends HTMLElement {
|
|
|
244
244
|
this.highlighter.unregisterFeed(this.feedItemElement);
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
|
-
return (h(Host, { key: '
|
|
247
|
+
return (h(Host, { key: '0d2599bd299336c1b84fb0fb0597a281a46b0ecd', role: "log", "aria-busy": this.loading ? 'true' : 'false', style: {
|
|
248
248
|
'--limebb-feed-highlight-duration': `${ITEM_HIGHLIGHT_DURATION}ms`,
|
|
249
249
|
} }, this.renderLoadMore(), this.renderEmptyFeedMessage(), this.renderSpinner(), this.renderFeedItems()));
|
|
250
250
|
}
|
|
@@ -52995,7 +52995,7 @@ const IconPicker = /*@__PURE__*/ proxyCustomElement(class IconPicker extends HTM
|
|
|
52995
52995
|
icon: this.value,
|
|
52996
52996
|
};
|
|
52997
52997
|
}
|
|
52998
|
-
return (h("limel-picker", { key: '
|
|
52998
|
+
return (h("limel-picker", { key: '036d375a1f44b19d1c7865cc91bec72edc65cac4', label: this.label, helperText: this.helperText, disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, required: this.required, value: value, searcher: this.search, onChange: this.handleChange, badgeIcons: false, leadingIcon: "search", searchLabel: "Start typing to find the right icon" }));
|
|
52999
52999
|
}
|
|
53000
53000
|
}, [1, "limebb-icon-picker", {
|
|
53001
53001
|
"value": [1],
|
|
@@ -94,7 +94,7 @@ const InfoTileAdminConfig = /*@__PURE__*/ proxyCustomElement(class InfoTileAdmin
|
|
|
94
94
|
},
|
|
95
95
|
];
|
|
96
96
|
return [
|
|
97
|
-
h("limel-button-group", { key: '
|
|
97
|
+
h("limel-button-group", { key: '0e65b3e86e794feacb84f3ea7da6b8e6ee8c4d3f', value: buttons.filter(this.isValidButton), onChange: this.handleChangeType }),
|
|
98
98
|
this.renderFormatConfig(),
|
|
99
99
|
];
|
|
100
100
|
}
|
|
@@ -435,7 +435,7 @@ const InfoTile = /*@__PURE__*/ proxyCustomElement(class InfoTile extends HTMLEle
|
|
|
435
435
|
const errorProps = Object.assign(Object.assign({}, baseProps), { icon: 'error', prefix: 'ERROR', loading: true, label: this.getLabel(filter) });
|
|
436
436
|
const normalProps = Object.assign(Object.assign({}, baseProps), { label: this.getLabel(filter), link: this.getLink(filter), loading: this.loading, value: value === null || value === void 0 ? void 0 : value.value.trim() });
|
|
437
437
|
const props = !filter || this.error ? errorProps : normalProps;
|
|
438
|
-
return (h("limel-info-tile", Object.assign({ key: '
|
|
438
|
+
return (h("limel-info-tile", Object.assign({ key: '3bf7b73958c43b6655b27864313cdcb35806a544', class: { error: !filter || this.error } }, props)));
|
|
439
439
|
}
|
|
440
440
|
getFormattedValue() {
|
|
441
441
|
if (!this.value && this.value !== 0) {
|