@limetech/lime-crm-building-blocks 1.112.2 → 1.113.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-composer-toolbar.cjs.entry.js +115 -0
- 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 +2 -2
- 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.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/composer-toolbar/composer-toolbar.css +26 -0
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +316 -0
- package/dist/collection/components/composer-toolbar/composer-toolbar.types.js +1 -0
- 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-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.css +5 -0
- 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/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.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- 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-composer-toolbar.d.ts +11 -0
- package/dist/components/limebb-composer-toolbar.js +136 -0
- 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 +2 -2
- 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/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-composer-toolbar.entry.js +111 -0
- 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 +2 -2
- 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.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-2ba38d7f.entry.js → p-00414464.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d7fcac35.entry.js → p-023246db.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-62c5cb1b.entry.js → p-0c25d565.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cc1ef69e.entry.js → p-0eac6b68.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7c54f3c7.entry.js → p-14cd62c1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a1bb9206.entry.js → p-1d44c670.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-74953ead.entry.js → p-2395476f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-377da950.entry.js → p-283a6f9e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-239d68c7.entry.js → p-3443a292.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-920a321e.entry.js → p-35b75e49.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e980329d.entry.js → p-385020b4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-630fa055.entry.js → p-401ccdec.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-71697503.entry.js → p-4d9244e7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-55c494f9.entry.js → p-551ffa9f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-de84f26b.entry.js → p-5d0874f6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-40f29017.entry.js → p-6c67ed0e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-48585665.entry.js → p-711df3e6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-79efe2bd.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-ce1b05e4.entry.js → p-83ff2b4c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-57591c89.entry.js → p-8c3f563e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-8eb3abc8.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-adc423db.entry.js → p-9161869b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8e885ec8.entry.js → p-9c334694.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e990af19.entry.js → p-a4f367f8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5cea7fb4.entry.js → p-b2e705bc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f0890c24.entry.js → p-c09dcd4c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-64cbf4f4.entry.js → p-ddf0dcbc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8633cd5f.entry.js → p-df13ebba.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-2fd586a0.entry.js → p-e96367d2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b90be9d3.entry.js → p-f31eeeaa.entry.js} +1 -1
- package/dist/types/components/composer-toolbar/composer-toolbar.d.ts +77 -0
- package/dist/types/components/composer-toolbar/composer-toolbar.types.d.ts +40 -0
- package/dist/types/components.d.ts +153 -2
- package/package.json +4 -4
- package/dist/lime-crm-building-blocks/p-1b13e8f1.entry.js +0 -1
|
@@ -55,7 +55,7 @@ export class KanbanItemComponent {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '4c57d77052c3773be3ec323f34769095d514d82b', 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: {
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js
CHANGED
|
@@ -122,7 +122,7 @@ export class LimeQueryFilterComparisonComponent {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '1bbb2389d353b5a1b174ee5423ab524a350d5810' }, this.renderHeader(), h("div", { key: 'a81fed03577d534e509ddcbc9ef66456191fe53f', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'e3f76847095e0d586d7c72e6750acb220a187e6e', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
|
|
126
126
|
}
|
|
127
127
|
renderHeader() {
|
|
128
128
|
if (!this.label) {
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js
CHANGED
|
@@ -72,9 +72,9 @@ export class LimeQueryFilterGroupComponent {
|
|
|
72
72
|
(this.expression.op === Operator.AND ? 'and' : 'or')) || this.options[0];
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '3543d72a3edb0c320abb3f9379d338d36ad6d6c4', style: {
|
|
76
76
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === Operator.AND ? 'AND' : 'OR'}"`,
|
|
77
|
-
} }, h("div", { key: '
|
|
77
|
+
} }, h("div", { key: '01bed380a233e8add40afb4d45c1606fb28989fc', class: "expression" }, this.renderHeader(), h("ul", { key: '7b6ac524a60a7782ca1ecc7759040d4eca3647ef' }, this.expression.exp.map(this.renderChildExpression), this.renderAddButton()), this.renderAddGroupButton())));
|
|
78
78
|
}
|
|
79
79
|
renderHeader() {
|
|
80
80
|
const subheading = this.getSubheading();
|
|
@@ -35,7 +35,7 @@ export class LimeQueryFilterNotComponent {
|
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: '7ee2b42fce778c2239a8537cf3d9ce6808c97d79', class: "expression" }, this.label && h("limel-header", { key: 'd14cadc9ca8522a637614952579c760943df27f9', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'd9b52ba968caafd32405744ebff05f216b805f56', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "limebb-lime-query-filter-not"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -172,7 +172,7 @@ export class LimeQueryBuilder {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '683e54464031d37a38480a55aed3e3006ec9e806' }, this.renderHeader(), this.renderContent()));
|
|
176
176
|
}
|
|
177
177
|
renderContent() {
|
|
178
178
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
@@ -154,7 +154,7 @@ export class LimeQueryResponseFormatBuilder {
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
const visualModeSupported = this.checkVisualModeSupport();
|
|
157
|
-
return (h("div", { key: '
|
|
157
|
+
return (h("div", { key: '56166271cfd95e3164f6002605de9b4a73d5b850', class: "response-format-builder" }, this.label && h("h1", { key: 'cccc53913dc0ced44b736328a16c85b3db2a61d4', class: "builder-label" }, this.label), this.helperText && (h("p", { key: '765ea2f4a052f78beba9c60157f07711f432293e', class: "builder-helper-text" }, this.helperText)), this.visualModeEnabled && (h("div", { key: '15a7159322713ab288ef70e8f98aaa11d5064d1f', 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()))));
|
|
158
158
|
}
|
|
159
159
|
renderModeSwitch(support) {
|
|
160
160
|
const visualDisabled = !support.visualModeSupported;
|
|
@@ -78,7 +78,7 @@ export class LimetypeField {
|
|
|
78
78
|
value: '',
|
|
79
79
|
};
|
|
80
80
|
options.unshift(emptyOption);
|
|
81
|
-
return (h("limel-select", { key: '
|
|
81
|
+
return (h("limel-select", { key: '098e8b2996788bdfdb785e602173c1a75f506661', label: this.label, options: options, value: selectedOption, required: this.required, helperText: this.helperText, invalid: invalid, disabled: this.disabled || this.readonly, onChange: this.handleChange }));
|
|
82
82
|
}
|
|
83
83
|
componentWillRender() {
|
|
84
84
|
this.updatePropertyFields(this.value || '');
|
|
@@ -69,7 +69,7 @@ export class OrderByEditor {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'b0caaa11dcb633423bae612e22105de44ed1a7a1' }, this.renderEmptyState(), this.renderOrderByEditor()));
|
|
73
73
|
}
|
|
74
74
|
renderEmptyState() {
|
|
75
75
|
if (this.limetype) {
|
|
@@ -38,9 +38,9 @@ export class OrderByItemComponent {
|
|
|
38
38
|
render() {
|
|
39
39
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
40
40
|
const direction = this.item[propertyPath] || 'ASC';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'c0f53a833675b0f086791cdd408e1cffe4fe0f63' }, h("limebb-property-selector", { key: 'd7dc95d9b452334db487494d012ae80dbd3cc3fb', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: 'f7e70e87cf611acee5b74f2d04416055834b3dcd', class: "control-buttons" }, h("limel-icon-button", { key: 'ca44aa6f7cd6fbadafafe09540494f95215b4d8c', icon: direction === 'ASC'
|
|
42
42
|
? 'sort_ascending'
|
|
43
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
43
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '92a21267fc8c803c59a686064a77103ddcba71fd', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "limebb-lime-query-order-by-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/lime-query-builder/response-format/response-format-item.js
CHANGED
|
@@ -66,7 +66,7 @@ export class ResponseFormatItem {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
return [
|
|
69
|
-
h("div", { key: '
|
|
69
|
+
h("div", { key: 'c3620eddb3e12eba09262f80997a56d83cf6cc83', class: "property-controls" }, h("div", { key: 'fea873463b097f78e65586956e3b235d123453b4', class: "property-path" }, h("limebb-property-selector", { key: '7a01e8d7723f00caecf23d71cf8795357200ad3e', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: 'a8be4ce31636be8e2f55d222dd93efe4cc456178', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '38e2c185b5c69feb2aa7b734a1b55786687b6459', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '09310ff2237d191a20a8804cb011f10fc852e425', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: 'acc1b919770d035745e05f3811043ad189443566', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
|
|
70
70
|
];
|
|
71
71
|
}
|
|
72
72
|
renderAliasButton() {
|
|
@@ -5,8 +5,8 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
export class LiveDocsInfo {
|
|
6
6
|
render() {
|
|
7
7
|
return [
|
|
8
|
-
h("div", { key: '
|
|
9
|
-
h("p", { key: '
|
|
8
|
+
h("div", { key: '3efd6c08d83684af5751402c71c46261028091a9', class: "header" }, h("limel-icon", { key: '53d32bf2c7cbd12ba662db1dd3b8fe3a1b6899ca', name: "not_showing_video_frames" }), h("h2", { key: 'ab7b687224626de7282bf7030e50f3feaddbf4d8' }, "Viewing this file type requires ", h("em", { key: '64c1c78850e17601a5f0aa00a5e95dd4192ab586' }, "Live Docs"))),
|
|
9
|
+
h("p", { key: 'c0851a6b140415fda231da09e3dd14a39aa769d8' }, h("em", { key: '01b229e2cdaf62a6e9f95684d5824d15f72c03f8' }, "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: 'f4d923dfac3420e068f6856754140749c5637937', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
10
10
|
];
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "limebb-live-docs-info"; }
|
|
@@ -53,7 +53,7 @@ export class LocalePicker {
|
|
|
53
53
|
const value = this.value;
|
|
54
54
|
selectedOptions = options.find((option) => option.value === value);
|
|
55
55
|
}
|
|
56
|
-
return (h("limel-select", { key: '
|
|
56
|
+
return (h("limel-select", { key: '39da3645bcfe74e4bf4f0c9e80c4361a55a3d553', 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 }));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "limebb-locale-picker"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '0c45f2a691bead68dfd4e0d3dcf22dc76118e778', 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),
|
|
@@ -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: '456afa7a4dfec41b7d293518d3150fa520c76c87', 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: 'ffdc013e98a23f690ff17adf6834f280aa824886', 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: '574b107be7e7fc941e957365fc8b2b7f5a6bd5bf', 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: 'eaadc371fc4bb4bc46e009f9c8ffd82996361c65', 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: '2da24adb5ff182b08731bc99e2454c615c19aabf', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: '0bda4e6b3a3c62c9930ddbb287114f1bea45897b', name: "trigger" }), h("div", { key: '25a0847697bc40c869a129a2433968aeed0f1fea', class: "opening-countdown-indicator" })), h("limel-card", { key: 'a402a4bcb876e432f70eff407b0d0b0878971f4d', 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: '5ed4dbb27bf026101ecf0f7dd1a0907fe2f099ad', 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: 'cccb4a58450a0f1d5b2a81f99fc8252f92b8abb2', id: this.tooltipId }, label),
|
|
17
|
+
h("limel-tooltip", { key: 'cf8819b1b5318c1ee4ce210f78132be0388db3e6', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
20
|
getLabel() {
|
|
@@ -391,7 +391,7 @@ export class LimeBBTextEditor {
|
|
|
391
391
|
}
|
|
392
392
|
render() {
|
|
393
393
|
return [
|
|
394
|
-
h("limel-text-editor", { key: '
|
|
394
|
+
h("limel-text-editor", { key: '44a1efaa2b03daf3ffb1929e110ec985b7f629fa', 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 }),
|
|
395
395
|
this.renderPicker(),
|
|
396
396
|
];
|
|
397
397
|
}
|
|
@@ -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: '2ed101327ee07b36639235704c82a35602331185', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '09daaa1c59fbc5b58389ec73e0248bc87d4f2fcc', 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: '09541f6ce5d94a0f739c564e1d1bd3bdfe8bdf7a', 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())) {
|
|
@@ -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: '316356319724a700de717e4c41e94528f4020cb7', 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: 'bea630f5e6668ca3e1d4ccab882c3b816d39344d', 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: 'dcde12cbad8827bf2a24aeed5f79a2a142ccd447', 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: '9ff6628132ce3d11e0f714dc986a7e22cd0c7a76', image: image, clickable: isUnavailable ? false : true, onClick: this.handleDocumentItemClick, onKeyDown: this.handleKeyDown }, h("div", { key: '64d7d70132e981fdb8d2e19edf467bfa25b5957e', 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: '069a5fa52cbf4a8af6bd2b1a39b06a55b2425cf9' }, 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: '23db557be6e62f605b3d457209d3e03e47b88510', 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: '1257ca054481efc8f33ad7b9fb729ee8304e5539' }, 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: '4c57d77052c3773be3ec323f34769095d514d82b', 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: '1bbb2389d353b5a1b174ee5423ab524a350d5810' }, this.renderHeader(), h("div", { key: 'a81fed03577d534e509ddcbc9ef66456191fe53f', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'e3f76847095e0d586d7c72e6750acb220a187e6e', 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: '7ee2b42fce778c2239a8537cf3d9ce6808c97d79', class: "expression" }, this.label && h("limel-header", { key: 'd14cadc9ca8522a637614952579c760943df27f9', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'd9b52ba968caafd32405744ebff05f216b805f56', 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: '3543d72a3edb0c320abb3f9379d338d36ad6d6c4', style: {
|
|
257
257
|
'--limebb-lime-query-filter-group-operator': `"${this.expression.op === re.AND ? 'AND' : 'OR'}"`,
|
|
258
|
-
} }, h("div", { key: '
|
|
258
|
+
} }, h("div", { key: '01bed380a233e8add40afb4d45c1606fb28989fc', class: "expression" }, this.renderHeader(), h("ul", { key: '7b6ac524a60a7782ca1ecc7759040d4eca3647ef' }, 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 LimebbComposerToolbar extends Components.LimebbComposerToolbar, HTMLElement {}
|
|
4
|
+
export const LimebbComposerToolbar: {
|
|
5
|
+
prototype: LimebbComposerToolbar;
|
|
6
|
+
new (): LimebbComposerToolbar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { c } from './index.esm.js';
|
|
3
|
+
|
|
4
|
+
const composerToolbarCss = "*{box-sizing:border-box;min-width:0}:host(limebb-composer-toolbar){box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;gap:0.5rem}.actions{display:flex;align-items:center;flex-wrap:nowrap;flex-grow:1}limel-icon-button,::slotted(limel-icon-button){display:inline-block;scale:0.86}";
|
|
5
|
+
const LimebbComposerToolbarStyle0 = composerToolbarCss;
|
|
6
|
+
|
|
7
|
+
const TRIGGER_DEFINITIONS = [
|
|
8
|
+
{
|
|
9
|
+
trigger: 'mention',
|
|
10
|
+
icon: 'email_sign_92447',
|
|
11
|
+
translationKey: 'webclient.composer-toolbar.mention',
|
|
12
|
+
helperLabel: '@',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
trigger: 'text-snippet',
|
|
16
|
+
icon: 'rich_text_converter',
|
|
17
|
+
translationKey: 'webclient.composer-toolbar.text-snippet',
|
|
18
|
+
helperLabel: '!',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
trigger: 'internal-link',
|
|
22
|
+
icon: 'hashtag_large',
|
|
23
|
+
translationKey: 'webclient.composer-toolbar.internal-link',
|
|
24
|
+
helperLabel: '#',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
trigger: 'rich-text',
|
|
28
|
+
icon: 'font_style_formatting',
|
|
29
|
+
translationKey: 'webclient.composer-toolbar.rich-text',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
const ComposerToolbar = /*@__PURE__*/ proxyCustomElement(class ComposerToolbar extends HTMLElement {
|
|
33
|
+
constructor() {
|
|
34
|
+
super();
|
|
35
|
+
this.__registerHost();
|
|
36
|
+
this.__attachShadow();
|
|
37
|
+
this.triggerInsert = createEvent(this, "triggerInsert", 7);
|
|
38
|
+
this.filesSelected = createEvent(this, "filesSelected", 7);
|
|
39
|
+
/**
|
|
40
|
+
* When `true`, displays a button that triggers
|
|
41
|
+
* the mention character (`@`) in the text editor.
|
|
42
|
+
*/
|
|
43
|
+
this.mentions = false;
|
|
44
|
+
/**
|
|
45
|
+
* When `true`, displays a button that triggers
|
|
46
|
+
* the text snippet character (`!`) in the text editor.
|
|
47
|
+
*/
|
|
48
|
+
this.textSnippets = false;
|
|
49
|
+
/**
|
|
50
|
+
* When `true`, displays a button that triggers
|
|
51
|
+
* the internal link character (`#`) in the text editor.
|
|
52
|
+
*/
|
|
53
|
+
this.internalLinks = false;
|
|
54
|
+
/**
|
|
55
|
+
* When `true`, displays a button that toggles the visibility
|
|
56
|
+
* of the rich text formatting toolbar in the text editor.
|
|
57
|
+
*/
|
|
58
|
+
this.richText = false;
|
|
59
|
+
this.handleTriggerSelected = (event) => {
|
|
60
|
+
event.stopPropagation();
|
|
61
|
+
this.triggerInsert.emit(event.detail.value);
|
|
62
|
+
};
|
|
63
|
+
this.handleFilesSelected = (event) => {
|
|
64
|
+
event.stopPropagation();
|
|
65
|
+
this.filesSelected.emit(event.detail);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
return [
|
|
70
|
+
h("div", { key: '7b2b399e4dde1bb090dcdec3021fbbf669ea7d74', class: "actions" }, h("slot", { key: '4c019b51586bb3256ac59ad46e5e996ef10bd890', name: "leading" }), this.renderFileInput(), this.renderTriggerActions(), h("slot", { key: '8daa1e5d6e5093042b46fbd5dd9f22e276ea08f1', name: "trailing" })),
|
|
71
|
+
h("slot", { key: 'c59850954e112e1aac342f3dd1544d2f94e696ee', name: "primary-action" }),
|
|
72
|
+
];
|
|
73
|
+
}
|
|
74
|
+
get translator() {
|
|
75
|
+
var _a;
|
|
76
|
+
return (_a = this.platform) === null || _a === void 0 ? void 0 : _a.get(c.Translate);
|
|
77
|
+
}
|
|
78
|
+
get triggerActions() {
|
|
79
|
+
const enabledFlags = {
|
|
80
|
+
mention: this.mentions,
|
|
81
|
+
'text-snippet': this.textSnippets,
|
|
82
|
+
'internal-link': this.internalLinks,
|
|
83
|
+
'rich-text': this.richText,
|
|
84
|
+
};
|
|
85
|
+
return TRIGGER_DEFINITIONS.filter((def) => enabledFlags[def.trigger]).map((def) => {
|
|
86
|
+
var _a, _b;
|
|
87
|
+
return ({
|
|
88
|
+
text: (_b = (_a = this.translator) === null || _a === void 0 ? void 0 : _a.get(def.translationKey)) !== null && _b !== void 0 ? _b : def.trigger,
|
|
89
|
+
commandText: def.helperLabel,
|
|
90
|
+
icon: def.icon,
|
|
91
|
+
iconOnly: true,
|
|
92
|
+
value: def.trigger,
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
renderTriggerActions() {
|
|
97
|
+
const actions = this.triggerActions;
|
|
98
|
+
if (actions.length === 0) {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
return (h("limel-action-bar", { actions: actions, onItemSelected: this.handleTriggerSelected }));
|
|
102
|
+
}
|
|
103
|
+
renderFileInput() {
|
|
104
|
+
var _a, _b, _c, _d, _e, _f;
|
|
105
|
+
if (!this.fileInput) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
return (h("limel-file-input", { accept: (_a = this.fileInput.accept) !== null && _a !== void 0 ? _a : '*', multiple: (_b = this.fileInput.multiple) !== null && _b !== void 0 ? _b : false, disabled: (_c = this.fileInput.disabled) !== null && _c !== void 0 ? _c : false, onFilesSelected: this.handleFilesSelected }, h("limel-icon-button", { icon: "attach", disabled: (_d = this.fileInput.disabled) !== null && _d !== void 0 ? _d : false, label: (_e = this.translator) === null || _e === void 0 ? void 0 : _e.get('webclient.attach-files'), helperLabel: (_f = this.translator) === null || _f === void 0 ? void 0 : _f.get('webclient.attach-files-helper') })));
|
|
109
|
+
}
|
|
110
|
+
static get style() { return LimebbComposerToolbarStyle0; }
|
|
111
|
+
}, [1, "limebb-composer-toolbar", {
|
|
112
|
+
"platform": [16],
|
|
113
|
+
"mentions": [516],
|
|
114
|
+
"textSnippets": [516, "text-snippets"],
|
|
115
|
+
"internalLinks": [516, "internal-links"],
|
|
116
|
+
"richText": [516, "rich-text"],
|
|
117
|
+
"fileInput": [16]
|
|
118
|
+
}]);
|
|
119
|
+
function defineCustomElement$1() {
|
|
120
|
+
if (typeof customElements === "undefined") {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const components = ["limebb-composer-toolbar"];
|
|
124
|
+
components.forEach(tagName => { switch (tagName) {
|
|
125
|
+
case "limebb-composer-toolbar":
|
|
126
|
+
if (!customElements.get(tagName)) {
|
|
127
|
+
customElements.define(tagName, ComposerToolbar);
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
} });
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
const LimebbComposerToolbar = ComposerToolbar;
|
|
134
|
+
const defineCustomElement = defineCustomElement$1;
|
|
135
|
+
|
|
136
|
+
export { LimebbComposerToolbar, defineCustomElement };
|
|
@@ -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: '3d016060b9b3287c330d1250c4f107fd2fb25612', 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: '5ec890a021ae53b045046f7994a84a8d9c4698d9', class: "date-pickers" }, this.renderStartDatePicker(), this.renderEndDatePicker()));
|
|
29
29
|
}
|
|
30
30
|
renderStartDatePicker() {
|
|
31
31
|
if (!this.originalStartTime) {
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { c as createRandomString } from './random-string.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './document-item.js';
|
|
4
4
|
|
|
5
|
-
const documentPickerCss = "@charset \"UTF-8\";:host(limebb-document-picker:not([invalid]):not([invalid=true])) .limel-notched-outline{--limel-notched-outline-border-color:transparent;--limel-notched-outline-background-color:transparent}div[slot=content]{display:block;width:100%;padding:0.75rem 0.5rem;columns:10rem;gap:clamp(0.25rem, 2vmin, 0.75rem)}div[slot=content]>limebb-document-item{display:block;break-inside:avoid;margin-bottom:clamp(0.25rem, 2vmin, 0.75rem)}@supports (grid-template-rows: masonry){div[slot=content]{column-width:initial;column-gap:initial;display:grid;grid-template-columns:repeat(auto-fill, minmax(10rem, 1fr));grid-template-rows:masonry;grid-auto-flow:dense;gap:0.5rem}div[slot=content]>limebb-document-item{display:block;width:auto;margin:0;break-inside:auto}}:host(limebb-document-picker:focus),:host(limebb-document-picker:focus-visible),:host(limebb-document-picker:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limebb-document-picker){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limebb-document-picker:focus) limel-helper-line,:host(limebb-document-picker:focus-visible) limel-helper-line,:host(limebb-document-picker:focus-within) limel-helper-line,:host(limebb-document-picker:hover) limel-helper-line{will-change:grid-template-rows}";
|
|
5
|
+
const documentPickerCss = "@charset \"UTF-8\";:host(limebb-document-picker){--checkbox-label-overflow-wrap:break-word;--switch-label-overflow-wrap:break-word}:host(limebb-document-picker:not([invalid]):not([invalid=true])) .limel-notched-outline{--limel-notched-outline-border-color:transparent;--limel-notched-outline-background-color:transparent}div[slot=content]{display:block;width:100%;padding:0.75rem 0.5rem;columns:10rem;gap:clamp(0.25rem, 2vmin, 0.75rem)}div[slot=content]>limebb-document-item{display:block;break-inside:avoid;margin-bottom:clamp(0.25rem, 2vmin, 0.75rem)}@supports (grid-template-rows: masonry){div[slot=content]{column-width:initial;column-gap:initial;display:grid;grid-template-columns:repeat(auto-fill, minmax(10rem, 1fr));grid-template-rows:masonry;grid-auto-flow:dense;gap:0.5rem}div[slot=content]>limebb-document-item{display:block;width:auto;margin:0;break-inside:auto}}:host(limebb-document-picker:focus),:host(limebb-document-picker:focus-visible),:host(limebb-document-picker:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limebb-document-picker){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limebb-document-picker:focus) limel-helper-line,:host(limebb-document-picker:focus-visible) limel-helper-line,:host(limebb-document-picker:focus-within) limel-helper-line,:host(limebb-document-picker:hover) limel-helper-line{will-change:grid-template-rows}";
|
|
6
6
|
const LimebbDocumentPickerStyle0 = documentPickerCss;
|
|
7
7
|
|
|
8
8
|
const DocumentPicker = /*@__PURE__*/ proxyCustomElement(class DocumentPicker extends HTMLElement {
|
|
@@ -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: '6554eadab98c010e090558343f2b7fe02f0ff30f' }, h("limel-notched-outline", { key: 'cb70c92e464ec41cc7792825dbf341b73c0d51b5', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, hasFloatingLabel: true }, h("div", { key: 'd956cab6104a44a8384aec582c9c87c757b2c985', 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: 'ba514e5c049d1c06260bca13834317688f5c8966', 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: '9ab148e0ae9bf8095b4f018303b7d13821a8ce83', 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: '971f24abda709fdf0b6803037557472bbec9c357', 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: '9634fc3d797fa0382b9e0eca1eabf67c19ffa4a6', class: { error: !filter || this.error } }, props)));
|
|
439
439
|
}
|
|
440
440
|
getFormattedValue() {
|
|
441
441
|
if (!this.value && this.value !== 0) {
|
|
@@ -161,7 +161,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
render() {
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: '683e54464031d37a38480a55aed3e3006ec9e806' }, this.renderHeader(), this.renderContent()));
|
|
165
165
|
}
|
|
166
166
|
renderContent() {
|
|
167
167
|
const visualModeSupported = this.checkVisualModeSupport();
|