@limetech/lime-crm-building-blocks 1.100.1 → 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 (85) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
  3. package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +132 -26
  4. package/dist/cjs/{limebb-lime-query-filter-builder_3.cjs.entry.js → limebb-lime-query-filter-builder_4.cjs.entry.js} +85 -0
  5. package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +51 -0
  6. package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
  7. package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
  9. package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
  10. package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
  11. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
  12. package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/collection/collection-manifest.json +2 -0
  16. package/dist/collection/components/lime-query-builder/lime-query-builder.css +2 -5
  17. package/dist/collection/components/lime-query-builder/lime-query-builder.js +19 -19
  18. package/dist/collection/components/lime-query-builder/lime-query-validation.js +114 -7
  19. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.css +72 -0
  20. package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +252 -0
  21. package/dist/collection/components/lime-query-builder/order-by/order-by-item.css +45 -0
  22. package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +173 -0
  23. package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
  24. package/dist/collection/components/locale-picker/locale-picker.js +1 -1
  25. package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
  26. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
  27. package/dist/collection/components/summary-popover/summary-popover.js +3 -3
  28. package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
  29. package/dist/collection/components/text-editor/text-editor.js +1 -1
  30. package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
  31. package/dist/components/lime-query-value-input.js +1 -1
  32. package/dist/components/limebb-lime-query-builder.js +155 -36
  33. package/dist/components/limebb-lime-query-order-by-editor.d.ts +11 -0
  34. package/dist/components/limebb-lime-query-order-by-editor.js +6 -0
  35. package/dist/components/limebb-lime-query-order-by-item.d.ts +11 -0
  36. package/dist/components/limebb-lime-query-order-by-item.js +6 -0
  37. package/dist/components/limebb-locale-picker.js +1 -1
  38. package/dist/components/limebb-mention-group-counter.js +2 -2
  39. package/dist/components/limebb-percentage-visualizer.js +2 -2
  40. package/dist/components/limebb-text-editor.js +1 -1
  41. package/dist/components/limebb-trend-indicator.js +1 -1
  42. package/dist/components/live-docs-info.js +2 -2
  43. package/dist/components/notification-item.js +1 -1
  44. package/dist/components/order-by-editor.js +123 -0
  45. package/dist/components/order-by-item.js +73 -0
  46. package/dist/components/property-selector.js +1 -1
  47. package/dist/components/summary-popover.js +3 -3
  48. package/dist/esm/lime-crm-building-blocks.js +1 -1
  49. package/dist/esm/limebb-lime-query-builder.entry.js +133 -27
  50. package/dist/esm/{limebb-lime-query-filter-builder_3.entry.js → limebb-lime-query-filter-builder_4.entry.js} +85 -1
  51. package/dist/esm/limebb-lime-query-filter-group_3.entry.js +1 -1
  52. package/dist/esm/limebb-lime-query-order-by-item.entry.js +47 -0
  53. package/dist/esm/limebb-live-docs-info.entry.js +2 -2
  54. package/dist/esm/limebb-locale-picker.entry.js +1 -1
  55. package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
  56. package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
  57. package/dist/esm/limebb-notification-item.entry.js +1 -1
  58. package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
  59. package/dist/esm/limebb-property-selector.entry.js +1 -1
  60. package/dist/esm/limebb-text-editor.entry.js +1 -1
  61. package/dist/esm/limebb-trend-indicator.entry.js +1 -1
  62. package/dist/esm/loader.js +1 -1
  63. package/dist/esm/{property-resolution-fde2375e.js → property-resolution-c21a1369.js} +1 -1
  64. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  65. package/dist/lime-crm-building-blocks/{p-58782467.entry.js → p-0cd036ed.entry.js} +1 -1
  66. package/dist/lime-crm-building-blocks/p-2725671e.entry.js +1 -0
  67. package/dist/lime-crm-building-blocks/{p-76d81eee.entry.js → p-425eaba2.entry.js} +1 -1
  68. package/dist/lime-crm-building-blocks/{p-79b8b09b.entry.js → p-5cf4898d.entry.js} +1 -1
  69. package/dist/lime-crm-building-blocks/p-67c174d0.entry.js +1 -0
  70. package/dist/lime-crm-building-blocks/{p-2048ac67.entry.js → p-8601eab5.entry.js} +1 -1
  71. package/dist/lime-crm-building-blocks/{p-1034b4a5.entry.js → p-8c2fb1c9.entry.js} +1 -1
  72. package/dist/lime-crm-building-blocks/{p-b57dafef.entry.js → p-92dfc5f8.entry.js} +1 -1
  73. package/dist/lime-crm-building-blocks/{p-8581245a.entry.js → p-a1ee8990.entry.js} +1 -1
  74. package/dist/lime-crm-building-blocks/{p-f79e354b.entry.js → p-abfc7815.entry.js} +1 -1
  75. package/dist/lime-crm-building-blocks/{p-e0ab1554.js → p-b748c770.js} +1 -1
  76. package/dist/lime-crm-building-blocks/{p-89a6c396.entry.js → p-ccf34631.entry.js} +1 -1
  77. package/dist/lime-crm-building-blocks/{p-8fb2e192.entry.js → p-d84874dc.entry.js} +1 -1
  78. package/dist/lime-crm-building-blocks/p-f9efca1d.entry.js +1 -0
  79. package/dist/types/components/lime-query-builder/lime-query-builder.d.ts +9 -6
  80. package/dist/types/components/lime-query-builder/order-by/order-by-editor.d.ts +58 -0
  81. package/dist/types/components/lime-query-builder/order-by/order-by-item.d.ts +37 -0
  82. package/dist/types/components.d.ts +218 -2
  83. package/package.json +1 -1
  84. package/dist/lime-crm-building-blocks/p-323c49bc.entry.js +0 -1
  85. package/dist/lime-crm-building-blocks/p-f22b66f6.entry.js +0 -1
@@ -0,0 +1,45 @@
1
+ :host(limebb-lime-query-order-by-item) {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 0.5rem;
5
+ width: 100%;
6
+ }
7
+
8
+ .order-by-controls {
9
+ display: flex;
10
+ flex-direction: row;
11
+ align-items: flex-start;
12
+ gap: 0.5rem;
13
+ width: 100%;
14
+ }
15
+
16
+ .property-path {
17
+ flex-grow: 1;
18
+ min-width: min(20rem, 100%);
19
+ }
20
+
21
+ .control-buttons {
22
+ flex-shrink: 0;
23
+ display: flex;
24
+ flex-direction: row;
25
+ gap: 0.25rem;
26
+ align-items: center;
27
+ padding-top: 0.5rem;
28
+ }
29
+ .control-buttons limel-icon-button {
30
+ opacity: 0.6;
31
+ transition: opacity 0.2s ease;
32
+ }
33
+ .control-buttons limel-icon-button:hover {
34
+ opacity: 1;
35
+ }
36
+
37
+ @media (max-width: 768px) {
38
+ .order-by-controls {
39
+ flex-direction: column;
40
+ gap: 0.5rem;
41
+ }
42
+ .control-buttons {
43
+ padding-top: 0;
44
+ }
45
+ }
@@ -0,0 +1,173 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * Order By Item Component
4
+ *
5
+ * Represents a single order by specification with property selection and direction toggle
6
+ * Part of the order by editor
7
+ * @private
8
+ */
9
+ export class OrderByItemComponent {
10
+ constructor() {
11
+ this.handlePathChange = (event) => {
12
+ event.stopPropagation();
13
+ const newPath = event.detail;
14
+ if (!newPath) {
15
+ // If path is cleared, keep the current item but with empty path
16
+ const currentDirection = this.item[Object.keys(this.item)[0]] || 'ASC';
17
+ this.itemChange.emit({ '': currentDirection });
18
+ return;
19
+ }
20
+ // Get current direction
21
+ const currentPath = Object.keys(this.item)[0];
22
+ const currentDirection = this.item[currentPath] || 'ASC';
23
+ // Create new item with new path but same direction
24
+ const newItem = { [newPath]: currentDirection };
25
+ this.itemChange.emit(newItem);
26
+ };
27
+ this.handleToggleDirection = () => {
28
+ const propertyPath = Object.keys(this.item)[0] || '';
29
+ const currentDirection = this.item[propertyPath] || 'ASC';
30
+ const newDirection = currentDirection === 'ASC' ? 'DESC' : 'ASC';
31
+ const newItem = { [propertyPath]: newDirection };
32
+ this.itemChange.emit(newItem);
33
+ };
34
+ this.handleRemove = () => {
35
+ this.itemChange.emit(null);
36
+ };
37
+ }
38
+ render() {
39
+ const propertyPath = Object.keys(this.item)[0] || '';
40
+ const direction = this.item[propertyPath] || 'ASC';
41
+ 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'
42
+ ? 'sort_ascending'
43
+ : 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '3cbb13bff679a0ca95bb30b7853551b8bc276520', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
44
+ }
45
+ static get is() { return "limebb-lime-query-order-by-item"; }
46
+ static get encapsulation() { return "shadow"; }
47
+ static get originalStyleUrls() {
48
+ return {
49
+ "$": ["order-by-item.scss"]
50
+ };
51
+ }
52
+ static get styleUrls() {
53
+ return {
54
+ "$": ["order-by-item.css"]
55
+ };
56
+ }
57
+ static get properties() {
58
+ return {
59
+ "platform": {
60
+ "type": "unknown",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "LimeWebComponentPlatform",
64
+ "resolved": "LimeWebComponentPlatform",
65
+ "references": {
66
+ "LimeWebComponentPlatform": {
67
+ "location": "import",
68
+ "path": "@limetech/lime-web-components",
69
+ "id": "node_modules::LimeWebComponentPlatform"
70
+ }
71
+ }
72
+ },
73
+ "required": false,
74
+ "optional": false,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": "Platform service provider"
78
+ },
79
+ "getter": false,
80
+ "setter": false
81
+ },
82
+ "context": {
83
+ "type": "unknown",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "LimeWebComponentContext",
87
+ "resolved": "LimeWebComponentContext",
88
+ "references": {
89
+ "LimeWebComponentContext": {
90
+ "location": "import",
91
+ "path": "@limetech/lime-web-components",
92
+ "id": "node_modules::LimeWebComponentContext"
93
+ }
94
+ }
95
+ },
96
+ "required": false,
97
+ "optional": false,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": "Component context"
101
+ },
102
+ "getter": false,
103
+ "setter": false
104
+ },
105
+ "limetype": {
106
+ "type": "string",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "string",
110
+ "resolved": "string",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": "The limetype to select properties from"
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "attribute": "limetype",
122
+ "reflect": false
123
+ },
124
+ "item": {
125
+ "type": "unknown",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "OrderByItem",
129
+ "resolved": "{ [propertyPath: string]: \"ASC\" | \"DESC\"; }",
130
+ "references": {
131
+ "OrderByItem": {
132
+ "location": "import",
133
+ "path": "../lime-query.types",
134
+ "id": "src/components/lime-query-builder/lime-query.types.ts::OrderByItem"
135
+ }
136
+ }
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "The order by item (e.g., { \"company.name\": \"ASC\" })"
143
+ },
144
+ "getter": false,
145
+ "setter": false
146
+ }
147
+ };
148
+ }
149
+ static get events() {
150
+ return [{
151
+ "method": "itemChange",
152
+ "name": "itemChange",
153
+ "bubbles": true,
154
+ "cancelable": true,
155
+ "composed": true,
156
+ "docs": {
157
+ "tags": [],
158
+ "text": "Emitted when the item changes or should be removed"
159
+ },
160
+ "complexType": {
161
+ "original": "OrderByItem | null",
162
+ "resolved": "null | { [propertyPath: string]: \"ASC\" | \"DESC\"; }",
163
+ "references": {
164
+ "OrderByItem": {
165
+ "location": "import",
166
+ "path": "../lime-query.types",
167
+ "id": "src/components/lime-query-builder/lime-query.types.ts::OrderByItem"
168
+ }
169
+ }
170
+ }
171
+ }];
172
+ }
173
+ }
@@ -5,8 +5,8 @@ import { h } from "@stencil/core";
5
5
  export class LiveDocsInfo {
6
6
  render() {
7
7
  return [
8
- h("div", { key: 'f215884110f6647cf6c0b501d6bec3d0475c7eb5', class: "header" }, h("limel-icon", { key: '483ac1d1166621d9ec91d430b58fe37d720ef740', name: "not_showing_video_frames" }), h("h2", { key: 'c9d8894b11a48ebecb3cac470df3b292e41f7c8e' }, "Viewing this file type requires ", h("em", { key: 'cc8b9bf7005a24ec608e7e14d86fe5047c543251' }, "Live Docs"))),
9
- h("p", { key: '091075e3ffebbd89142b0466474977e05a6f8086' }, h("em", { key: 'b7393f26c3a1e5737b920389a8dab5ca5d5f591c' }, "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: '67f751f807d209c7bf5c752bda39f4e4911b332b', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
8
+ 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"))),
9
+ 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")),
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: 'd8592dd9e39e3dba64e2ee11cd223a66138ef57d', 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 }));
56
+ return (h("limel-select", { key: 'f0be5c869ed7ad1a32e2c0604584f26cc5a40522', 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: 'bcbac9d93025efeaf1d6f6cde3ab7632b527b5a0', 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),
@@ -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: '85bcdba3b1ba660f32eebcdc0e46dd8652ae9b48', class: this.getContainerClassList(), style: {
94
+ return (h(Host, { key: '728bef6c27bd5879d971411f812db124c3ac53b3', 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: 'ef664323cf5a8a6a091394e8dffa291959c9e3f3', 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: '20b55181865c993677fec5fc86a66ea9cd817cd0', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
98
+ } }, h("limel-notched-outline", { key: '0cf575a7e896955572000dd906d98441dec808b1', 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: '6dc2beefea4d1a5b0a967fd1087db3fe88c8cdf5', 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: '2fb3afb6c2a05cfbd4e1991b3204c5b495c20c03', style: {
121
+ return (h("limel-popover", { key: '3ddac967d05644e0e3b18979a051561e08f316c4', style: {
122
122
  '--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
123
- }, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'fbd08fbebaed580db3aaaf3b1bbba4e52605bced', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: 'd16285c72329080ecde42bc6f7c3966f27a66968', name: "trigger" }), h("div", { key: '77c127616635768db8012adf936c56f75d2bccb3', class: "opening-countdown-indicator" })), h("limel-card", { key: '2d3c9a55b1292945422af4783b29d37ea9570fde', style: {
123
+ }, 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: {
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: '234309cf2f82f6493a5d72944d320a902618c83b', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
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: 'de2b607312164f264c0a344662a69754e1afb7d9', 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: '32727487e0750dad1e08b94915af9b33e562ba9d', id: this.tooltipId }, label),
17
- h("limel-tooltip", { key: 'a9c062dca4f2f46fb187c902de8ecab4993e456d', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
16
+ h("span", { key: 'bb868b62f71fe65927d1cd9bad6ee08648a33c73', id: this.tooltipId }, label),
17
+ h("limel-tooltip", { key: '5018e97cb9d5522b91ed1c55643ad33c3d7fd51d', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
18
18
  ];
19
19
  }
20
20
  getLabel() {
@@ -389,7 +389,7 @@ export class LimeBBTextEditor {
389
389
  }
390
390
  render() {
391
391
  return [
392
- h("limel-text-editor", { key: '42b8630e5e15e4e7ca20277687695a245f2ea267', 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 }),
392
+ h("limel-text-editor", { key: '3ad4c2bac61f34439bf94b42e0aa7ccceeff9c33', 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 }),
393
393
  this.renderPicker(),
394
394
  ];
395
395
  }
@@ -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: '33119aa80ea39fbe4ad0fd7da3c89d844efd7bd6', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '9357919d89ea26063f9c0bbf85a48e3e235364c7', 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: 'b29c00421943e45fed684e63dfebf895686f6d45', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
55
+ return (h(Host, { key: '976bce0393bfff47ba599dc0d534ec9992cec3f8', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '86a89b3773d2fbf3aa9009fd27ce9cb2410f03b5', 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: '0b9e048eeea62c452671b74db468aa5587e8ddbf', 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())) {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { T as Te, Z as Zt } from './index.esm.js';
3
- import { a as getPropertyFromPath, d as defineCustomElement$1 } from './property-selector.js';
3
+ import { g as getPropertyFromPath, d as defineCustomElement$1 } from './property-selector.js';
4
4
 
5
5
  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}";
6
6
  const LimebbLimeQueryValueInputStyle0 = limeQueryValueInputCss;
@@ -1,9 +1,11 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { Z as Zt, T as Te } from './index.esm.js';
3
- import { g as getNormalizedProperties, a as getPropertyFromPath, d as defineCustomElement$4 } from './property-selector.js';
4
- import { d as defineCustomElement$b } from './lime-query-filter-builder.js';
5
- import { d as defineCustomElement$a } from './lime-query-filter-comparison.js';
6
- import { d as defineCustomElement$7, a as defineCustomElement$8, b as defineCustomElement$9 } from './lime-query-filter-expression.js';
3
+ import { g as getPropertyFromPath, a as getNormalizedProperties, d as defineCustomElement$4 } from './property-selector.js';
4
+ import { d as defineCustomElement$d } from './lime-query-filter-builder.js';
5
+ import { d as defineCustomElement$c } from './lime-query-filter-comparison.js';
6
+ import { d as defineCustomElement$9, a as defineCustomElement$a, b as defineCustomElement$b } from './lime-query-filter-expression.js';
7
+ import { d as defineCustomElement$8 } from './order-by-editor.js';
8
+ import { d as defineCustomElement$7 } from './order-by-item.js';
7
9
  import { d as defineCustomElement$6 } from './lime-query-value-input.js';
8
10
  import { d as defineCustomElement$5 } from './limetype-field.js';
9
11
  import { d as defineCustomElement$3 } from './response-format-editor.js';
@@ -336,6 +338,113 @@ function validateLimeQueryFilterInternal(filter, activeLimetype, limetypes, guiM
336
338
  }
337
339
  return errors;
338
340
  }
341
+ /**
342
+ * Validate orderBy specification
343
+ * @param orderBy Array of orderBy items to validate
344
+ * @param limetypes Record of all available limetypes
345
+ * @param limetype The limetype for this Lime Query
346
+ * @returns Array of validation error messages
347
+ */
348
+ function validateOrderBy(orderBy, limetypes, limetype) {
349
+ const errors = [];
350
+ if (!Array.isArray(orderBy)) {
351
+ errors.push('orderBy must be an array');
352
+ return errors;
353
+ }
354
+ if (!limetype || !limetypes[limetype]) {
355
+ // Can't validate property paths without limetype
356
+ return errors;
357
+ }
358
+ for (const [index, item] of orderBy.entries()) {
359
+ const itemErrors = validateOrderByItem(item, index, limetypes, limetype);
360
+ errors.push(...itemErrors);
361
+ }
362
+ return errors;
363
+ }
364
+ /**
365
+ * Validate a single orderBy item
366
+ * @param item The orderBy item to validate
367
+ * @param index The index of the item in the array (for error messages)
368
+ * @param limetypes Record of all available limetypes
369
+ * @param limetype The limetype for this Lime Query
370
+ * @returns Array of validation error messages for this item
371
+ */
372
+ function validateOrderByItem(item, index, limetypes, limetype) {
373
+ const errors = [];
374
+ const objectError = validateOrderByItemIsObject(item, index);
375
+ if (objectError) {
376
+ return [objectError];
377
+ }
378
+ const keys = Object.keys(item);
379
+ const keyError = validateOrderByItemHasSingleKey(keys, index);
380
+ if (keyError) {
381
+ return [keyError];
382
+ }
383
+ const propertyPath = keys[0];
384
+ const direction = item[propertyPath];
385
+ const directionError = validateOrderByDirection(direction, index);
386
+ if (directionError) {
387
+ errors.push(directionError);
388
+ }
389
+ const pathError = validateOrderByPropertyPath(propertyPath, limetypes, limetype, index);
390
+ if (pathError) {
391
+ errors.push(pathError);
392
+ }
393
+ return errors;
394
+ }
395
+ /**
396
+ * Validate that the orderBy item is an object
397
+ * @param item
398
+ * @param index
399
+ */
400
+ function validateOrderByItemIsObject(item, index) {
401
+ if (typeof item !== 'object' || item === null) {
402
+ return `orderBy[${index}] must be an object`;
403
+ }
404
+ return null;
405
+ }
406
+ /**
407
+ * Validate that the orderBy item has exactly one property key
408
+ * @param keys
409
+ * @param index
410
+ */
411
+ function validateOrderByItemHasSingleKey(keys, index) {
412
+ if (keys.length === 0) {
413
+ return `orderBy[${index}] must have a property path`;
414
+ }
415
+ if (keys.length > 1) {
416
+ return `orderBy[${index}] must have exactly one property, got ${keys.length}`;
417
+ }
418
+ return null;
419
+ }
420
+ /**
421
+ * Validate that the sort direction is either ASC or DESC
422
+ * @param direction
423
+ * @param index
424
+ */
425
+ function validateOrderByDirection(direction, index) {
426
+ if (direction !== 'ASC' && direction !== 'DESC') {
427
+ return `orderBy[${index}]: direction must be 'ASC' or 'DESC', got '${direction}'`;
428
+ }
429
+ return null;
430
+ }
431
+ /**
432
+ * Validate that the property path exists on the limetype
433
+ * @param propertyPath
434
+ * @param limetypes
435
+ * @param limetype
436
+ * @param index
437
+ */
438
+ function validateOrderByPropertyPath(propertyPath, limetypes, limetype, index) {
439
+ if (!propertyPath || propertyPath === '') {
440
+ return null;
441
+ }
442
+ const property = getPropertyFromPath(limetypes, limetype, propertyPath);
443
+ if (!property) {
444
+ return `orderBy[${index}]: property path '${propertyPath}' does not exist on limetype '${limetype}'`;
445
+ }
446
+ return null;
447
+ }
339
448
  /**
340
449
  * Validate Lime Query response format and collect errors/limitations
341
450
  * @param responseFormat The response format to validate
@@ -385,14 +494,14 @@ function isLimeQuerySupported(limeQuery, limetypes, activeLimetype, guiModeEnabl
385
494
  if (limeQuery.offset !== undefined && !limeQuery.orderBy) {
386
495
  validationErrors.push('offset requires orderBy to be specified');
387
496
  }
497
+ // Validate orderBy
498
+ if (limeQuery.orderBy) {
499
+ const orderByErrors = validateOrderBy(limeQuery.orderBy, limetypes, limeQuery.limetype);
500
+ validationErrors.push(...orderByErrors);
501
+ }
388
502
  // Check for GUI-unsupported top-level properties
389
- if (guiModeEnabled) {
390
- if (limeQuery.orderBy) {
391
- guiLimitations.push('orderBy is not yet supported in GUI mode');
392
- }
393
- if (limeQuery.offset !== undefined) {
394
- guiLimitations.push('offset is not yet supported in GUI mode');
395
- }
503
+ if (guiModeEnabled && limeQuery.offset !== undefined) {
504
+ guiLimitations.push('offset is not yet supported in GUI mode');
396
505
  }
397
506
  // Validate filter
398
507
  if (limeQuery.filter) {
@@ -413,7 +522,7 @@ function isLimeQuerySupported(limeQuery, limetypes, activeLimetype, guiModeEnabl
413
522
  };
414
523
  }
415
524
 
416
- const limeQueryBuilderCss = ":host(limebb-lime-lime-query-builder){display:block;width:100%}.lime-query-builder{display:flex;flex-direction:column;gap:2rem}.mode-controls{display:flex;align-items:center;gap:0.5rem;padding:0.5rem}.mode-switch{display:flex;align-items:center;gap:0.5rem}.mode-switch limel-button{min-width:5rem}.mode-switch limel-helper-text{margin-left:1rem;color:rgb(var(--color-red-default))}.gui-mode,.code-mode{display:block}.code-editor-container{--code-editor-max-height:70vh;display:flex;flex-direction:column;gap:1rem}.code-editor-container .validation-errors{padding:0.75rem 1rem;color:rgb(var(--color-red-default));background-color:rgb(var(--color-red-lighter));border-left:0.25rem solid rgb(var(--color-red-default));border-radius:0.25rem;font-size:0.875rem}.code-editor-container .validation-errors strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-editor-container .validation-errors ul{margin:0;padding-left:1.5rem}.code-editor-container .validation-errors li{margin:0.25rem 0}.code-editor-container .gui-limitations{padding:0.75rem 1rem;color:rgb(var(--color-blue-dark));background-color:rgb(var(--color-blue-lighter));border-left:0.25rem solid rgb(var(--color-blue-default));border-radius:0.25rem;font-size:0.875rem}.code-editor-container .gui-limitations strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-editor-container .gui-limitations ul{margin:0;padding-left:1.5rem}.code-editor-container .gui-limitations li{margin:0.25rem 0}.lime-query-builder-label{margin:0;font-size:1.5rem;font-weight:600;color:rgb(var(--contrast-1100))}.limetype-section{display:flex;flex-direction:column}.filter-section,.query-options-section{display:flex;flex-direction:column;gap:1rem}.section-label{margin:0;font-size:1.125rem;font-weight:600;color:rgb(var(--contrast-1000))}.query-options-controls{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1rem}@media (max-width: 768px){.lime-query-builder{gap:1.5rem}.query-options-controls{grid-template-columns:1fr}}";
525
+ const limeQueryBuilderCss = ":host(limebb-lime-lime-query-builder){display:block;width:100%}.lime-query-builder{display:flex;flex-direction:column;gap:2rem}.mode-controls{display:flex;align-items:center;gap:0.5rem;padding:0.5rem}.mode-switch{display:flex;align-items:center;gap:0.5rem}.mode-switch limel-button{min-width:5rem}.mode-switch limel-helper-text{margin-left:1rem;color:rgb(var(--color-red-default))}.gui-mode,.code-mode{display:block}.code-editor-container{--code-editor-max-height:70vh;display:flex;flex-direction:column;gap:1rem}.code-editor-container .validation-errors{padding:0.75rem 1rem;color:rgb(var(--color-red-default));background-color:rgb(var(--color-red-lighter));border-left:0.25rem solid rgb(var(--color-red-default));border-radius:0.25rem;font-size:0.875rem}.code-editor-container .validation-errors strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-editor-container .validation-errors ul{margin:0;padding-left:1.5rem}.code-editor-container .validation-errors li{margin:0.25rem 0}.code-editor-container .gui-limitations{padding:0.75rem 1rem;color:rgb(var(--color-blue-dark));background-color:rgb(var(--color-blue-lighter));border-left:0.25rem solid rgb(var(--color-blue-default));border-radius:0.25rem;font-size:0.875rem}.code-editor-container .gui-limitations strong{display:block;margin-bottom:0.5rem;font-weight:600}.code-editor-container .gui-limitations ul{margin:0;padding-left:1.5rem}.code-editor-container .gui-limitations li{margin:0.25rem 0}.lime-query-builder-label{margin:0;font-size:1.5rem;font-weight:600;color:rgb(var(--contrast-1100))}.limetype-section{display:flex;flex-direction:column}.filter-section,.query-options-section{display:flex;flex-direction:column;gap:1rem}.section-label{margin:0;font-size:1.125rem;font-weight:600;color:rgb(var(--contrast-1000))}.query-options-controls{display:flex;flex-direction:column;gap:1rem}@media (max-width: 768px){.lime-query-builder{gap:1.5rem}}";
417
526
  const LimebbLimeQueryBuilderStyle0 = limeQueryBuilderCss;
418
527
 
419
528
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -465,6 +574,11 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
465
574
  this.limit = value ? Number.parseInt(value, 10) : undefined;
466
575
  this.emitChange();
467
576
  };
577
+ this.handleOrderByChange = (event) => {
578
+ event.stopPropagation();
579
+ this.orderBy = event.detail;
580
+ this.emitChange();
581
+ };
468
582
  this.switchToGui = () => {
469
583
  // Validate JSON before switching
470
584
  try {
@@ -480,6 +594,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
480
594
  this.filter = parsed.filter;
481
595
  this.internalResponseFormat = parsed.responseFormat;
482
596
  this.limit = parsed.limit;
597
+ this.orderBy = parsed.orderBy;
483
598
  this.mode = 'gui';
484
599
  this.change.emit(parsed);
485
600
  }
@@ -521,6 +636,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
521
636
  this.filter = this.value.filter;
522
637
  this.internalResponseFormat = this.value.responseFormat;
523
638
  this.limit = this.value.limit;
639
+ this.orderBy = this.value.orderBy;
524
640
  }
525
641
  // Initialize code value from prop
526
642
  this.updateCodeValue();
@@ -533,7 +649,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
533
649
  render() {
534
650
  const guiSupported = this.checkGuiSupport();
535
651
  const showCodeMode = !this.guiModeEnabled || this.mode === 'code';
536
- return (h("div", { key: '0b4d2bb5b4d503a775d8d3215e1e4c74fdb1eceb', class: "lime-query-builder" }, this.renderLabel(), this.renderModeControls(guiSupported), showCodeMode
652
+ return (h("div", { key: 'f51ae0459c1c7f482f3a790abb4cc3bd60b83e70', class: "lime-query-builder" }, this.renderLabel(), this.renderModeControls(guiSupported), showCodeMode
537
653
  ? this.renderCodeMode(guiSupported)
538
654
  : this.renderGuiMode()));
539
655
  }
@@ -545,27 +661,16 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
545
661
  if (!this.limetype) {
546
662
  return;
547
663
  }
548
- // Use internal state, then default to returning just _id
549
- const responseFormat = this.internalResponseFormat || {
550
- object: {
551
- _id: null,
552
- },
553
- };
554
- const limeQuery = {
555
- limetype: this.limetype,
556
- responseFormat: responseFormat,
557
- filter: this.filter,
558
- };
559
- if (this.limit !== undefined && this.limit > 0) {
560
- limeQuery.limit = this.limit;
561
- }
562
- this.change.emit(limeQuery);
664
+ this.change.emit(this.buildLimeQuery());
563
665
  }
564
666
  updateCodeValue() {
565
667
  if (!this.limetype) {
566
668
  this.codeValue = JSON.stringify(this.value || {}, null, 2);
567
669
  return;
568
670
  }
671
+ this.codeValue = JSON.stringify(this.buildLimeQuery(), null, 2);
672
+ }
673
+ buildLimeQuery() {
569
674
  // Use internal state, then default to returning just _id
570
675
  const responseFormat = this.internalResponseFormat || {
571
676
  object: {
@@ -580,7 +685,10 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
580
685
  if (this.limit !== undefined && this.limit > 0) {
581
686
  limeQuery.limit = this.limit;
582
687
  }
583
- this.codeValue = JSON.stringify(limeQuery, null, 2);
688
+ if (this.orderBy && this.orderBy.length > 0) {
689
+ limeQuery.orderBy = this.orderBy;
690
+ }
691
+ return limeQuery;
584
692
  }
585
693
  checkGuiSupport() {
586
694
  if (!this.limetypes) {
@@ -665,7 +773,7 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
665
773
  if (!this.limetype) {
666
774
  return;
667
775
  }
668
- return (h("div", { class: "query-options-section" }, h("h4", { class: "section-label" }, "Query Options"), h("div", { class: "query-options-controls" }, h("limel-input-field", { label: "Limit", type: "number", value: ((_a = this.limit) === null || _a === void 0 ? void 0 : _a.toString()) || '', placeholder: "No limit", helperText: "Maximum number of results", onChange: this.handleLimitChange }))));
776
+ return (h("div", { class: "query-options-section" }, h("h4", { class: "section-label" }, "Query Options"), h("div", { class: "query-options-controls" }, h("limel-input-field", { label: "Limit", type: "number", value: ((_a = this.limit) === null || _a === void 0 ? void 0 : _a.toString()) || '', placeholder: "No limit", helperText: "Maximum number of results", onChange: this.handleLimitChange }), h("limebb-lime-query-order-by-editor", { platform: this.platform, context: this.context, limetype: this.limetype, value: this.orderBy, onChange: this.handleOrderByChange }))));
669
777
  }
670
778
  renderGuiMode() {
671
779
  return (h("div", { class: "gui-mode" }, this.renderLimetypeSection(), this.renderResponseFormatSection(), this.renderFilterSection(), this.renderQueryOptionsSection()));
@@ -698,7 +806,8 @@ const LimeQueryBuilder = /*@__PURE__*/ proxyCustomElement(class LimeQueryBuilder
698
806
  "limetype": [32],
699
807
  "filter": [32],
700
808
  "internalResponseFormat": [32],
701
- "limit": [32]
809
+ "limit": [32],
810
+ "orderBy": [32]
702
811
  }]);
703
812
  __decorate([
704
813
  Te()
@@ -707,7 +816,7 @@ function defineCustomElement$1() {
707
816
  if (typeof customElements === "undefined") {
708
817
  return;
709
818
  }
710
- const components = ["limebb-lime-query-builder", "limebb-lime-query-filter-builder", "limebb-lime-query-filter-comparison", "limebb-lime-query-filter-expression", "limebb-lime-query-filter-group", "limebb-lime-query-filter-not", "limebb-lime-query-value-input", "limebb-limetype-field", "limebb-property-selector", "limebb-response-format-editor", "limebb-response-format-item"];
819
+ const components = ["limebb-lime-query-builder", "limebb-lime-query-filter-builder", "limebb-lime-query-filter-comparison", "limebb-lime-query-filter-expression", "limebb-lime-query-filter-group", "limebb-lime-query-filter-not", "limebb-lime-query-order-by-editor", "limebb-lime-query-order-by-item", "limebb-lime-query-value-input", "limebb-limetype-field", "limebb-property-selector", "limebb-response-format-editor", "limebb-response-format-item"];
711
820
  components.forEach(tagName => { switch (tagName) {
712
821
  case "limebb-lime-query-builder":
713
822
  if (!customElements.get(tagName)) {
@@ -716,25 +825,35 @@ function defineCustomElement$1() {
716
825
  break;
717
826
  case "limebb-lime-query-filter-builder":
718
827
  if (!customElements.get(tagName)) {
719
- defineCustomElement$b();
828
+ defineCustomElement$d();
720
829
  }
721
830
  break;
722
831
  case "limebb-lime-query-filter-comparison":
723
832
  if (!customElements.get(tagName)) {
724
- defineCustomElement$a();
833
+ defineCustomElement$c();
725
834
  }
726
835
  break;
727
836
  case "limebb-lime-query-filter-expression":
728
837
  if (!customElements.get(tagName)) {
729
- defineCustomElement$9();
838
+ defineCustomElement$b();
730
839
  }
731
840
  break;
732
841
  case "limebb-lime-query-filter-group":
733
842
  if (!customElements.get(tagName)) {
734
- defineCustomElement$8();
843
+ defineCustomElement$a();
735
844
  }
736
845
  break;
737
846
  case "limebb-lime-query-filter-not":
847
+ if (!customElements.get(tagName)) {
848
+ defineCustomElement$9();
849
+ }
850
+ break;
851
+ case "limebb-lime-query-order-by-editor":
852
+ if (!customElements.get(tagName)) {
853
+ defineCustomElement$8();
854
+ }
855
+ break;
856
+ case "limebb-lime-query-order-by-item":
738
857
  if (!customElements.get(tagName)) {
739
858
  defineCustomElement$7();
740
859
  }