@limetech/lime-crm-building-blocks 1.100.0 → 1.101.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.
Files changed (123) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  3. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +177 -204
  4. package/dist/cjs/{limebb-lime-query-filter-builder_3.cjs.entry.js → limebb-lime-query-filter-builder_4.cjs.entry.js} +86 -1
  5. package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +147 -0
  6. package/dist/cjs/{limebb-lime-query-filter-comparison_5.cjs.entry.js → limebb-lime-query-filter-group_3.cjs.entry.js} +5 -333
  7. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +51 -0
  8. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
  9. package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
  11. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
  12. package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
  14. package/dist/cjs/limebb-property-selector.cjs.entry.js +234 -0
  15. package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/collection/collection-manifest.json +2 -2
  19. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
  20. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +1 -1
  21. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
  22. package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +7 -7
  23. package/dist/collection/components/lime-query-builder/lime-query-builder.css +2 -5
  24. package/dist/collection/components/lime-query-builder/lime-query-builder.js +19 -19
  25. package/dist/collection/components/lime-query-builder/lime-query-validation.js +160 -26
  26. package/dist/collection/components/lime-query-builder/lime-query.types.js +1 -57
  27. package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
  28. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.css +72 -0
  29. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +252 -0
  30. package/dist/collection/components/lime-query-builder/order-by/order-by-item.css +45 -0
  31. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +173 -0
  32. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  33. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  34. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  35. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  36. package/dist/collection/components/summary-popover/summary-popover.js +3 -3
  37. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  38. package/dist/collection/components/text-editor/text-editor.js +1 -1
  39. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  40. package/dist/components/lime-query-filter-comparison.js +1 -1
  41. package/dist/components/lime-query-filter-expression.js +2 -2
  42. package/dist/components/lime-query-value-input.js +3 -3
  43. package/dist/components/limebb-lime-query-builder.js +201 -215
  44. package/dist/components/limebb-lime-query-order-by-editor.d.ts +11 -0
  45. package/dist/components/limebb-lime-query-order-by-editor.js +6 -0
  46. package/dist/components/limebb-lime-query-order-by-item.d.ts +11 -0
  47. package/dist/components/limebb-lime-query-order-by-item.js +6 -0
  48. package/dist/components/limebb-locale-picker.js +1 -1
  49. package/dist/components/limebb-mention-group-counter.js +2 -2
  50. package/dist/components/limebb-percentage-visualizer.js +2 -2
  51. package/dist/components/limebb-text-editor.js +1 -1
  52. package/dist/components/limebb-trend-indicator.js +1 -1
  53. package/dist/components/limetype-field.js +1 -1
  54. package/dist/components/live-docs-info.js +2 -2
  55. package/dist/components/notification-item.js +1 -1
  56. package/dist/components/order-by-editor.js +123 -0
  57. package/dist/components/order-by-item.js +73 -0
  58. package/dist/components/property-selector.js +1 -1
  59. package/dist/components/summary-popover.js +3 -3
  60. package/dist/esm/lime-crm-building-blocks.js +1 -1
  61. package/dist/esm/limebb-lime-query-builder.entry.js +179 -206
  62. package/dist/esm/{limebb-lime-query-filter-builder_3.entry.js → limebb-lime-query-filter-builder_4.entry.js} +86 -2
  63. package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +142 -0
  64. package/dist/esm/{limebb-lime-query-filter-comparison_5.entry.js → limebb-lime-query-filter-group_3.entry.js} +7 -333
  65. package/dist/esm/limebb-lime-query-order-by-item.entry.js +47 -0
  66. package/dist/esm/limebb-live-docs-info.entry.js +2 -2
  67. package/dist/esm/limebb-locale-picker.entry.js +1 -1
  68. package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
  69. package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
  70. package/dist/esm/limebb-notification-item.entry.js +1 -1
  71. package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
  72. package/dist/esm/limebb-property-selector.entry.js +230 -0
  73. package/dist/esm/limebb-text-editor.entry.js +1 -1
  74. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  75. package/dist/esm/loader.js +1 -1
  76. package/dist/esm/{property-resolution-fde2375e.js → property-resolution-c21a1369.js} +1 -1
  77. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  78. package/dist/lime-crm-building-blocks/{p-631ca5a5.entry.js → p-0cd036ed.entry.js} +1 -1
  79. package/dist/lime-crm-building-blocks/p-2725671e.entry.js +1 -0
  80. package/dist/lime-crm-building-blocks/{p-9cac4de2.entry.js → p-425eaba2.entry.js} +1 -1
  81. package/dist/lime-crm-building-blocks/{p-e8946134.entry.js → p-5cf4898d.entry.js} +1 -1
  82. package/dist/lime-crm-building-blocks/p-67c174d0.entry.js +1 -0
  83. package/dist/lime-crm-building-blocks/p-6aa216ec.entry.js +1 -0
  84. package/dist/lime-crm-building-blocks/{p-93cadc1e.entry.js → p-8601eab5.entry.js} +1 -1
  85. package/dist/lime-crm-building-blocks/{p-b9b954d9.entry.js → p-8c2fb1c9.entry.js} +1 -1
  86. package/dist/lime-crm-building-blocks/{p-3122ea05.entry.js → p-92dfc5f8.entry.js} +1 -1
  87. package/dist/lime-crm-building-blocks/{p-569c86b5.entry.js → p-a1ee8990.entry.js} +1 -1
  88. package/dist/lime-crm-building-blocks/p-abfc7815.entry.js +1 -0
  89. package/dist/lime-crm-building-blocks/{p-e0ab1554.js → p-b748c770.js} +1 -1
  90. package/dist/lime-crm-building-blocks/p-ccf34631.entry.js +1 -0
  91. package/dist/lime-crm-building-blocks/{p-36ea13c0.entry.js → p-d84874dc.entry.js} +1 -1
  92. package/dist/lime-crm-building-blocks/p-f9efca1d.entry.js +1 -0
  93. package/dist/types/components/lime-query-builder/expressions/lime-query-value-input.d.ts +2 -3
  94. package/dist/types/components/lime-query-builder/lime-query-builder.d.ts +9 -6
  95. package/dist/types/components/lime-query-builder/lime-query.types.d.ts +0 -72
  96. package/dist/types/components/lime-query-builder/order-by/order-by-editor.d.ts +58 -0
  97. package/dist/types/components/lime-query-builder/order-by/order-by-item.d.ts +37 -0
  98. package/dist/types/components.d.ts +165 -205
  99. package/package.json +1 -1
  100. package/dist/cjs/limebb-lime-query-filter-and.cjs.entry.js +0 -80
  101. package/dist/cjs/limebb-lime-query-filter-expression.cjs.entry.js +0 -45
  102. package/dist/cjs/limebb-lime-query-filter-or.cjs.entry.js +0 -68
  103. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.css +0 -121
  104. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.js +0 -249
  105. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.css +0 -123
  106. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.js +0 -237
  107. package/dist/collection/components/lime-query-builder/filter-conversion.js +0 -255
  108. package/dist/components/limebb-lime-query-filter-and.d.ts +0 -11
  109. package/dist/components/limebb-lime-query-filter-and.js +0 -135
  110. package/dist/components/limebb-lime-query-filter-or.d.ts +0 -11
  111. package/dist/components/limebb-lime-query-filter-or.js +0 -123
  112. package/dist/esm/limebb-lime-query-filter-and.entry.js +0 -76
  113. package/dist/esm/limebb-lime-query-filter-expression.entry.js +0 -41
  114. package/dist/esm/limebb-lime-query-filter-or.entry.js +0 -64
  115. package/dist/lime-crm-building-blocks/p-24aeb928.entry.js +0 -1
  116. package/dist/lime-crm-building-blocks/p-422f6d51.entry.js +0 -1
  117. package/dist/lime-crm-building-blocks/p-67dbaa4c.entry.js +0 -1
  118. package/dist/lime-crm-building-blocks/p-6d119dab.entry.js +0 -1
  119. package/dist/lime-crm-building-blocks/p-91732502.entry.js +0 -1
  120. package/dist/lime-crm-building-blocks/p-b198194a.entry.js +0 -1
  121. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-and.d.ts +0 -57
  122. package/dist/types/components/lime-query-builder/expressions/lime-query-filter-or.d.ts +0 -56
  123. package/dist/types/components/lime-query-builder/filter-conversion.d.ts +0 -31
@@ -0,0 +1,142 @@
1
+ import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
2
+ import { Z as Zt } from './index.esm-bb569663.js';
3
+
4
+ const limeQueryFilterComparisonCss = ".expression-container{display:flex;flex-direction:row;align-items:flex-start;gap:1rem;flex-wrap:wrap}.expression-container>*{flex-grow:2;width:30%;max-width:calc(100% - 3.25rem)}.expression-container>.operator{flex-grow:1;width:calc(30% + 1rem);min-width:4rem}.expression-container>.remove{flex-grow:0;width:auto;margin-left:auto}@media (max-width: 768px){.expression-container{flex-direction:column}.expression-container>*{width:100%;max-width:100%}.expression-container>.operator{width:100%}.expression-container>.remove{margin-left:0;align-self:flex-end}}";
5
+ const LimebbLimeQueryFilterComparisonStyle0 = limeQueryFilterComparisonCss;
6
+
7
+ const LIME_QUERY_OPERATORS = [
8
+ { value: Zt.EQUALS, label: 'Equals', icon: 'equals' },
9
+ { value: Zt.NOT_EQUALS, label: 'Not Equals', icon: 'not-equal' },
10
+ {
11
+ value: Zt.GREATER,
12
+ label: 'Greater Than',
13
+ icon: 'greater-than',
14
+ applicableTypes: ['integer', 'decimal', 'date', 'time'],
15
+ },
16
+ {
17
+ value: Zt.GREATER_OR_EQUAL,
18
+ label: 'Greater or Equal',
19
+ icon: 'greater-or-equal',
20
+ applicableTypes: ['integer', 'decimal', 'date', 'time'],
21
+ },
22
+ {
23
+ value: Zt.LESS,
24
+ label: 'Less Than',
25
+ icon: 'less-than',
26
+ applicableTypes: ['integer', 'decimal', 'date', 'time'],
27
+ },
28
+ {
29
+ value: Zt.LESS_OR_EQUAL,
30
+ label: 'Less or Equal',
31
+ icon: 'less-or-equal',
32
+ applicableTypes: ['integer', 'decimal', 'date', 'time'],
33
+ },
34
+ { value: Zt.IN, label: 'In List', icon: 'list' },
35
+ {
36
+ value: Zt.LIKE,
37
+ label: 'Contains',
38
+ icon: '-lime-filter-contain',
39
+ applicableTypes: ['string', 'text'],
40
+ },
41
+ {
42
+ value: Zt.BEGINS,
43
+ label: 'Begins With',
44
+ icon: '-lime-filter-begin',
45
+ applicableTypes: ['string', 'text'],
46
+ },
47
+ {
48
+ value: Zt.ENDS,
49
+ label: 'Ends With',
50
+ icon: '-lime-filter-end',
51
+ applicableTypes: ['string', 'text'],
52
+ },
53
+ ];
54
+ const LimeQueryFilterComparisonComponent = class {
55
+ constructor(hostRef) {
56
+ registerInstance(this, hostRef);
57
+ this.expressionChange = createEvent(this, "expressionChange", 7);
58
+ this.handlePropertyChange = (event) => {
59
+ event.stopPropagation();
60
+ this.expressionChange.emit(Object.assign(Object.assign({}, this.expression), { key: event.detail }));
61
+ };
62
+ this.handleOperatorChange = (event) => {
63
+ event.stopPropagation();
64
+ // TODO: Clear value when switching between IN and other operators
65
+ // since array values are incompatible with single-value operators
66
+ this.expressionChange.emit({
67
+ key: this.expression.key,
68
+ op: event.detail.value,
69
+ exp: this.expression.exp,
70
+ });
71
+ };
72
+ this.handleValueChange = (event) => {
73
+ event.stopPropagation();
74
+ this.expressionChange.emit(Object.assign(Object.assign({}, this.expression), { exp: event.detail }));
75
+ };
76
+ this.removeExpression = () => {
77
+ this.expressionChange.emit(undefined);
78
+ };
79
+ }
80
+ render() {
81
+ return (h("div", { key: 'a077c982ced9840beec3e574cd3e2e336cff6071', class: "expression" }, this.label && h("limel-header", { key: 'fbcb5cf515aac2c8e68d29947c7560684f30822c', heading: this.label }), h("div", { key: 'ffea426ea1295ae11aaa3c910f835acbeed24cd9', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: '20064f9fe42a4dfa71b2e1e2d393d50bbe20e2cb', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
82
+ }
83
+ renderPropertySelector() {
84
+ return (h("limebb-property-selector", { platform: this.platform, context: this.context, label: "Property", limetype: this.limetype, value: this.expression.key, required: true, onChange: this.handlePropertyChange }));
85
+ }
86
+ renderOperator() {
87
+ const operatorHasBeenSet = !!this.expression.op;
88
+ const options = LIME_QUERY_OPERATORS.map((op) => ({
89
+ text: op.label,
90
+ value: op.value,
91
+ icon: op.icon ? { name: op.icon } : undefined,
92
+ }));
93
+ const selectedOption = options.find((o) => o.value === this.expression.op);
94
+ return (h("limel-select", { class: "operator", label: "Operator", value: selectedOption, options: options, disabled: !operatorHasBeenSet && !this.expression.key, onChange: this.handleOperatorChange }));
95
+ }
96
+ renderValueInput() {
97
+ if (!this.expression.op) {
98
+ return null;
99
+ }
100
+ return (h("limebb-lime-query-value-input", { platform: this.platform, context: this.context, limetype: this.limetype, activeLimetype: this.activeLimetype, propertyPath: this.expression.key, operator: this.expression.op, value: this.expression.exp, onChange: this.handleValueChange }));
101
+ }
102
+ };
103
+ LimeQueryFilterComparisonComponent.style = LimebbLimeQueryFilterComparisonStyle0;
104
+
105
+ const limeQueryFilterExpressionCss = "@charset \"UTF-8\";.expression{display:flex;flex-direction:column;margin-bottom:1rem;gap:1rem}";
106
+ const LimebbLimeQueryFilterExpressionStyle0 = limeQueryFilterExpressionCss;
107
+
108
+ const LimeQueryFilterExpressionComponent = class {
109
+ constructor(hostRef) {
110
+ registerInstance(this, hostRef);
111
+ this.expressionChange = createEvent(this, "expressionChange", 7);
112
+ this.handleExpressionChange = (event) => {
113
+ event.stopPropagation();
114
+ this.expressionChange.emit(event.detail);
115
+ };
116
+ }
117
+ render() {
118
+ if (!this.expression) {
119
+ return;
120
+ }
121
+ const props = {
122
+ platform: this.platform,
123
+ context: this.context,
124
+ label: this.label,
125
+ limetype: this.limetype,
126
+ activeLimetype: this.activeLimetype,
127
+ };
128
+ if ('key' in this.expression) {
129
+ return (h("limebb-lime-query-filter-comparison", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
130
+ }
131
+ if (this.expression.op === Zt.AND ||
132
+ this.expression.op === Zt.OR) {
133
+ return (h("limebb-lime-query-filter-group", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
134
+ }
135
+ if (this.expression.op === Zt.NOT) {
136
+ return (h("limebb-lime-query-filter-not", Object.assign({}, props, { expression: this.expression, onExpressionChange: this.handleExpressionChange })));
137
+ }
138
+ }
139
+ };
140
+ LimeQueryFilterExpressionComponent.style = LimebbLimeQueryFilterExpressionStyle0;
141
+
142
+ export { LimeQueryFilterComparisonComponent as limebb_lime_query_filter_comparison, LimeQueryFilterExpressionComponent as limebb_lime_query_filter_expression };
@@ -1,107 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
2
2
  import { Z as Zt, T as Te } from './index.esm-bb569663.js';
3
- import { a as getPropertyFromPath, g as getNormalizedProperties } from './property-resolution-fde2375e.js';
4
-
5
- const limeQueryFilterComparisonCss = ".expression-container{display:flex;flex-direction:row;align-items:flex-start;gap:1rem;flex-wrap:wrap}.expression-container>*{flex-grow:2;width:30%;max-width:calc(100% - 3.25rem)}.expression-container>.operator{flex-grow:1;width:calc(30% + 1rem);min-width:4rem}.expression-container>.remove{flex-grow:0;width:auto;margin-left:auto}@media (max-width: 768px){.expression-container{flex-direction:column}.expression-container>*{width:100%;max-width:100%}.expression-container>.operator{width:100%}.expression-container>.remove{margin-left:0;align-self:flex-end}}";
6
- const LimebbLimeQueryFilterComparisonStyle0 = limeQueryFilterComparisonCss;
7
-
8
- const LIME_QUERY_OPERATORS = [
9
- { value: Zt.EQUALS, label: 'Equals', icon: 'equals' },
10
- { value: Zt.NOT_EQUALS, label: 'Not Equals', icon: 'not-equal' },
11
- {
12
- value: Zt.GREATER,
13
- label: 'Greater Than',
14
- icon: 'greater-than',
15
- applicableTypes: ['integer', 'decimal', 'date', 'time'],
16
- },
17
- {
18
- value: Zt.GREATER_OR_EQUAL,
19
- label: 'Greater or Equal',
20
- icon: 'greater-or-equal',
21
- applicableTypes: ['integer', 'decimal', 'date', 'time'],
22
- },
23
- {
24
- value: Zt.LESS,
25
- label: 'Less Than',
26
- icon: 'less-than',
27
- applicableTypes: ['integer', 'decimal', 'date', 'time'],
28
- },
29
- {
30
- value: Zt.LESS_OR_EQUAL,
31
- label: 'Less or Equal',
32
- icon: 'less-or-equal',
33
- applicableTypes: ['integer', 'decimal', 'date', 'time'],
34
- },
35
- { value: Zt.IN, label: 'In List', icon: 'list' },
36
- {
37
- value: Zt.LIKE,
38
- label: 'Contains',
39
- icon: '-lime-filter-contain',
40
- applicableTypes: ['string', 'text'],
41
- },
42
- {
43
- value: Zt.BEGINS,
44
- label: 'Begins With',
45
- icon: '-lime-filter-begin',
46
- applicableTypes: ['string', 'text'],
47
- },
48
- {
49
- value: Zt.ENDS,
50
- label: 'Ends With',
51
- icon: '-lime-filter-end',
52
- applicableTypes: ['string', 'text'],
53
- },
54
- ];
55
- const LimeQueryFilterComparisonComponent = class {
56
- constructor(hostRef) {
57
- registerInstance(this, hostRef);
58
- this.expressionChange = createEvent(this, "expressionChange", 7);
59
- this.handlePropertyChange = (event) => {
60
- event.stopPropagation();
61
- this.expressionChange.emit(Object.assign(Object.assign({}, this.expression), { key: event.detail }));
62
- };
63
- this.handleOperatorChange = (event) => {
64
- event.stopPropagation();
65
- // TODO: Clear value when switching between IN and other operators
66
- // since array values are incompatible with single-value operators
67
- this.expressionChange.emit({
68
- key: this.expression.key,
69
- op: event.detail.value,
70
- exp: this.expression.exp,
71
- });
72
- };
73
- this.handleValueChange = (event) => {
74
- event.stopPropagation();
75
- this.expressionChange.emit(Object.assign(Object.assign({}, this.expression), { exp: event.detail }));
76
- };
77
- this.removeExpression = () => {
78
- this.expressionChange.emit(undefined);
79
- };
80
- }
81
- render() {
82
- return (h("div", { key: '668e0f05bdb1fb25ffd652ea650c34e5431a3332', class: "expression" }, this.label && h("limel-header", { key: '5034070b58afe31cf90699dd2a27f884e647f540', heading: this.label }), h("div", { key: '14a2b1270e5e6d7e158e29ebc5f61051e5670e80', class: "expression-container" }, this.renderPropertySelector(), this.renderOperator(), this.renderValueInput(), h("limel-icon-button", { key: 'b69bde6e88c40d2623ef015794db28cec3676c73', class: "remove", icon: "trash", label: "Remove condition", onClick: this.removeExpression }))));
83
- }
84
- renderPropertySelector() {
85
- return (h("limebb-property-selector", { platform: this.platform, context: this.context, label: "Property", limetype: this.limetype, value: this.expression.key, required: true, onChange: this.handlePropertyChange }));
86
- }
87
- renderOperator() {
88
- const operatorHasBeenSet = !!this.expression.op;
89
- const options = LIME_QUERY_OPERATORS.map((op) => ({
90
- text: op.label,
91
- value: op.value,
92
- icon: op.icon ? { name: op.icon } : undefined,
93
- }));
94
- const selectedOption = options.find((o) => o.value === this.expression.op);
95
- return (h("limel-select", { class: "operator", label: "Operator", value: selectedOption, options: options, disabled: !operatorHasBeenSet && !this.expression.key, onChange: this.handleOperatorChange }));
96
- }
97
- renderValueInput() {
98
- if (!this.expression.op) {
99
- return null;
100
- }
101
- return (h("limebb-lime-query-value-input", { platform: this.platform, context: this.context, limetype: this.limetype, activeLimetype: this.activeLimetype, propertyPath: this.expression.key, operator: this.expression.op, value: this.expression.exp, onChange: this.handleValueChange }));
102
- }
103
- };
104
- LimeQueryFilterComparisonComponent.style = LimebbLimeQueryFilterComparisonStyle0;
3
+ import { g as getPropertyFromPath } from './property-resolution-c21a1369.js';
105
4
 
106
5
  const limeQueryFilterGroupCss = "@charset \"UTF-8\";.expression{display:flex;flex-direction:column;margin-bottom:1rem;gap:0;background-color:rgb(var(--contrast-100));border:1px solid rgb(var(--contrast-500));border-radius:0.75rem}.expression .clickable-header{cursor:pointer;user-select:none}.expression .clickable-header:hover{background-color:rgb(var(--contrast-200))}.expression>ul{margin-top:0;margin-right:1rem;margin-bottom:1rem;margin-left:1rem;padding-left:1rem;list-style:disc}.expression>ul li{margin-top:1rem}.expression>ul li.add-button{list-style:none;display:flex;gap:0.5rem}";
107
6
  const LimebbLimeQueryFilterGroupStyle0 = limeQueryFilterGroupCss;
@@ -177,7 +76,7 @@ const LimeQueryFilterGroupComponent = class {
177
76
  }
178
77
  render() {
179
78
  const subheading = this.getSubheading();
180
- return (h("div", { key: '43a1d99fd896e3ad49dd97594e54bccaf74c3aa0', class: "expression" }, subheading && (h("limel-header", { key: '534eb0a3db2f0194e8a28e2fb071beb545f38458', subheading: subheading, onClick: this.handleToggleOperator, class: "clickable-header" })), h("ul", { key: '9d29d98ab034bf2878e7dc19828bc045dbdd492f' }, this.expression.exp.map(this.renderChildExpression), h("li", { key: '44b266c8aeb390b8a68b3e08a51a0760a6421f93', class: "add-button" }, this.renderAddButton(), this.renderAddGroupButton()))));
79
+ return (h("div", { key: '0ed5a1403d9641926cd6d474910cedf9c7bba89e', class: "expression" }, subheading && (h("limel-header", { key: 'ea88a97df09f0fb5a21bf9afb4745256a611c7f8', subheading: subheading, onClick: this.handleToggleOperator, class: "clickable-header" })), h("ul", { key: 'cfbcdd539e84f79bf1d778e075cd3317d7409647' }, this.expression.exp.map(this.renderChildExpression), h("li", { key: 'ec443459245bf5852920bb4d3e341f2490a7b75b', class: "add-button" }, this.renderAddButton(), this.renderAddGroupButton()))));
181
80
  }
182
81
  getSubheading() {
183
82
  if (this.expression.exp.length <= 1) {
@@ -234,7 +133,7 @@ const LimeQueryFilterNotComponent = class {
234
133
  };
235
134
  }
236
135
  render() {
237
- return (h("div", { key: 'f1dfd7fd4ec7dc1873841d1c8b3d2bb6677634fd', class: "expression" }, this.label && h("limel-header", { key: '91e1b754f6e45c70f49bf2a770898a590defaf22', heading: this.label }), h("limebb-lime-query-filter-expression", { key: 'bf42f3c71521a413e5ecc49a8e0d6401b34384a2', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
136
+ return (h("div", { key: '9ab4a6b1e99668a0bcee3e3ba8cbbbe5185222e0', class: "expression" }, this.label && h("limel-header", { key: '85e997b0f96db306dd7a4433da959a74303aacfa', heading: this.label }), h("limebb-lime-query-filter-expression", { key: '14f634e125ee78f2aa70c7537b270a31699ba7c2', platform: this.platform, context: this.context, label: "Not", limetype: this.limetype, activeLimetype: this.activeLimetype, expression: this.expression.exp, onExpressionChange: this.handleExpressionChange })));
238
137
  }
239
138
  };
240
139
  LimeQueryFilterNotComponent.style = LimebbLimeQueryFilterNotStyle0;
@@ -242,7 +141,7 @@ LimeQueryFilterNotComponent.style = LimebbLimeQueryFilterNotStyle0;
242
141
  const limeQueryValueInputCss = ":host{display:block}.value-input-container{display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}.mode-toggle{flex-shrink:0;margin-top:0.5rem;opacity:0.7;transition:opacity 0.2s ease}.mode-toggle:hover{opacity:1}.placeholder-input{flex-grow:1;display:flex;flex-direction:column;gap:0.5rem}.placeholder-preview{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;background-color:rgba(var(--color-blue-light), 0.1);border-radius:var(--border-radius-small);font-size:0.875rem;color:rgb(var(--color-blue-default));border-left:3px solid rgb(var(--color-blue-default))}.placeholder-preview limel-icon{flex-shrink:0;color:rgb(var(--color-blue-default))}.placeholder-preview span{font-family:var(--font-monospace);word-break:break-all}";
243
142
  const LimebbLimeQueryValueInputStyle0 = limeQueryValueInputCss;
244
143
 
245
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
144
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
246
145
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
247
146
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
248
147
  r = Reflect.decorate(decorators, target, key, desc);
@@ -384,7 +283,7 @@ const LimeQueryValueInput = class {
384
283
  }
385
284
  renderValueInputByType() {
386
285
  // Special handling for IN operator - always use chip set for arrays
387
- if (this.operator === 'IN') {
286
+ if (this.operator === Zt.IN) {
388
287
  return this.renderMultiValueInput();
389
288
  }
390
289
  const property = this.getProperty();
@@ -464,234 +363,9 @@ const LimeQueryValueInput = class {
464
363
  return getPropertyFromPath(this.limetypes, this.limetype, this.propertyPath);
465
364
  }
466
365
  };
467
- __decorate$1([
366
+ __decorate([
468
367
  Te()
469
368
  ], LimeQueryValueInput.prototype, "limetypes", void 0);
470
369
  LimeQueryValueInput.style = LimebbLimeQueryValueInputStyle0;
471
370
 
472
- const propertySelectorCss = ":host(limebb-property-selector){display:block}limel-menu{display:block;width:100%}";
473
- const LimebbPropertySelectorStyle0 = propertySelectorCss;
474
-
475
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
476
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
477
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
478
- r = Reflect.decorate(decorators, target, key, desc);
479
- else
480
- for (var i = decorators.length - 1; i >= 0; i--)
481
- if (d = decorators[i])
482
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
483
- return c > 3 && r && Object.defineProperty(target, key, r), r;
484
- };
485
- const PropertySelector = class {
486
- constructor(hostRef) {
487
- registerInstance(this, hostRef);
488
- this.change = createEvent(this, "change", 7);
489
- /**
490
- * Label for the input
491
- */
492
- this.label = 'Property';
493
- /**
494
- * Whether the field is required
495
- */
496
- this.required = false;
497
- this.isOpen = false;
498
- this.navigationPath = '';
499
- this.menuItems = [];
500
- this.handleChipSetWrapperClick = (event) => {
501
- // Stop all clicks on the chip-set from bubbling
502
- // This prevents the menu from opening when clicking chip remove buttons
503
- event.stopPropagation();
504
- };
505
- this.handleChipSetFocus = () => {
506
- // Open menu when the chip-set input receives focus
507
- // This happens when user clicks to type/edit
508
- if (!this.isOpen) {
509
- this.navigationPath = this.value || '';
510
- this.loadMenuItems();
511
- this.isOpen = true;
512
- }
513
- };
514
- this.handleSelect = (event) => {
515
- event.stopPropagation();
516
- const selectedPath = event.detail.value;
517
- if (!selectedPath) {
518
- return;
519
- }
520
- // Check if this is a complete path (leaf property, not a relation)
521
- const property = getPropertyFromPath(this.limetypes, this.limetype, selectedPath);
522
- if (property === null || property === void 0 ? void 0 : property.relation) {
523
- // This is a relation - update navigation but don't emit
524
- this.navigationPath = selectedPath;
525
- }
526
- else {
527
- // This is a leaf property - emit and close
528
- this.change.emit(selectedPath);
529
- this.isOpen = false;
530
- this.navigationPath = '';
531
- }
532
- };
533
- this.handleNavigateMenu = (event) => {
534
- var _a;
535
- event.stopPropagation();
536
- if ((_a = event.detail) === null || _a === void 0 ? void 0 : _a.value) {
537
- // Update navigation path when drilling down
538
- this.navigationPath = event.detail.value;
539
- }
540
- };
541
- this.handleCancel = () => {
542
- this.isOpen = false;
543
- this.navigationPath = '';
544
- };
545
- this.handleChipSetChange = (event) => {
546
- event.stopPropagation();
547
- const detail = event.detail;
548
- // Handle both single chip and array of chips
549
- if (!detail) {
550
- // Clear all was clicked
551
- this.change.emit('');
552
- this.navigationPath = '';
553
- return;
554
- }
555
- // Convert to array if it's a single chip
556
- const chips = Array.isArray(detail) ? detail : [detail];
557
- if (chips.length === 0) {
558
- // All chips removed
559
- this.change.emit('');
560
- this.navigationPath = '';
561
- }
562
- else {
563
- // A chip was removed - emit the last remaining chip's value
564
- const lastChip = chips.at(-1);
565
- if (lastChip) {
566
- this.change.emit(lastChip.value);
567
- }
568
- this.navigationPath = '';
569
- }
570
- };
571
- }
572
- render() {
573
- if (!this.limetype || !this.limetypes) {
574
- return null;
575
- }
576
- const chips = this.getChipsForPath(this.navigationPath || this.value || '');
577
- return (h("limel-menu", { items: this.menuItems, open: this.isOpen, emptyResultMessage: "No available properties", surfaceWidth: "inherit-from-trigger", openDirection: "bottom-end", onSelect: this.handleSelect, onNavigateMenu: this.handleNavigateMenu, onCancel: this.handleCancel }, h("div", { slot: "trigger" }, h("div", { onClick: this.handleChipSetWrapperClick }, h("limel-chip-set", { type: "input", label: this.label, value: chips, required: this.required, helperText: this.helperText, delimiter: "\u203A", maxItems: 1, onChange: this.handleChipSetChange, onFocus: this.handleChipSetFocus })))));
578
- }
579
- loadMenuItems() {
580
- // Get the limetype we're currently navigating in
581
- const currentLimetype = this.getCurrentLimetype();
582
- if (!currentLimetype) {
583
- this.menuItems = [];
584
- return;
585
- }
586
- this.menuItems = this.createMenuItems(currentLimetype, '');
587
- }
588
- getCurrentLimetype() {
589
- if (!this.navigationPath) {
590
- return this.limetypes[this.limetype];
591
- }
592
- // Get the limetype at the current navigation path
593
- const property = getPropertyFromPath(this.limetypes, this.limetype, this.navigationPath);
594
- if (property === null || property === void 0 ? void 0 : property.relation) {
595
- return property.relation.getLimetype();
596
- }
597
- return this.limetypes[this.limetype];
598
- }
599
- createMenuItems(limetype, pathPrefix) {
600
- const results = [];
601
- if (!limetype) {
602
- return results;
603
- }
604
- const normalizedProperties = getNormalizedProperties(limetype);
605
- for (const [propName, property] of Object.entries(normalizedProperties)) {
606
- // Skip hasMany and hasAndBelongsToMany relations
607
- if (property.type === 'hasmany' ||
608
- property.type === 'hasandbelongstomany') {
609
- continue;
610
- }
611
- const fullPath = pathPrefix
612
- ? `${pathPrefix}.${propName}`
613
- : propName;
614
- const isRelation = !!property.relation;
615
- let items;
616
- if (isRelation && property.relation) {
617
- // Create submenu for relation (only belongsto at this point)
618
- const relatedLimetype = property.relation.getLimetype();
619
- if (relatedLimetype) {
620
- items = async () => this.createMenuItems(relatedLimetype, fullPath);
621
- }
622
- }
623
- results.push({
624
- text: property.localname || propName,
625
- secondaryText: this.getSecondaryText(property),
626
- icon: this.getIconForProperty(property),
627
- value: fullPath,
628
- items: items,
629
- });
630
- }
631
- if (results.length === 0) {
632
- return [
633
- {
634
- text: 'No available properties',
635
- value: '',
636
- disabled: true,
637
- },
638
- ];
639
- }
640
- return results;
641
- }
642
- getSecondaryText(property) {
643
- var _a;
644
- if (property.relation) {
645
- const relatedLimetype = property.relation.getLimetype();
646
- return ((_a = relatedLimetype === null || relatedLimetype === void 0 ? void 0 : relatedLimetype.localname) === null || _a === void 0 ? void 0 : _a.singular) || 'Object';
647
- }
648
- // Return the property type as the secondary text
649
- return property.type.charAt(0).toUpperCase() + property.type.slice(1);
650
- }
651
- getIconForProperty(property) {
652
- if (property.relation) {
653
- return {
654
- name: 'link',
655
- color: 'rgb(var(--color-sky-default))',
656
- };
657
- }
658
- // Use generic property icon
659
- return {
660
- name: 'decision',
661
- color: 'rgb(var(--color-gray-default))',
662
- };
663
- }
664
- getChipsForPath(path) {
665
- if (!path) {
666
- return [];
667
- }
668
- const parts = path.split('.');
669
- const chips = [];
670
- let currentLimetype = this.limetypes[this.limetype];
671
- let currentPath = '';
672
- for (const part of parts) {
673
- currentPath = currentPath ? `${currentPath}.${part}` : part;
674
- // Use getNormalizedProperties to include _id and _timestamp
675
- const normalizedProperties = getNormalizedProperties(currentLimetype);
676
- const property = normalizedProperties[part];
677
- if (property) {
678
- chips.push({
679
- id: currentPath,
680
- text: property.localname || part,
681
- icon: this.getIconForProperty(property),
682
- value: currentPath,
683
- });
684
- if (property.relation) {
685
- currentLimetype = property.relation.getLimetype();
686
- }
687
- }
688
- }
689
- return chips;
690
- }
691
- };
692
- __decorate([
693
- Te()
694
- ], PropertySelector.prototype, "limetypes", void 0);
695
- PropertySelector.style = LimebbPropertySelectorStyle0;
696
-
697
- export { LimeQueryFilterComparisonComponent as limebb_lime_query_filter_comparison, LimeQueryFilterGroupComponent as limebb_lime_query_filter_group, LimeQueryFilterNotComponent as limebb_lime_query_filter_not, LimeQueryValueInput as limebb_lime_query_value_input, PropertySelector as limebb_property_selector };
371
+ export { LimeQueryFilterGroupComponent as limebb_lime_query_filter_group, LimeQueryFilterNotComponent as limebb_lime_query_filter_not, LimeQueryValueInput as limebb_lime_query_value_input };
@@ -0,0 +1,47 @@
1
+ import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
2
+
3
+ const orderByItemCss = ":host(limebb-lime-query-order-by-item){display:flex;flex-direction:column;gap:0.5rem;width:100%}.order-by-controls{display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}.property-path{flex-grow:1;min-width:min(20rem, 100%)}.control-buttons{flex-shrink:0;display:flex;flex-direction:row;gap:0.25rem;align-items:center;padding-top:0.5rem}.control-buttons limel-icon-button{opacity:0.6;transition:opacity 0.2s ease}.control-buttons limel-icon-button:hover{opacity:1}@media (max-width: 768px){.order-by-controls{flex-direction:column;gap:0.5rem}.control-buttons{padding-top:0}}";
4
+ const LimebbLimeQueryOrderByItemStyle0 = orderByItemCss;
5
+
6
+ const OrderByItemComponent = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.itemChange = createEvent(this, "itemChange", 7);
10
+ this.handlePathChange = (event) => {
11
+ event.stopPropagation();
12
+ const newPath = event.detail;
13
+ if (!newPath) {
14
+ // If path is cleared, keep the current item but with empty path
15
+ const currentDirection = this.item[Object.keys(this.item)[0]] || 'ASC';
16
+ this.itemChange.emit({ '': currentDirection });
17
+ return;
18
+ }
19
+ // Get current direction
20
+ const currentPath = Object.keys(this.item)[0];
21
+ const currentDirection = this.item[currentPath] || 'ASC';
22
+ // Create new item with new path but same direction
23
+ const newItem = { [newPath]: currentDirection };
24
+ this.itemChange.emit(newItem);
25
+ };
26
+ this.handleToggleDirection = () => {
27
+ const propertyPath = Object.keys(this.item)[0] || '';
28
+ const currentDirection = this.item[propertyPath] || 'ASC';
29
+ const newDirection = currentDirection === 'ASC' ? 'DESC' : 'ASC';
30
+ const newItem = { [propertyPath]: newDirection };
31
+ this.itemChange.emit(newItem);
32
+ };
33
+ this.handleRemove = () => {
34
+ this.itemChange.emit(null);
35
+ };
36
+ }
37
+ render() {
38
+ const propertyPath = Object.keys(this.item)[0] || '';
39
+ const direction = this.item[propertyPath] || 'ASC';
40
+ return (h("div", { key: 'e0faeb5b370d8aba00a668f0861e8e1cb4eec495', class: "order-by-controls" }, h("div", { key: 'd013e829ca193b6ce9cc3756c3700584984f4478', class: "property-path" }, h("limebb-property-selector", { key: '11dee28e5de28d0dc6934abdfe613e87a8b8fbed', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange })), h("div", { key: '66aa416b1f9683a15357d609e3685379d8993733', class: "control-buttons" }, h("limel-icon-button", { key: '360f271ecd3cf42581ae21617d297c84ee93569e', icon: direction === 'ASC'
41
+ ? 'sort_ascending'
42
+ : 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '3cbb13bff679a0ca95bb30b7853551b8bc276520', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
43
+ }
44
+ };
45
+ OrderByItemComponent.style = LimebbLimeQueryOrderByItemStyle0;
46
+
47
+ export { OrderByItemComponent as limebb_lime_query_order_by_item };
@@ -9,8 +9,8 @@ const LiveDocsInfo = class {
9
9
  }
10
10
  render() {
11
11
  return [
12
- h("div", { key: '849694495956b6afbdfeac8aa7de680e1ab03450', class: "header" }, h("limel-icon", { key: '84117fdfff949d6b41b9ec3f2b3ec73f21e5be7b', name: "not_showing_video_frames" }), h("h2", { key: '90f1738815699808c6353707b4f366d8a2c661ac' }, "Viewing this file type requires ", h("em", { key: 'ef09921e893851f06b756e1e2777847a7e4bd563' }, "Live Docs"))),
13
- h("p", { key: 'a835a0e1cabd84d7509167b3331878807b083130' }, h("em", { key: '3f9ce9e473f33b89adfeb3b143e46cabb6feb1d4' }, "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: 'f3e683b041ddd66e6f23514d9bb5f3faf80f4c3a', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
12
+ h("div", { key: '7e6645d68a1fe53d0acc1b3dee259fe184515cee', class: "header" }, h("limel-icon", { key: 'b08f3f80ea09bf9dfb30fec69db91b58f52748bc', name: "not_showing_video_frames" }), h("h2", { key: '984c39002d8dc456df904ed631472ab5c7e434f7' }, "Viewing this file type requires ", h("em", { key: 'cc3aa66537ef0ca8bb201595fba8b63f0d287730' }, "Live Docs"))),
13
+ h("p", { key: '38669b0342f36b1faee7599c0fd28fcebf993351' }, h("em", { key: '7e605cc3e057a8daffe575104272e9aa2634673a' }, "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: 'ada35e1e88af734d219f03b7d68417c95ea837a5', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
14
14
  ];
15
15
  }
16
16
  };
@@ -1129,7 +1129,7 @@ const LocalePicker = class {
1129
1129
  const value = this.value;
1130
1130
  selectedOptions = options.find((option) => option.value === value);
1131
1131
  }
1132
- return (h("limel-select", { key: '5b3491e9dd6725186c4a2795e7893de43457e147', value: selectedOptions, options: sortBy$1(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
1132
+ return (h("limel-select", { key: 'f0be5c869ed7ad1a32e2c0604584f26cc5a40522', value: selectedOptions, options: sortBy$1(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
1133
1133
  }
1134
1134
  };
1135
1135
 
@@ -11,8 +11,8 @@ const MentionGroupCounter = class {
11
11
  render() {
12
12
  const label = this.getLabel();
13
13
  return [
14
- h("span", { key: 'dcd5792c82409e75e149e263fc7b4864e195a387', id: this.tooltipId }, label),
15
- h("limel-tooltip", { key: '2c17e50ac616348df3a98da324b6538891cff75c', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
14
+ h("span", { key: 'bb868b62f71fe65927d1cd9bad6ee08648a33c73', id: this.tooltipId }, label),
15
+ h("limel-tooltip", { key: '5018e97cb9d5522b91ed1c55643ad33c3d7fd51d', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
16
16
  ];
17
17
  }
18
18
  getLabel() {
@@ -120,14 +120,14 @@ const SummaryPopover = class {
120
120
  top: '0.125rem',
121
121
  right: '0.125rem',
122
122
  };
123
- return (h("limel-popover", { key: '1681bf3578fb29886f68070e3e07397d1e312dc1', style: {
123
+ return (h("limel-popover", { key: '3ddac967d05644e0e3b18979a051561e08f316c4', style: {
124
124
  '--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
125
- }, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '1e2daa75c518f4949a7ca6fdd0ff29bc1a6d529e', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: '9d1a9b69db8ac1c4cfddd62fb9949c98700e61b7', name: "trigger" }), h("div", { key: '95fcc70f46106c426ae191b6a8d66c7d7a025ca9', class: "opening-countdown-indicator" })), h("limel-card", { key: '9294ae443aa9f279c3c01f0af48ca6a2d0d1409f', style: {
125
+ }, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '6187ae07695296c905f2d0bf782b515d15183f05', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: '2b338b6ba353104031e0ae9bb1f1380a2f528f1c', name: "trigger" }), h("div", { key: 'ccce297cd4c8a6640a81a0ec54d1b17cafd090a4', class: "opening-countdown-indicator" })), h("limel-card", { key: 'c786b96ad260240ad28b45746f7f3974efe92670', style: {
126
126
  'max-width': this.popoverMaxWidth,
127
127
  'max-height': this.popoverMaxHeight,
128
128
  'min-width': '7rem',
129
129
  'min-height': '3rem',
130
- }, 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: 'b26fecf7c748fcd82fea453ece55189bcd1302ef', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
130
+ }, 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: 'de2b607312164f264c0a344662a69754e1afb7d9', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
131
131
  }
132
132
  };
133
133
  SummaryPopover.currentOpenPopover = null;
@@ -56,7 +56,7 @@ const NotificationListItem = class {
56
56
  }
57
57
  render() {
58
58
  var _a, _b;
59
- return (h(Host, { key: '39801fd8e10f1dc228741df48561cad3c59d81d7', id: this.item.id, class: {
59
+ return (h(Host, { key: '17b7219101660b7f6bab37072d5de5d9f212863f', 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),