@ixfx/components 0.17.1 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/bundle/index.d.ts +143 -8
  2. package/bundle/index.js +205 -204
  3. package/dist/{checked-select-BmwqpgGr.js → checked-select-DsQ-o9lI.js} +1 -1
  4. package/dist/checked-select.js +1 -1
  5. package/dist/{crumb-navigation-D7dAC0H-.js → crumb-navigation-09YFje6W.js} +2 -2
  6. package/dist/{crumb-navigation-Tm4fnsvN.d.ts → crumb-navigation-DOfOS7li.d.ts} +1 -1
  7. package/dist/crumbs.d.ts +1 -1
  8. package/dist/crumbs.js +1 -1
  9. package/dist/{data-grid-BcO3SMac.js → data-grid-BGmJbMCb.js} +4 -3
  10. package/dist/{data-grid-vasJtjFP.d.ts → data-grid-BQWmVYg0.d.ts} +8 -2
  11. package/dist/data-grid.d.ts +2 -2
  12. package/dist/data-grid.js +1 -1
  13. package/dist/{detail-list-E9WdMVbE.d.ts → detail-list-CfjoIl2N.d.ts} +9 -3
  14. package/dist/{detail-list-vPVwE1CP.js → detail-list-CrHASoAx.js} +2 -1
  15. package/dist/detail-list.d.ts +3 -3
  16. package/dist/detail-list.js +1 -1
  17. package/dist/{flat-list-CfutGqKY.d.ts → flat-list-C2z81bK6.d.ts} +5 -3
  18. package/dist/flat-list.d.ts +1 -1
  19. package/dist/flat-list.js +4 -2
  20. package/dist/{grid-list-OCdjuhng.d.ts → grid-list-Crv-hFJL.d.ts} +9 -3
  21. package/dist/{grid-list-D2hinM64.js → grid-list-DYU_z2K9.js} +3 -2
  22. package/dist/grid-list.d.ts +2 -2
  23. package/dist/grid-list.js +1 -1
  24. package/dist/incr-search.d.ts +1 -1
  25. package/dist/{index-CzhYJJsx.d.ts → index-BE0hk8xS.d.ts} +2 -2
  26. package/dist/{index-88ra6YHP.d.ts → index-BymYKGY-.d.ts} +3 -3
  27. package/dist/{index-CRLTVAyt.d.ts → index-Db5VGFR1.d.ts} +1 -1
  28. package/dist/index.d.ts +82 -20
  29. package/dist/index.js +293 -107
  30. package/dist/{interaction-8Kbbf6xN.js → interaction-BEcBIY0d.js} +1 -1
  31. package/dist/{list-native-drag-controller-ByftBooJ.js → list-native-drag-controller-Brk30s5d.js} +3 -0
  32. package/dist/{list-native-drag-controller-CgXKdmjr.d.ts → list-native-drag-controller-Cs-Tmtaa.d.ts} +1 -1
  33. package/dist/{menu-C3DhTjHx.js → menu-B6NFqEtm.js} +3 -3
  34. package/dist/{menu-item-BSxhlWnW.js → menu-item-D0zy1yax.js} +2 -2
  35. package/dist/menu.js +2 -2
  36. package/dist/{miller-DqDEaXqT.js → miller-B0qbnWwe.js} +1 -1
  37. package/dist/miller.d.ts +2 -2
  38. package/dist/miller.js +1 -1
  39. package/dist/narrowed-text.js +1 -1
  40. package/dist/{node-graph-DqEGv5QR.js → node-graph-D9iovxQp.js} +1 -1
  41. package/dist/node-graph.js +1 -1
  42. package/dist/{notification-pill-BiHEJk-o.d.ts → notification-pill-BJonE_wo.d.ts} +14 -1
  43. package/dist/notifier.d.ts +1 -1
  44. package/dist/select-horiz.js +1 -1
  45. package/dist/sunburst-tree.d.ts +1 -1
  46. package/dist/{sunbursttree-list-CsrmVSB8.d.ts → sunbursttree-list-XF7gBKod.d.ts} +2 -2
  47. package/dist/{tree-BP5fxvEX.js → tree-1CSNgw72.js} +2 -2
  48. package/dist/{tree-component-DNuzfo6R.d.ts → tree-component-BE7OEIiH.d.ts} +7 -1
  49. package/dist/tree.d.ts +2 -2
  50. package/dist/tree.js +1 -1
  51. package/dist/{vertical-list-B9z1lbjM.js → vertical-list-BNCRA_zy.js} +2 -1
  52. package/dist/{vertical-list-BzeXehBt.d.ts → vertical-list-Dyc5azxv.d.ts} +8 -2
  53. package/dist/vertical-list.d.ts +2 -2
  54. package/dist/vertical-list.js +1 -1
  55. package/docs-user/grid-list.md +5 -0
  56. package/docs-user/index.json +2 -2
  57. package/docs-user/notifier.md +28 -0
  58. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
2
2
  import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
3
- import "./interaction-8Kbbf6xN.js";
3
+ import "./interaction-BEcBIY0d.js";
4
4
  import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
5
5
  import { t as handleStyles } from "./handle-BVUWv97X.js";
6
6
  import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
@@ -1,2 +1,2 @@
1
1
  import "./checkbox.js";
2
- export { t as CheckedSelect } from "./checked-select-BmwqpgGr.js";
2
+ export { t as CheckedSelect } from "./checked-select-DsQ-o9lI.js";
@@ -1,11 +1,11 @@
1
1
  import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
2
2
  import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
3
3
  import { t as collectDataResult } from "./data-provider-C6ZNAcaT.js";
4
- import "./interaction-8Kbbf6xN.js";
4
+ import "./interaction-BEcBIY0d.js";
5
5
  import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
6
6
  import { t as scrollFadeStyles } from "./scroll-fade-DH8OXSqL.js";
7
7
  import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
8
- import "./menu-item-BSxhlWnW.js";
8
+ import "./menu-item-D0zy1yax.js";
9
9
  import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
10
10
  import "./narrowed-text.js";
11
11
  import { LitElement, css, html, nothing } from "lit";
@@ -1,4 +1,4 @@
1
- import { M as TreeDataModel, a as TreeComponent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DNuzfo6R.js";
1
+ import { M as TreeDataModel, a as TreeComponent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-BE7OEIiH.js";
2
2
  import { n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
3
3
  import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
4
4
  import "./index-Cdcek1Oj.js";
package/dist/crumbs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as CrumbNavigationExpandDetail, c as CrumbNavigationItemClickEvent, i as CrumbNavigationElementEventMap, l as CrumbNavigationViewState, n as CrumbNavigationChangeEvent, o as CrumbNavigationExpandEvent, r as CrumbNavigationElement, s as CrumbNavigationItemClickDetail, t as CrumbNavigationChangeDetail } from "./crumb-navigation-Tm4fnsvN.js";
1
+ import { a as CrumbNavigationExpandDetail, c as CrumbNavigationItemClickEvent, i as CrumbNavigationElementEventMap, l as CrumbNavigationViewState, n as CrumbNavigationChangeEvent, o as CrumbNavigationExpandEvent, r as CrumbNavigationElement, s as CrumbNavigationItemClickDetail, t as CrumbNavigationChangeDetail } from "./crumb-navigation-DOfOS7li.js";
2
2
  export { CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, type CrumbNavigationViewState };
package/dist/crumbs.js CHANGED
@@ -1 +1 @@
1
- export { t as CrumbNavigationElement } from "./crumb-navigation-D7dAC0H-.js";
1
+ export { t as CrumbNavigationElement } from "./crumb-navigation-09YFje6W.js";
@@ -2,8 +2,8 @@ import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
2
2
  import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
3
3
  import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-FRO3TRFI.js";
4
4
  import { i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES } from "./incr-search-C5114RxZ.js";
5
- import "./interaction-8Kbbf6xN.js";
6
- import { a as listItemFadeKeyframes, t as ListNativeDragController } from "./list-native-drag-controller-ByftBooJ.js";
5
+ import "./interaction-BEcBIY0d.js";
6
+ import { a as listItemFadeKeyframes, t as ListNativeDragController } from "./list-native-drag-controller-Brk30s5d.js";
7
7
  import { i as sameKeySet, r as isPartialKey, t as PARTIAL_DESCRIPTION } from "./partial-keys-D4l_ede_.js";
8
8
  import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
9
9
  import { a as capKeys, l as keysToArray, n as EMPTY_KEYS, o as flagsFromRecord, r as MAX_PENDING_KEYS } from "./pending-Afl4LT64.js";
@@ -13,7 +13,7 @@ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js"
13
13
  import { n as anchorFromRow, o as scrollToOffset, t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
14
14
  import { t as createDragGhost } from "./drag-ghost-DNWu_RyN.js";
15
15
  import "./icon-DvTQuylG.js";
16
- import "./menu-C3DhTjHx.js";
16
+ import "./menu-B6NFqEtm.js";
17
17
  import "./pan-text-DrJYKQKN.js";
18
18
  import { LitElement, css, html, nothing } from "lit";
19
19
  import { property, query, state } from "lit/decorators.js";
@@ -2596,6 +2596,7 @@ __decorate([property({
2596
2596
  reflect: true
2597
2597
  })], DataGridElement.prototype, "itemsDraggable", void 0);
2598
2598
  __decorate([property({ attribute: false })], DataGridElement.prototype, "dragPreviewRenderer", void 0);
2599
+ __decorate([property({ attribute: false })], DataGridElement.prototype, "writeDataTransfer", void 0);
2599
2600
  __decorate([property({ attribute: false })], DataGridElement.prototype, "dragPreviewSource", void 0);
2600
2601
  __decorate([property({
2601
2602
  type: String,
@@ -1,9 +1,9 @@
1
- import { L as ListDragPreviewRenderer, R as ListDragPreviewSourceResolver, V as ListNativeDragStartEvent } from "./tree-component-DNuzfo6R.js";
1
+ import { H as ListNativeDragStartEvent, P as ListDragDataTransferWriter, R as ListDragPreviewRenderer, z as ListDragPreviewSourceResolver } from "./tree-component-BE7OEIiH.js";
2
2
  import { m as ListSelectKeysDetail, u as ListSelectIntentDetail } from "./list-selection-types-CKTt7Rrw.js";
3
3
  import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
4
4
  import { n as ListViewportChangeEvent, t as ListViewportChangeDetail } from "./list-viewport-types-BJ8c6qur.js";
5
5
  import "./index-Cdcek1Oj.js";
6
- import { S as ListSearchController } from "./index-CRLTVAyt.js";
6
+ import { S as ListSearchController } from "./index-Db5VGFR1.js";
7
7
  import "./icon-Bhz0c6Yf.js";
8
8
  import "./index-0smh4WCH.js";
9
9
  import "./pan-text-DKe2zinH.js";
@@ -273,6 +273,12 @@ declare class DataGridElement extends LitElement {
273
273
  * built-in HTML+canvas preview.
274
274
  */
275
275
  dragPreviewRenderer: ListDragPreviewRenderer<unknown> | undefined;
276
+ /**
277
+ * Write an application payload onto the drag's `DataTransfer` (e.g. a custom
278
+ * MIME type). Called once per drag, synchronously inside `dragstart`, after a
279
+ * non-cancelled `list-native-drag-start`.
280
+ */
281
+ writeDataTransfer: ListDragDataTransferWriter<unknown> | undefined;
276
282
  dragPreviewSource: ListDragPreviewSourceResolver<unknown> | undefined;
277
283
  /**
278
284
  * Default icon name for column header buttons. Defaults to `ellipsis`.
@@ -1,3 +1,3 @@
1
- import { B as ListNativeDragStartDetail, F as ListDragPreview, I as ListDragPreviewContext, L as ListDragPreviewRenderer, P as ListDragEntry, V as ListNativeDragStartEvent, z as ListDragSource } from "./tree-component-DNuzfo6R.js";
2
- import { A as DataGridColumn, B as DataGridInteractionMode, C as DataGridSortEvent, D as DataGridViewState, E as DataGridColumnViewState, F as DataGridEditorFactory, G as GlobalFormatter, H as DataGridSelectionMode, I as DataGridEditorType, L as DataGridGetRowKey, M as DataGridDataType, N as DataGridEditability, O as BuiltInFormatterName, P as DataGridEditorContext, R as DataGridGroupBy, S as DataGridSortDetail, T as DataGridViewportChangeEvent, U as DataGridSortDirection, V as DataGridRowLook, W as DataGridSortState, _ as DataGridRowActivateDetail, a as DataGridColumnReorderDetail, b as DataGridSelectEvent, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridListSelectEvent, h as DataGridListSelectDetail, i as DataGridCellEditEvent, j as DataGridColumnMenu, k as BuiltInFormatterOptions, l as DataGridColumnVisibilityDetail, m as DataGridGroupChangeEvent, n as DataGridCellClickEvent, o as DataGridColumnReorderEvent, p as DataGridGroupChangeDetail, r as DataGridCellEditDetail, s as DataGridColumnResizeDetail, t as DataGridCellClickDetail, u as DataGridColumnVisibilityEvent, v as DataGridRowActivateEvent, w as DataGridViewportChangeDetail, x as DataGridSelectIntentEvent, y as DataGridSelectDetail, z as DataGridGroupLabel } from "./data-grid-vasJtjFP.js";
1
+ import { B as ListDragSource, F as ListDragEntry, H as ListNativeDragStartEvent, I as ListDragPreview, L as ListDragPreviewContext, R as ListDragPreviewRenderer, V as ListNativeDragStartDetail } from "./tree-component-BE7OEIiH.js";
2
+ import { A as DataGridColumn, B as DataGridInteractionMode, C as DataGridSortEvent, D as DataGridViewState, E as DataGridColumnViewState, F as DataGridEditorFactory, G as GlobalFormatter, H as DataGridSelectionMode, I as DataGridEditorType, L as DataGridGetRowKey, M as DataGridDataType, N as DataGridEditability, O as BuiltInFormatterName, P as DataGridEditorContext, R as DataGridGroupBy, S as DataGridSortDetail, T as DataGridViewportChangeEvent, U as DataGridSortDirection, V as DataGridRowLook, W as DataGridSortState, _ as DataGridRowActivateDetail, a as DataGridColumnReorderDetail, b as DataGridSelectEvent, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridListSelectEvent, h as DataGridListSelectDetail, i as DataGridCellEditEvent, j as DataGridColumnMenu, k as BuiltInFormatterOptions, l as DataGridColumnVisibilityDetail, m as DataGridGroupChangeEvent, n as DataGridCellClickEvent, o as DataGridColumnReorderEvent, p as DataGridGroupChangeDetail, r as DataGridCellEditDetail, s as DataGridColumnResizeDetail, t as DataGridCellClickDetail, u as DataGridColumnVisibilityEvent, v as DataGridRowActivateEvent, w as DataGridViewportChangeDetail, x as DataGridSelectIntentEvent, y as DataGridSelectDetail, z as DataGridGroupLabel } from "./data-grid-BQWmVYg0.js";
3
3
  export { type BuiltInFormatterName, type BuiltInFormatterOptions, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, type DataGridColumn, type DataGridColumnMenu, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, type DataGridColumnViewState, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, type DataGridDataType, type DataGridEditability, type DataGridEditorContext, type DataGridEditorFactory, type DataGridEditorType, DataGridElement, DataGridElementEventMap, type DataGridGetRowKey, type DataGridGroupBy, DataGridGroupChangeDetail, DataGridGroupChangeEvent, type DataGridGroupLabel, type DataGridInteractionMode, DataGridListSelectDetail, DataGridListSelectEvent, DataGridRowActivateDetail, DataGridRowActivateEvent, type DataGridRowLook, DataGridSelectDetail, DataGridSelectEvent, DataGridSelectIntentEvent, type DataGridSelectionMode, DataGridSortDetail, type DataGridSortDirection, DataGridSortEvent, type DataGridSortState, type DataGridViewState, DataGridViewportChangeDetail, DataGridViewportChangeEvent, type GlobalFormatter, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListNativeDragStartDetail, type ListNativeDragStartEvent };
package/dist/data-grid.js CHANGED
@@ -1 +1 @@
1
- export { t as DataGridElement } from "./data-grid-BcO3SMac.js";
1
+ export { t as DataGridElement } from "./data-grid-BGmJbMCb.js";
@@ -1,12 +1,12 @@
1
1
  import { r as IDataProvider } from "./data-provider-Cq_ylpET.js";
2
2
  import { a as ListGroupEventMap, o as ListGroupInfo, s as ListGroupLabel } from "./grouping-OoQ8WaKc.js";
3
- import { L as ListDragPreviewRenderer, R as ListDragPreviewSourceResolver, V as ListNativeDragStartEvent } from "./tree-component-DNuzfo6R.js";
3
+ import { H as ListNativeDragStartEvent, P as ListDragDataTransferWriter, R as ListDragPreviewRenderer, z as ListDragPreviewSourceResolver } from "./tree-component-BE7OEIiH.js";
4
4
  import { a as ViewStateBase, s as ViewStateChangeEvent, t as GetViewStateOptions } from "./types-16GC5k1z.js";
5
5
  import { h as ListSelectionMode, i as ListInteractionMode, r as ListElementEventMap } from "./list-selection-types-CKTt7Rrw.js";
6
6
  import { n as ListViewportChangeEvent } from "./list-viewport-types-BJ8c6qur.js";
7
7
  import "./index-Cdcek1Oj.js";
8
- import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-BzeXehBt.js";
9
- import { S as ListSearchController } from "./index-CRLTVAyt.js";
8
+ import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-Dyc5azxv.js";
9
+ import { S as ListSearchController } from "./index-Db5VGFR1.js";
10
10
  import "./icon-Bhz0c6Yf.js";
11
11
  import "./list-group-header.js";
12
12
  import { LitElement, PropertyValues } from "lit";
@@ -121,6 +121,12 @@ declare class DetailListElement extends LitElement {
121
121
  * built-in HTML+canvas preview.
122
122
  */
123
123
  dragPreviewRenderer: ListDragPreviewRenderer<Element> | undefined;
124
+ /**
125
+ * Write an application payload onto the drag's `DataTransfer` (e.g. a custom
126
+ * MIME type). Called once per drag, synchronously inside `dragstart`, after a
127
+ * non-cancelled `list-native-drag-start`.
128
+ */
129
+ writeDataTransfer: ListDragDataTransferWriter<Element> | undefined;
124
130
  dragPreviewSource: ListDragPreviewSourceResolver<Element> | undefined;
125
131
  /**
126
132
  * Group rows under collapsible headers that flow inline in the columns. A
@@ -3,7 +3,7 @@ import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-F
3
3
  import { c as createElementListSearchAdapter, d as keysOfElements, i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, u as keyForElement } from "./incr-search-C5114RxZ.js";
4
4
  import { a as toGroupKey, r as partitionByGroup } from "./grouping-kENdqzSV.js";
5
5
  import { i as ListDragSelectController, n as gestureOf, t as ListSelectionController } from "./list-selection-controller-Dkh3m3hX.js";
6
- import { i as animateListItemOut, r as animateListItemIn, t as ListNativeDragController } from "./list-native-drag-controller-ByftBooJ.js";
6
+ import { i as animateListItemOut, r as animateListItemIn, t as ListNativeDragController } from "./list-native-drag-controller-Brk30s5d.js";
7
7
  import { i as sameKeySet, n as applyPartialAttributes, r as isPartialKey } from "./partial-keys-D4l_ede_.js";
8
8
  import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
9
9
  import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
@@ -2258,6 +2258,7 @@ __decorate([property({
2258
2258
  reflect: true
2259
2259
  })], DetailListElement.prototype, "itemsDraggable", void 0);
2260
2260
  __decorate([property({ attribute: false })], DetailListElement.prototype, "dragPreviewRenderer", void 0);
2261
+ __decorate([property({ attribute: false })], DetailListElement.prototype, "writeDataTransfer", void 0);
2261
2262
  __decorate([property({ attribute: false })], DetailListElement.prototype, "dragPreviewSource", void 0);
2262
2263
  __decorate([property({ attribute: `group-by` })], DetailListElement.prototype, "groupBy", void 0);
2263
2264
  __decorate([property({ attribute: false })], DetailListElement.prototype, "groupLabel", void 0);
@@ -1,6 +1,6 @@
1
- import { B as ListNativeDragStartDetail, F as ListDragPreview, I as ListDragPreviewContext, L as ListDragPreviewRenderer, P as ListDragEntry, V as ListNativeDragStartEvent, z as ListDragSource } from "./tree-component-DNuzfo6R.js";
1
+ import { B as ListDragSource, F as ListDragEntry, H as ListNativeDragStartEvent, I as ListDragPreview, L as ListDragPreviewContext, R as ListDragPreviewRenderer, V as ListNativeDragStartDetail } from "./tree-component-BE7OEIiH.js";
2
2
  import { n as ListViewportChangeEvent, t as ListViewportChangeDetail } from "./list-viewport-types-BJ8c6qur.js";
3
3
  import { i as ListGroupChangeEvent, l as ListGroupToggleDetail, n as ListGroupBy, o as ListGroupInfo, r as ListGroupChangeDetail, s as ListGroupLabel, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
4
- import { a as DetailSortComparator, c as DetailListViewState, i as DetailGroupBy, n as DetailListElementEventMap, o as DetailSortItem, r as DetailFormatter, s as DetailSortMode, t as DetailListElement } from "./detail-list-E9WdMVbE.js";
5
- import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-BzeXehBt.js";
4
+ import { a as DetailSortComparator, c as DetailListViewState, i as DetailGroupBy, n as DetailListElementEventMap, o as DetailSortItem, r as DetailFormatter, s as DetailSortMode, t as DetailListElement } from "./detail-list-CfjoIl2N.js";
5
+ import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-Dyc5azxv.js";
6
6
  export { type AddItemOptions, type CustomCheckboxOptions, type DetailFormatter, type DetailGroupBy, DetailListElement, DetailListElementEventMap, type DetailListViewState, type DetailSortComparator, type DetailSortItem, type DetailSortMode, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupInfo, type ListGroupLabel, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListViewportChangeDetail, type ListViewportChangeEvent };
@@ -1,2 +1,2 @@
1
- export { t as DetailListElement } from "./detail-list-vPVwE1CP.js";
1
+ export { t as DetailListElement } from "./detail-list-CrHASoAx.js";
2
2
  import "./list-group-header.js";
@@ -1,10 +1,10 @@
1
- import { M as TreeDataModel } from "./tree-component-DNuzfo6R.js";
1
+ import { M as TreeDataModel, P as ListDragDataTransferWriter } from "./tree-component-BE7OEIiH.js";
2
2
  import { o as TreeNode, r as TreeFilterPredicate, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
3
3
  import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-CKTt7Rrw.js";
4
4
  import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
5
- import { r as VerticalListElement } from "./vertical-list-BzeXehBt.js";
5
+ import { r as VerticalListElement } from "./vertical-list-Dyc5azxv.js";
6
6
  import "./index-Cdcek1Oj.js";
7
- import "./crumb-navigation-Tm4fnsvN.js";
7
+ import "./crumb-navigation-DOfOS7li.js";
8
8
  import "./icon-Bhz0c6Yf.js";
9
9
  import { LitElement, PropertyValues } from "lit";
10
10
  /** How branches and leaves are ordered within one level. */
@@ -126,6 +126,8 @@ declare class FlatListElement extends LitElement {
126
126
  itemWrap: `stop` | `wrap`;
127
127
  searchModes: string | undefined;
128
128
  itemsDraggable: boolean;
129
+ /** Write an application payload onto the drag's `DataTransfer`. Forwarded to the inner list. */
130
+ writeDataTransfer: ListDragDataTransferWriter<Element> | undefined;
129
131
  /** Rows (and empty space) accept native drops. See `flat-list-drop`. */
130
132
  itemsDroppable: boolean;
131
133
  /**
@@ -1,2 +1,2 @@
1
- import { _ as FlatListSelectEvent, a as FlatListContextMenuDetail, c as FlatListDropEvent, d as FlatListEditCommitDetail, f as FlatListEditCommitEvent, g as FlatListSelectDetail, h as FlatListNavigateEvent, i as FlatListBranchOrder, l as FlatListEditCancelDetail, m as FlatListNavigateDetail, n as FlatListActivateDetail, o as FlatListContextMenuEvent, p as FlatListElementEventMap, r as FlatListActivateEvent, s as FlatListDropDetail, t as FlatListElement, u as FlatListEditCancelEvent, v as FlatListViewState } from "./flat-list-CfutGqKY.js";
1
+ import { _ as FlatListSelectEvent, a as FlatListContextMenuDetail, c as FlatListDropEvent, d as FlatListEditCommitDetail, f as FlatListEditCommitEvent, g as FlatListSelectDetail, h as FlatListNavigateEvent, i as FlatListBranchOrder, l as FlatListEditCancelDetail, m as FlatListNavigateDetail, n as FlatListActivateDetail, o as FlatListContextMenuEvent, p as FlatListElementEventMap, r as FlatListActivateEvent, s as FlatListDropDetail, t as FlatListElement, u as FlatListEditCancelEvent, v as FlatListViewState } from "./flat-list-C2z81bK6.js";
2
2
  export { type FlatListActivateDetail, type FlatListActivateEvent, type FlatListBranchOrder, type FlatListContextMenuDetail, type FlatListContextMenuEvent, type FlatListDropDetail, type FlatListDropEvent, type FlatListEditCancelDetail, type FlatListEditCancelEvent, type FlatListEditCommitDetail, type FlatListEditCommitEvent, FlatListElement, type FlatListElementEventMap, type FlatListNavigateDetail, type FlatListNavigateEvent, type FlatListSelectDetail, type FlatListSelectEvent, type FlatListViewState };
package/dist/flat-list.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { t as collectDataResult } from "./data-provider-C6ZNAcaT.js";
2
2
  import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-FRO3TRFI.js";
3
- import { n as resolveKeyPath } from "./crumb-navigation-D7dAC0H-.js";
3
+ import { n as resolveKeyPath } from "./crumb-navigation-09YFje6W.js";
4
4
  import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
5
5
  import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
6
6
  import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
7
7
  import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
8
8
  import "./icon-DvTQuylG.js";
9
- import "./vertical-list-B9z1lbjM.js";
9
+ import "./vertical-list-BNCRA_zy.js";
10
10
  import { LitElement, css, html, nothing } from "lit";
11
11
  import { property, state } from "lit/decorators.js";
12
12
  // src/flat-list/flat-list.ts
@@ -602,6 +602,7 @@ let FlatListElement = class FlatListElement extends LitElement {
602
602
  .itemWrap=${this.itemWrap}
603
603
  .searchModes=${this.searchModes}
604
604
  ?items-draggable=${this.itemsDraggable}
605
+ .writeDataTransfer=${this.writeDataTransfer}
605
606
  ?items-droppable=${this.itemsDroppable}
606
607
  .canDrop=${this.#canDropOn}
607
608
  .editValidator=${this.#validateEditKey}
@@ -759,6 +760,7 @@ __decorate([property({
759
760
  attribute: `items-draggable`,
760
761
  reflect: true
761
762
  })], FlatListElement.prototype, "itemsDraggable", void 0);
763
+ __decorate([property({ attribute: false })], FlatListElement.prototype, "writeDataTransfer", void 0);
762
764
  __decorate([property({
763
765
  type: Boolean,
764
766
  attribute: `items-droppable`,
@@ -1,11 +1,11 @@
1
1
  import { i as ListGroupChangeEvent, n as ListGroupBy, o as ListGroupInfo, s as ListGroupLabel, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
2
2
  import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
3
3
  import { h as ListSelectionMode, i as ListInteractionMode, p as ListSelectIntentSource, s as ListMarqueeMode, u as ListSelectIntentDetail } from "./list-selection-types-CKTt7Rrw.js";
4
- import "./list-native-drag-controller-CgXKdmjr.js";
4
+ import "./list-native-drag-controller-Cs-Tmtaa.js";
5
5
  import { i as TickledItem, n as TickledController } from "./tickled-controller-DSPoG551.js";
6
6
  import "./index-Cdcek1Oj.js";
7
- import { L as ListDragPreviewRenderer, R as ListDragPreviewSourceResolver, V as ListNativeDragStartEvent } from "./tree-component-DNuzfo6R.js";
8
- import { S as ListSearchController } from "./index-CRLTVAyt.js";
7
+ import { H as ListNativeDragStartEvent, P as ListDragDataTransferWriter, R as ListDragPreviewRenderer, z as ListDragPreviewSourceResolver } from "./tree-component-BE7OEIiH.js";
8
+ import { S as ListSearchController } from "./index-Db5VGFR1.js";
9
9
  import "./list-group-header.js";
10
10
  import "./pan-text-DKe2zinH.js";
11
11
  import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, html } from "lit";
@@ -623,6 +623,12 @@ declare class GridListElement<T = unknown> extends LitElement {
623
623
  * as selection changes. Defaults to the shared built-in preview.
624
624
  */
625
625
  dragPreviewRenderer: ListDragPreviewRenderer<T> | undefined;
626
+ /**
627
+ * Write an application payload onto the drag's `DataTransfer` (e.g. a custom
628
+ * MIME type). Called once per drag, synchronously inside `dragstart`, after a
629
+ * non-cancelled `list-native-drag-start`.
630
+ */
631
+ writeDataTransfer: ListDragDataTransferWriter<T> | undefined;
626
632
  /**
627
633
  * Optional synchronous resolver that supplies an already-loaded
628
634
  * `CanvasImageSource` for each drag entry's preview thumbnail.
@@ -2,9 +2,9 @@ import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-F
2
2
  import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
3
3
  import { c as createElementListSearchAdapter, f as createDataListSearchAdapter, i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, u as keyForElement } from "./incr-search-C5114RxZ.js";
4
4
  import { i as resolveGroupKey, r as partitionByGroup } from "./grouping-kENdqzSV.js";
5
- import "./interaction-8Kbbf6xN.js";
5
+ import "./interaction-BEcBIY0d.js";
6
6
  import { i as ListDragSelectController, n as gestureOf, t as ListSelectionController } from "./list-selection-controller-Dkh3m3hX.js";
7
- import { a as listItemFadeKeyframes, t as ListNativeDragController } from "./list-native-drag-controller-ByftBooJ.js";
7
+ import { a as listItemFadeKeyframes, t as ListNativeDragController } from "./list-native-drag-controller-Brk30s5d.js";
8
8
  import { i as sameKeySet, r as isPartialKey, t as PARTIAL_DESCRIPTION } from "./partial-keys-D4l_ede_.js";
9
9
  import { c as keysAsFlags, f as withoutFlag, i as capFlags, l as keysToArray, o as flagsFromRecord, s as flagsToRecord, t as EMPTY_FLAGS } from "./pending-Afl4LT64.js";
10
10
  import { n as createScrollHoverGuard } from "./scroll-hover-guard-BGAjtyXT.js";
@@ -3246,6 +3246,7 @@ __decorate([property({
3246
3246
  reflect: true
3247
3247
  })], GridListElement.prototype, "marqueeFromCellBlank", void 0);
3248
3248
  __decorate([property({ attribute: false })], GridListElement.prototype, "dragPreviewRenderer", void 0);
3249
+ __decorate([property({ attribute: false })], GridListElement.prototype, "writeDataTransfer", void 0);
3249
3250
  __decorate([property({ attribute: false })], GridListElement.prototype, "dragPreviewSource", void 0);
3250
3251
  __decorate([property({
3251
3252
  type: String,
@@ -1,5 +1,5 @@
1
- import { B as ListNativeDragStartDetail, F as ListDragPreview, I as ListDragPreviewContext, L as ListDragPreviewRenderer, P as ListDragEntry, V as ListNativeDragStartEvent, z as ListDragSource } from "./tree-component-DNuzfo6R.js";
2
- import { S as GridListViewportChangeEvent, _ as GridListSelectDetail, a as GridListCaptionAlign, b as GridListTickleEvent, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListOrientation, h as GridListItemUpdate, i as GridListActivateEvent, l as GridListDataAdapter, m as GridListItemEventDetail, n as GridListViewState, o as GridListCaptionBackdrop, p as GridListItemClickEvent, r as GridListActivateDetail, s as GridListCaptionPosition, t as GridListElement, u as GridListElementEventMap, v as GridListSelectEvent, x as GridListViewportChangeDetail, y as GridListTickleDetail } from "./grid-list-OCdjuhng.js";
1
+ import { B as ListDragSource, F as ListDragEntry, H as ListNativeDragStartEvent, I as ListDragPreview, L as ListDragPreviewContext, R as ListDragPreviewRenderer, V as ListNativeDragStartDetail } from "./tree-component-BE7OEIiH.js";
2
+ import { S as GridListViewportChangeEvent, _ as GridListSelectDetail, a as GridListCaptionAlign, b as GridListTickleEvent, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListOrientation, h as GridListItemUpdate, i as GridListActivateEvent, l as GridListDataAdapter, m as GridListItemEventDetail, n as GridListViewState, o as GridListCaptionBackdrop, p as GridListItemClickEvent, r as GridListActivateDetail, s as GridListCaptionPosition, t as GridListElement, u as GridListElementEventMap, v as GridListSelectEvent, x as GridListViewportChangeDetail, y as GridListTickleDetail } from "./grid-list-Crv-hFJL.js";
3
3
  import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-CKTt7Rrw.js";
4
4
  import { i as ListGroupChangeEvent, l as ListGroupToggleDetail, n as ListGroupBy, o as ListGroupInfo, r as ListGroupChangeDetail, s as ListGroupLabel, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
5
5
  export { type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListItemUpdate, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewState, type GridListViewportChangeDetail, type GridListViewportChangeEvent, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupInfo, type ListGroupLabel, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSelectionMode };
package/dist/grid-list.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import "./list-group-header.js";
2
- export { t as GridListElement } from "./grid-list-D2hinM64.js";
2
+ export { t as GridListElement } from "./grid-list-DYU_z2K9.js";
@@ -1,2 +1,2 @@
1
- import { A as FuzzySearch, C as ListSearchControllerOptions, D as IncrSearchTreeOptions, E as IncrSearchTreeController, F as IncrSearchChangeCallback, I as IncrSearchOptions, L as IncrSearchResult, M as HighlightOptions, N as HighlightTarget, O as createAcCompletionProvider, P as IncrSearch, R as IncrSearchState, S as ListSearchController, T as ListSearchMode, _ as DataListSearchAdapterOptions, a as RegisterListSearchCommandsOptions, b as LIST_SEARCH_MODES, c as applyHighlights, d as createFuzzySearch, f as ElementIncrSearch, g as createElementListSearchAdapter, h as ElementListSearchHost, i as LIST_SEARCH_COMMAND_IDS, j as FuzzySearchOptions, k as ElementIncrSearchOptions, l as buildHighlightTargets, m as ElementListSearchAdapterOptions, n as createTreeListSearchAdapter, o as registerListSearchCommands, p as createElementIncrSearch, r as listSearchStyles, s as createIncrSearch, t as TreeListSearchAdapterOptions, u as clearHighlights, v as DataListSearchItem, w as ListSearchHost, x as ListSearchAdapter, y as createDataListSearchAdapter } from "./index-CRLTVAyt.js";
1
+ import { A as FuzzySearch, C as ListSearchControllerOptions, D as IncrSearchTreeOptions, E as IncrSearchTreeController, F as IncrSearchChangeCallback, I as IncrSearchOptions, L as IncrSearchResult, M as HighlightOptions, N as HighlightTarget, O as createAcCompletionProvider, P as IncrSearch, R as IncrSearchState, S as ListSearchController, T as ListSearchMode, _ as DataListSearchAdapterOptions, a as RegisterListSearchCommandsOptions, b as LIST_SEARCH_MODES, c as applyHighlights, d as createFuzzySearch, f as ElementIncrSearch, g as createElementListSearchAdapter, h as ElementListSearchHost, i as LIST_SEARCH_COMMAND_IDS, j as FuzzySearchOptions, k as ElementIncrSearchOptions, l as buildHighlightTargets, m as ElementListSearchAdapterOptions, n as createTreeListSearchAdapter, o as registerListSearchCommands, p as createElementIncrSearch, r as listSearchStyles, s as createIncrSearch, t as TreeListSearchAdapterOptions, u as clearHighlights, v as DataListSearchItem, w as ListSearchHost, x as ListSearchAdapter, y as createDataListSearchAdapter } from "./index-Db5VGFR1.js";
2
2
  export { type DataListSearchAdapterOptions, type DataListSearchItem, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, type FuzzySearch, type FuzzySearchOptions, type HighlightOptions, type HighlightTarget, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type RegisterListSearchCommandsOptions, type TreeListSearchAdapterOptions, applyHighlights, buildHighlightTargets, clearHighlights, createAcCompletionProvider, createDataListSearchAdapter, createElementIncrSearch, createElementListSearchAdapter, createFuzzySearch, createIncrSearch, createTreeListSearchAdapter, listSearchStyles, registerListSearchCommands };
@@ -1,9 +1,9 @@
1
- import { E as TreeSearchHost, M as TreeDataModel, a as TreeComponent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, w as TreeNavigateOptions, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DNuzfo6R.js";
1
+ import { E as TreeSearchHost, M as TreeDataModel, a as TreeComponent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, w as TreeNavigateOptions, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-BE7OEIiH.js";
2
2
  import { a as TreeItem, n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
3
3
  import { a as ViewStateBase, n as ScrollState, t as GetViewStateOptions } from "./types-16GC5k1z.js";
4
4
  import { m as ListSelectKeysDetail, u as ListSelectIntentDetail } from "./list-selection-types-CKTt7Rrw.js";
5
5
  import "./index-Cdcek1Oj.js";
6
- import { S as ListSearchController } from "./index-CRLTVAyt.js";
6
+ import { S as ListSearchController } from "./index-Db5VGFR1.js";
7
7
  import { n as TickledController } from "./tickled-controller-DSPoG551.js";
8
8
  import { LitElement, PropertyValues, TemplateResult, nothing } from "lit";
9
9
  import { CommandRegistry } from "@clinth/ui-commands";
@@ -1,10 +1,10 @@
1
- import { B as ListNativeDragStartDetail, C as TreeItemDblClickEvent, D as TreeSelectAllOptions, E as TreeSearchHost, L as ListDragPreviewRenderer, M as TreeDataModel, R as ListDragPreviewSourceResolver, _ as TreeDropTarget, a as TreeComponent, c as TreeDragContext, d as TreeDragStartEvent, h as TreeDropEvent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, l as TreeDragEndEvent, m as TreeDropDetail, n as TreeActivateEvent, o as TreeComponentEventMap, p as TreeDropContext, s as TreeDndMode, u as TreeDragOverEvent, w as TreeNavigateOptions, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DNuzfo6R.js";
1
+ import { C as TreeItemDblClickEvent, D as TreeSelectAllOptions, E as TreeSearchHost, M as TreeDataModel, R as ListDragPreviewRenderer, V as ListNativeDragStartDetail, _ as TreeDropTarget, a as TreeComponent, c as TreeDragContext, d as TreeDragStartEvent, h as TreeDropEvent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, l as TreeDragEndEvent, m as TreeDropDetail, n as TreeActivateEvent, o as TreeComponentEventMap, p as TreeDropContext, s as TreeDndMode, u as TreeDragOverEvent, w as TreeNavigateOptions, x as TreeItemClickEvent, y as TreeExpandEvent, z as ListDragPreviewSourceResolver } from "./tree-component-BE7OEIiH.js";
2
2
  import { a as TreeItem, i as TreeInteractionMode, n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
3
3
  import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
4
4
  import { m as ListSelectKeysDetail, p as ListSelectIntentSource, u as ListSelectIntentDetail } from "./list-selection-types-CKTt7Rrw.js";
5
5
  import "./index-Cdcek1Oj.js";
6
- import { S as ListSearchController } from "./index-CRLTVAyt.js";
7
- import { t as ListNativeDragController } from "./list-native-drag-controller-CgXKdmjr.js";
6
+ import { S as ListSearchController } from "./index-Db5VGFR1.js";
7
+ import { t as ListNativeDragController } from "./list-native-drag-controller-Cs-Tmtaa.js";
8
8
  import { n as TickledController } from "./tickled-controller-DSPoG551.js";
9
9
  import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, TemplateResult, nothing } from "lit";
10
10
  import { CommandRegistry } from "@clinth/ui-commands";
@@ -1,4 +1,4 @@
1
- import { E as TreeSearchHost } from "./tree-component-DNuzfo6R.js";
1
+ import { E as TreeSearchHost } from "./tree-component-BE7OEIiH.js";
2
2
  import { o as TreeNode } from "./types-6hpXRKt7.js";
3
3
  import { p as ListSelectIntentSource } from "./list-selection-types-CKTt7Rrw.js";
4
4
  import "./icon-Bhz0c6Yf.js";