@limetech/lime-crm-building-blocks 1.101.0 → 1.102.1
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/lime-query-validation-6be10fa7.js +558 -0
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +4 -514
- package/dist/cjs/{limebb-lime-query-filter-builder_4.cjs.entry.js → limebb-lime-query-filter-builder_3.cjs.entry.js} +1 -243
- 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 +165 -71
- 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 +242 -0
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +322 -0
- 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 +3 -2
- package/dist/collection/components/lime-query-builder/expressions/filter-group-logic.js +150 -0
- 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 +15 -71
- 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.css +91 -0
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +355 -0
- package/dist/collection/components/lime-query-builder/lime-query-validation.js +40 -0
- 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-item.js +2 -2
- package/dist/collection/components/lime-query-builder/{response-format-editor.css → response-format/response-format-editor.css} +1 -1
- package/dist/collection/components/lime-query-builder/{response-format-editor.js → response-format/response-format-editor.js} +5 -5
- package/dist/collection/components/lime-query-builder/response-format/response-format-helpers.js +92 -0
- package/dist/collection/components/lime-query-builder/{response-format-item.css → response-format/response-format-item.css} +1 -1
- package/dist/collection/components/lime-query-builder/{response-format-item.js → response-format/response-format-item.js} +6 -6
- 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/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +165 -71
- package/dist/components/lime-query-validation.js +555 -0
- package/dist/components/limebb-lime-query-builder.js +14 -524
- package/dist/components/limebb-lime-query-response-format-builder.d.ts +11 -0
- package/dist/components/limebb-lime-query-response-format-builder.js +283 -0
- package/dist/components/limebb-lime-query-response-format-editor.d.ts +11 -0
- package/dist/components/{limebb-response-format-editor.js → limebb-lime-query-response-format-editor.js} +2 -2
- package/dist/components/limebb-lime-query-response-format-item.d.ts +11 -0
- package/dist/components/{limebb-response-format-item.js → limebb-lime-query-response-format-item.js} +2 -2
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-percentage-visualizer.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-item.js +2 -2
- package/dist/components/response-format-editor.js +11 -11
- package/dist/components/response-format-item.js +9 -9
- package/dist/components/summary-popover.js +3 -3
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/lime-query-validation-573223a5.js +555 -0
- package/dist/esm/limebb-lime-query-builder.entry.js +4 -514
- package/dist/esm/{limebb-lime-query-filter-builder_4.entry.js → limebb-lime-query-filter-builder_3.entry.js} +2 -243
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +165 -71
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +238 -0
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +317 -0
- 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-5cf4898d.entry.js → p-0de79b7f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8c2fb1c9.entry.js → p-0f7135ff.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6aa216ec.entry.js → p-186e9f1a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-289ce8b9.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-3351395b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-33e6d0ec.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-a1ee8990.entry.js → p-3d1be1c9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-92dfc5f8.entry.js → p-577d8909.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d84874dc.entry.js → p-6f6fed59.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-7731e1b0.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0cd036ed.entry.js → p-7e5528f6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8601eab5.entry.js → p-a9ac501f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-be845252.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-2725671e.entry.js → p-cb338753.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-425eaba2.entry.js → p-d0721b22.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-fa2da6bc.js +1 -0
- package/dist/types/components/lime-query-builder/expressions/filter-group-logic.d.ts +89 -0
- package/dist/types/components/lime-query-builder/lime-query-response-format-builder.d.ts +102 -0
- package/dist/types/components/lime-query-builder/lime-query-validation.d.ts +13 -0
- package/dist/types/components/lime-query-builder/{response-format-editor.d.ts → response-format/response-format-editor.d.ts} +2 -2
- package/dist/types/components/lime-query-builder/response-format/response-format-helpers.d.ts +42 -0
- package/dist/types/components/lime-query-builder/{response-format-item.d.ts → response-format/response-format-item.d.ts} +2 -2
- package/dist/types/components.d.ts +394 -222
- package/package.json +1 -1
- package/dist/cjs/limebb-response-format-item.cjs.entry.js +0 -80
- package/dist/components/limebb-response-format-editor.d.ts +0 -11
- package/dist/components/limebb-response-format-item.d.ts +0 -11
- package/dist/esm/limebb-response-format-item.entry.js +0 -76
- package/dist/lime-crm-building-blocks/p-244ee55b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-67c174d0.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-ccf34631.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f9efca1d.entry.js +0 -1
|
@@ -18,10 +18,10 @@ import { InfoTile } from "./components/info-tile/info-tile";
|
|
|
18
18
|
import { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
19
19
|
import { KanbanItem } from "./components/kanban/kanban-item/kanban-item.types";
|
|
20
20
|
import { LimeQuery, OrderByItem, ResponseFormat } from "./components/lime-query-builder/lime-query.types";
|
|
21
|
+
import { PropertySelectionItem } from "./components/lime-query-builder/property-selection-format";
|
|
21
22
|
import { LanguagePickerType } from "./components/locale-picker/language-picker.types";
|
|
22
23
|
import { NavigationButtonType } from "./components/navigation-button/navigation-button.types";
|
|
23
24
|
import { NotificationItem } from "./components/notification-list/notification-item/notification-item.types";
|
|
24
|
-
import { PropertySelectionItem } from "./components/lime-query-builder/property-selection-format";
|
|
25
25
|
import { TriggerMap } from "./components/text-editor/text-editor.types";
|
|
26
26
|
import { EnhancedEditorMetadata } from "./components/text-editor/uploader/building-blocks-upload-handler";
|
|
27
27
|
export { AggregateOperator, AndOrExpression, Expression, LimeFileUrlType, LimeType, LimeWebComponentContext, LimeWebComponentPlatform, NotExpression, Operator } from "@limetech/lime-web-components";
|
|
@@ -37,10 +37,10 @@ export { InfoTile } from "./components/info-tile/info-tile";
|
|
|
37
37
|
export { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
38
38
|
export { KanbanItem } from "./components/kanban/kanban-item/kanban-item.types";
|
|
39
39
|
export { LimeQuery, OrderByItem, ResponseFormat } from "./components/lime-query-builder/lime-query.types";
|
|
40
|
+
export { PropertySelectionItem } from "./components/lime-query-builder/property-selection-format";
|
|
40
41
|
export { LanguagePickerType } from "./components/locale-picker/language-picker.types";
|
|
41
42
|
export { NavigationButtonType } from "./components/navigation-button/navigation-button.types";
|
|
42
43
|
export { NotificationItem } from "./components/notification-list/notification-item/notification-item.types";
|
|
43
|
-
export { PropertySelectionItem } from "./components/lime-query-builder/property-selection-format";
|
|
44
44
|
export { TriggerMap } from "./components/text-editor/text-editor.types";
|
|
45
45
|
export { EnhancedEditorMetadata } from "./components/text-editor/uploader/building-blocks-upload-handler";
|
|
46
46
|
export namespace Components {
|
|
@@ -1239,6 +1239,114 @@ export namespace Components {
|
|
|
1239
1239
|
*/
|
|
1240
1240
|
"platform": LimeWebComponentPlatform;
|
|
1241
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Response Format Builder
|
|
1244
|
+
* A focused component for editing Lime Query ResponseFormat in isolation.
|
|
1245
|
+
* Supports both GUI and code modes for maximum flexibility.
|
|
1246
|
+
* Use this component when you need to configure which properties to return
|
|
1247
|
+
* from a query, but don't need filter, limit, or other query parameters.
|
|
1248
|
+
* **Features**:
|
|
1249
|
+
* - **GUI Mode**: Visual property selector with relation navigation
|
|
1250
|
+
* - **Code Mode**: JSON editor for ResponseFormat structure
|
|
1251
|
+
* - **Validation**: Ensures JSON is valid ResponseFormat (rejects other fields)
|
|
1252
|
+
* - **Mode Toggle**: Switch between GUI and code modes seamlessly
|
|
1253
|
+
* - **Feature Flag**: Respects `useLimeQueryBuilderGuiMode` setting
|
|
1254
|
+
* @example ```tsx
|
|
1255
|
+
* <limebb-lime-query-response-format-builder
|
|
1256
|
+
* platform={this.platform}
|
|
1257
|
+
* context={this.context}
|
|
1258
|
+
* limetype="deal"
|
|
1259
|
+
* value={this.responseFormat}
|
|
1260
|
+
* label="Select Properties to Return"
|
|
1261
|
+
* onChange={this.handleChange}
|
|
1262
|
+
* />
|
|
1263
|
+
* ```
|
|
1264
|
+
* @exampleComponent limebb-example-response-format-builder-basic
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
interface LimebbLimeQueryResponseFormatBuilder {
|
|
1268
|
+
/**
|
|
1269
|
+
* Component context
|
|
1270
|
+
*/
|
|
1271
|
+
"context": LimeWebComponentContext;
|
|
1272
|
+
/**
|
|
1273
|
+
* Optional label for the builder
|
|
1274
|
+
*/
|
|
1275
|
+
"label": string;
|
|
1276
|
+
/**
|
|
1277
|
+
* The limetype to configure response format for This is fixed and not editable by the user
|
|
1278
|
+
*/
|
|
1279
|
+
"limetype": string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Platform service provider
|
|
1282
|
+
*/
|
|
1283
|
+
"platform": LimeWebComponentPlatform;
|
|
1284
|
+
/**
|
|
1285
|
+
* Current response format value
|
|
1286
|
+
*/
|
|
1287
|
+
"value"?: ResponseFormat;
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Response Format Editor Component
|
|
1291
|
+
* Allows users to select which properties should be returned in the query response.
|
|
1292
|
+
* Supports selecting properties on both the main limetype and related limetypes
|
|
1293
|
+
* through belongsto relations.
|
|
1294
|
+
* Features:
|
|
1295
|
+
* - **Property selection**: Choose properties using dropdown navigation
|
|
1296
|
+
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
1297
|
+
* - **Property aliases**: Optionally rename properties in the response
|
|
1298
|
+
* - **Dynamic list**: Add/remove property selections
|
|
1299
|
+
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
1300
|
+
* The component generates a `ResponseFormat` object with the `object` field
|
|
1301
|
+
* containing the selected properties.
|
|
1302
|
+
* @private
|
|
1303
|
+
*/
|
|
1304
|
+
interface LimebbLimeQueryResponseFormatEditor {
|
|
1305
|
+
/**
|
|
1306
|
+
* Component context
|
|
1307
|
+
*/
|
|
1308
|
+
"context": LimeWebComponentContext;
|
|
1309
|
+
/**
|
|
1310
|
+
* Optional label
|
|
1311
|
+
*/
|
|
1312
|
+
"label": string;
|
|
1313
|
+
/**
|
|
1314
|
+
* The limetype to select properties from
|
|
1315
|
+
*/
|
|
1316
|
+
"limetype": string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Platform service provider
|
|
1319
|
+
*/
|
|
1320
|
+
"platform": LimeWebComponentPlatform;
|
|
1321
|
+
/**
|
|
1322
|
+
* Current response format
|
|
1323
|
+
*/
|
|
1324
|
+
"value": ResponseFormat;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Response Format Property Item Component
|
|
1328
|
+
* Represents a single property selection with optional alias and description
|
|
1329
|
+
* Part of the response format editor
|
|
1330
|
+
* @private
|
|
1331
|
+
*/
|
|
1332
|
+
interface LimebbLimeQueryResponseFormatItem {
|
|
1333
|
+
/**
|
|
1334
|
+
* Component context
|
|
1335
|
+
*/
|
|
1336
|
+
"context": LimeWebComponentContext;
|
|
1337
|
+
/**
|
|
1338
|
+
* The property selection item
|
|
1339
|
+
*/
|
|
1340
|
+
"item": PropertySelectionItem;
|
|
1341
|
+
/**
|
|
1342
|
+
* The limetype to select properties from
|
|
1343
|
+
*/
|
|
1344
|
+
"limetype": string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Platform service provider
|
|
1347
|
+
*/
|
|
1348
|
+
"platform": LimeWebComponentPlatform;
|
|
1349
|
+
}
|
|
1242
1350
|
/**
|
|
1243
1351
|
* Query Value Input Component
|
|
1244
1352
|
* Renders an appropriate input control based on the property type and operator.
|
|
@@ -1720,67 +1828,6 @@ export namespace Components {
|
|
|
1720
1828
|
*/
|
|
1721
1829
|
"value": string;
|
|
1722
1830
|
}
|
|
1723
|
-
/**
|
|
1724
|
-
* Response Format Editor Component
|
|
1725
|
-
* Allows users to select which properties should be returned in the query response.
|
|
1726
|
-
* Supports selecting properties on both the main limetype and related limetypes
|
|
1727
|
-
* through belongsto relations.
|
|
1728
|
-
* Features:
|
|
1729
|
-
* - **Property selection**: Choose properties using dropdown navigation
|
|
1730
|
-
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
1731
|
-
* - **Property aliases**: Optionally rename properties in the response
|
|
1732
|
-
* - **Dynamic list**: Add/remove property selections
|
|
1733
|
-
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
1734
|
-
* The component generates a `ResponseFormat` object with the `object` field
|
|
1735
|
-
* containing the selected properties.
|
|
1736
|
-
* @private
|
|
1737
|
-
*/
|
|
1738
|
-
interface LimebbResponseFormatEditor {
|
|
1739
|
-
/**
|
|
1740
|
-
* Component context
|
|
1741
|
-
*/
|
|
1742
|
-
"context": LimeWebComponentContext;
|
|
1743
|
-
/**
|
|
1744
|
-
* Optional label
|
|
1745
|
-
*/
|
|
1746
|
-
"label": string;
|
|
1747
|
-
/**
|
|
1748
|
-
* The limetype to select properties from
|
|
1749
|
-
*/
|
|
1750
|
-
"limetype": string;
|
|
1751
|
-
/**
|
|
1752
|
-
* Platform service provider
|
|
1753
|
-
*/
|
|
1754
|
-
"platform": LimeWebComponentPlatform;
|
|
1755
|
-
/**
|
|
1756
|
-
* Current response format
|
|
1757
|
-
*/
|
|
1758
|
-
"value": ResponseFormat;
|
|
1759
|
-
}
|
|
1760
|
-
/**
|
|
1761
|
-
* Response Format Property Item Component
|
|
1762
|
-
* Represents a single property selection with optional alias and description
|
|
1763
|
-
* Part of the response format editor
|
|
1764
|
-
* @private
|
|
1765
|
-
*/
|
|
1766
|
-
interface LimebbResponseFormatItem {
|
|
1767
|
-
/**
|
|
1768
|
-
* Component context
|
|
1769
|
-
*/
|
|
1770
|
-
"context": LimeWebComponentContext;
|
|
1771
|
-
/**
|
|
1772
|
-
* The property selection item
|
|
1773
|
-
*/
|
|
1774
|
-
"item": PropertySelectionItem;
|
|
1775
|
-
/**
|
|
1776
|
-
* The limetype to select properties from
|
|
1777
|
-
*/
|
|
1778
|
-
"limetype": string;
|
|
1779
|
-
/**
|
|
1780
|
-
* Platform service provider
|
|
1781
|
-
*/
|
|
1782
|
-
"platform": LimeWebComponentPlatform;
|
|
1783
|
-
}
|
|
1784
1831
|
/**
|
|
1785
1832
|
* This component uses
|
|
1786
1833
|
* [limel-popover](https://lundalogik.github.io/lime-elements/versions/latest/#/component/limel-popover/)
|
|
@@ -2164,6 +2211,18 @@ export interface LimebbLimeQueryOrderByItemCustomEvent<T> extends CustomEvent<T>
|
|
|
2164
2211
|
detail: T;
|
|
2165
2212
|
target: HTMLLimebbLimeQueryOrderByItemElement;
|
|
2166
2213
|
}
|
|
2214
|
+
export interface LimebbLimeQueryResponseFormatBuilderCustomEvent<T> extends CustomEvent<T> {
|
|
2215
|
+
detail: T;
|
|
2216
|
+
target: HTMLLimebbLimeQueryResponseFormatBuilderElement;
|
|
2217
|
+
}
|
|
2218
|
+
export interface LimebbLimeQueryResponseFormatEditorCustomEvent<T> extends CustomEvent<T> {
|
|
2219
|
+
detail: T;
|
|
2220
|
+
target: HTMLLimebbLimeQueryResponseFormatEditorElement;
|
|
2221
|
+
}
|
|
2222
|
+
export interface LimebbLimeQueryResponseFormatItemCustomEvent<T> extends CustomEvent<T> {
|
|
2223
|
+
detail: T;
|
|
2224
|
+
target: HTMLLimebbLimeQueryResponseFormatItemElement;
|
|
2225
|
+
}
|
|
2167
2226
|
export interface LimebbLimeQueryValueInputCustomEvent<T> extends CustomEvent<T> {
|
|
2168
2227
|
detail: T;
|
|
2169
2228
|
target: HTMLLimebbLimeQueryValueInputElement;
|
|
@@ -2192,14 +2251,6 @@ export interface LimebbPropertySelectorCustomEvent<T> extends CustomEvent<T> {
|
|
|
2192
2251
|
detail: T;
|
|
2193
2252
|
target: HTMLLimebbPropertySelectorElement;
|
|
2194
2253
|
}
|
|
2195
|
-
export interface LimebbResponseFormatEditorCustomEvent<T> extends CustomEvent<T> {
|
|
2196
|
-
detail: T;
|
|
2197
|
-
target: HTMLLimebbResponseFormatEditorElement;
|
|
2198
|
-
}
|
|
2199
|
-
export interface LimebbResponseFormatItemCustomEvent<T> extends CustomEvent<T> {
|
|
2200
|
-
detail: T;
|
|
2201
|
-
target: HTMLLimebbResponseFormatItemElement;
|
|
2202
|
-
}
|
|
2203
2254
|
export interface LimebbSummaryPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
2204
2255
|
detail: T;
|
|
2205
2256
|
target: HTMLLimebbSummaryPopoverElement;
|
|
@@ -3069,6 +3120,103 @@ declare global {
|
|
|
3069
3120
|
prototype: HTMLLimebbLimeQueryOrderByItemElement;
|
|
3070
3121
|
new (): HTMLLimebbLimeQueryOrderByItemElement;
|
|
3071
3122
|
};
|
|
3123
|
+
interface HTMLLimebbLimeQueryResponseFormatBuilderElementEventMap {
|
|
3124
|
+
"change": ResponseFormat;
|
|
3125
|
+
}
|
|
3126
|
+
/**
|
|
3127
|
+
* Response Format Builder
|
|
3128
|
+
* A focused component for editing Lime Query ResponseFormat in isolation.
|
|
3129
|
+
* Supports both GUI and code modes for maximum flexibility.
|
|
3130
|
+
* Use this component when you need to configure which properties to return
|
|
3131
|
+
* from a query, but don't need filter, limit, or other query parameters.
|
|
3132
|
+
* **Features**:
|
|
3133
|
+
* - **GUI Mode**: Visual property selector with relation navigation
|
|
3134
|
+
* - **Code Mode**: JSON editor for ResponseFormat structure
|
|
3135
|
+
* - **Validation**: Ensures JSON is valid ResponseFormat (rejects other fields)
|
|
3136
|
+
* - **Mode Toggle**: Switch between GUI and code modes seamlessly
|
|
3137
|
+
* - **Feature Flag**: Respects `useLimeQueryBuilderGuiMode` setting
|
|
3138
|
+
* @example ```tsx
|
|
3139
|
+
* <limebb-lime-query-response-format-builder
|
|
3140
|
+
* platform={this.platform}
|
|
3141
|
+
* context={this.context}
|
|
3142
|
+
* limetype="deal"
|
|
3143
|
+
* value={this.responseFormat}
|
|
3144
|
+
* label="Select Properties to Return"
|
|
3145
|
+
* onChange={this.handleChange}
|
|
3146
|
+
* />
|
|
3147
|
+
* ```
|
|
3148
|
+
* @exampleComponent limebb-example-response-format-builder-basic
|
|
3149
|
+
* @private
|
|
3150
|
+
*/
|
|
3151
|
+
interface HTMLLimebbLimeQueryResponseFormatBuilderElement extends Components.LimebbLimeQueryResponseFormatBuilder, HTMLStencilElement {
|
|
3152
|
+
addEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatBuilderElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatBuilderElement, ev: LimebbLimeQueryResponseFormatBuilderCustomEvent<HTMLLimebbLimeQueryResponseFormatBuilderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3153
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3154
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3155
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3156
|
+
removeEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatBuilderElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatBuilderElement, ev: LimebbLimeQueryResponseFormatBuilderCustomEvent<HTMLLimebbLimeQueryResponseFormatBuilderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3157
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3158
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3159
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3160
|
+
}
|
|
3161
|
+
var HTMLLimebbLimeQueryResponseFormatBuilderElement: {
|
|
3162
|
+
prototype: HTMLLimebbLimeQueryResponseFormatBuilderElement;
|
|
3163
|
+
new (): HTMLLimebbLimeQueryResponseFormatBuilderElement;
|
|
3164
|
+
};
|
|
3165
|
+
interface HTMLLimebbLimeQueryResponseFormatEditorElementEventMap {
|
|
3166
|
+
"change": ResponseFormat;
|
|
3167
|
+
}
|
|
3168
|
+
/**
|
|
3169
|
+
* Response Format Editor Component
|
|
3170
|
+
* Allows users to select which properties should be returned in the query response.
|
|
3171
|
+
* Supports selecting properties on both the main limetype and related limetypes
|
|
3172
|
+
* through belongsto relations.
|
|
3173
|
+
* Features:
|
|
3174
|
+
* - **Property selection**: Choose properties using dropdown navigation
|
|
3175
|
+
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
3176
|
+
* - **Property aliases**: Optionally rename properties in the response
|
|
3177
|
+
* - **Dynamic list**: Add/remove property selections
|
|
3178
|
+
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
3179
|
+
* The component generates a `ResponseFormat` object with the `object` field
|
|
3180
|
+
* containing the selected properties.
|
|
3181
|
+
* @private
|
|
3182
|
+
*/
|
|
3183
|
+
interface HTMLLimebbLimeQueryResponseFormatEditorElement extends Components.LimebbLimeQueryResponseFormatEditor, HTMLStencilElement {
|
|
3184
|
+
addEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatEditorElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatEditorElement, ev: LimebbLimeQueryResponseFormatEditorCustomEvent<HTMLLimebbLimeQueryResponseFormatEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3185
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3186
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3187
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3188
|
+
removeEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatEditorElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatEditorElement, ev: LimebbLimeQueryResponseFormatEditorCustomEvent<HTMLLimebbLimeQueryResponseFormatEditorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3189
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3190
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3191
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3192
|
+
}
|
|
3193
|
+
var HTMLLimebbLimeQueryResponseFormatEditorElement: {
|
|
3194
|
+
prototype: HTMLLimebbLimeQueryResponseFormatEditorElement;
|
|
3195
|
+
new (): HTMLLimebbLimeQueryResponseFormatEditorElement;
|
|
3196
|
+
};
|
|
3197
|
+
interface HTMLLimebbLimeQueryResponseFormatItemElementEventMap {
|
|
3198
|
+
"itemChange": PropertySelectionItem | null;
|
|
3199
|
+
}
|
|
3200
|
+
/**
|
|
3201
|
+
* Response Format Property Item Component
|
|
3202
|
+
* Represents a single property selection with optional alias and description
|
|
3203
|
+
* Part of the response format editor
|
|
3204
|
+
* @private
|
|
3205
|
+
*/
|
|
3206
|
+
interface HTMLLimebbLimeQueryResponseFormatItemElement extends Components.LimebbLimeQueryResponseFormatItem, HTMLStencilElement {
|
|
3207
|
+
addEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatItemElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatItemElement, ev: LimebbLimeQueryResponseFormatItemCustomEvent<HTMLLimebbLimeQueryResponseFormatItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3208
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3209
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3210
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3211
|
+
removeEventListener<K extends keyof HTMLLimebbLimeQueryResponseFormatItemElementEventMap>(type: K, listener: (this: HTMLLimebbLimeQueryResponseFormatItemElement, ev: LimebbLimeQueryResponseFormatItemCustomEvent<HTMLLimebbLimeQueryResponseFormatItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3212
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3213
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3214
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3215
|
+
}
|
|
3216
|
+
var HTMLLimebbLimeQueryResponseFormatItemElement: {
|
|
3217
|
+
prototype: HTMLLimebbLimeQueryResponseFormatItemElement;
|
|
3218
|
+
new (): HTMLLimebbLimeQueryResponseFormatItemElement;
|
|
3219
|
+
};
|
|
3072
3220
|
interface HTMLLimebbLimeQueryValueInputElementEventMap {
|
|
3073
3221
|
"change": any;
|
|
3074
3222
|
}
|
|
@@ -3366,61 +3514,6 @@ declare global {
|
|
|
3366
3514
|
prototype: HTMLLimebbPropertySelectorElement;
|
|
3367
3515
|
new (): HTMLLimebbPropertySelectorElement;
|
|
3368
3516
|
};
|
|
3369
|
-
interface HTMLLimebbResponseFormatEditorElementEventMap {
|
|
3370
|
-
"change": ResponseFormat;
|
|
3371
|
-
}
|
|
3372
|
-
/**
|
|
3373
|
-
* Response Format Editor Component
|
|
3374
|
-
* Allows users to select which properties should be returned in the query response.
|
|
3375
|
-
* Supports selecting properties on both the main limetype and related limetypes
|
|
3376
|
-
* through belongsto relations.
|
|
3377
|
-
* Features:
|
|
3378
|
-
* - **Property selection**: Choose properties using dropdown navigation
|
|
3379
|
-
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
3380
|
-
* - **Property aliases**: Optionally rename properties in the response
|
|
3381
|
-
* - **Dynamic list**: Add/remove property selections
|
|
3382
|
-
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
3383
|
-
* The component generates a `ResponseFormat` object with the `object` field
|
|
3384
|
-
* containing the selected properties.
|
|
3385
|
-
* @private
|
|
3386
|
-
*/
|
|
3387
|
-
interface HTMLLimebbResponseFormatEditorElement extends Components.LimebbResponseFormatEditor, HTMLStencilElement {
|
|
3388
|
-
addEventListener<K extends keyof HTMLLimebbResponseFormatEditorElementEventMap>(type: K, listener: (this: HTMLLimebbResponseFormatEditorElement, ev: LimebbResponseFormatEditorCustomEvent<HTMLLimebbResponseFormatEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3389
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3390
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3391
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3392
|
-
removeEventListener<K extends keyof HTMLLimebbResponseFormatEditorElementEventMap>(type: K, listener: (this: HTMLLimebbResponseFormatEditorElement, ev: LimebbResponseFormatEditorCustomEvent<HTMLLimebbResponseFormatEditorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3393
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3394
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3395
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3396
|
-
}
|
|
3397
|
-
var HTMLLimebbResponseFormatEditorElement: {
|
|
3398
|
-
prototype: HTMLLimebbResponseFormatEditorElement;
|
|
3399
|
-
new (): HTMLLimebbResponseFormatEditorElement;
|
|
3400
|
-
};
|
|
3401
|
-
interface HTMLLimebbResponseFormatItemElementEventMap {
|
|
3402
|
-
"itemChange": PropertySelectionItem | null;
|
|
3403
|
-
}
|
|
3404
|
-
/**
|
|
3405
|
-
* Response Format Property Item Component
|
|
3406
|
-
* Represents a single property selection with optional alias and description
|
|
3407
|
-
* Part of the response format editor
|
|
3408
|
-
* @private
|
|
3409
|
-
*/
|
|
3410
|
-
interface HTMLLimebbResponseFormatItemElement extends Components.LimebbResponseFormatItem, HTMLStencilElement {
|
|
3411
|
-
addEventListener<K extends keyof HTMLLimebbResponseFormatItemElementEventMap>(type: K, listener: (this: HTMLLimebbResponseFormatItemElement, ev: LimebbResponseFormatItemCustomEvent<HTMLLimebbResponseFormatItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3412
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3413
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3414
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3415
|
-
removeEventListener<K extends keyof HTMLLimebbResponseFormatItemElementEventMap>(type: K, listener: (this: HTMLLimebbResponseFormatItemElement, ev: LimebbResponseFormatItemCustomEvent<HTMLLimebbResponseFormatItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3416
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3417
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3418
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3419
|
-
}
|
|
3420
|
-
var HTMLLimebbResponseFormatItemElement: {
|
|
3421
|
-
prototype: HTMLLimebbResponseFormatItemElement;
|
|
3422
|
-
new (): HTMLLimebbResponseFormatItemElement;
|
|
3423
|
-
};
|
|
3424
3517
|
interface HTMLLimebbSummaryPopoverElementEventMap {
|
|
3425
3518
|
"actionSelected": ActionBarItem;
|
|
3426
3519
|
}
|
|
@@ -3615,6 +3708,9 @@ declare global {
|
|
|
3615
3708
|
"limebb-lime-query-filter-not": HTMLLimebbLimeQueryFilterNotElement;
|
|
3616
3709
|
"limebb-lime-query-order-by-editor": HTMLLimebbLimeQueryOrderByEditorElement;
|
|
3617
3710
|
"limebb-lime-query-order-by-item": HTMLLimebbLimeQueryOrderByItemElement;
|
|
3711
|
+
"limebb-lime-query-response-format-builder": HTMLLimebbLimeQueryResponseFormatBuilderElement;
|
|
3712
|
+
"limebb-lime-query-response-format-editor": HTMLLimebbLimeQueryResponseFormatEditorElement;
|
|
3713
|
+
"limebb-lime-query-response-format-item": HTMLLimebbLimeQueryResponseFormatItemElement;
|
|
3618
3714
|
"limebb-lime-query-value-input": HTMLLimebbLimeQueryValueInputElement;
|
|
3619
3715
|
"limebb-limeobject-file-viewer": HTMLLimebbLimeobjectFileViewerElement;
|
|
3620
3716
|
"limebb-limetype-field": HTMLLimebbLimetypeFieldElement;
|
|
@@ -3628,8 +3724,6 @@ declare global {
|
|
|
3628
3724
|
"limebb-notification-list": HTMLLimebbNotificationListElement;
|
|
3629
3725
|
"limebb-percentage-visualizer": HTMLLimebbPercentageVisualizerElement;
|
|
3630
3726
|
"limebb-property-selector": HTMLLimebbPropertySelectorElement;
|
|
3631
|
-
"limebb-response-format-editor": HTMLLimebbResponseFormatEditorElement;
|
|
3632
|
-
"limebb-response-format-item": HTMLLimebbResponseFormatItemElement;
|
|
3633
3727
|
"limebb-summary-popover": HTMLLimebbSummaryPopoverElement;
|
|
3634
3728
|
"limebb-text-editor": HTMLLimebbTextEditorElement;
|
|
3635
3729
|
"limebb-text-editor-picker": HTMLLimebbTextEditorPickerElement;
|
|
@@ -4957,6 +5051,126 @@ declare namespace LocalJSX {
|
|
|
4957
5051
|
*/
|
|
4958
5052
|
"platform"?: LimeWebComponentPlatform;
|
|
4959
5053
|
}
|
|
5054
|
+
/**
|
|
5055
|
+
* Response Format Builder
|
|
5056
|
+
* A focused component for editing Lime Query ResponseFormat in isolation.
|
|
5057
|
+
* Supports both GUI and code modes for maximum flexibility.
|
|
5058
|
+
* Use this component when you need to configure which properties to return
|
|
5059
|
+
* from a query, but don't need filter, limit, or other query parameters.
|
|
5060
|
+
* **Features**:
|
|
5061
|
+
* - **GUI Mode**: Visual property selector with relation navigation
|
|
5062
|
+
* - **Code Mode**: JSON editor for ResponseFormat structure
|
|
5063
|
+
* - **Validation**: Ensures JSON is valid ResponseFormat (rejects other fields)
|
|
5064
|
+
* - **Mode Toggle**: Switch between GUI and code modes seamlessly
|
|
5065
|
+
* - **Feature Flag**: Respects `useLimeQueryBuilderGuiMode` setting
|
|
5066
|
+
* @example ```tsx
|
|
5067
|
+
* <limebb-lime-query-response-format-builder
|
|
5068
|
+
* platform={this.platform}
|
|
5069
|
+
* context={this.context}
|
|
5070
|
+
* limetype="deal"
|
|
5071
|
+
* value={this.responseFormat}
|
|
5072
|
+
* label="Select Properties to Return"
|
|
5073
|
+
* onChange={this.handleChange}
|
|
5074
|
+
* />
|
|
5075
|
+
* ```
|
|
5076
|
+
* @exampleComponent limebb-example-response-format-builder-basic
|
|
5077
|
+
* @private
|
|
5078
|
+
*/
|
|
5079
|
+
interface LimebbLimeQueryResponseFormatBuilder {
|
|
5080
|
+
/**
|
|
5081
|
+
* Component context
|
|
5082
|
+
*/
|
|
5083
|
+
"context"?: LimeWebComponentContext;
|
|
5084
|
+
/**
|
|
5085
|
+
* Optional label for the builder
|
|
5086
|
+
*/
|
|
5087
|
+
"label"?: string;
|
|
5088
|
+
/**
|
|
5089
|
+
* The limetype to configure response format for This is fixed and not editable by the user
|
|
5090
|
+
*/
|
|
5091
|
+
"limetype"?: string;
|
|
5092
|
+
/**
|
|
5093
|
+
* Emitted when the response format changes
|
|
5094
|
+
*/
|
|
5095
|
+
"onChange"?: (event: LimebbLimeQueryResponseFormatBuilderCustomEvent<ResponseFormat>) => void;
|
|
5096
|
+
/**
|
|
5097
|
+
* Platform service provider
|
|
5098
|
+
*/
|
|
5099
|
+
"platform"?: LimeWebComponentPlatform;
|
|
5100
|
+
/**
|
|
5101
|
+
* Current response format value
|
|
5102
|
+
*/
|
|
5103
|
+
"value"?: ResponseFormat;
|
|
5104
|
+
}
|
|
5105
|
+
/**
|
|
5106
|
+
* Response Format Editor Component
|
|
5107
|
+
* Allows users to select which properties should be returned in the query response.
|
|
5108
|
+
* Supports selecting properties on both the main limetype and related limetypes
|
|
5109
|
+
* through belongsto relations.
|
|
5110
|
+
* Features:
|
|
5111
|
+
* - **Property selection**: Choose properties using dropdown navigation
|
|
5112
|
+
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
5113
|
+
* - **Property aliases**: Optionally rename properties in the response
|
|
5114
|
+
* - **Dynamic list**: Add/remove property selections
|
|
5115
|
+
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
5116
|
+
* The component generates a `ResponseFormat` object with the `object` field
|
|
5117
|
+
* containing the selected properties.
|
|
5118
|
+
* @private
|
|
5119
|
+
*/
|
|
5120
|
+
interface LimebbLimeQueryResponseFormatEditor {
|
|
5121
|
+
/**
|
|
5122
|
+
* Component context
|
|
5123
|
+
*/
|
|
5124
|
+
"context"?: LimeWebComponentContext;
|
|
5125
|
+
/**
|
|
5126
|
+
* Optional label
|
|
5127
|
+
*/
|
|
5128
|
+
"label"?: string;
|
|
5129
|
+
/**
|
|
5130
|
+
* The limetype to select properties from
|
|
5131
|
+
*/
|
|
5132
|
+
"limetype"?: string;
|
|
5133
|
+
/**
|
|
5134
|
+
* Emitted when the response format changes
|
|
5135
|
+
*/
|
|
5136
|
+
"onChange"?: (event: LimebbLimeQueryResponseFormatEditorCustomEvent<ResponseFormat>) => void;
|
|
5137
|
+
/**
|
|
5138
|
+
* Platform service provider
|
|
5139
|
+
*/
|
|
5140
|
+
"platform"?: LimeWebComponentPlatform;
|
|
5141
|
+
/**
|
|
5142
|
+
* Current response format
|
|
5143
|
+
*/
|
|
5144
|
+
"value"?: ResponseFormat;
|
|
5145
|
+
}
|
|
5146
|
+
/**
|
|
5147
|
+
* Response Format Property Item Component
|
|
5148
|
+
* Represents a single property selection with optional alias and description
|
|
5149
|
+
* Part of the response format editor
|
|
5150
|
+
* @private
|
|
5151
|
+
*/
|
|
5152
|
+
interface LimebbLimeQueryResponseFormatItem {
|
|
5153
|
+
/**
|
|
5154
|
+
* Component context
|
|
5155
|
+
*/
|
|
5156
|
+
"context"?: LimeWebComponentContext;
|
|
5157
|
+
/**
|
|
5158
|
+
* The property selection item
|
|
5159
|
+
*/
|
|
5160
|
+
"item"?: PropertySelectionItem;
|
|
5161
|
+
/**
|
|
5162
|
+
* The limetype to select properties from
|
|
5163
|
+
*/
|
|
5164
|
+
"limetype"?: string;
|
|
5165
|
+
/**
|
|
5166
|
+
* Emitted when the item changes
|
|
5167
|
+
*/
|
|
5168
|
+
"onItemChange"?: (event: LimebbLimeQueryResponseFormatItemCustomEvent<PropertySelectionItem | null>) => void;
|
|
5169
|
+
/**
|
|
5170
|
+
* Platform service provider
|
|
5171
|
+
*/
|
|
5172
|
+
"platform"?: LimeWebComponentPlatform;
|
|
5173
|
+
}
|
|
4960
5174
|
/**
|
|
4961
5175
|
* Query Value Input Component
|
|
4962
5176
|
* Renders an appropriate input control based on the property type and operator.
|
|
@@ -5468,75 +5682,6 @@ declare namespace LocalJSX {
|
|
|
5468
5682
|
*/
|
|
5469
5683
|
"value"?: string;
|
|
5470
5684
|
}
|
|
5471
|
-
/**
|
|
5472
|
-
* Response Format Editor Component
|
|
5473
|
-
* Allows users to select which properties should be returned in the query response.
|
|
5474
|
-
* Supports selecting properties on both the main limetype and related limetypes
|
|
5475
|
-
* through belongsto relations.
|
|
5476
|
-
* Features:
|
|
5477
|
-
* - **Property selection**: Choose properties using dropdown navigation
|
|
5478
|
-
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
5479
|
-
* - **Property aliases**: Optionally rename properties in the response
|
|
5480
|
-
* - **Dynamic list**: Add/remove property selections
|
|
5481
|
-
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
5482
|
-
* The component generates a `ResponseFormat` object with the `object` field
|
|
5483
|
-
* containing the selected properties.
|
|
5484
|
-
* @private
|
|
5485
|
-
*/
|
|
5486
|
-
interface LimebbResponseFormatEditor {
|
|
5487
|
-
/**
|
|
5488
|
-
* Component context
|
|
5489
|
-
*/
|
|
5490
|
-
"context"?: LimeWebComponentContext;
|
|
5491
|
-
/**
|
|
5492
|
-
* Optional label
|
|
5493
|
-
*/
|
|
5494
|
-
"label"?: string;
|
|
5495
|
-
/**
|
|
5496
|
-
* The limetype to select properties from
|
|
5497
|
-
*/
|
|
5498
|
-
"limetype"?: string;
|
|
5499
|
-
/**
|
|
5500
|
-
* Emitted when the response format changes
|
|
5501
|
-
*/
|
|
5502
|
-
"onChange"?: (event: LimebbResponseFormatEditorCustomEvent<ResponseFormat>) => void;
|
|
5503
|
-
/**
|
|
5504
|
-
* Platform service provider
|
|
5505
|
-
*/
|
|
5506
|
-
"platform"?: LimeWebComponentPlatform;
|
|
5507
|
-
/**
|
|
5508
|
-
* Current response format
|
|
5509
|
-
*/
|
|
5510
|
-
"value"?: ResponseFormat;
|
|
5511
|
-
}
|
|
5512
|
-
/**
|
|
5513
|
-
* Response Format Property Item Component
|
|
5514
|
-
* Represents a single property selection with optional alias and description
|
|
5515
|
-
* Part of the response format editor
|
|
5516
|
-
* @private
|
|
5517
|
-
*/
|
|
5518
|
-
interface LimebbResponseFormatItem {
|
|
5519
|
-
/**
|
|
5520
|
-
* Component context
|
|
5521
|
-
*/
|
|
5522
|
-
"context"?: LimeWebComponentContext;
|
|
5523
|
-
/**
|
|
5524
|
-
* The property selection item
|
|
5525
|
-
*/
|
|
5526
|
-
"item"?: PropertySelectionItem;
|
|
5527
|
-
/**
|
|
5528
|
-
* The limetype to select properties from
|
|
5529
|
-
*/
|
|
5530
|
-
"limetype"?: string;
|
|
5531
|
-
/**
|
|
5532
|
-
* Emitted when the item changes
|
|
5533
|
-
*/
|
|
5534
|
-
"onItemChange"?: (event: LimebbResponseFormatItemCustomEvent<PropertySelectionItem | null>) => void;
|
|
5535
|
-
/**
|
|
5536
|
-
* Platform service provider
|
|
5537
|
-
*/
|
|
5538
|
-
"platform"?: LimeWebComponentPlatform;
|
|
5539
|
-
}
|
|
5540
5685
|
/**
|
|
5541
5686
|
* This component uses
|
|
5542
5687
|
* [limel-popover](https://lundalogik.github.io/lime-elements/versions/latest/#/component/limel-popover/)
|
|
@@ -5863,6 +6008,9 @@ declare namespace LocalJSX {
|
|
|
5863
6008
|
"limebb-lime-query-filter-not": LimebbLimeQueryFilterNot;
|
|
5864
6009
|
"limebb-lime-query-order-by-editor": LimebbLimeQueryOrderByEditor;
|
|
5865
6010
|
"limebb-lime-query-order-by-item": LimebbLimeQueryOrderByItem;
|
|
6011
|
+
"limebb-lime-query-response-format-builder": LimebbLimeQueryResponseFormatBuilder;
|
|
6012
|
+
"limebb-lime-query-response-format-editor": LimebbLimeQueryResponseFormatEditor;
|
|
6013
|
+
"limebb-lime-query-response-format-item": LimebbLimeQueryResponseFormatItem;
|
|
5866
6014
|
"limebb-lime-query-value-input": LimebbLimeQueryValueInput;
|
|
5867
6015
|
"limebb-limeobject-file-viewer": LimebbLimeobjectFileViewer;
|
|
5868
6016
|
"limebb-limetype-field": LimebbLimetypeField;
|
|
@@ -5876,8 +6024,6 @@ declare namespace LocalJSX {
|
|
|
5876
6024
|
"limebb-notification-list": LimebbNotificationList;
|
|
5877
6025
|
"limebb-percentage-visualizer": LimebbPercentageVisualizer;
|
|
5878
6026
|
"limebb-property-selector": LimebbPropertySelector;
|
|
5879
|
-
"limebb-response-format-editor": LimebbResponseFormatEditor;
|
|
5880
|
-
"limebb-response-format-item": LimebbResponseFormatItem;
|
|
5881
6027
|
"limebb-summary-popover": LimebbSummaryPopover;
|
|
5882
6028
|
"limebb-text-editor": LimebbTextEditor;
|
|
5883
6029
|
"limebb-text-editor-picker": LimebbTextEditorPicker;
|
|
@@ -6274,6 +6420,55 @@ declare module "@stencil/core" {
|
|
|
6274
6420
|
* @private
|
|
6275
6421
|
*/
|
|
6276
6422
|
"limebb-lime-query-order-by-item": LocalJSX.LimebbLimeQueryOrderByItem & JSXBase.HTMLAttributes<HTMLLimebbLimeQueryOrderByItemElement>;
|
|
6423
|
+
/**
|
|
6424
|
+
* Response Format Builder
|
|
6425
|
+
* A focused component for editing Lime Query ResponseFormat in isolation.
|
|
6426
|
+
* Supports both GUI and code modes for maximum flexibility.
|
|
6427
|
+
* Use this component when you need to configure which properties to return
|
|
6428
|
+
* from a query, but don't need filter, limit, or other query parameters.
|
|
6429
|
+
* **Features**:
|
|
6430
|
+
* - **GUI Mode**: Visual property selector with relation navigation
|
|
6431
|
+
* - **Code Mode**: JSON editor for ResponseFormat structure
|
|
6432
|
+
* - **Validation**: Ensures JSON is valid ResponseFormat (rejects other fields)
|
|
6433
|
+
* - **Mode Toggle**: Switch between GUI and code modes seamlessly
|
|
6434
|
+
* - **Feature Flag**: Respects `useLimeQueryBuilderGuiMode` setting
|
|
6435
|
+
* @example ```tsx
|
|
6436
|
+
* <limebb-lime-query-response-format-builder
|
|
6437
|
+
* platform={this.platform}
|
|
6438
|
+
* context={this.context}
|
|
6439
|
+
* limetype="deal"
|
|
6440
|
+
* value={this.responseFormat}
|
|
6441
|
+
* label="Select Properties to Return"
|
|
6442
|
+
* onChange={this.handleChange}
|
|
6443
|
+
* />
|
|
6444
|
+
* ```
|
|
6445
|
+
* @exampleComponent limebb-example-response-format-builder-basic
|
|
6446
|
+
* @private
|
|
6447
|
+
*/
|
|
6448
|
+
"limebb-lime-query-response-format-builder": LocalJSX.LimebbLimeQueryResponseFormatBuilder & JSXBase.HTMLAttributes<HTMLLimebbLimeQueryResponseFormatBuilderElement>;
|
|
6449
|
+
/**
|
|
6450
|
+
* Response Format Editor Component
|
|
6451
|
+
* Allows users to select which properties should be returned in the query response.
|
|
6452
|
+
* Supports selecting properties on both the main limetype and related limetypes
|
|
6453
|
+
* through belongsto relations.
|
|
6454
|
+
* Features:
|
|
6455
|
+
* - **Property selection**: Choose properties using dropdown navigation
|
|
6456
|
+
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
6457
|
+
* - **Property aliases**: Optionally rename properties in the response
|
|
6458
|
+
* - **Dynamic list**: Add/remove property selections
|
|
6459
|
+
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
6460
|
+
* The component generates a `ResponseFormat` object with the `object` field
|
|
6461
|
+
* containing the selected properties.
|
|
6462
|
+
* @private
|
|
6463
|
+
*/
|
|
6464
|
+
"limebb-lime-query-response-format-editor": LocalJSX.LimebbLimeQueryResponseFormatEditor & JSXBase.HTMLAttributes<HTMLLimebbLimeQueryResponseFormatEditorElement>;
|
|
6465
|
+
/**
|
|
6466
|
+
* Response Format Property Item Component
|
|
6467
|
+
* Represents a single property selection with optional alias and description
|
|
6468
|
+
* Part of the response format editor
|
|
6469
|
+
* @private
|
|
6470
|
+
*/
|
|
6471
|
+
"limebb-lime-query-response-format-item": LocalJSX.LimebbLimeQueryResponseFormatItem & JSXBase.HTMLAttributes<HTMLLimebbLimeQueryResponseFormatItemElement>;
|
|
6277
6472
|
/**
|
|
6278
6473
|
* Query Value Input Component
|
|
6279
6474
|
* Renders an appropriate input control based on the property type and operator.
|
|
@@ -6429,29 +6624,6 @@ declare module "@stencil/core" {
|
|
|
6429
6624
|
* @private
|
|
6430
6625
|
*/
|
|
6431
6626
|
"limebb-property-selector": LocalJSX.LimebbPropertySelector & JSXBase.HTMLAttributes<HTMLLimebbPropertySelectorElement>;
|
|
6432
|
-
/**
|
|
6433
|
-
* Response Format Editor Component
|
|
6434
|
-
* Allows users to select which properties should be returned in the query response.
|
|
6435
|
-
* Supports selecting properties on both the main limetype and related limetypes
|
|
6436
|
-
* through belongsto relations.
|
|
6437
|
-
* Features:
|
|
6438
|
-
* - **Property selection**: Choose properties using dropdown navigation
|
|
6439
|
-
* - **Nested properties**: Select properties on related objects (e.g., company.name)
|
|
6440
|
-
* - **Property aliases**: Optionally rename properties in the response
|
|
6441
|
-
* - **Dynamic list**: Add/remove property selections
|
|
6442
|
-
* - **Real-time updates**: Changes immediately update the responseFormat
|
|
6443
|
-
* The component generates a `ResponseFormat` object with the `object` field
|
|
6444
|
-
* containing the selected properties.
|
|
6445
|
-
* @private
|
|
6446
|
-
*/
|
|
6447
|
-
"limebb-response-format-editor": LocalJSX.LimebbResponseFormatEditor & JSXBase.HTMLAttributes<HTMLLimebbResponseFormatEditorElement>;
|
|
6448
|
-
/**
|
|
6449
|
-
* Response Format Property Item Component
|
|
6450
|
-
* Represents a single property selection with optional alias and description
|
|
6451
|
-
* Part of the response format editor
|
|
6452
|
-
* @private
|
|
6453
|
-
*/
|
|
6454
|
-
"limebb-response-format-item": LocalJSX.LimebbResponseFormatItem & JSXBase.HTMLAttributes<HTMLLimebbResponseFormatItemElement>;
|
|
6455
6627
|
/**
|
|
6456
6628
|
* This component uses
|
|
6457
6629
|
* [limel-popover](https://lundalogik.github.io/lime-elements/versions/latest/#/component/limel-popover/)
|