@limetech/lime-elements 35.0.0-next.10 → 35.0.0-next.11
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/dist/cjs/lime-elements.cjs.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +4 -1
- package/dist/cjs/limel-list_3.cjs.entry.js +126 -71
- package/dist/cjs/limel-table.cjs.entry.js +49 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/form/templates/common.js +4 -1
- package/dist/collection/components/table/table.js +71 -1
- package/dist/collection/style/internal/lime-theme.scss +30 -31
- package/dist/collection/style/internal/lime-typography.scss +55 -56
- package/dist/esm/lime-elements.js +2 -2
- package/dist/esm/limel-form.entry.js +4 -1
- package/dist/esm/limel-list_3.entry.js +126 -71
- package/dist/esm/limel-table.entry.js +49 -1
- package/dist/esm/loader.js +2 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-c306c953.entry.js → p-07d07d08.entry.js} +1 -1
- package/dist/lime-elements/{p-6043b4c2.entry.js → p-268cf1fa.entry.js} +1 -1
- package/dist/lime-elements/{p-d93a3b07.entry.js → p-e2113a6f.entry.js} +1 -1
- package/dist/lime-elements/style/internal/lime-theme.scss +30 -31
- package/dist/lime-elements/style/internal/lime-typography.scss +55 -56
- package/dist/types/components/table/table.d.ts +8 -1
- package/dist/types/components/table/table.types.d.ts +13 -0
- package/dist/types/components.d.ts +9 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +11 -11
|
@@ -96,6 +96,7 @@ export class Table {
|
|
|
96
96
|
this.updateMaxPage = this.updateMaxPage.bind(this);
|
|
97
97
|
this.initTabulatorComponent = this.initTabulatorComponent.bind(this);
|
|
98
98
|
this.setSelection = this.setSelection.bind(this);
|
|
99
|
+
this.addColumnAggregator = this.addColumnAggregator.bind(this);
|
|
99
100
|
this.pool = new ElementPool(document);
|
|
100
101
|
this.columnFactory = new ColumnDefinitionFactory(this.pool);
|
|
101
102
|
}
|
|
@@ -164,6 +165,20 @@ export class Table {
|
|
|
164
165
|
// afterwards
|
|
165
166
|
this.init();
|
|
166
167
|
}
|
|
168
|
+
updateAggregates(newAggregates, oldAggregates) {
|
|
169
|
+
if (!this.tabulator) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
if (isEqual(newAggregates, oldAggregates)) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
if (!this.haveSameAggregateFields(newAggregates, oldAggregates)) {
|
|
176
|
+
this.init();
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
this.tabulator.recalc();
|
|
180
|
+
this.tabulator.rowManager.redraw();
|
|
181
|
+
}
|
|
167
182
|
updateSelection(newSelection) {
|
|
168
183
|
if (!this.tableSelection) {
|
|
169
184
|
return;
|
|
@@ -174,6 +189,11 @@ export class Table {
|
|
|
174
189
|
return (newColumns.length === oldColumns.length &&
|
|
175
190
|
newColumns.every((column) => oldColumns.includes(column)));
|
|
176
191
|
}
|
|
192
|
+
haveSameAggregateFields(newAggregates, oldAggregates) {
|
|
193
|
+
const oldAggregateFields = (oldAggregates === null || oldAggregates === void 0 ? void 0 : oldAggregates.map((a) => a.field)) || [];
|
|
194
|
+
return ((newAggregates === null || newAggregates === void 0 ? void 0 : newAggregates.length) === (oldAggregates === null || oldAggregates === void 0 ? void 0 : oldAggregates.length) &&
|
|
195
|
+
!!(newAggregates === null || newAggregates === void 0 ? void 0 : newAggregates.every((a) => oldAggregateFields.includes(a.field))));
|
|
196
|
+
}
|
|
177
197
|
init() {
|
|
178
198
|
if (this.tabulator) {
|
|
179
199
|
this.pool.releaseAll();
|
|
@@ -237,12 +257,39 @@ export class Table {
|
|
|
237
257
|
});
|
|
238
258
|
}
|
|
239
259
|
getColumnDefinitions() {
|
|
240
|
-
const columnDefinitions = this.columns
|
|
260
|
+
const columnDefinitions = this.columns
|
|
261
|
+
.map(this.addColumnAggregator)
|
|
262
|
+
.map(this.columnFactory.create);
|
|
241
263
|
if (this.tableSelection) {
|
|
242
264
|
return this.tableSelection.getColumnDefinitions(columnDefinitions);
|
|
243
265
|
}
|
|
244
266
|
return columnDefinitions;
|
|
245
267
|
}
|
|
268
|
+
addColumnAggregator(column) {
|
|
269
|
+
var _a;
|
|
270
|
+
if (!((_a = this.aggregates) === null || _a === void 0 ? void 0 : _a.length) || column.aggregator) {
|
|
271
|
+
return column;
|
|
272
|
+
}
|
|
273
|
+
const aggregate = this.aggregates.find((a) => a.field === column.field);
|
|
274
|
+
if (aggregate) {
|
|
275
|
+
column.aggregator = (col,
|
|
276
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
277
|
+
_values,
|
|
278
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
279
|
+
_data) => {
|
|
280
|
+
var _a;
|
|
281
|
+
if (!col) {
|
|
282
|
+
return undefined;
|
|
283
|
+
}
|
|
284
|
+
const value = (_a = this.aggregates.find((a) => a.field === col.field)) === null || _a === void 0 ? void 0 : _a.value;
|
|
285
|
+
if (col.formatter) {
|
|
286
|
+
return col.formatter(value);
|
|
287
|
+
}
|
|
288
|
+
return value;
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
return column;
|
|
292
|
+
}
|
|
246
293
|
getAjaxOptions() {
|
|
247
294
|
if (!this.isRemoteMode()) {
|
|
248
295
|
return {};
|
|
@@ -608,6 +655,26 @@ export class Table {
|
|
|
608
655
|
"attribute": "empty-message",
|
|
609
656
|
"reflect": false
|
|
610
657
|
},
|
|
658
|
+
"aggregates": {
|
|
659
|
+
"type": "unknown",
|
|
660
|
+
"mutable": false,
|
|
661
|
+
"complexType": {
|
|
662
|
+
"original": "ColumnAggregate[]",
|
|
663
|
+
"resolved": "ColumnAggregate[]",
|
|
664
|
+
"references": {
|
|
665
|
+
"ColumnAggregate": {
|
|
666
|
+
"location": "import",
|
|
667
|
+
"path": "./table.types"
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"required": false,
|
|
672
|
+
"optional": false,
|
|
673
|
+
"docs": {
|
|
674
|
+
"tags": [],
|
|
675
|
+
"text": "Column aggregates to be displayed in the table"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
611
678
|
"selectable": {
|
|
612
679
|
"type": "boolean",
|
|
613
680
|
"mutable": false,
|
|
@@ -781,6 +848,9 @@ export class Table {
|
|
|
781
848
|
}, {
|
|
782
849
|
"propName": "columns",
|
|
783
850
|
"methodName": "updateColumns"
|
|
851
|
+
}, {
|
|
852
|
+
"propName": "aggregates",
|
|
853
|
+
"methodName": "updateAggregates"
|
|
784
854
|
}, {
|
|
785
855
|
"propName": "selection",
|
|
786
856
|
"methodName": "updateSelection"
|
|
@@ -10,37 +10,36 @@
|
|
|
10
10
|
@use '../brand-colors';
|
|
11
11
|
@use '../_theme-color-variables';
|
|
12
12
|
|
|
13
|
-
@use '@material/theme' with
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
);
|
|
13
|
+
@use '@material/theme' with (
|
|
14
|
+
$primary: brand-colors.$lime-turquoise,
|
|
15
|
+
$secondary: brand-colors.$lime-dark-grey,
|
|
16
|
+
$background: #fff,
|
|
17
|
+
$surface: #fff,
|
|
18
|
+
$error: #b00020,
|
|
19
|
+
$on-primary: #fff,
|
|
20
|
+
$on-secondary: #fff,
|
|
21
|
+
$on-surface: #000,
|
|
22
|
+
$on-error: #fff,
|
|
23
|
+
// $text-disabled-on-background: rgba(0, 0, 0, 0.38),
|
|
24
|
+
// $text-hint-on-light: rgba(0, 0, 0, 0.38),
|
|
25
|
+
// $text-primary-on-background: rgba(0, 0, 0, 0.87),
|
|
26
|
+
// $text-secondary-on-background: rgba(0, 0, 0, 0.54),
|
|
27
|
+
//
|
|
28
|
+
// The following variables are also available to be set if needed
|
|
29
|
+
// (note by Ads: they probably aren't available in MDC v11)
|
|
30
|
+
//
|
|
31
|
+
// $text-hint-on-background: rgba(0, 0, 0, 0.38),
|
|
32
|
+
// $text-icon-on-background: rgba(0, 0, 0, 0.38),
|
|
33
|
+
// $text-primary-on-light: rgba(0, 0, 0, 0.87),
|
|
34
|
+
// $text-secondary-on-light: rgba(0, 0, 0, 0.54),
|
|
35
|
+
// $text-disabled-on-light: rgba(0, 0, 0, 0.38),
|
|
36
|
+
// $text-icon-on-light: rgba(0, 0, 0, 0.38),
|
|
37
|
+
// $text-primary-on-dark: white,
|
|
38
|
+
// $text-secondary-on-dark: rgba(255, 255, 255, 0.7),
|
|
39
|
+
// $text-hint-on-dark: rgba(255, 255, 255, 0.5),
|
|
40
|
+
// $text-disabled-on-dark: rgba(255, 255, 255, 0.5),
|
|
41
|
+
// $text-icon-on-dark: rgba(255, 255, 255, 0.5),
|
|
42
|
+
);
|
|
44
43
|
@forward '@material/theme';
|
|
45
44
|
|
|
46
45
|
@use './lime-typography';
|
|
@@ -9,60 +9,59 @@
|
|
|
9
9
|
|
|
10
10
|
@use '../functions';
|
|
11
11
|
|
|
12
|
-
@use '@material/typography' with
|
|
13
|
-
(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
);
|
|
12
|
+
@use '@material/typography' with (
|
|
13
|
+
$styles-headline1: (
|
|
14
|
+
font-size: functions.pxToRem(22),
|
|
15
|
+
line-height: functions.pxToRem(22),
|
|
16
|
+
),
|
|
17
|
+
$styles-headline2: (
|
|
18
|
+
font-size: functions.pxToRem(16),
|
|
19
|
+
line-height: functions.pxToRem(14),
|
|
20
|
+
),
|
|
21
|
+
$styles-headline3: (
|
|
22
|
+
font-size: functions.pxToRem(16),
|
|
23
|
+
line-height: functions.pxToRem(14),
|
|
24
|
+
),
|
|
25
|
+
$styles-headline4: (
|
|
26
|
+
font-size: functions.pxToRem(16),
|
|
27
|
+
line-height: functions.pxToRem(14),
|
|
28
|
+
),
|
|
29
|
+
$styles-headline5: (
|
|
30
|
+
font-size: functions.pxToRem(14),
|
|
31
|
+
line-height: functions.pxToRem(14),
|
|
32
|
+
),
|
|
33
|
+
$styles-headline6: (
|
|
34
|
+
font-size: functions.pxToRem(14),
|
|
35
|
+
line-height: functions.pxToRem(14),
|
|
36
|
+
),
|
|
37
|
+
$styles-subtitle1: (
|
|
38
|
+
font-size: functions.pxToRem(14),
|
|
39
|
+
line-height: functions.pxToRem(18),
|
|
40
|
+
),
|
|
41
|
+
$styles-subtitle2: (
|
|
42
|
+
font-size: functions.pxToRem(13),
|
|
43
|
+
line-height: functions.pxToRem(18),
|
|
44
|
+
),
|
|
45
|
+
$styles-body1: (
|
|
46
|
+
font-size: functions.pxToRem(13),
|
|
47
|
+
line-height: functions.pxToRem(24),
|
|
48
|
+
),
|
|
49
|
+
$styles-body2: (
|
|
50
|
+
font-size: functions.pxToRem(13),
|
|
51
|
+
line-height: functions.pxToRem(26),
|
|
52
|
+
),
|
|
53
|
+
$styles-caption: (
|
|
54
|
+
font-size: functions.pxToRem(11),
|
|
55
|
+
line-height: functions.pxToRem(14),
|
|
56
|
+
),
|
|
57
|
+
$styles-button: (
|
|
58
|
+
font-size: functions.pxToRem(14),
|
|
59
|
+
line-height: functions.pxToRem(36),
|
|
60
|
+
text-transform: none,
|
|
61
|
+
),
|
|
62
|
+
$styles-overline: (
|
|
63
|
+
font-size: functions.pxToRem(11),
|
|
64
|
+
line-height: functions.pxToRem(14),
|
|
65
|
+
)
|
|
66
|
+
);
|
|
68
67
|
@forward '@material/typography';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-2316f345.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["limel-color-picker",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"readonly":[516],"isOpen":[32]}]]],["limel-picker",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-button-group",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]}]]],["limel-select",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-tab-panel",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu",[[1,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"]}]]],["limel-button",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"actions":[16]}]]],["limel-dialog",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-progress-flow",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-checkbox",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"modified":[32]}]]],["limel-table",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[1],"pageSize":[2,"page-size"],"totalRows":[2,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[4,"movable-columns"],"loading":[4],"page":[2],"emptyMessage":[1,"empty-message"],"selectable":[4],"selection":[16]}]]],["limel-banner",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-circular-progress",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["limel-code-editor",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[4],"lineNumbers":[4,"line-numbers"],"colorScheme":[1,"color-scheme"],"random":[32]}]]],["limel-config",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-form",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16]}]]],["limel-grid",[[1,"limel-grid"]]],["limel-linear-progress",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-slider",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32]}]]],["limel-snackbar",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"show":[64]}]]],["limel-switch",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"value":[516],"fieldId":[32]}]]],["limel-tab-bar",[[1,"limel-tab-bar",{"tabs":[1040],"canScrollLeft":[32],"canScrollRight":[32]},[[9,"resize","handleWindowResize"]]]]],["limel-header",[[1,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"]}]]],["limel-progress-flow-item",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4]}]]],["limel-flatpickr-adapter",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1]}]]],["limel-menu-list",[[1,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}]]],["limel-popover-surface",[[1,"limel-popover-surface",{"contentCollection":[16]}]]],["limel-icon",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-input-field",[[1,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"showLink":[516,"show-link"],"isFocused":[32],"isModified":[32],"showCompletions":[32]}]]],["limel-color-picker-palette_2",[[1,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"required":[516]}],[1,"limel-popover",{"open":[4]}]]],["limel-badge",[[1,"limel-badge",{"label":[514]}]]],["limel-chip-set",[[1,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]}]]],["limel-icon-button",[[1,"limel-icon-button",{"icon":[513],"elevated":[516],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-spinner",[[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["limel-list_3",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}],[1,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-portal",{"openDirection":[1,"open-direction"],"position":[1],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16],"inheritParentWidth":[4,"inherit-parent-width"],"visible":[4]}]]],["limel-tooltip_2",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"open":[32]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514]}]]]], options);
|
|
16
|
+
return bootstrapLazy([["limel-color-picker",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"readonly":[516],"isOpen":[32]}]]],["limel-picker",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-button-group",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]}]]],["limel-select",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-tab-panel",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu",[[1,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"]}]]],["limel-button",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"actions":[16]}]]],["limel-dialog",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-progress-flow",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-checkbox",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"modified":[32]}]]],["limel-table",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[1],"pageSize":[2,"page-size"],"totalRows":[2,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[4,"movable-columns"],"loading":[4],"page":[2],"emptyMessage":[1,"empty-message"],"aggregates":[16],"selectable":[4],"selection":[16]}]]],["limel-banner",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-circular-progress",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["limel-code-editor",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[4],"lineNumbers":[4,"line-numbers"],"colorScheme":[1,"color-scheme"],"random":[32]}]]],["limel-config",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-form",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16]}]]],["limel-grid",[[1,"limel-grid"]]],["limel-linear-progress",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-slider",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32]}]]],["limel-snackbar",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"show":[64]}]]],["limel-switch",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"value":[516],"fieldId":[32]}]]],["limel-tab-bar",[[1,"limel-tab-bar",{"tabs":[1040],"canScrollLeft":[32],"canScrollRight":[32]},[[9,"resize","handleWindowResize"]]]]],["limel-header",[[1,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"]}]]],["limel-progress-flow-item",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4]}]]],["limel-flatpickr-adapter",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1]}]]],["limel-menu-list",[[1,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}]]],["limel-popover-surface",[[1,"limel-popover-surface",{"contentCollection":[16]}]]],["limel-icon",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-input-field",[[1,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"showLink":[516,"show-link"],"isFocused":[32],"isModified":[32],"showCompletions":[32]}]]],["limel-color-picker-palette_2",[[1,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"required":[516]}],[1,"limel-popover",{"open":[4]}]]],["limel-badge",[[1,"limel-badge",{"label":[514]}]]],["limel-chip-set",[[1,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]}]]],["limel-icon-button",[[1,"limel-icon-button",{"icon":[513],"elevated":[516],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-spinner",[[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["limel-list_3",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}],[1,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-portal",{"openDirection":[1,"open-direction"],"position":[1],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16],"inheritParentWidth":[4,"inherit-parent-width"],"visible":[4]}]]],["limel-tooltip_2",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"open":[32]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514]}]]]], options);
|
|
17
17
|
});
|
|
@@ -23800,7 +23800,10 @@ function findFirstEntry(data, subSchema) {
|
|
|
23800
23800
|
getRequiredEntry(data, subSchema),
|
|
23801
23801
|
...Object.entries(data),
|
|
23802
23802
|
];
|
|
23803
|
-
return entries.filter((
|
|
23803
|
+
return entries.filter((entry) => {
|
|
23804
|
+
const value = entry[1];
|
|
23805
|
+
return !!value && typeof value !== 'boolean';
|
|
23806
|
+
})[0];
|
|
23804
23807
|
}
|
|
23805
23808
|
function getRequiredEntry(data, subSchema) {
|
|
23806
23809
|
if (!('required' in subSchema)) {
|