@limetech/lime-crm-building-blocks 1.124.0 → 1.125.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 +8 -0
- package/dist/cjs/color-palettes-BWuwMtwv.js +334 -0
- package/dist/cjs/index.cjs.js +5 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +4 -4
- package/dist/cjs/limebb-chat-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +85 -0
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +21 -0
- package/dist/cjs/limebb-composer-toolbar.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-chips.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 +2 -2
- 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-rule-gate.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 +2 -0
- package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/collection/components/browser/browser.js +2 -2
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
- package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
- package/dist/collection/components/chat-list/chat-list.js +1 -1
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-picker.css +5 -0
- package/dist/collection/components/color-palette-picker/color-palette-picker.js +295 -0
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.css +28 -0
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +61 -0
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +2 -2
- 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/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-range/date-range.js +1 -1
- package/dist/collection/components/document-chips/document-chips.js +1 -1
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/rule-gate/rule-gate.js +1 -1
- package/dist/collection/components/summary-popover/summary-popover.js +2 -2
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/util/color-palettes.js +329 -0
- package/dist/components/chat-icon-list.js +1 -1
- package/dist/components/chat-item.js +1 -1
- package/dist/components/color-palettes.js +1 -0
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/document-item.js +1 -1
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/index.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 +1 -1
- package/dist/components/limebb-alert-dialog.js +1 -1
- package/dist/components/limebb-browser.js +1 -1
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-color-palette-picker.d.ts +11 -0
- package/dist/components/limebb-color-palette-picker.js +1 -0
- package/dist/components/limebb-color-palette-swatches.d.ts +11 -0
- package/dist/components/limebb-color-palette-swatches.js +1 -0
- package/dist/components/limebb-composer-toolbar.js +1 -1
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-date-range.js +1 -1
- package/dist/components/limebb-document-chips.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 +1 -1
- package/dist/components/limebb-rule-gate.js +1 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +1 -1
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +1 -1
- package/dist/components/order-by-item.js +1 -1
- package/dist/components/percentage-visualizer.js +1 -1
- package/dist/components/response-format-item.js +1 -1
- package/dist/components/summary-popover.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/color-palettes-1N3bZuHj.js +331 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +1 -1
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-icon-list_3.entry.js +4 -4
- package/dist/esm/limebb-chat-list.entry.js +1 -1
- package/dist/esm/limebb-color-palette-picker.entry.js +83 -0
- package/dist/esm/limebb-color-palette-swatches.entry.js +19 -0
- package/dist/esm/limebb-composer-toolbar.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-chips.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 +2 -2
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-rule-gate.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/index.esm.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-4f042496.entry.js → p-0be33708.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5f97c392.entry.js → p-152b4f92.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1N3bZuHj.js +1 -0
- package/dist/lime-crm-building-blocks/{p-9a42ae42.entry.js → p-23188fe0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4b275818.entry.js → p-24004bf3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4a93a4df.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-25c4e389.entry.js → p-4c255e2f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6cb2d9dd.entry.js → p-53b19393.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ad27bd5d.entry.js → p-593340d9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dd07a1ac.entry.js → p-5c420ada.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bb5d40b1.entry.js → p-6941de0b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6a27184b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-b0567904.entry.js → p-70957bab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f0a5076c.entry.js → p-8b11a02c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5fa5e7f4.entry.js → p-8e6446b5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-52bddb06.entry.js → p-8f70f909.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e3e2852a.entry.js → p-900b74c0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f7114acb.entry.js → p-9041e7aa.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-27798ace.entry.js → p-a27e9bbb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-85caaf36.entry.js → p-a3d4f2e1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8f8108c1.entry.js → p-a4584260.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0f2d1ea7.entry.js → p-b35ebf4d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fcedbc77.entry.js → p-b4ae3ed3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-09c63bce.entry.js → p-b5d84fff.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4ff2906.entry.js → p-b74fe1ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b07b3ae3.entry.js → p-befd1d3c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-67326d92.entry.js → p-c5f0582c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-c60673a4.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-2caf01c8.entry.js → p-c93314a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9d56503d.entry.js → p-da248a53.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e3a3c291.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-774cd93c.entry.js → p-e84ff80f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6a05192a.entry.js → p-ebd152ab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-287780c1.entry.js → p-f04ca19d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9214b92e.entry.js → p-f3ba4ed1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e8425a2c.entry.js → p-f3c412b3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-529dbe46.entry.js → p-fa7597f7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-fc1aec12.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0cbe7498.entry.js → p-fc6d9cea.entry.js} +1 -1
- package/dist/types/components/color-palette-picker/color-palette-picker.d.ts +89 -0
- package/dist/types/components/color-palette-picker/color-palette-swatches/color-palette-swatches.d.ts +23 -0
- package/dist/types/components.d.ts +288 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/util/color-palettes.d.ts +67 -0
- package/package.json +1 -1
- package/dist/lime-crm-building-blocks/p-51ab9d60.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-628ce56b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c6caa3f9.entry.js +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BIwHMk6j.js';
|
|
2
|
+
import { C as COLOR_PALETTES } from './color-palettes-1N3bZuHj.js';
|
|
3
|
+
|
|
4
|
+
const colorPalettePickerCss = () => `:host(limebb-color-palette-picker){box-sizing:border-box;display:block;--color-palette-swatches-transform:scale(0.9) translateX(0.5rem)}`;
|
|
5
|
+
|
|
6
|
+
const NONE_VALUE = '';
|
|
7
|
+
const SWATCH_STYLE = {
|
|
8
|
+
display: 'block',
|
|
9
|
+
order: 3,
|
|
10
|
+
width: '6rem',
|
|
11
|
+
flexShrink: 0,
|
|
12
|
+
marginRight: '-0.5rem',
|
|
13
|
+
};
|
|
14
|
+
const ColorPalettePicker = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
registerInstance(this, hostRef);
|
|
17
|
+
this.change = createEvent(this, "change");
|
|
18
|
+
this.options = [];
|
|
19
|
+
this.optionsById = new Map();
|
|
20
|
+
this.handleChange = (event) => {
|
|
21
|
+
var _a;
|
|
22
|
+
event.stopPropagation();
|
|
23
|
+
const detail = event
|
|
24
|
+
.detail;
|
|
25
|
+
const option = Array.isArray(detail) ? detail[0] : detail;
|
|
26
|
+
this.change.emit((_a = option === null || option === void 0 ? void 0 : option.value) !== null && _a !== void 0 ? _a : NONE_VALUE);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
componentWillLoad() {
|
|
30
|
+
this.options = buildOptions();
|
|
31
|
+
this.optionsById = new Map(this.options.map((option) => [option.value, option]));
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
return (h(Host, { key: 'b2132746dec23716bee6068db4a39faae2bacd76' }, h("limel-select", { key: 'd9cf1485ce355fbd0da85d01e9a00cc5213e4c15', label: this.label, helperText: this.helperText, disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, required: this.required, options: this.options, value: this.getSelectedOption(), onChange: this.handleChange })));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Resolve `this.value` against the cached options map. Returns
|
|
38
|
+
* `undefined` when no value is set (so the trigger renders
|
|
39
|
+
* unselected), or falls back to the (none) option when the value
|
|
40
|
+
* is set but unrecognized — with a one-time warning so a
|
|
41
|
+
* developer integrating the picker sees the stale id during
|
|
42
|
+
* debugging.
|
|
43
|
+
*/
|
|
44
|
+
getSelectedOption() {
|
|
45
|
+
if (!this.value) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
const match = this.optionsById.get(this.value);
|
|
49
|
+
if (match) {
|
|
50
|
+
return match;
|
|
51
|
+
}
|
|
52
|
+
if (this.lastWarnedValue !== this.value) {
|
|
53
|
+
console.warn(`limebb-color-palette-picker: palette "${this.value}" was not found in the registry. Rendering as (none).`);
|
|
54
|
+
this.lastWarnedValue = this.value;
|
|
55
|
+
}
|
|
56
|
+
return this.optionsById.get(NONE_VALUE);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Build the limel-select options once. Palettes don't change at
|
|
61
|
+
* runtime, so this work happens once per component instance instead
|
|
62
|
+
* of on every render.
|
|
63
|
+
*/
|
|
64
|
+
function buildOptions() {
|
|
65
|
+
return [
|
|
66
|
+
{ text: '', value: NONE_VALUE },
|
|
67
|
+
...COLOR_PALETTES.map((palette) => ({
|
|
68
|
+
text: palette.title,
|
|
69
|
+
secondaryText: palette.description,
|
|
70
|
+
value: palette.id,
|
|
71
|
+
primaryComponent: {
|
|
72
|
+
name: 'limebb-color-palette-swatches',
|
|
73
|
+
props: {
|
|
74
|
+
colors: palette.colors,
|
|
75
|
+
style: SWATCH_STYLE,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
})),
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
ColorPalettePicker.style = colorPalettePickerCss();
|
|
82
|
+
|
|
83
|
+
export { ColorPalettePicker as limebb_color_palette_picker };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BIwHMk6j.js';
|
|
2
|
+
|
|
3
|
+
const colorPaletteSwatchesCss = () => `:host(limebb-color-palette-swatches){pointer-events:none;transform:var(--color-palette-swatches-transform, unset);box-sizing:border-box;display:block;width:100%}*{box-sizing:border-box;min-width:0;min-height:0}ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit, minmax(0.75rem, 1fr));gap:var(--color-palette-swatches-gap, 0.25rem);margin:0;padding:var(--color-palette-swatches-gap, 0.25rem);border-radius:0.5rem}li{aspect-ratio:1;border-radius:0.25rem}`;
|
|
4
|
+
|
|
5
|
+
const ColorPaletteSwatches = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/**
|
|
9
|
+
* Ordered list of CSS color values to render as swatches.
|
|
10
|
+
*/
|
|
11
|
+
this.colors = [];
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { key: 'f7f0f8d6b00f806a1374699388e1a5e8225bcee6', "aria-hidden": "true" }, h("ol", { key: '0999df69401fffb03f57f99f531625a61f934d63' }, this.colors.map((color, index) => (h("li", { key: index, style: { backgroundColor: color } }))))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
ColorPaletteSwatches.style = colorPaletteSwatchesCss();
|
|
18
|
+
|
|
19
|
+
export { ColorPaletteSwatches as limebb_color_palette_swatches };
|
|
@@ -64,8 +64,8 @@ const ComposerToolbar = class {
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
return [
|
|
67
|
-
h("div", { key: '
|
|
68
|
-
h("slot", { key: '
|
|
67
|
+
h("div", { key: '93f11de20919ea5911914796067ea28d12979f1c', class: "actions" }, h("slot", { key: '6ca4a71f02438859e503b79f689353d4ac4899d2', name: "leading" }), this.renderFileInput(), this.renderTriggerActions(), h("slot", { key: '05a29bae85924a0a9a249e9730203f444d1dc4c3', name: "trailing" })),
|
|
68
|
+
h("slot", { key: '9e55ce6f1261db1cc46f6de733e15ef101aa8661', name: "primary-action" }),
|
|
69
69
|
];
|
|
70
70
|
}
|
|
71
71
|
get translator() {
|
|
@@ -1968,7 +1968,7 @@ const CurrencyPicker = class {
|
|
|
1968
1968
|
};
|
|
1969
1969
|
}
|
|
1970
1970
|
render() {
|
|
1971
|
-
return (h("limel-picker", { key: '
|
|
1971
|
+
return (h("limel-picker", { key: '365bf9d027d97c0893a85a340695edcda6cc162d', 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 }));
|
|
1972
1972
|
}
|
|
1973
1973
|
getCurrencyName(code) {
|
|
1974
1974
|
var _a;
|
|
@@ -16,7 +16,7 @@ const DashboardComponent = class {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return [this.renderHeader(), h("slot", { key: '
|
|
19
|
+
return [this.renderHeader(), h("slot", { key: '94aaf4649e66937c5f548d08a764bae4e367679f', name: "content" })];
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
DashboardComponent.style = dashboardWidgetCss();
|
|
@@ -73,7 +73,7 @@ const DatePicker = class {
|
|
|
73
73
|
if (this.value) {
|
|
74
74
|
this.shouldEmitValueAsString = typeof this.value === 'string';
|
|
75
75
|
}
|
|
76
|
-
return (h("limel-date-picker", { key: '
|
|
76
|
+
return (h("limel-date-picker", { key: '205943b4751f3c2665c3dd1cc9af0119a15170be', 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 }));
|
|
77
77
|
}
|
|
78
78
|
parseDateValue() {
|
|
79
79
|
const value = this.value;
|
|
@@ -21,7 +21,7 @@ const DateRange = class {
|
|
|
21
21
|
this.originalEndTime = this.endTime;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: '65d3cd4e60a4d14b50b6a532ff053a696baae1ea', class: "date-pickers" }, this.renderStartDatePicker(), this.renderEndDatePicker()));
|
|
25
25
|
}
|
|
26
26
|
renderStartDatePicker() {
|
|
27
27
|
if (!this.originalStartTime) {
|
|
@@ -345,7 +345,7 @@ const DocumentChips = class {
|
|
|
345
345
|
this.revokeAllBlobUrls();
|
|
346
346
|
}
|
|
347
347
|
render() {
|
|
348
|
-
return (h(Host, { key: '
|
|
348
|
+
return (h(Host, { key: '0f5582c1aecd97c5e8babcd4f4e73a373b815aba', role: "list", "aria-label": this.accessibleLabel }, this.files.map((file) => this.renderFile(file))));
|
|
349
349
|
}
|
|
350
350
|
renderFile(file) {
|
|
351
351
|
const isReady = !file.uploadState || file.uploadState === 'done';
|
|
@@ -114,10 +114,10 @@ const DocumentItemComponent = class {
|
|
|
114
114
|
render() {
|
|
115
115
|
const isUnavailable = this.isUnavailable();
|
|
116
116
|
const image = this.getImage();
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: 'f06a024dc141c1105cf63c6e201b9ffc11a92beb', id: String(this.item.file.id), class: {
|
|
118
118
|
'has-image': !!image,
|
|
119
119
|
'has-error': !!this.item.hasError,
|
|
120
|
-
}, 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: '
|
|
120
|
+
}, 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: 'd1c10f63e30afc33a4e14368bc774682577811df', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'a9dd660baf662d02e3e8a3d25a35fb052e60fdea', slot: "component" }, this.renderFileSize(), this.renderBooleanInput())), this.renderHelp()));
|
|
121
121
|
}
|
|
122
122
|
renderBooleanInput() {
|
|
123
123
|
const id = this.getControlId();
|
|
@@ -66,7 +66,7 @@ const DocumentPicker = class {
|
|
|
66
66
|
this.labelId = createRandomString();
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'ad12860357db7ed4949796e63c8893f3cbf17628' }, h("limel-notched-outline", { key: 'f2fe2e574e24664d0a6c127dc7da3e3c3a1aeb0d', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, h("limel-masonry-layout", { key: '2fa65ff30c9a93588b9d21848dc64866ac027b95', slot: "content", role: this.type === 'radio' ? 'radiogroup' : 'group', "aria-labelledby": this.label ? this.labelId : undefined, "aria-describedby": this.helperText ? this.helperTextId : undefined }, this.renderItems())), this.renderHelperLine()));
|
|
70
70
|
}
|
|
71
71
|
renderItems() {
|
|
72
72
|
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 })));
|
|
@@ -7,7 +7,7 @@ const FeedItemThumbnailFileInfo = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return h("span", { key: '
|
|
10
|
+
return h("span", { key: 'bd67e23fd4e83c791bfe2f7b0a9b408eb8add751' }, this.description);
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
FeedItemThumbnailFileInfo.style = feedItemThumbnailFileInfoCss();
|
|
@@ -204,7 +204,7 @@ const FeedTimelineItem = class {
|
|
|
204
204
|
render() {
|
|
205
205
|
var _a, _b;
|
|
206
206
|
const helperTextId = `helper-text-${this.item.id}`;
|
|
207
|
-
return (h(Host, { key: '
|
|
207
|
+
return (h(Host, { key: 'f989846e0b2bb21447a8b387749f7316b958802d', id: this.item.id, class: {
|
|
208
208
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
209
209
|
'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
|
|
210
210
|
'shows-less': !this.showMore,
|
|
@@ -499,7 +499,7 @@ const Feed = class {
|
|
|
499
499
|
this.highlighter.unregisterFeed(this.feedItemElement);
|
|
500
500
|
}
|
|
501
501
|
render() {
|
|
502
|
-
return (h(Host, { key: '
|
|
502
|
+
return (h(Host, { key: '6917dd0be3f7052f41d6dbdad68be7884fea24b3', role: "log", "aria-busy": this.loading ? 'true' : 'false', style: {
|
|
503
503
|
'--limebb-feed-highlight-duration': `${ITEM_HIGHLIGHT_DURATION}ms`,
|
|
504
504
|
} }, this.renderLoadMore(), this.renderEmptyFeedMessage(), this.renderSpinner(), this.renderFeedItems()));
|
|
505
505
|
}
|
|
@@ -53105,7 +53105,7 @@ const IconPicker = class {
|
|
|
53105
53105
|
icon: this.value,
|
|
53106
53106
|
};
|
|
53107
53107
|
}
|
|
53108
|
-
return (h("limel-picker", { key: '
|
|
53108
|
+
return (h("limel-picker", { key: 'bbbd828b128fb805339eeae800c9b59f0dfddd5b', 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" }));
|
|
53109
53109
|
}
|
|
53110
53110
|
};
|
|
53111
53111
|
|
|
@@ -91,7 +91,7 @@ const InfoTileAdminConfig = class {
|
|
|
91
91
|
},
|
|
92
92
|
];
|
|
93
93
|
return [
|
|
94
|
-
h("limel-button-group", { key: '
|
|
94
|
+
h("limel-button-group", { key: '10e2a2362c4d68e87b946143856706c60615605a', value: buttons.filter(this.isValidButton), onChange: this.handleChangeType }),
|
|
95
95
|
this.renderFormatConfig(),
|
|
96
96
|
];
|
|
97
97
|
}
|
|
@@ -471,7 +471,7 @@ const InfoTile = class {
|
|
|
471
471
|
const errorProps = Object.assign(Object.assign({}, baseProps), { icon: 'error', prefix: 'ERROR', loading: true, label: this.getLabel(filter) });
|
|
472
472
|
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() });
|
|
473
473
|
const props = !filter || this.error ? errorProps : normalProps;
|
|
474
|
-
return (h("limel-info-tile", Object.assign({ key: '
|
|
474
|
+
return (h("limel-info-tile", Object.assign({ key: '226492d3b5affedf8fc1bb171ff8b0076231c396', class: { error: !filter || this.error } }, props)));
|
|
475
475
|
}
|
|
476
476
|
getFormattedValue() {
|
|
477
477
|
if (!this.value && this.value !== 0) {
|
|
@@ -27,7 +27,7 @@ const KanbanGroup = class {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '30c47a8267c93b5321c388ed5e96d273f78d6756' }, this.renderHelp(), this.renderGroupHeading(), this.renderGroupSummary(), this.renderItems()));
|
|
31
31
|
}
|
|
32
32
|
renderGroupSummary() {
|
|
33
33
|
if (!this.summary || !this.totalCount) {
|
|
@@ -55,7 +55,7 @@ const KanbanItemComponent = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '528f5187476baedad9c8c670975dca5f8516d696', id: this.item.id.toString(), class: {
|
|
59
59
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
60
60
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
61
61
|
}, style: {
|
|
@@ -149,7 +149,7 @@ const LimeQueryBuilder = class {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '5c052831e582381c21a66645cdec1b067849309e' }, this.renderHeader(), this.renderContent()));
|
|
153
153
|
}
|
|
154
154
|
renderContent() {
|
|
155
155
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
@@ -191,7 +191,7 @@ const OrderByEditor = class {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: 'e14e83cc0f4c665053b04e8e0e208b4c9e9946ca' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
195
195
|
}
|
|
196
196
|
renderEmptyState() {
|
|
197
197
|
if (this.limetype) {
|
|
@@ -321,7 +321,7 @@ const LimetypeField = class {
|
|
|
321
321
|
value: '',
|
|
322
322
|
};
|
|
323
323
|
options.unshift(emptyOption);
|
|
324
|
-
return (h("limel-select", { key: '
|
|
324
|
+
return (h("limel-select", { key: '1c06b2f399a586fd727a1b7897d75a2915dcc40a', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
|
|
325
325
|
}
|
|
326
326
|
componentWillRender() {
|
|
327
327
|
this.updatePropertyFields(this.value || '');
|
|
@@ -105,7 +105,7 @@ const LimeQueryFilterComparisonComponent = class {
|
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '9f4ccf1e866e9bbc495fdcd743c47b1060ebd54d' }, this.renderHeader(), h("div", { key: '79b83af3acf7446ace0a6ba2bf631c8416b18453', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: '9c632f7848401c42cf8302293fb0e68a5e3c2589', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
109
109
|
}
|
|
110
110
|
renderHeader() {
|
|
111
111
|
if (!this.label) {
|
|
@@ -179,9 +179,9 @@ const LimeQueryFilterGroupComponent = class {
|
|
|
179
179
|
(this.expression.op === Xe.AND ? 'and' : 'or')) || this.options[0];
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: '6377f0ae90c85c03196f1b9fcd6e3090f514a6c8', style: {
|
|
183
183
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === Xe.AND ? 'AND' : 'OR'}"`,
|
|
184
|
-
} }, h("div", { key: '
|
|
184
|
+
} }, h("div", { key: '4ffdb3ac606dd3b9a170761a177877e64b1e564f', class: "expression" }, this.renderHeader(), h("ul", { key: '217ce512e8cd7685aecc57d7d51241ffdd499f86' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
185
185
|
}
|
|
186
186
|
renderHeader() {
|
|
187
187
|
const subheading = this.getSubheading();
|
|
@@ -235,7 +235,7 @@ const LimeQueryFilterNotComponent = class {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
|
-
return (h("div", { key: '
|
|
238
|
+
return (h("div", { key: 'fee9071fbb65942e895ed564243855b3b515eb37', class: "expression" }, this.label && h("limel-header", { key: 'd58bdbc5c951013b8de1d43ba1ea070db92ee8b3', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'fe1798574f7c901e9a1cfdcdda489cd258dd3b63', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
LimeQueryFilterNotComponent.style = limeQueryFilterNotCss();
|
|
@@ -36,9 +36,9 @@ const OrderByItemComponent = class {
|
|
|
36
36
|
render() {
|
|
37
37
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
38
38
|
const direction = this.item[propertyPath] || 'ASC';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '65d267326b90a52f00131fc640af13d205818b36' }, h("limebb-property-selector", { key: '2e03bec16c590ffe5d2da30ed702dd6f1296eeb7', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: '5630fddcc84cf424f5d129c965d6da0de50dd0cc', class: "control-buttons" }, h("limel-icon-button", { key: 'acc6c1c1b811c4a502938e7a8fa9580f3d494a7d', icon: direction === 'ASC'
|
|
40
40
|
? 'sort_ascending'
|
|
41
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
41
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '3906782122922a17318c425856eb721aad34d899', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
OrderByItemComponent.style = orderByItemCss();
|
|
@@ -191,7 +191,7 @@ const LimeQueryResponseFormatBuilder = class {
|
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
193
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
194
|
-
return (h("div", { key: '
|
|
194
|
+
return (h("div", { key: '9bea445c6cd91e32837709942fefcc4ad04b5194', class: "response-format-builder" }, this.label && h("h1", { key: '780022ab1a10dc771ee288019e7d96c6d6caff11', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '6bd19234de762252348f65c765a85d6216acff7b', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '944ccebb9fa3cc0368f30a3cdd2065b7c142ac27', class: "mode-controls" }, this.renderModeSwitch(visualModeSupported))), !this.visualModeEnabled || this.mode === 'code' ? (h("div", { class: "code-mode" }, this.renderCodeEditor(visualModeSupported))) : (h("div", { class: "visual-mode" }, this.renderVisualMode()))));
|
|
195
195
|
}
|
|
196
196
|
renderModeSwitch(support) {
|
|
197
197
|
const visualDisabled = !support.visualModeSupported;
|
|
@@ -357,7 +357,7 @@ const ResponseFormatItem = class {
|
|
|
357
357
|
}
|
|
358
358
|
render() {
|
|
359
359
|
return [
|
|
360
|
-
h("div", { key: '
|
|
360
|
+
h("div", { key: 'bc504de456d1ddaa6662ac94363eff280eb1ce6f', class: "property-controls" }, h("div", { key: '712a737353745444b9a5ff952e92e9e26febe599', class: "property-path" }, h("limebb-property-selector", { key: 'bc43624bf5116deb09b42b0df68f96fce26b3d07', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: 'd0f1380dc4302b1d8dfbb38920148956110f31b1', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '8c6afaeacfacc249b454ea78b8dfa6b31e55af27', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '78f980ef95557713c0615ba8f4600bbb9a223d83', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: 'bc1e687decd286b53e6c6a7ae6ce4216eaf300e0', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
|
|
361
361
|
];
|
|
362
362
|
}
|
|
363
363
|
renderAliasButton() {
|
|
@@ -8,8 +8,8 @@ const LiveDocsInfo = class {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
return [
|
|
11
|
-
h("div", { key: '
|
|
12
|
-
h("p", { key: '
|
|
11
|
+
h("div", { key: 'b20e44e8f4d9d39ab78d4fff68d54ff8493838e2', class: "header" }, h("limel-icon", { key: '04166b1545455ef718bc60da7b065ee4af39b3d2', name: "not_showing_video_frames" }), h("h2", { key: 'e425b7b516157d978c48983b895feebb181a18f8' }, "Viewing this file type requires ", h("em", { key: 'afe3eae6c85f6c3c5daf6567d7ea52b6d717f50f' }, "Live Docs"))),
|
|
12
|
+
h("p", { key: '07674921034427a96f01cf763ff551cab475b05e' }, h("em", { key: '9e51b9fa9087098a5851f90ecfd487bbb3ddf488' }, "Live Docs"), " not only enables you to view many file formats such as Microsoft Office documents, but it also empowers you to edit them right in the CRM. No need to download anything on your device!", h("a", { key: '798681d6db41eceb97008a8f55efcaf30a833fd1', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
13
13
|
];
|
|
14
14
|
}
|
|
15
15
|
};
|
|
@@ -1109,7 +1109,7 @@ const LocalePicker = class {
|
|
|
1109
1109
|
const value = this.value;
|
|
1110
1110
|
selectedOptions = options.find((option) => option.value === value);
|
|
1111
1111
|
}
|
|
1112
|
-
return (h("limel-select", { key: '
|
|
1112
|
+
return (h("limel-select", { key: '2c094b31bc412448af057435ab431bf7ef5d739c', value: selectedOptions, options: sortBy(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
|
|
1113
1113
|
}
|
|
1114
1114
|
};
|
|
1115
1115
|
|
|
@@ -10,8 +10,8 @@ const MentionGroupCounter = class {
|
|
|
10
10
|
render() {
|
|
11
11
|
const label = this.getLabel();
|
|
12
12
|
return [
|
|
13
|
-
h("span", { key: '
|
|
14
|
-
h("limel-tooltip", { key: '
|
|
13
|
+
h("span", { key: 'c07251e2178af8589bf7e9efe22072bdef98abe4', id: this.tooltipId }, label),
|
|
14
|
+
h("limel-tooltip", { key: '35e586a0e632c08dfce5982c729e5907e9cd7d50', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
15
15
|
];
|
|
16
16
|
}
|
|
17
17
|
getLabel() {
|
|
@@ -120,9 +120,9 @@ const SummaryPopover = class {
|
|
|
120
120
|
top: '0.125rem',
|
|
121
121
|
right: '0.125rem',
|
|
122
122
|
};
|
|
123
|
-
return (h("limel-popover", { key: '
|
|
123
|
+
return (h("limel-popover", { key: '32ec29794e6a1b4c4b50dfa8e1b57b1f7965aab6', style: {
|
|
124
124
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
125
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
125
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'a03d5ea2815dff89259b6b2a7dc6751aa02e49d1', slot: "trigger", onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocusin: this.openPopoverWithDelay }, h("slot", { key: 'd28456f69ef961a685b60e081b36208f49453492', name: "trigger" }), h("div", { key: '90a0f63f047fcc7cd6d974e77cc4d44035de055c', class: "opening-countdown-indicator" })), this.renderCard(closeButtonStyle)));
|
|
126
126
|
}
|
|
127
127
|
renderCard(closeButtonStyle) {
|
|
128
128
|
return (h("limel-card", { style: {
|
|
@@ -55,7 +55,7 @@ const NotificationListItem = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'a82e48c8b5e8d99eecf63395e0b93c57245b7a33', id: this.item.id, class: {
|
|
59
59
|
'is-clickable': this.isItemClickable(),
|
|
60
60
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
61
61
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -88,11 +88,11 @@ const PercentageVisualizer = class {
|
|
|
88
88
|
render() {
|
|
89
89
|
const normalizedValue = this.getNormalizedValue();
|
|
90
90
|
const zeroPoint = this.getZeroPointPosition();
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: '4dcace9f6e1e896b49e7ee3065d210530481175a', class: this.getContainerClassList(), style: {
|
|
92
92
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
93
93
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
94
94
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
95
|
-
} }, h("limel-notched-outline", { key: '
|
|
95
|
+
} }, h("limel-notched-outline", { key: '20038e523b9cf1212c07bc0dd5c3cdf8e135352e', 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: 'fb1fc40b1a0a6caced2e997eeb159c2f6a08ef47', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
96
96
|
}
|
|
97
97
|
renderVisualization() {
|
|
98
98
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -18,7 +18,7 @@ const RuleGate = class {
|
|
|
18
18
|
this.compileAndEvaluate();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '987da88562f3cfe1c5b0599d3aa73795bcbd317d', hidden: !this.shouldRender }, h("slot", { key: '3af4b067ebb51007c525719614cce800c018aeb6' })));
|
|
22
22
|
}
|
|
23
23
|
get ruleRegistry() {
|
|
24
24
|
return this.platform.get(n.RuleRegistry);
|
|
@@ -1515,7 +1515,7 @@ const LimeBBTextEditor = class {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
render() {
|
|
1517
1517
|
return [
|
|
1518
|
-
h("limel-text-editor", { key: '
|
|
1518
|
+
h("limel-text-editor", { key: 'a208dcc0631ee1a9ab0bc488b461d25f4881c95d', 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 }),
|
|
1519
1519
|
this.renderPicker(),
|
|
1520
1520
|
];
|
|
1521
1521
|
}
|
|
@@ -49,7 +49,7 @@ const TrendIndicator = class {
|
|
|
49
49
|
this.numValue = this.parseValue(this.value);
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '53ac9e7b58e9639b66de3aaa95f2c87066242bf2', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '09cbfb01f55b1ce7bd997f6dfaa66c10d9889eea', 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: 'e3f9f0e361ac65f2b3f46a038c8dc398def9c0b9', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
|
|
53
53
|
}
|
|
54
54
|
renderVisualization() {
|
|
55
55
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|