@mintplayer/web-components 1.5.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/index.d.ts +1 -0
- package/calendar/index.d.ts +1 -0
- package/card/index.d.ts +1 -0
- package/checkbox/index.d.ts +1 -0
- package/checkbox/src/components/mp-checkbox.d.ts +1 -1
- package/chunks/{color-C4VT0EL7.mjs → color-CyamnJnn.mjs} +4 -4
- package/chunks/{mp-datatable-Con0yQue.mjs → mp-datatable-mZ6EkXmp.mjs} +326 -228
- package/code-snippet/index.d.ts +1 -0
- package/datatable/index.d.ts +1 -0
- package/datatable/index.mjs +1 -1
- package/datatable/src/components/mp-datatable.d.ts +80 -14
- package/datatable/src/index.d.ts +1 -1
- package/datatable/src/types/index.d.ts +1 -1
- package/datatable/src/types/tree.d.ts +19 -9
- package/datepicker/index.d.ts +1 -0
- package/datetime-picker/index.d.ts +1 -0
- package/dock/index.d.ts +1 -0
- package/file-manager/index.d.ts +1 -0
- package/file-manager/index.mjs +1 -1
- package/multi-range/index.d.ts +1 -0
- package/otp-input/index.d.ts +1 -0
- package/overlay/index.d.ts +1 -0
- package/package.json +123 -3
- package/pagination/index.d.ts +1 -0
- package/query-builder/index.d.ts +1 -0
- package/radio/index.d.ts +1 -0
- package/radio/src/components/mp-radio.d.ts +1 -1
- package/ribbon/index.d.ts +1 -0
- package/scheduler/index.d.ts +1 -0
- package/scheduler/index.mjs +1 -1
- package/scheduler-core/index.d.ts +1 -0
- package/scheduler-core/index.mjs +2 -2
- package/select/index.d.ts +1 -0
- package/select/src/components/mp-select.d.ts +1 -1
- package/shell/index.d.ts +1 -0
- package/splitter/index.d.ts +1 -0
- package/tab-control/index.d.ts +1 -0
- package/tile-manager/index.d.ts +1 -0
- package/timeline/index.d.ts +1 -0
- package/timeline-core/index.d.ts +1 -0
- package/timepicker/index.d.ts +1 -0
- package/toggle-button/index.d.ts +1 -0
- package/toggle-button/src/components/mp-toggle-button.d.ts +1 -1
- package/tree-select/index.d.ts +1 -0
- package/treeview/index.d.ts +1 -0
- package/accordion/src/styles/accordion.styles.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/datatable/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from 'lit';
|
|
2
2
|
import { SortColumn } from '../sort';
|
|
3
|
-
import { DatatableColumnDef, RowKey, RowRenderer,
|
|
3
|
+
import { DatatableColumnDef, RowKey, RowRenderer, DatatableFetch, TreeIdKey, TreeSelectionStrategy } from '../types';
|
|
4
4
|
export type DatatableSelectionMode = 'none' | 'single' | 'multiple';
|
|
5
5
|
export interface RowEventDetail<T = unknown> {
|
|
6
6
|
row: T;
|
|
@@ -11,8 +11,16 @@ export interface RowEventDetail<T = unknown> {
|
|
|
11
11
|
export interface SortChangeEventDetail {
|
|
12
12
|
sortColumns: SortColumn[];
|
|
13
13
|
}
|
|
14
|
-
export interface SelectionChangeEventDetail {
|
|
14
|
+
export interface SelectionChangeEventDetail<T = unknown> {
|
|
15
15
|
selectedIds: string[];
|
|
16
|
+
/**
|
|
17
|
+
* The selected row objects, resolved from the WC's loaded data (page 1 +
|
|
18
|
+
* fetched windows + tree children). Since the WC owns the data when fetching,
|
|
19
|
+
* consumers can't resolve ids → rows themselves — this is how a consumer gets
|
|
20
|
+
* the actual selected records. An id whose row isn't currently loaded is
|
|
21
|
+
* omitted (shouldn't happen: you can only select a row you can see).
|
|
22
|
+
*/
|
|
23
|
+
selectedRows: T[];
|
|
16
24
|
}
|
|
17
25
|
/**
|
|
18
26
|
* `<mp-datatable>` — property-driven data grid.
|
|
@@ -72,6 +80,19 @@ export declare class MpDatatable extends LitElement {
|
|
|
72
80
|
private _childTotals;
|
|
73
81
|
/** Parents with an in-flight fetch; suppresses re-requests. */
|
|
74
82
|
private _pendingFetches;
|
|
83
|
+
/** Loaded rows per 1-based page (pages ≥ 2; page 1 is `_data`). */
|
|
84
|
+
private _pageCache;
|
|
85
|
+
/** Pages with an in-flight fetch; suppresses re-requests. */
|
|
86
|
+
private _pendingPageFetches;
|
|
87
|
+
private _fetch;
|
|
88
|
+
/** Bumped on invalidation; in-flight responses from an older generation are dropped. */
|
|
89
|
+
private _fetchGeneration;
|
|
90
|
+
/** Guards the one-time initial page-1 load. Reset by `invalidateData`. */
|
|
91
|
+
private _initialFetchDone;
|
|
92
|
+
/** Coalesces multiple setter calls in one flush into a single reload. */
|
|
93
|
+
private _reloadScheduled;
|
|
94
|
+
/** Last loaded {sort,perPage,page} signature — echoes with the same key skip. */
|
|
95
|
+
private _lastReloadKey;
|
|
75
96
|
/** Per-render memo of `getFlatList()`. Invalidated in `willUpdate`. */
|
|
76
97
|
private _cachedFlatList;
|
|
77
98
|
/** Per-render memo of the set of row keys whose loaded subtree is partially selected. */
|
|
@@ -99,6 +120,14 @@ export declare class MpDatatable extends LitElement {
|
|
|
99
120
|
set columns(value: DatatableColumnDef[]);
|
|
100
121
|
get data(): unknown[];
|
|
101
122
|
set data(value: unknown[]);
|
|
123
|
+
/**
|
|
124
|
+
* High-level fetch callback. When set, the WC owns the entire server-paged
|
|
125
|
+
* loop and the consumer provides nothing else — no page-1 seeding via `data`,
|
|
126
|
+
* no separate `totalRecords`, no event bridge. Works with any framework or
|
|
127
|
+
* none (`el.fetch = fn`). Setting it kicks off the initial page-1 load.
|
|
128
|
+
*/
|
|
129
|
+
get fetch(): DatatableFetch | null;
|
|
130
|
+
set fetch(value: DatatableFetch | null);
|
|
102
131
|
get sortColumns(): SortColumn[];
|
|
103
132
|
set sortColumns(value: SortColumn[]);
|
|
104
133
|
get selectionMode(): DatatableSelectionMode;
|
|
@@ -149,14 +178,22 @@ export declare class MpDatatable extends LitElement {
|
|
|
149
178
|
get perPageOptions(): number[];
|
|
150
179
|
set perPageOptions(value: number[]);
|
|
151
180
|
/**
|
|
152
|
-
*
|
|
153
|
-
* `
|
|
154
|
-
*
|
|
181
|
+
* Read-only grand total. Derived by the WC from the `fetch` response (server
|
|
182
|
+
* paging) or `_data.length` (static data) — consumers never set it. Exposed
|
|
183
|
+
* so a consumer can render "row X of N" if it wants.
|
|
155
184
|
*/
|
|
156
185
|
get totalRecords(): number | null;
|
|
157
|
-
set totalRecords(value: number | null);
|
|
158
186
|
/** True when the consumer is paging externally (totalRecords exceeds the in-memory rows). */
|
|
159
187
|
private isExternallyPaged;
|
|
188
|
+
/**
|
|
189
|
+
* True when virtual scrolling is driving lazy windowed fetches at the **root**
|
|
190
|
+
* level: the consumer pages externally and the WC pulls root pages ≥ 2 on
|
|
191
|
+
* demand. Applies to BOTH flat mode (the rows are the roots) and tree mode
|
|
192
|
+
* (the top-level rows; their children are windowed separately, keyed by
|
|
193
|
+
* parentId). When false (single page or no virtual scroll) the WC falls back
|
|
194
|
+
* to the trivial mapping of `_data`.
|
|
195
|
+
*/
|
|
196
|
+
private isRootWindowed;
|
|
160
197
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
161
198
|
private _resizableColumns;
|
|
162
199
|
get resizableColumns(): boolean;
|
|
@@ -183,6 +220,14 @@ export declare class MpDatatable extends LitElement {
|
|
|
183
220
|
* and isn't already in-flight. Emit a fetch-request per such parent.
|
|
184
221
|
*/
|
|
185
222
|
private maybeFetchPlaceholdersInViewport;
|
|
223
|
+
/**
|
|
224
|
+
* Flat-window counterpart of `maybeFetchPlaceholdersInViewport`: scan the
|
|
225
|
+
* visible range for flat placeholder rows, collect the distinct pages they
|
|
226
|
+
* belong to that aren't cached or already in-flight, and request each once.
|
|
227
|
+
* Page 1 is never requested here — it lives in `_data` (seeded by the
|
|
228
|
+
* wrapper's first-page fetch).
|
|
229
|
+
*/
|
|
230
|
+
private maybeFetchPagesInViewport;
|
|
186
231
|
render(): TemplateResult;
|
|
187
232
|
private getVirtualSpacerHeights;
|
|
188
233
|
private renderHeader;
|
|
@@ -224,16 +269,31 @@ export declare class MpDatatable extends LitElement {
|
|
|
224
269
|
*/
|
|
225
270
|
private toggleExpand;
|
|
226
271
|
private emitExpandedIdsChange;
|
|
227
|
-
/** Emit a fetch-request event the wrapper will bridge to the consumer's `[fetch]`. */
|
|
228
|
-
private requestChildrenFetch;
|
|
229
272
|
/**
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
273
|
+
* Fetch a windowed root page (≥ 2) into the page cache. Called when a root
|
|
274
|
+
* placeholder scrolls into view. Keyed on the requested page, so a server
|
|
275
|
+
* that echoes a different page number can't deadlock the window.
|
|
276
|
+
* Generation-guarded against responses that land after an invalidation.
|
|
233
277
|
*/
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
|
|
278
|
+
private fetchWindowPage;
|
|
279
|
+
/**
|
|
280
|
+
* Fetch a node's children into the child cache. Called on expand or when a
|
|
281
|
+
* child placeholder scrolls into view. Generation-guarded.
|
|
282
|
+
*/
|
|
283
|
+
private fetchChildren;
|
|
284
|
+
/**
|
|
285
|
+
* Fetch a single page of roots and make it the page-1 data (initial load and
|
|
286
|
+
* non-virtual pagination). The grand total is read from the response —
|
|
287
|
+
* consumers never set `totalRecords`. Generation-guarded against stale loads.
|
|
288
|
+
*/
|
|
289
|
+
private loadPage;
|
|
290
|
+
/**
|
|
291
|
+
* Coalesce sort/perPage/page changes (which arrive both as user actions and
|
|
292
|
+
* as echoed property pushes) into a single reload. A microtask debounces the
|
|
293
|
+
* burst; a `{sort,perPage,page}` change-key skips echoes that didn't actually
|
|
294
|
+
* change anything.
|
|
295
|
+
*/
|
|
296
|
+
private scheduleFetchReload;
|
|
237
297
|
/** Keyboard handling on a tree-mode row. Arrow keys + Enter/Space toggle expansion. */
|
|
238
298
|
private onRowKeydown;
|
|
239
299
|
private hasRowClickListeners;
|
|
@@ -252,6 +312,12 @@ export declare class MpDatatable extends LitElement {
|
|
|
252
312
|
private onDeselectAll;
|
|
253
313
|
private handleSelectionOnClick;
|
|
254
314
|
private emitSelectionChange;
|
|
315
|
+
/**
|
|
316
|
+
* Resolve row keys → row objects across every loaded source (page-1 `_data`,
|
|
317
|
+
* fetched windows in `_pageCache`, tree children in `_childCache`). One pass
|
|
318
|
+
* builds a key→row index; unresolvable ids are skipped.
|
|
319
|
+
*/
|
|
320
|
+
private resolveRows;
|
|
255
321
|
private gotoPage;
|
|
256
322
|
private resizeState;
|
|
257
323
|
private startColumnResize;
|
package/datatable/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MpDatatable } from './components';
|
|
2
2
|
export type { DatatableSelectionMode, RowEventDetail, SortChangeEventDetail, SelectionChangeEventDetail, } from './components';
|
|
3
|
-
export type { DatatableColumnDef, CellContent, CellRenderer, HeaderRenderer, RowKey, RowRenderer, RowRenderContext, TreeIdKey, TreeSelectionStrategy,
|
|
3
|
+
export type { DatatableColumnDef, CellContent, CellRenderer, HeaderRenderer, RowKey, RowRenderer, RowRenderContext, TreeIdKey, TreeSelectionStrategy, DatatableFetchRequest, DatatableFetchResponse, DatatableFetch, TreeRowExpandDetail, TreeExpandedIdsChangeDetail, } from './types';
|
|
4
4
|
export type { SortColumn, SortDirection } from './sort';
|
|
5
5
|
export { computeNextSort, sortRows } from './sort';
|
|
6
6
|
export { datatableStyles } from './styles';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { DatatableColumnDef, CellContent, CellRenderer, HeaderRenderer, RowKey, RowRenderer, RowRenderContext, } from './column-def';
|
|
2
|
-
export type {
|
|
2
|
+
export type { DatatableFetchRequest, DatatableFetchResponse, DatatableFetch, TreeRowExpandDetail, TreeExpandedIdsChangeDetail, TreeIdKey, TreeSelectionStrategy, } from './tree';
|
|
@@ -14,24 +14,34 @@ export type TreeIdKey<T = unknown> = keyof T | string | ((row: T) => unknown);
|
|
|
14
14
|
*/
|
|
15
15
|
export type TreeSelectionStrategy = 'flat' | 'cascading';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* result. `parentId === null` means roots.
|
|
17
|
+
* Request passed to the `fetch` callback. `parentId === null` is a root window
|
|
18
|
+
* (flat rows, or the tree's top level — pages ≥ 2 are windowed lazily); a
|
|
19
|
+
* non-null `parentId` is a tree node's children.
|
|
21
20
|
*/
|
|
22
|
-
export interface
|
|
21
|
+
export interface DatatableFetchRequest {
|
|
23
22
|
parentId: unknown | null;
|
|
24
23
|
page: number;
|
|
25
24
|
perPage: number;
|
|
26
25
|
sortColumns: SortColumn[];
|
|
27
26
|
}
|
|
28
|
-
/**
|
|
29
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Response returned from the `fetch` callback. Only `data` + `totalRecords` are
|
|
29
|
+
* required — the WC already knows the page/perPage it asked for, and derives
|
|
30
|
+
* the grand total from `totalRecords`, so consumers never set a separate
|
|
31
|
+
* `totalRecords` property.
|
|
32
|
+
*/
|
|
33
|
+
export interface DatatableFetchResponse<T = unknown> {
|
|
30
34
|
data: T[];
|
|
31
35
|
totalRecords: number;
|
|
32
|
-
page: number;
|
|
33
|
-
perPage: number;
|
|
34
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* High-level fetch callback — the ONLY server-paging API. Set `el.fetch` and
|
|
39
|
+
* the web component owns the whole loop: initial page, on-demand windows, tree
|
|
40
|
+
* children, pagination, and sort/perPage reloads, deriving `totalRecords` from
|
|
41
|
+
* the response. Works standalone (no framework) — `el.fetch = fn` is all a
|
|
42
|
+
* plain web-components consumer needs.
|
|
43
|
+
*/
|
|
44
|
+
export type DatatableFetch<T = unknown> = (req: DatatableFetchRequest) => Promise<DatatableFetchResponse<T>>;
|
|
35
45
|
export interface TreeRowExpandDetail<T = unknown> {
|
|
36
46
|
row: T;
|
|
37
47
|
depth: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/dock/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/file-manager/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { createRef as v, ref as w } from "lit/directives/ref.js";
|
|
|
5
5
|
import { styleMap as y } from "lit/directives/style-map.js";
|
|
6
6
|
import "../chunks/mp-splitter-C8cGCmac.mjs";
|
|
7
7
|
import "../chunks/mp-treeview-C48F63xb.mjs";
|
|
8
|
-
import "../chunks/mp-datatable-
|
|
8
|
+
import "../chunks/mp-datatable-mZ6EkXmp.mjs";
|
|
9
9
|
const $ = b(`:host {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/web-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Framework-agnostic Lit web components for the @mintplayer/bootstrap design system. Consumed by @mintplayer/ng-bootstrap, @mintplayer/react-bootstrap, and @mintplayer/vue-bootstrap.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,127 @@
|
|
|
24
24
|
"import": "./index.mjs"
|
|
25
25
|
},
|
|
26
26
|
"./custom-elements.json": "./custom-elements.json",
|
|
27
|
-
"./package.json": "./package.json"
|
|
27
|
+
"./package.json": "./package.json",
|
|
28
|
+
"./a11y": {
|
|
29
|
+
"types": "./a11y/index.d.ts",
|
|
30
|
+
"import": "./a11y/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./calendar": {
|
|
33
|
+
"types": "./calendar/index.d.ts",
|
|
34
|
+
"import": "./calendar/index.mjs"
|
|
35
|
+
},
|
|
36
|
+
"./card": {
|
|
37
|
+
"types": "./card/index.d.ts",
|
|
38
|
+
"import": "./card/index.mjs"
|
|
39
|
+
},
|
|
40
|
+
"./checkbox": {
|
|
41
|
+
"types": "./checkbox/index.d.ts",
|
|
42
|
+
"import": "./checkbox/index.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./code-snippet": {
|
|
45
|
+
"types": "./code-snippet/index.d.ts",
|
|
46
|
+
"import": "./code-snippet/index.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./datatable": {
|
|
49
|
+
"types": "./datatable/index.d.ts",
|
|
50
|
+
"import": "./datatable/index.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./datepicker": {
|
|
53
|
+
"types": "./datepicker/index.d.ts",
|
|
54
|
+
"import": "./datepicker/index.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./datetime-picker": {
|
|
57
|
+
"types": "./datetime-picker/index.d.ts",
|
|
58
|
+
"import": "./datetime-picker/index.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./dock": {
|
|
61
|
+
"types": "./dock/index.d.ts",
|
|
62
|
+
"import": "./dock/index.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./file-manager": {
|
|
65
|
+
"types": "./file-manager/index.d.ts",
|
|
66
|
+
"import": "./file-manager/index.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./multi-range": {
|
|
69
|
+
"types": "./multi-range/index.d.ts",
|
|
70
|
+
"import": "./multi-range/index.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./otp-input": {
|
|
73
|
+
"types": "./otp-input/index.d.ts",
|
|
74
|
+
"import": "./otp-input/index.mjs"
|
|
75
|
+
},
|
|
76
|
+
"./overlay": {
|
|
77
|
+
"types": "./overlay/index.d.ts",
|
|
78
|
+
"import": "./overlay/index.mjs"
|
|
79
|
+
},
|
|
80
|
+
"./pagination": {
|
|
81
|
+
"types": "./pagination/index.d.ts",
|
|
82
|
+
"import": "./pagination/index.mjs"
|
|
83
|
+
},
|
|
84
|
+
"./query-builder": {
|
|
85
|
+
"types": "./query-builder/index.d.ts",
|
|
86
|
+
"import": "./query-builder/index.mjs"
|
|
87
|
+
},
|
|
88
|
+
"./radio": {
|
|
89
|
+
"types": "./radio/index.d.ts",
|
|
90
|
+
"import": "./radio/index.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./ribbon": {
|
|
93
|
+
"types": "./ribbon/index.d.ts",
|
|
94
|
+
"import": "./ribbon/index.mjs"
|
|
95
|
+
},
|
|
96
|
+
"./scheduler": {
|
|
97
|
+
"types": "./scheduler/index.d.ts",
|
|
98
|
+
"import": "./scheduler/index.mjs"
|
|
99
|
+
},
|
|
100
|
+
"./scheduler-core": {
|
|
101
|
+
"types": "./scheduler-core/index.d.ts",
|
|
102
|
+
"import": "./scheduler-core/index.mjs"
|
|
103
|
+
},
|
|
104
|
+
"./select": {
|
|
105
|
+
"types": "./select/index.d.ts",
|
|
106
|
+
"import": "./select/index.mjs"
|
|
107
|
+
},
|
|
108
|
+
"./shell": {
|
|
109
|
+
"types": "./shell/index.d.ts",
|
|
110
|
+
"import": "./shell/index.mjs"
|
|
111
|
+
},
|
|
112
|
+
"./splitter": {
|
|
113
|
+
"types": "./splitter/index.d.ts",
|
|
114
|
+
"import": "./splitter/index.mjs"
|
|
115
|
+
},
|
|
116
|
+
"./tab-control": {
|
|
117
|
+
"types": "./tab-control/index.d.ts",
|
|
118
|
+
"import": "./tab-control/index.mjs"
|
|
119
|
+
},
|
|
120
|
+
"./tile-manager": {
|
|
121
|
+
"types": "./tile-manager/index.d.ts",
|
|
122
|
+
"import": "./tile-manager/index.mjs"
|
|
123
|
+
},
|
|
124
|
+
"./timeline": {
|
|
125
|
+
"types": "./timeline/index.d.ts",
|
|
126
|
+
"import": "./timeline/index.mjs"
|
|
127
|
+
},
|
|
128
|
+
"./timeline-core": {
|
|
129
|
+
"types": "./timeline-core/index.d.ts",
|
|
130
|
+
"import": "./timeline-core/index.mjs"
|
|
131
|
+
},
|
|
132
|
+
"./timepicker": {
|
|
133
|
+
"types": "./timepicker/index.d.ts",
|
|
134
|
+
"import": "./timepicker/index.mjs"
|
|
135
|
+
},
|
|
136
|
+
"./toggle-button": {
|
|
137
|
+
"types": "./toggle-button/index.d.ts",
|
|
138
|
+
"import": "./toggle-button/index.mjs"
|
|
139
|
+
},
|
|
140
|
+
"./tree-select": {
|
|
141
|
+
"types": "./tree-select/index.d.ts",
|
|
142
|
+
"import": "./tree-select/index.mjs"
|
|
143
|
+
},
|
|
144
|
+
"./treeview": {
|
|
145
|
+
"types": "./treeview/index.d.ts",
|
|
146
|
+
"import": "./treeview/index.mjs"
|
|
147
|
+
}
|
|
28
148
|
},
|
|
29
149
|
"peerDependencies": {
|
|
30
150
|
"lit": "^3.3.0",
|
|
@@ -39,4 +159,4 @@
|
|
|
39
159
|
"dependencies": {
|
|
40
160
|
"tslib": "^2.3.0"
|
|
41
161
|
}
|
|
42
|
-
}
|
|
162
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/radio/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -29,7 +29,7 @@ export declare class MpRadio extends LitElement {
|
|
|
29
29
|
static shadowRootOptions: {
|
|
30
30
|
delegatesFocus: boolean;
|
|
31
31
|
clonable?: boolean;
|
|
32
|
-
customElementRegistry?: CustomElementRegistry;
|
|
32
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
33
33
|
mode: ShadowRootMode;
|
|
34
34
|
serializable?: boolean;
|
|
35
35
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/scheduler/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as W, LitElement as B, html as U } from "lit";
|
|
2
2
|
import { L as O } from "../chunks/live-announcer-CZDTKulf.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { D as N, d as h, t as M, k as I, r as S, m as $, l as F, g as V } from "../chunks/color-CyamnJnn.mjs";
|
|
4
4
|
function q(g = {}) {
|
|
5
5
|
const e = { ...N, ...g };
|
|
6
6
|
return {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/scheduler-core/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { D as T, d as C } from "../chunks/color-CyamnJnn.mjs";
|
|
2
|
+
import { a as N, b as X, R as Y, T as G, c as U, e as _, g as q, f as J, h as K, i as Q, j as Z, k as tt, l as et, m as ot, n as nt, r as st, t as ct } from "../chunks/color-CyamnJnn.mjs";
|
|
3
3
|
class x {
|
|
4
4
|
/**
|
|
5
5
|
* Calculate position for an event part in week/day view
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -39,7 +39,7 @@ export declare class MpSelect extends LitElement {
|
|
|
39
39
|
static shadowRootOptions: {
|
|
40
40
|
delegatesFocus: boolean;
|
|
41
41
|
clonable?: boolean;
|
|
42
|
-
customElementRegistry?: CustomElementRegistry;
|
|
42
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
43
43
|
mode: ShadowRootMode;
|
|
44
44
|
serializable?: boolean;
|
|
45
45
|
slotAssignment?: SlotAssignmentMode;
|
package/shell/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -21,7 +21,7 @@ export declare class MpToggleButton extends LitElement {
|
|
|
21
21
|
static shadowRootOptions: {
|
|
22
22
|
delegatesFocus: boolean;
|
|
23
23
|
clonable?: boolean;
|
|
24
|
-
customElementRegistry?: CustomElementRegistry;
|
|
24
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
25
25
|
mode: ShadowRootMode;
|
|
26
26
|
serializable?: boolean;
|
|
27
27
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|