@ixfx/components 0.8.8 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/bundle/index.d.ts +252 -43
  2. package/bundle/index.d.ts.map +1 -1
  3. package/bundle/index.js +1177 -39
  4. package/bundle/index.js.map +1 -1
  5. package/dist/crumbs.d.ts +1 -1
  6. package/dist/{data-grid-BKa9i86q.d.ts → data-grid-C588pTgt.d.ts} +3 -3
  7. package/dist/{data-grid-BKa9i86q.d.ts.map → data-grid-C588pTgt.d.ts.map} +1 -1
  8. package/dist/data-grid.d.ts +2 -2
  9. package/dist/data-grid.js +1 -1
  10. package/dist/{detail-list-CHTomlbR.d.ts → detail-list-IKl76Wnp.d.ts} +4 -4
  11. package/dist/{detail-list-CHTomlbR.d.ts.map → detail-list-IKl76Wnp.d.ts.map} +1 -1
  12. package/dist/detail-list.d.ts +3 -3
  13. package/dist/detail-list.js +1 -1
  14. package/dist/{grid-list-CsZcXxMC.d.ts → grid-list-C1zq5U1W.d.ts} +20 -56
  15. package/dist/grid-list-C1zq5U1W.d.ts.map +1 -0
  16. package/dist/{grid-list-C8oMxLl-.js → grid-list-zUZRI8hk.js} +39 -3
  17. package/dist/grid-list-zUZRI8hk.js.map +1 -0
  18. package/dist/grid-list.d.ts +2 -2
  19. package/dist/grid-list.js +1 -1
  20. package/dist/incr-search.d.ts +1 -1
  21. package/dist/{index-Dgrx-DIA.d.ts → index--qnhBWZJ.d.ts} +2 -2
  22. package/dist/{index-Dgrx-DIA.d.ts.map → index--qnhBWZJ.d.ts.map} +1 -1
  23. package/dist/index.d.ts +30 -9
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +11 -11
  26. package/dist/index.js.map +1 -1
  27. package/dist/{labelled-slider-input-BCH9968c.js → labelled-slider-input-aEYDvW2S.js} +2 -2
  28. package/dist/{labelled-slider-input-BCH9968c.js.map → labelled-slider-input-aEYDvW2S.js.map} +1 -1
  29. package/dist/labelled-slider-input.js +1 -1
  30. package/dist/list-native-drag-controller-Cmpx7jnx.d.ts +68 -0
  31. package/dist/list-native-drag-controller-Cmpx7jnx.d.ts.map +1 -0
  32. package/dist/{list-native-drag-controller-DrY3qeJM.js → list-native-drag-controller-DaBNcjgG.js} +28 -2
  33. package/dist/list-native-drag-controller-DaBNcjgG.js.map +1 -0
  34. package/dist/miller.d.ts +2 -2
  35. package/dist/plots.js +1 -1
  36. package/dist/slider-input-BxURAAmD.d.ts.map +1 -1
  37. package/dist/{slider-input-WR8_RwHg.js → slider-input-Cb5uSV42.js} +78 -11
  38. package/dist/slider-input-Cb5uSV42.js.map +1 -0
  39. package/dist/slider-input.js +1 -1
  40. package/dist/{split-layout-CA5jbNbG.js → split-layout-Bx0g8k8-.js} +24 -1
  41. package/dist/{split-layout-CA5jbNbG.js.map → split-layout-Bx0g8k8-.js.map} +1 -1
  42. package/dist/split-layout-JK3xWVX2.d.ts.map +1 -1
  43. package/dist/split-layout.js +1 -1
  44. package/dist/{tree-DSMn566I.js → tree-CwifXCzR.js} +1006 -19
  45. package/dist/tree-CwifXCzR.js.map +1 -0
  46. package/dist/{tree-component-nPP5Y-WS.d.ts → tree-component-BW2iCFq9.d.ts} +107 -3
  47. package/dist/tree-component-BW2iCFq9.d.ts.map +1 -0
  48. package/dist/tree.d.ts +102 -4
  49. package/dist/tree.d.ts.map +1 -1
  50. package/dist/tree.js +2 -2
  51. package/dist/{vertical-list-A6oWfivZ.d.ts → vertical-list-CHrXmmQ3.d.ts} +3 -3
  52. package/dist/{vertical-list-A6oWfivZ.d.ts.map → vertical-list-CHrXmmQ3.d.ts.map} +1 -1
  53. package/dist/vertical-list.d.ts +2 -2
  54. package/dist/vertical-list.js +1 -1
  55. package/dist/{xy-axis-CrrVdDFe.js → xy-axis-COKw338Q.js} +2 -2
  56. package/dist/xy-axis-COKw338Q.js.map +1 -0
  57. package/dist/xy-axis-DQqd2yXJ.d.ts.map +1 -1
  58. package/docs-user/index.json +2 -2
  59. package/docs-user/tree.md +75 -0
  60. package/package.json +1 -1
  61. package/dist/grid-list-C8oMxLl-.js.map +0 -1
  62. package/dist/grid-list-CsZcXxMC.d.ts.map +0 -1
  63. package/dist/list-drag-types-kpaXz2pZ.d.ts +0 -42
  64. package/dist/list-drag-types-kpaXz2pZ.d.ts.map +0 -1
  65. package/dist/list-native-drag-controller-DrY3qeJM.js.map +0 -1
  66. package/dist/slider-input-WR8_RwHg.js.map +0 -1
  67. package/dist/tree-DSMn566I.js.map +0 -1
  68. package/dist/tree-component-nPP5Y-WS.d.ts.map +0 -1
  69. package/dist/xy-axis-CrrVdDFe.js.map +0 -1
package/dist/crumbs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import { E as TreeSelectEvent, O as TreeTickleEvent, a as TreeComponent, k as TreeDataModel, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-BW2iCFq9.js";
1
2
  import { n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-Bc23SI94.js";
2
- import { _ as TreeTickleEvent, a as TreeComponent, c as TreeExpandEvent, h as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, u as TreeItemClickEvent, v as TreeDataModel } from "./tree-component-nPP5Y-WS.js";
3
3
  import "./menu-item-CZi9vy5O.js";
4
4
  import "./narrowed-text.js";
5
5
  import { LitElement, PropertyValues } from "lit";
@@ -1,5 +1,5 @@
1
- import { i as ListDragPreviewRenderer, s as ListNativeDragStartEvent } from "./list-drag-types-kpaXz2pZ.js";
2
- import { S as ListSearchController } from "./index-Dgrx-DIA.js";
1
+ import { L as ListNativeDragStartEvent, P as ListDragPreviewRenderer } from "./tree-component-BW2iCFq9.js";
2
+ import { S as ListSearchController } from "./index--qnhBWZJ.js";
3
3
  import "./index-9AhaHIT2.js";
4
4
  import { LitElement } from "lit";
5
5
  import { CommandId, CommandRegistry } from "@clinth/ui-commands";
@@ -282,4 +282,4 @@ interface DataGridElement {
282
282
  }
283
283
  //#endregion
284
284
  export { DataGridSortDetail as _, DataGridColumnReorderDetail as a, DataGridColumnResizeEvent as c, DataGridElement as d, DataGridElementEventMap as f, DataGridSelectEvent as g, DataGridSelectDetail as h, DataGridCellEditEvent as i, DataGridColumnVisibilityDetail as l, DataGridGroupChangeEvent as m, DataGridCellClickEvent as n, DataGridColumnReorderEvent as o, DataGridGroupChangeDetail as p, DataGridCellEditDetail as r, DataGridColumnResizeDetail as s, DataGridCellClickDetail as t, DataGridColumnVisibilityEvent as u, DataGridSortEvent as v };
285
- //# sourceMappingURL=data-grid-BKa9i86q.d.ts.map
285
+ //# sourceMappingURL=data-grid-C588pTgt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-grid-BKa9i86q.d.ts","names":[],"sources":["../src/data-grid/types.ts","../src/data-grid/data-grid.ts"],"mappings":";;;;;;KAAY;KACA;KACA;KACA;WAA+B;WAAsB,WAAW;;KAChE;KAEA,sBAAsB;WACvB,KAAK;WACL,QAAQ,eAAe;WACvB;WACA;WACA;EACT,SAAS;EACT;;KAEU,sBAAsB,gBAAgB,KAAK,sBAAsB;KAEjE,eAAe;EACzB;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU,GAAG,GAAG,GAAG;EACnB;EACA;EACA;EACA,YAAY,KAAK,GAAG,KAAK,eAAe,IAAI;EAC5C;EACA;EACA;EACA,SAAS,qBAAqB,sBAAsB;EACpD,gBAAgB;IAAyB;IAAe;;EACxD,aAAa,gBAAgB,KAAK,GAAG,KAAK,eAAe;;KAG/C,mBAAmB,gBAAgB,oBAAoB;KAEvD;KAEA;KACA;EAA4B;;KAE5B,kBAAkB,MAAM,KAAK,GAAG;KAChC,gBAAgB,gBAAgB,KAAK;KACrC,sBAAsB,kBAAkB;;KAGxC;;;KCpBA;WAAgC,MAAM;WAA4B,UAAU;;KAC5E,oBAAoB,YAAY;KAChC;WAAkC,cAAc;WAA8B,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AAW;UA8CH;UAiBA;UAsBA;UAmCA;UAsKA;UAUA;UAKA;UAQA;;EAeR,UAAU,gBAAgB;;EAK1B,aAAa;EAWb;EAIA,mBAAmB,mBAAmB,aAAa,8BAA8B,6BAA6B,UAAU;UAkBhH;UAWA;UAYA;UAyBA;UACA;UA2BA;UAYA;UAkCA;EAoBR;IAAqB;IAAkB;IAAgB;IAAkB;;UASjE;UAaA;YAQW,wBAAM;;QA2MnB;YACI;IAAwB,kBAAkB;;;UAErC;EACf,oBAAoB,gBAAgB,yBAAyB,MAAM,GAAG,WAAW,MAAM,iBAAiB,OAAO,wBAAwB,aAAa,oBAAoB,sCAAsC,cAAc,UAAU,oCAAoC,oBAAoB;EAC9R,uBAAuB,gBAAgB,yBAAyB,MAAM,GAAG,WAAW,MAAM,iBAAiB,OAAO,wBAAwB,aAAa,oBAAoB,mCAAmC,cAAc,UAAU,oCAAoC,oBAAoB"}
1
+ {"version":3,"file":"data-grid-C588pTgt.d.ts","names":[],"sources":["../src/data-grid/types.ts","../src/data-grid/data-grid.ts"],"mappings":";;;;;;KAAY;KACA;KACA;KACA;WAA+B;WAAsB,WAAW;;KAChE;KAEA,sBAAsB;WACvB,KAAK;WACL,QAAQ,eAAe;WACvB;WACA;WACA;EACT,SAAS;EACT;;KAEU,sBAAsB,gBAAgB,KAAK,sBAAsB;KAEjE,eAAe;EACzB;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU,GAAG,GAAG,GAAG;EACnB;EACA;EACA;EACA,YAAY,KAAK,GAAG,KAAK,eAAe,IAAI;EAC5C;EACA;EACA;EACA,SAAS,qBAAqB,sBAAsB;EACpD,gBAAgB;IAAyB;IAAe;;EACxD,aAAa,gBAAgB,KAAK,GAAG,KAAK,eAAe;;KAG/C,mBAAmB,gBAAgB,oBAAoB;KAEvD;KAEA;KACA;EAA4B;;KAE5B,kBAAkB,MAAM,KAAK,GAAG;KAChC,gBAAgB,gBAAgB,KAAK;KACrC,sBAAsB,kBAAkB;;KAGx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;;MAKhB,aAAa,MAAM;;;;;;;EAUvB,WAAW,MAAM;;MA0Bb;;EAKJ,UAAU;;;;;;;;EAcV,WAAW;UA8CH;UAiBA;UAsBA;UAmCA;UAsKA;UAUA;UAKA;UAQA;;EAeR,UAAU,gBAAgB;;EAK1B,aAAa;EAWb;EAIA,mBAAmB,mBAAmB,aAAa,8BAA8B,6BAA6B,UAAU;UAkBhH;UAWA;UAYA;UAyBA;UACA;UA2BA;UAYA;UAkCA;EAoBR;IAAqB;IAAkB;IAAgB;IAAkB;;UASjE;UAaA;YAQW,wBAAM;;QA2MnB;YACI;IAAwB,kBAAkB;;;UAErC;EACf,oBAAoB,gBAAgB,yBAAyB,MAAM,GAAG,WAAW,MAAM,iBAAiB,OAAO,wBAAwB,aAAa,oBAAoB,sCAAsC,cAAc,UAAU,oCAAoC,oBAAoB;EAC9R,uBAAuB,gBAAgB,yBAAyB,MAAM,GAAG,WAAW,MAAM,iBAAiB,OAAO,wBAAwB,aAAa,oBAAoB,mCAAmC,cAAc,UAAU,oCAAoC,oBAAoB"}
@@ -1,3 +1,3 @@
1
- import { a as ListDragSource, i as ListDragPreviewRenderer, n as ListDragPreview, o as ListNativeDragStartDetail, r as ListDragPreviewContext, s as ListNativeDragStartEvent, t as ListDragEntry } from "./list-drag-types-kpaXz2pZ.js";
2
- import { _ as DataGridSortDetail, a as DataGridColumnReorderDetail, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridSelectEvent, h as DataGridSelectDetail, i as DataGridCellEditEvent, 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 DataGridSortEvent } from "./data-grid-BKa9i86q.js";
1
+ import { F as ListDragSource, I as ListNativeDragStartDetail, L as ListNativeDragStartEvent, M as ListDragPreview, N as ListDragPreviewContext, P as ListDragPreviewRenderer, j as ListDragEntry } from "./tree-component-BW2iCFq9.js";
2
+ import { _ as DataGridSortDetail, a as DataGridColumnReorderDetail, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridSelectEvent, h as DataGridSelectDetail, i as DataGridCellEditEvent, 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 DataGridSortEvent } from "./data-grid-C588pTgt.js";
3
3
  export { DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, DataGridElement, DataGridElementEventMap, DataGridGroupChangeDetail, DataGridGroupChangeEvent, DataGridSelectDetail, DataGridSelectEvent, DataGridSortDetail, DataGridSortEvent, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListNativeDragStartDetail, type ListNativeDragStartEvent };
package/dist/data-grid.js CHANGED
@@ -4,7 +4,7 @@ import { t as themeFallbacks } from "./fallbacks-BcKGq-2F.js";
4
4
  import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
5
5
  import { i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES } from "./incr-search-C05WjbZh.js";
6
6
  import { t as handleStyles } from "./handle-BPOxBOKf.js";
7
- import { t as ListNativeDragController } from "./list-native-drag-controller-DrY3qeJM.js";
7
+ import { t as ListNativeDragController } from "./list-native-drag-controller-DaBNcjgG.js";
8
8
  import { i as listItemFadeKeyframes } from "./list-item-animation-BUoEKi5s.js";
9
9
  import "./interaction-BskmlA9t.js";
10
10
  import { t as createDragGhost } from "./drag-ghost-DtSDvjri.js";
@@ -1,9 +1,9 @@
1
1
  import "./icon-CDGprSdE.js";
2
2
  import { r as IDataProvider } from "./data-provider-BAn_-oR1.js";
3
- import { i as ListDragPreviewRenderer, s as ListNativeDragStartEvent } from "./list-drag-types-kpaXz2pZ.js";
4
- import { S as ListSearchController } from "./index-Dgrx-DIA.js";
3
+ import { L as ListNativeDragStartEvent, P as ListDragPreviewRenderer } from "./tree-component-BW2iCFq9.js";
4
+ import { S as ListSearchController } from "./index--qnhBWZJ.js";
5
5
  import { i as ListInteractionMode, l as ListSelectionMode, r as ListElementEventMap } from "./list-selection-types-B5ioL-dG.js";
6
- import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-A6oWfivZ.js";
6
+ import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-CHrXmmQ3.js";
7
7
  import { LitElement, PropertyValues } from "lit";
8
8
  import { CommandId, CommandRegistry } from "@clinth/ui-commands";
9
9
  //#region src/detail-list/types.d.ts
@@ -189,4 +189,4 @@ interface DetailListElementEventMap extends ListElementEventMap {
189
189
  }
190
190
  //#endregion
191
191
  export { DetailSortItem as a, DetailSortComparator as i, DetailListElementEventMap as n, DetailSortMode as o, DetailFormatter as r, DetailListElement as t };
192
- //# sourceMappingURL=detail-list-CHTomlbR.d.ts.map
192
+ //# sourceMappingURL=detail-list-IKl76Wnp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"detail-list-CHTomlbR.d.ts","names":[],"sources":["../src/detail-list/types.ts","../src/detail-list/detail-list.ts"],"mappings":";;;;;;;;;;KACY;;KAGA;WACD,SAAS;WACT;WACA;;;KAIC,wBAAwB,GAAG,gBAAgB,GAAG;;KAG9C,mBAAmB,eAAe,2BAA2B;;;;;;;;;;;;;;;;;;;;cC6E5D,0BAA0B;;EAErC,eAAe;EAGf,iBAAiB;EAGjB,MAAM;EAGN;EAGA,gBAAgB;EAGhB;EAGA,UAAU;EAGV;EAGA,WAAW;EAGX;EAG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;EAGhB;EAGA,UAAU;EAGV;EAGA,WAAW;EAGX;EAGA;EAGA,mBAAmB,IAAI;;;;;;EAQvB;;EAIA,oBAAoB,gCAAgC;;;;;;EAQpD;;;;;;EAQA;;;;;EAOA,qBAAqB,wBAAwB;UAGrC;mBAeS;UAeT;UAkFA;;WAyEC,QAAM,qBAAA;;MAYX,YAAY;EAoBP;EA4DA;EAqBA;EASA,QAAQ,SAAS;;MA0CtB,gBAAgB;;MAKhB,iBAAiB,YAAY;;;;;;EASjC;EAIA,QAAQ,MAAM,kBAAkB,UAAU;;;;;EAuB1C,WAAW,MAAM,UAAU;;EAW3B,YAAY,OAAO,SAAS,WAAW;EAIvC;;;;;EAYA,SAAS,gBAAgB;;;;;EAgBzB,YAAY,MAAM;;;;;;EASlB,SAAS,WAAW,WAAW,OAAO;EAItC,OAAO,MAAM;EAIb,WAAW,OAAO,SAAS;EAI3B,SAAS,MAAM;EAIf;EAIA;;MAQI,gBAAgB;;MAKhB;;EAMJ,WAAW,MAAM;;EAKjB,gBAAgB,MAAM;;EAKtB,mBAAmB,MAAM;;EAKzB,SAAS;EAgBP,eAAe,0CAA0C,UAAU;UAoa7D;;;;;;;;;EAkBF,kBAAkB;UAwBhB;UAMA;UAgCA;UAiBA;;;;;;;UA2DA;;UAoBA;UAcA;UAYA;UAQA;UAWA;UAMA;UAIA;UA4EA;UAWA;UAMA;UAKA;SAUQ,sBAAM;EAiJb,wBAAM;;QAsBT;YACI;IACR,oBAAoB;;YAGZ,4BAA4B;;UAGvB,kCAAkC;EACjD,0BAA0B,yBAAyB"}
@@ -1,4 +1,4 @@
1
- import { a as ListDragSource, i as ListDragPreviewRenderer, n as ListDragPreview, o as ListNativeDragStartDetail, r as ListDragPreviewContext, s as ListNativeDragStartEvent, t as ListDragEntry } from "./list-drag-types-kpaXz2pZ.js";
2
- import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-A6oWfivZ.js";
3
- import { a as DetailSortItem, i as DetailSortComparator, n as DetailListElementEventMap, o as DetailSortMode, r as DetailFormatter, t as DetailListElement } from "./detail-list-CHTomlbR.js";
1
+ import { F as ListDragSource, I as ListNativeDragStartDetail, L as ListNativeDragStartEvent, M as ListDragPreview, N as ListDragPreviewContext, P as ListDragPreviewRenderer, j as ListDragEntry } from "./tree-component-BW2iCFq9.js";
2
+ import { n as CustomCheckboxOptions, t as AddItemOptions } from "./vertical-list-CHrXmmQ3.js";
3
+ import { a as DetailSortItem, i as DetailSortComparator, n as DetailListElementEventMap, o as DetailSortMode, r as DetailFormatter, t as DetailListElement } from "./detail-list-IKl76Wnp.js";
4
4
  export { type AddItemOptions, type CustomCheckboxOptions, type DetailFormatter, DetailListElement, DetailListElementEventMap, type DetailSortComparator, type DetailSortItem, type DetailSortMode, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListNativeDragStartDetail, type ListNativeDragStartEvent };
@@ -4,7 +4,7 @@ import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js"
4
4
  import "./icon-Dy33gu4Z.js";
5
5
  import { t as DataController } from "./data-controller-DOlmqNKb.js";
6
6
  import { c as createElementListSearchAdapter, i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, u as keyForElement } from "./incr-search-C05WjbZh.js";
7
- import { t as ListNativeDragController } from "./list-native-drag-controller-DrY3qeJM.js";
7
+ import { t as ListNativeDragController } from "./list-native-drag-controller-DaBNcjgG.js";
8
8
  import { r as ListDragSelectController, t as ListSelectionController } from "./list-selection-controller-SA4piSBi.js";
9
9
  import { n as animateListItemIn, r as animateListItemOut } from "./list-item-animation-BUoEKi5s.js";
10
10
  import { t as scrollFadeStyles } from "./scroll-fade-CAs1EabA.js";
@@ -1,6 +1,7 @@
1
- import { a as ListDragSource, i as ListDragPreviewRenderer, o as ListNativeDragStartDetail, r as ListDragPreviewContext, s as ListNativeDragStartEvent, t as ListDragEntry } from "./list-drag-types-kpaXz2pZ.js";
2
- import { S as ListSearchController } from "./index-Dgrx-DIA.js";
1
+ import { L as ListNativeDragStartEvent, P as ListDragPreviewRenderer } from "./tree-component-BW2iCFq9.js";
2
+ import { S as ListSearchController } from "./index--qnhBWZJ.js";
3
3
  import { i as ListInteractionMode, l as ListSelectionMode } from "./list-selection-types-B5ioL-dG.js";
4
+ import "./list-native-drag-controller-Cmpx7jnx.js";
4
5
  import { i as TickledItem, n as TickledController } from "./tickled-controller-C1ZsHpyg.js";
5
6
  import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, html } from "lit";
6
7
  import { CommandRegistry } from "@clinth/ui-commands";
@@ -48,7 +49,7 @@ type ListDragSelectControllerConfig<T> = {
48
49
  */
49
50
  shouldStart?: (event: PointerEvent) => boolean;
50
51
  };
51
- type DragHost$1 = ReactiveControllerHost & HTMLElement;
52
+ type DragHost = ReactiveControllerHost & HTMLElement;
52
53
  /**
53
54
  * Shared pointer-drag (marquee / rubber-band) selection for list components.
54
55
  *
@@ -64,7 +65,7 @@ type DragHost$1 = ReactiveControllerHost & HTMLElement;
64
65
  */
65
66
  declare class ListDragSelectController<T> implements ReactiveController {
66
67
  #private;
67
- constructor(host: DragHost$1, config: ListDragSelectControllerConfig<T>);
68
+ constructor(host: DragHost, config: ListDragSelectControllerConfig<T>);
68
69
  /** `true` while a drag is in progress or its trailing click is still pending. */
69
70
  get isDragging(): boolean;
70
71
  /** `true` once the press has crossed the threshold and a rect is live. */
@@ -75,55 +76,6 @@ declare class ListDragSelectController<T> implements ReactiveController {
75
76
  hostUpdated(): void;
76
77
  }
77
78
  //#endregion
78
- //#region src/interaction/list-native-drag-controller.d.ts
79
- type ListNativeDragControllerConfig<T> = {
80
- readonly source: ListDragSource;
81
- /** `itemsDraggable && selection usable` */
82
- isEnabled: () => boolean;
83
- /** Event target → item key, or `undefined` when the drag did not start on an item. */
84
- resolveEventToKey: (target: EventTarget | null) => string | undefined;
85
- /**
86
- * Apply the origin rule (origin ∉ selection ⇒ replace with origin); return
87
- * display-ordered `{ origin, selected }` for both modes, or `undefined` when
88
- * the origin is not selectable.
89
- */
90
- prepareSelection: (originKey: string) => {
91
- origin: ListDragEntry<T>;
92
- selected: Array<ListDragEntry<T>>;
93
- } | undefined;
94
- getMetrics: () => ListDragPreviewContext<T>[`metrics`];
95
- getRenderer: () => ListDragPreviewRenderer<T> | undefined;
96
- /** Fire the cancelable `list-native-drag-start`; return `!defaultPrevented`. */
97
- dispatch: (detail: ListNativeDragStartDetail<T>) => boolean;
98
- /** Host toggles `data-native-dragging` / `aria-label`, re-renders. */
99
- onActiveChange: (active: boolean, originKey?: string) => void;
100
- /** Host clears state + starts its post-drag click-suppress timer. */
101
- onEnd: () => void;
102
- /** Optional: sync `draggable` on light-DOM / slotted children while enabled. */
103
- syncLightDomDraggable?: () => void;
104
- };
105
- type DragHost = ReactiveControllerHost & HTMLElement;
106
- /**
107
- * Shared native item/row drag-out for list components.
108
- *
109
- * Owns capture-phase `dragstart` / `dragend` listeners on the host and its
110
- * render root, a `MutationObserver` that keeps light-DOM / slotted item `draggable`
111
- * attributes in sync, and a single post-dispatch disposal on
112
- * `requestAnimationFrame`. All DOM / selection knowledge lives in the host
113
- * config callbacks.
114
- */
115
- declare class ListNativeDragController<T> implements ReactiveController {
116
- #private;
117
- constructor(host: DragHost, config: ListNativeDragControllerConfig<T>);
118
- get isDragging(): boolean;
119
- /** `"true"` when enabled, else `"false"` — for shadow-row template bindings. */
120
- get draggableAttr(): string;
121
- /** Re-run the light-DOM `draggable` sync (e.g. after `itemsDraggable` flips). */
122
- refreshDraggable(): void;
123
- hostConnected(): void;
124
- hostDisconnected(): void;
125
- }
126
- //#endregion
127
79
  //#region src/interaction/list-selection-controller.d.ts
128
80
  /** Modifier state needed to route a click gesture per interaction mode. */
129
81
  type ListSelectionGesture = {
@@ -508,7 +460,7 @@ declare class GridListElement<T = unknown> extends LitElement {
508
460
  captionStyle: GridListCaptionStyle;
509
461
  /** Horizontal alignment of the caption text: `left`, `middle` (default), `right`. */
510
462
  captionAlign: GridListCaptionAlign;
511
- /** `overlaid` only vertical placement: `top`, `middle`, `bottom` (default). */
463
+ /** Vertical placement of caption: `top`, `middle` (default), `bottom`. `middle` only has effect for `overlaid` style. */
512
464
  captionPosition: GridListCaptionPosition;
513
465
  /** `overlaid` only — backdrop behind the caption: `scrim` (default), `gradient`, `blur`, `none`. */
514
466
  captionBackdrop: GridListCaptionBackdrop;
@@ -540,6 +492,18 @@ declare class GridListElement<T = unknown> extends LitElement {
540
492
  * `list-native-drag-start` when a drag begins.
541
493
  */
542
494
  itemsDraggable: boolean;
495
+ /**
496
+ * Allow a marquee (region) selection to start from a cell's blank well area —
497
+ * a press that reaches `.thumb` without passing through slotted item content,
498
+ * the caption, or an interactive control. The same press is prevented from
499
+ * starting the cell's native drag.
500
+ *
501
+ * Off by default. The consumer must ensure blank areas are not covered by
502
+ * pointer-eventful slotted nodes (size content to its box and/or set
503
+ * `pointer-events: none` on filler), otherwise the blank area still counts as
504
+ * content and this has no effect.
505
+ */
506
+ marqueeFromCellBlank: boolean;
543
507
  /**
544
508
  * Custom drag preview renderer. Receives the selection snapshot and returns
545
509
  * an element for `DataTransfer.setDragImage()` plus an optional pre-painted
@@ -680,5 +644,5 @@ interface GridListElement {
680
644
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
681
645
  }
682
646
  //#endregion
683
- export { ListSelectionModes as A, TreeKeyboardNavCallbacks as C, ListSelectionController as D, TreeKeyboardNavItemId as E, ListDragSelectController as F, ListDragSelectControllerConfig as I, ListNativeDragController as M, ListNativeDragControllerConfig as N, ListSelectionControllerConfig as O, DragSelectRect as P, GridListViewportChangeEvent as S, TreeKeyboardNavControllerConfig as T, GridListSelectDetail as _, GridListActivateEvent as a, GridListTickleEvent as b, GridListCaptionPosition as c, GridListElementEventMap as d, GridListFullElementEventMap as f, GridListOrientation as g, GridListItemEventDetail as h, GridListActivateDetail as i, isMultiMode as j, ListSelectionGesture as k, GridListCaptionStyle as l, GridListItemClickEvent as m, PanTextElement as n, GridListCaptionAlign as o, GridListItemClickDetail as p, PanTextMode as r, GridListCaptionBackdrop as s, GridListElement as t, GridListDataAdapter as u, GridListSelectEvent as v, TreeKeyboardNavController as w, GridListViewportChangeDetail as x, GridListTickleDetail as y };
684
- //# sourceMappingURL=grid-list-CsZcXxMC.d.ts.map
647
+ export { ListSelectionModes as A, TreeKeyboardNavCallbacks as C, ListSelectionController as D, TreeKeyboardNavItemId as E, DragSelectRect as M, ListDragSelectController as N, ListSelectionControllerConfig as O, ListDragSelectControllerConfig as P, GridListViewportChangeEvent as S, TreeKeyboardNavControllerConfig as T, GridListSelectDetail as _, GridListActivateEvent as a, GridListTickleEvent as b, GridListCaptionPosition as c, GridListElementEventMap as d, GridListFullElementEventMap as f, GridListOrientation as g, GridListItemEventDetail as h, GridListActivateDetail as i, isMultiMode as j, ListSelectionGesture as k, GridListCaptionStyle as l, GridListItemClickEvent as m, PanTextElement as n, GridListCaptionAlign as o, GridListItemClickDetail as p, PanTextMode as r, GridListCaptionBackdrop as s, GridListElement as t, GridListDataAdapter as u, GridListSelectEvent as v, TreeKeyboardNavController as w, GridListViewportChangeDetail as x, GridListTickleDetail as y };
648
+ //# sourceMappingURL=grid-list-C1zq5U1W.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-list-C1zq5U1W.d.ts","names":[],"sources":["../src/interaction/list-drag-select-controller.ts","../src/interaction/list-selection-controller.ts","../src/interaction/tree-keyboard-controller.ts","../src/grid-list/types.ts","../src/pan-text/pan-text.ts","../src/grid-list/grid-list.ts"],"mappings":";;;;;;;;;KAGY;WACD;WACA;WACA;WACA;;KAGC,+BAA+B;;EAEzC,kBAAkB;;EAElB;;EAEA;;EAEA;;EAEA,UAAU,MAAM,mBAAmB,SAAS;;;;;;EAM5C,wBAAwB,YAAY;;EAEpC,YAAY,SAAS,YAAY,IAAI,MAAM;;;;;;EAM3C,WAAW,UAAU,YAAY,IAAI;IAAQ;;;EA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,cAAc;;EAId,iBAAiB;;EAIjB,iBAAiB;;;;;EAOjB;EAGA;;;;;;EAQA,mBAAmB,IAAI;;;;;EAOvB,uBAAuB,MAAM,GAAG;;;;;;;;;;;EAahC;;;;;;;;;;;;EAcA;;;;;;;EASA,qBAAqB,wBAAwB;EAG7C;;;;;EAOA,gBAAgB;;;;;EAOhB,aAAa,oBAAwB;UAEpB;UACA;UACA;UACA;WAoCR,WAAS;WAeT,SAAO;;;;;;EA0PhB,QAAS;;MAoDL,YAAY;EAqBP;EA6BA;YA6GU;YAqDA,WAAW,SAAS;YAqFpB,QAAQ,SAAS;;;;;;EA4GpC;;EAKA;MA0DI;;;;;;MASA;MAIA,iBAAiB,YAAY;;;;;;MAe7B,gBAAgB;EASpB,OAAO,MAAM;EAMb,WAAW,OAAO,SAAS;EAU3B,SAAS,MAAM;EAMf;EAIA;;;;;;EAWA,WAAW,MAAM;;EAKjB,gBAAgB,MAAM;;EAKtB,mBAAmB,MAAM;;;;;;EAoBzB,SAAS,gBAAgB;;;;;;EAUzB,YAAY,gBAAgB;;;;;;;EAW5B,WAAW,aAAa,MAAM;;;;;EAe9B,YAAY,MAAM;;;;;EAYlB;;EAUA,SAAS;;MASL;;EAKJ,QAAQ,cAAc;;EAKtB,eAAe,gBAAgB;;EAK/B,QAAQ,cAAc;EAItB,OAAO,MAAM;;;;;;EASb;;;;;EAQA;UAiEQ;UAsCA;YAkBW,UAAU,kBAAkB;UAyPvC;;QAgGF;YACI;IACR,kBAAkB;;;UAIL;EACf,iBAAiB,gBAAgB,6BAC/B,MAAM,GACN,WAAW,MAAM,iBAAiB,IAAI,4BAA4B,aAClE,oBAAoB;EAEtB,iBACE,cACA,UAAU,oCACV,oBAAoB"}
@@ -3,7 +3,7 @@ import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-BrA
3
3
  import { t as themeFallbacks } from "./fallbacks-BcKGq-2F.js";
4
4
  import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
5
5
  import { c as createElementListSearchAdapter, d as createDataListSearchAdapter, i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, u as keyForElement } from "./incr-search-C05WjbZh.js";
6
- import { t as ListNativeDragController } from "./list-native-drag-controller-DrY3qeJM.js";
6
+ import { t as ListNativeDragController } from "./list-native-drag-controller-DaBNcjgG.js";
7
7
  import { r as ListDragSelectController, t as ListSelectionController } from "./list-selection-controller-SA4piSBi.js";
8
8
  import { i as listItemFadeKeyframes } from "./list-item-animation-BUoEKi5s.js";
9
9
  import "./interaction-BskmlA9t.js";
@@ -557,6 +557,7 @@ let GridListElement = class GridListElement extends LitElement {
557
557
  this.captionHeight = 24;
558
558
  this.itemWrap = `stop`;
559
559
  this.itemsDraggable = false;
560
+ this.marqueeFromCellBlank = false;
560
561
  this.items = [];
561
562
  this._scrollTop = 0;
562
563
  this._scrollLeft = 0;
@@ -640,7 +641,8 @@ let GridListElement = class GridListElement extends LitElement {
640
641
  },
641
642
  syncLightDomDraggable: () => {
642
643
  for (const child of this.children) if (child instanceof HTMLElement) child.draggable = this.itemsDraggable;
643
- }
644
+ },
645
+ shouldStart: (event) => !(this.marqueeFromCellBlank && this.#isCellBlankPress(event))
644
646
  });
645
647
  this.#activeCaptionPan = null;
646
648
  this.#dragSelect = new ListDragSelectController(this, {
@@ -672,6 +674,7 @@ let GridListElement = class GridListElement extends LitElement {
672
674
  }
673
675
  },
674
676
  shouldStart: (event) => {
677
+ if (this.marqueeFromCellBlank && this.#isCellBlankPress(event)) return true;
675
678
  for (const node of event.composedPath()) if (node instanceof Element && node.classList.contains(`cell`)) return false;
676
679
  return true;
677
680
  }
@@ -778,6 +781,7 @@ let GridListElement = class GridListElement extends LitElement {
778
781
  --grid-list-item-bg: var(--item-bg);
779
782
  --grid-list-radius: var(--radius-m);
780
783
  --grid-list-gap: var(--space-xs);
784
+ --grid-list-padding: var(--space-xs);
781
785
  position: relative;
782
786
  display: block;
783
787
  height: 100%;
@@ -798,6 +802,7 @@ let GridListElement = class GridListElement extends LitElement {
798
802
  height: 100%;
799
803
  overflow-y: auto;
800
804
  overflow-x: hidden;
805
+ padding: var(--grid-list-padding);
801
806
  /* Consumer control over the native scrollbar (both orientations): set
802
807
  --grid-list-scrollbar-width to "none" to hide it or "thin" to slim it.
803
808
  The container is also exposed as ::part(viewport). */
@@ -948,6 +953,11 @@ let GridListElement = class GridListElement extends LitElement {
948
953
  border-top: 1px solid var(--border, rgba(128, 128, 128, 0.3));
949
954
  background: var(--surface-4, transparent);
950
955
  }
956
+ :host([caption-style="under"][caption-position="top"]) .caption {
957
+ order: -1;
958
+ border-top: none;
959
+ border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.3));
960
+ }
951
961
 
952
962
  /* overlaid: caption floats over the content */
953
963
  :host([caption-style="overlaid"]) .caption {
@@ -1014,6 +1024,11 @@ let GridListElement = class GridListElement extends LitElement {
1014
1024
  }
1015
1025
  :host([caption-style="separate"][caption-align="left"]) .caption { align-self: flex-start; }
1016
1026
  :host([caption-style="separate"][caption-align="right"]) .caption { align-self: flex-end; }
1027
+ :host([caption-style="separate"][caption-position="top"]) .caption {
1028
+ order: -1;
1029
+ margin-top: 0;
1030
+ margin-bottom: 4px;
1031
+ }
1017
1032
  /* Inset the selection ring (negative offset) so it is never clipped by the
1018
1033
  scroll viewport's overflow when the cell sits against an edge. */
1019
1034
  :host([caption-style="separate"]) .cell.selected .thumb {
@@ -1160,6 +1175,22 @@ let GridListElement = class GridListElement extends LitElement {
1160
1175
  #activeCaptionPan;
1161
1176
  #dragSelect;
1162
1177
  /**
1178
+ * True when a pointer / drag event landed on a cell's blank well: the composed
1179
+ * path reaches `.thumb` without first crossing a slotted node (the item's own
1180
+ * content), the `.caption`, or an interactive control.
1181
+ */
1182
+ #isCellBlankPress(event) {
1183
+ for (const node of event.composedPath()) {
1184
+ if (!(node instanceof Element)) continue;
1185
+ if (node.assignedSlot) return false;
1186
+ if (node.matches?.(`input,button,a,select,textarea,[contenteditable]`)) return false;
1187
+ if (node.classList.contains(`caption`)) return false;
1188
+ if (node.classList.contains(`thumb`)) return true;
1189
+ if (node.classList.contains(`cell`)) return false;
1190
+ }
1191
+ return false;
1192
+ }
1193
+ /**
1163
1194
  * Map a surface-relative (viewport-visible) rect to covered item keys using
1164
1195
  * the same `computeGridWindow` geometry the renderer uses — pure arithmetic,
1165
1196
  * so virtualized off-screen items are covered without DOM measurement.
@@ -2052,6 +2083,11 @@ __decorate([property({
2052
2083
  attribute: `items-draggable`,
2053
2084
  reflect: true
2054
2085
  })], GridListElement.prototype, "itemsDraggable", void 0);
2086
+ __decorate([property({
2087
+ type: Boolean,
2088
+ attribute: `marquee-from-cell-blank`,
2089
+ reflect: true
2090
+ })], GridListElement.prototype, "marqueeFromCellBlank", void 0);
2055
2091
  __decorate([property({ attribute: false })], GridListElement.prototype, "dragPreviewRenderer", void 0);
2056
2092
  __decorate([property({
2057
2093
  type: String,
@@ -2068,4 +2104,4 @@ GridListElement = __decorate([safeCustomElement(`ixfx-grid-list`)], GridListElem
2068
2104
  //#endregion
2069
2105
  export { PanTextElement as n, GridListElement as t };
2070
2106
 
2071
- //# sourceMappingURL=grid-list-C8oMxLl-.js.map
2107
+ //# sourceMappingURL=grid-list-zUZRI8hk.js.map