@limetech/lime-elements 35.0.0-next.3 → 35.0.0-next.4
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 +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +308 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/table/columns.js +1 -1
- package/dist/collection/components/table/selection.js +111 -0
- package/dist/collection/components/table/table-selection.js +125 -0
- package/dist/collection/components/table/table.css +115 -32
- package/dist/collection/components/table/table.js +136 -3
- package/dist/collection/style/internal/z-index.scss +2 -1
- package/dist/esm/{component-2eb4e07b.js → component-834d85a1.js} +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list_3.entry.js +2 -2
- package/dist/esm/limel-menu-list.entry.js +2 -2
- package/dist/esm/limel-slider.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +308 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{util-71a23335.js → util-f1bde91c.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-bc0dcf01.entry.js → p-8707d77b.entry.js} +1 -1
- package/dist/lime-elements/{p-31299106.js → p-90c6fa15.js} +1 -1
- package/dist/lime-elements/{p-6cfb45a1.entry.js → p-98d50f52.entry.js} +1 -1
- package/dist/lime-elements/{p-152a6d5f.js → p-9faad6eb.js} +1 -1
- package/dist/lime-elements/{p-96e44a1e.entry.js → p-a93f4190.entry.js} +1 -1
- package/dist/lime-elements/{p-13f0e4f4.entry.js → p-ce7a1004.entry.js} +1 -1
- package/dist/lime-elements/{p-b2a8cb31.entry.js → p-df8faeb4.entry.js} +1 -1
- package/dist/lime-elements/{p-64549ba6.entry.js → p-e275f502.entry.js} +2 -2
- package/dist/lime-elements/style/internal/z-index.scss +2 -1
- package/dist/types/components/table/columns.d.ts +7 -0
- package/dist/types/components/table/selection.d.ts +79 -0
- package/dist/types/components/table/table-selection.d.ts +57 -0
- package/dist/types/components/table/table.d.ts +31 -6
- package/dist/types/components.d.ts +24 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import TabulatorTable from 'tabulator-tables';
|
|
|
3
3
|
import { ColumnDefinitionFactory, createColumnSorter } from './columns';
|
|
4
4
|
import { isEqual, has } from 'lodash-es';
|
|
5
5
|
import { ElementPool } from './element-pool';
|
|
6
|
+
import { TableSelection } from './table-selection';
|
|
6
7
|
const FIRST_PAGE = 1;
|
|
7
8
|
/**
|
|
8
9
|
* @exampleComponent limel-example-table
|
|
@@ -12,6 +13,7 @@ const FIRST_PAGE = 1;
|
|
|
12
13
|
* @exampleComponent limel-example-table-local
|
|
13
14
|
* @exampleComponent limel-example-table-remote
|
|
14
15
|
* @exampleComponent limel-example-table-activate-row
|
|
16
|
+
* @exampleComponent limel-example-table-selectable-rows
|
|
15
17
|
* @exampleComponent limel-example-table-default-sorted
|
|
16
18
|
* @exampleComponent limel-example-table-low-density
|
|
17
19
|
*/
|
|
@@ -44,6 +46,27 @@ export class Table {
|
|
|
44
46
|
* The page to show
|
|
45
47
|
*/
|
|
46
48
|
this.page = FIRST_PAGE;
|
|
49
|
+
this.getActiveRows = () => {
|
|
50
|
+
if (!this.tabulator) {
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
return this.tabulator.getRows('active');
|
|
54
|
+
};
|
|
55
|
+
this.getActiveRowsData = () => {
|
|
56
|
+
// Note: Tabulator.getData() creates copies of each data object
|
|
57
|
+
// and will break this.selection.has checks, hence why this function
|
|
58
|
+
// intentionally retrieves the data using the row components
|
|
59
|
+
return this.getActiveRows().map((row) => row.getData());
|
|
60
|
+
};
|
|
61
|
+
this.selectAllOnChange = (ev) => {
|
|
62
|
+
const selectAll = ev.detail;
|
|
63
|
+
ev.stopPropagation();
|
|
64
|
+
ev.preventDefault();
|
|
65
|
+
const newSelection = selectAll ? this.getActiveRowsData() : [];
|
|
66
|
+
this.select.emit(newSelection);
|
|
67
|
+
this.tableSelection.setSelection(newSelection);
|
|
68
|
+
this.selectAll.emit(selectAll);
|
|
69
|
+
};
|
|
47
70
|
this.getColumnOptions = () => {
|
|
48
71
|
if (!this.movableColumns) {
|
|
49
72
|
return {};
|
|
@@ -69,13 +92,19 @@ export class Table {
|
|
|
69
92
|
this.requestData = this.requestData.bind(this);
|
|
70
93
|
this.onClickRow = this.onClickRow.bind(this);
|
|
71
94
|
this.formatRow = this.formatRow.bind(this);
|
|
95
|
+
this.formatRows = this.formatRows.bind(this);
|
|
72
96
|
this.updateMaxPage = this.updateMaxPage.bind(this);
|
|
73
97
|
this.initTabulatorComponent = this.initTabulatorComponent.bind(this);
|
|
98
|
+
this.setSelection = this.setSelection.bind(this);
|
|
74
99
|
this.pool = new ElementPool(document);
|
|
75
100
|
this.columnFactory = new ColumnDefinitionFactory(this.pool);
|
|
76
101
|
}
|
|
77
102
|
componentWillLoad() {
|
|
78
103
|
this.firstRequest = this.mode === 'remote';
|
|
104
|
+
if (this.selectable) {
|
|
105
|
+
this.tableSelection = new TableSelection(() => this.tabulator, this.pool, this.select);
|
|
106
|
+
this.tableSelection.setSelection(this.selection);
|
|
107
|
+
}
|
|
79
108
|
}
|
|
80
109
|
componentDidLoad() {
|
|
81
110
|
this.init();
|
|
@@ -102,7 +131,7 @@ export class Table {
|
|
|
102
131
|
if (!this.tabulator) {
|
|
103
132
|
return;
|
|
104
133
|
}
|
|
105
|
-
this.
|
|
134
|
+
this.formatRows();
|
|
106
135
|
}
|
|
107
136
|
updateData(newData = [], oldData = []) {
|
|
108
137
|
if (isEqual(newData, oldData)) {
|
|
@@ -114,6 +143,7 @@ export class Table {
|
|
|
114
143
|
return;
|
|
115
144
|
}
|
|
116
145
|
this.tabulator.replaceData(this.data);
|
|
146
|
+
this.setSelection();
|
|
117
147
|
});
|
|
118
148
|
}
|
|
119
149
|
updateColumns(newColumns, oldColumns) {
|
|
@@ -133,6 +163,12 @@ export class Table {
|
|
|
133
163
|
// afterwards
|
|
134
164
|
this.init();
|
|
135
165
|
}
|
|
166
|
+
updateSelection(newSelection) {
|
|
167
|
+
if (!this.tableSelection) {
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
this.tableSelection.setSelection(newSelection);
|
|
171
|
+
}
|
|
136
172
|
areSameColumns(newColumns, oldColumns) {
|
|
137
173
|
return (newColumns.length === oldColumns.length &&
|
|
138
174
|
newColumns.every((column) => oldColumns.includes(column)));
|
|
@@ -163,14 +199,22 @@ export class Table {
|
|
|
163
199
|
// matter if its rendered or not.
|
|
164
200
|
if (!('ResizeObserver' in window)) {
|
|
165
201
|
this.tabulator = new TabulatorTable(table, options);
|
|
202
|
+
this.setSelection();
|
|
166
203
|
return;
|
|
167
204
|
}
|
|
168
205
|
const observer = new ResizeObserver(() => {
|
|
169
206
|
this.tabulator = new TabulatorTable(table, options);
|
|
207
|
+
this.setSelection();
|
|
170
208
|
observer.unobserve(table);
|
|
171
209
|
});
|
|
172
210
|
observer.observe(table);
|
|
173
211
|
}
|
|
212
|
+
setSelection() {
|
|
213
|
+
if (!(this.tabulator && this.tableSelection)) {
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
this.tableSelection.setSelection(this.selection);
|
|
217
|
+
}
|
|
174
218
|
updateMaxPage() {
|
|
175
219
|
var _a;
|
|
176
220
|
(_a = this.tabulator) === null || _a === void 0 ? void 0 : _a.setMaxPage(this.calculatePageCount());
|
|
@@ -192,7 +236,11 @@ export class Table {
|
|
|
192
236
|
});
|
|
193
237
|
}
|
|
194
238
|
getColumnDefinitions() {
|
|
195
|
-
|
|
239
|
+
const columnDefinitions = this.columns.map(this.columnFactory.create);
|
|
240
|
+
if (this.tableSelection) {
|
|
241
|
+
return this.tableSelection.getColumnDefinitions(columnDefinitions);
|
|
242
|
+
}
|
|
243
|
+
return columnDefinitions;
|
|
196
244
|
}
|
|
197
245
|
getAjaxOptions() {
|
|
198
246
|
if (!this.isRemoteMode()) {
|
|
@@ -291,7 +339,11 @@ export class Table {
|
|
|
291
339
|
}
|
|
292
340
|
this.changePage.emit(page);
|
|
293
341
|
}
|
|
294
|
-
onClickRow(
|
|
342
|
+
onClickRow(_ev, row) {
|
|
343
|
+
if (typeof row.getPosition === 'undefined') {
|
|
344
|
+
// Not a data row, probably a CalcComponent
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
295
347
|
if (this.activeRow === row.getData()) {
|
|
296
348
|
this.activeRow = null;
|
|
297
349
|
}
|
|
@@ -300,6 +352,9 @@ export class Table {
|
|
|
300
352
|
}
|
|
301
353
|
this.activate.emit(this.activeRow);
|
|
302
354
|
}
|
|
355
|
+
formatRows() {
|
|
356
|
+
this.tabulator.getRows().forEach(this.formatRow);
|
|
357
|
+
}
|
|
303
358
|
formatRow(row) {
|
|
304
359
|
if (this.activeRow === row.getData()) {
|
|
305
360
|
row.getElement().classList.add('active');
|
|
@@ -319,16 +374,29 @@ export class Table {
|
|
|
319
374
|
return columns.some((column) => has(column, 'aggregator'));
|
|
320
375
|
}
|
|
321
376
|
render() {
|
|
377
|
+
var _a;
|
|
322
378
|
return (h("div", { id: "tabulator-container" },
|
|
323
379
|
h("div", { id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } },
|
|
324
380
|
h("limel-spinner", { size: "large" })),
|
|
325
381
|
this.renderEmptyMessage(),
|
|
382
|
+
this.renderSelectAll(),
|
|
326
383
|
h("div", { id: "tabulator-table", class: {
|
|
327
384
|
'has-pagination': this.totalRows > this.pageSize,
|
|
328
385
|
'has-aggregation': this.hasAggregation(this.columns),
|
|
329
386
|
'has-movable-columns': this.movableColumns,
|
|
387
|
+
'has-rowselector': this.selectable,
|
|
388
|
+
'has-selection': (_a = this.tableSelection) === null || _a === void 0 ? void 0 : _a.hasSelection,
|
|
330
389
|
} })));
|
|
331
390
|
}
|
|
391
|
+
renderSelectAll() {
|
|
392
|
+
if (!this.selectable) {
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
const showSelectAll = !this.loading && this.tableSelection;
|
|
396
|
+
return (h("div", { class: "select-all", style: { display: showSelectAll ? 'inline-block' : 'none' } },
|
|
397
|
+
h("limel-checkbox", { onChange: this.selectAllOnChange, checked: this.tableSelection.hasSelection, indeterminate: this.tableSelection.hasSelection &&
|
|
398
|
+
this.selection.length < this.data.length })));
|
|
399
|
+
}
|
|
332
400
|
renderEmptyMessage() {
|
|
333
401
|
const showEmptyMessage = !this.loading && !this.data.length && this.emptyMessage;
|
|
334
402
|
return (h("div", { id: "tabulator-empty-text", style: { display: showEmptyMessage ? 'flex' : 'none' } },
|
|
@@ -537,6 +605,38 @@ export class Table {
|
|
|
537
605
|
},
|
|
538
606
|
"attribute": "empty-message",
|
|
539
607
|
"reflect": false
|
|
608
|
+
},
|
|
609
|
+
"selectable": {
|
|
610
|
+
"type": "boolean",
|
|
611
|
+
"mutable": false,
|
|
612
|
+
"complexType": {
|
|
613
|
+
"original": "boolean",
|
|
614
|
+
"resolved": "boolean",
|
|
615
|
+
"references": {}
|
|
616
|
+
},
|
|
617
|
+
"required": false,
|
|
618
|
+
"optional": false,
|
|
619
|
+
"docs": {
|
|
620
|
+
"tags": [],
|
|
621
|
+
"text": "Enables row selection"
|
|
622
|
+
},
|
|
623
|
+
"attribute": "selectable",
|
|
624
|
+
"reflect": false
|
|
625
|
+
},
|
|
626
|
+
"selection": {
|
|
627
|
+
"type": "unknown",
|
|
628
|
+
"mutable": false,
|
|
629
|
+
"complexType": {
|
|
630
|
+
"original": "object[]",
|
|
631
|
+
"resolved": "object[]",
|
|
632
|
+
"references": {}
|
|
633
|
+
},
|
|
634
|
+
"required": false,
|
|
635
|
+
"optional": false,
|
|
636
|
+
"docs": {
|
|
637
|
+
"tags": [],
|
|
638
|
+
"text": "Selected data. Requires `selectable` to be true."
|
|
639
|
+
}
|
|
540
640
|
}
|
|
541
641
|
}; }
|
|
542
642
|
static get events() { return [{
|
|
@@ -629,6 +729,36 @@ export class Table {
|
|
|
629
729
|
}
|
|
630
730
|
}
|
|
631
731
|
}
|
|
732
|
+
}, {
|
|
733
|
+
"method": "select",
|
|
734
|
+
"name": "select",
|
|
735
|
+
"bubbles": true,
|
|
736
|
+
"cancelable": true,
|
|
737
|
+
"composed": true,
|
|
738
|
+
"docs": {
|
|
739
|
+
"tags": [],
|
|
740
|
+
"text": "Emitted when the row selection has been changed"
|
|
741
|
+
},
|
|
742
|
+
"complexType": {
|
|
743
|
+
"original": "object[]",
|
|
744
|
+
"resolved": "object[]",
|
|
745
|
+
"references": {}
|
|
746
|
+
}
|
|
747
|
+
}, {
|
|
748
|
+
"method": "selectAll",
|
|
749
|
+
"name": "selectAll",
|
|
750
|
+
"bubbles": true,
|
|
751
|
+
"cancelable": true,
|
|
752
|
+
"composed": true,
|
|
753
|
+
"docs": {
|
|
754
|
+
"tags": [],
|
|
755
|
+
"text": "Emitted when the select all rows state is toggled"
|
|
756
|
+
},
|
|
757
|
+
"complexType": {
|
|
758
|
+
"original": "boolean",
|
|
759
|
+
"resolved": "boolean",
|
|
760
|
+
"references": {}
|
|
761
|
+
}
|
|
632
762
|
}]; }
|
|
633
763
|
static get elementRef() { return "host"; }
|
|
634
764
|
static get watchers() { return [{
|
|
@@ -649,5 +779,8 @@ export class Table {
|
|
|
649
779
|
}, {
|
|
650
780
|
"propName": "columns",
|
|
651
781
|
"methodName": "updateColumns"
|
|
782
|
+
}, {
|
|
783
|
+
"propName": "selection",
|
|
784
|
+
"methodName": "updateSelection"
|
|
652
785
|
}]; }
|
|
653
786
|
}
|
|
@@ -9,7 +9,8 @@ $input-field--mdc-text-field__input--readonly: 1 !default;
|
|
|
9
9
|
$list--has-interactive-items--mdc-list-item--hover: 1 !default;
|
|
10
10
|
$list-static-actions-list: 1 !default;
|
|
11
11
|
$tab-bar--active-tab: 2 !default;
|
|
12
|
-
$table--has-interactive-rows--selectable-row--hover:
|
|
12
|
+
$table--has-interactive-rows--selectable-row--hover: 2 !default;
|
|
13
|
+
$table--limel-table--row-selector: 1 !default;
|
|
13
14
|
$popover-before: -1 !default;
|
|
14
15
|
$button-group-radio-button-keyboard-focused: 1 !default;
|
|
15
16
|
$list-mdc-list-item: 0 !default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as MDCFoundation, a as MDCComponent } from './component-d682c974.js';
|
|
2
2
|
import { m as matches, c as closest } from './ponyfill-30263d5e.js';
|
|
3
3
|
import { n as normalizeKey } from './keyboard-4b9e12e3.js';
|
|
4
|
-
import {
|
|
4
|
+
import { g as getCorrectPropertyName } from './util-f1bde91c.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
@@ -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-
|
|
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);
|
|
17
17
|
});
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, g as getElement } from './i
|
|
|
2
2
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
3
|
import { C as CheckboxTemplate } from './checkbox.template-50f7c07b.js';
|
|
4
4
|
import { M as MDCFoundation, a as MDCComponent } from './component-d682c974.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as getCorrectEventName } from './util-f1bde91c.js';
|
|
6
6
|
import { M as MDCRipple, a as applyPassive, b as MDCRippleFoundation } from './component-429e92ee.js';
|
|
7
7
|
import { m as matches } from './ponyfill-30263d5e.js';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-2316f345.js';
|
|
2
2
|
import { M as MDCFoundation, a as MDCComponent } from './component-d682c974.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as getCorrectPropertyName } from './util-f1bde91c.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-2316f345.js';
|
|
2
|
-
import { d as MDCList, s as strings, b as MDCMenuSurface, C as Corner } from './component-
|
|
2
|
+
import { d as MDCList, s as strings, b as MDCMenuSurface, C as Corner } from './component-834d85a1.js';
|
|
3
3
|
import { C as CheckboxTemplate } from './checkbox.template-50f7c07b.js';
|
|
4
4
|
import { M as MDCRipple } from './component-429e92ee.js';
|
|
5
5
|
import { i as isDescendant } from './dom-0f79cbe7.js';
|
|
@@ -7,7 +7,7 @@ import { b as ESCAPE, d as ESCAPE_KEY_CODE, T as TAB, c as TAB_KEY_CODE } from '
|
|
|
7
7
|
import './component-d682c974.js';
|
|
8
8
|
import './ponyfill-30263d5e.js';
|
|
9
9
|
import './keyboard-4b9e12e3.js';
|
|
10
|
-
import './util-
|
|
10
|
+
import './util-f1bde91c.js';
|
|
11
11
|
|
|
12
12
|
const RadioButtonTemplate = (props) => {
|
|
13
13
|
return (h("div", { class: "mdc-form-field" },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-2316f345.js';
|
|
2
|
-
import { M as MDCMenuSurfaceFoundation, c as cssClasses$1, a as MDCListFoundation, n as numbers$1, b as MDCMenuSurface, d as MDCList, s as strings$1 } from './component-
|
|
2
|
+
import { M as MDCMenuSurfaceFoundation, c as cssClasses$1, a as MDCListFoundation, n as numbers$1, b as MDCMenuSurface, d as MDCList, s as strings$1 } from './component-834d85a1.js';
|
|
3
3
|
import { M as MDCFoundation, a as MDCComponent } from './component-d682c974.js';
|
|
4
4
|
import { c as closest } from './ponyfill-30263d5e.js';
|
|
5
5
|
import { M as MDCRipple } from './component-429e92ee.js';
|
|
6
6
|
import './keyboard-4b9e12e3.js';
|
|
7
|
-
import './util-
|
|
7
|
+
import './util-f1bde91c.js';
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
@@ -3,7 +3,7 @@ import { M as MDCFoundation, a as MDCComponent } from './component-d682c974.js';
|
|
|
3
3
|
import { M as MDCRipple, a as applyPassive, b as MDCRippleFoundation } from './component-429e92ee.js';
|
|
4
4
|
import { m as matches } from './ponyfill-30263d5e.js';
|
|
5
5
|
import { A as AnimationFrame } from './animationframe-b52af02d.js';
|
|
6
|
-
import {
|
|
6
|
+
import { g as getCorrectPropertyName } from './util-f1bde91c.js';
|
|
7
7
|
|
|
8
8
|
/*! *****************************************************************************
|
|
9
9
|
Copyright (c) Microsoft Corporation.
|