@ixfx/components 0.16.4 → 0.17.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/bundle/index.d.ts +4192 -1718
- package/bundle/index.js +1237 -234
- package/bundle/rolldown-runtime-CAoDHAWh.js +1 -0
- package/dist/ac-text.d.ts +20 -12
- package/dist/ac-text.js +17 -9
- package/dist/{ac-token-qEs3FsQv.d.ts → ac-token-CTBa93hF.d.ts} +2 -6
- package/dist/ac-token.d.ts +1 -1
- package/dist/ac-token.js +8 -9
- package/dist/{button-ikByJJPN.js → button-BOX1dfyd.js} +5 -7
- package/dist/{button-N92DKoWb.d.ts → button-DyJyyCsb.d.ts} +0 -4
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -2
- package/dist/checkbox.d.ts +42 -9
- package/dist/checkbox.js +4 -5
- package/dist/{checked-select-CBUidG7n.js → checked-select-BmwqpgGr.js} +8 -10
- package/dist/{checked-select-CglRukbP.d.ts → checked-select-CNv5zNvR.d.ts} +0 -4
- package/dist/checked-select.d.ts +33 -1
- package/dist/checked-select.js +1 -2
- package/dist/{colour-picker-DwAa6RDh.js → colour-picker-D8g-bTSF.js} +6 -9
- package/dist/colour-picker.d.ts +1 -1
- package/dist/colour-picker.js +1 -2
- package/dist/{crumb-navigation-D3ndPgFg.js → crumb-navigation-D7dAC0H-.js} +11 -13
- package/dist/{crumb-navigation-BbqfmkYs.d.ts → crumb-navigation-Tm4fnsvN.d.ts} +6 -10
- package/dist/crumbs.d.ts +1 -1
- package/dist/crumbs.js +1 -2
- package/dist/{data-controller-DOlmqNKb.js → data-controller-q-rXRMzJ.js} +1 -2
- package/dist/data-display.d.ts +5 -8
- package/dist/data-display.js +3 -4
- package/dist/{data-grid-8TsiF2ES.js → data-grid-BcO3SMac.js} +20 -23
- package/dist/{data-grid-CslzF16R.d.ts → data-grid-vasJtjFP.d.ts} +9 -15
- package/dist/data-grid.d.ts +2 -2
- package/dist/data-grid.js +1 -2
- package/dist/{data-provider-35TyWclX.js → data-provider-C6ZNAcaT.js} +1 -2
- package/dist/{data-provider-BAn_-oR1.d.ts → data-provider-Cq_ylpET.d.ts} +0 -2
- package/dist/date-input.d.ts +57 -0
- package/dist/date-input.js +122 -0
- package/dist/{decorate-VRK8rslU.js → decorate-Dxs8sFX8.js} +2 -4
- package/dist/{defaults-B4ePs4LB.js → defaults-_6ELsqLb.js} +2 -3
- package/dist/{detail-list-n1MbNbhF.d.ts → detail-list-E9WdMVbE.d.ts} +10 -16
- package/dist/{detail-list-w3GXKO2k.js → detail-list-vPVwE1CP.js} +17 -20
- package/dist/detail-list.d.ts +5 -5
- package/dist/detail-list.js +1 -2
- package/dist/{drag-ghost-DtSDvjri.js → drag-ghost-DNWu_RyN.js} +1 -2
- package/dist/{editable-label-rzXkjf1H.d.ts → editable-label-CiHCDlhC.d.ts} +0 -2
- package/dist/editable-label.d.ts +31 -1
- package/dist/editable-label.js +3 -4
- package/dist/{fallbacks-DQ_5OsmR.js → fallbacks-BPjjBoED.js} +1 -2
- package/dist/{flat-list-D_4y3wgn.d.ts → flat-list-CfutGqKY.d.ts} +8 -12
- package/dist/flat-list.d.ts +1 -1
- package/dist/flat-list.js +10 -11
- package/dist/{form-CY0nibZ5.js → form-Cxx2sO8_.js} +5 -9
- package/dist/{form-BGZK3jZd.d.ts → form-raTQNAWF.d.ts} +0 -4
- package/dist/form.d.ts +1 -1
- package/dist/form.js +1 -2
- package/dist/{grid-list-Cz2tKcNZ.js → grid-list-BHo9TBxX.js} +20 -24
- package/dist/{grid-list-CqYS28NY.d.ts → grid-list-Dg8hIiKO.d.ts} +9 -23
- package/dist/grid-list.d.ts +4 -4
- package/dist/grid-list.js +1 -2
- package/dist/{grouped-item-lister-CS4yInuw.d.ts → grouped-item-lister-1MlvJORP.d.ts} +2 -6
- package/dist/grouped-item-lister.d.ts +1 -1
- package/dist/grouped-item-lister.js +3 -4
- package/dist/{grouping-CUKgmkMm.d.ts → grouping-OoQ8WaKc.d.ts} +0 -2
- package/dist/{grouping-RYPnHkrS.js → grouping-kENdqzSV.js} +1 -2
- package/dist/{handle-DAXs7kbJ.js → handle-BVUWv97X.js} +1 -2
- package/dist/{hex-editor-Caq8vNQk.d.ts → hex-editor-BCBKRU9D.d.ts} +0 -4
- package/dist/{hex-editor-DiYpgIKs.js → hex-editor-DephDhuu.js} +12 -13
- package/dist/hex.d.ts +1 -1
- package/dist/hex.js +1 -2
- package/dist/{highlight-B-eQrhhb.js → highlight-noLHFSKZ.js} +1 -2
- package/dist/{icon-CDGprSdE.d.ts → icon-Bhz0c6Yf.d.ts} +0 -2
- package/dist/{icon-1gpwtPx8.js → icon-DvTQuylG.js} +4 -5
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +4 -5
- package/dist/{incr-search-Dc6gYpJG.js → incr-search-C5114RxZ.js} +14 -26
- package/dist/incr-search.d.ts +1 -1
- package/dist/incr-search.js +2 -2
- package/dist/{index-ZaA90u09.d.ts → index-0smh4WCH.d.ts} +3 -21
- package/dist/{index-VAs9akt4.d.ts → index-88ra6YHP.d.ts} +8 -22
- package/dist/{index-UvnoZUAo.d.ts → index-B7odjrlg.d.ts} +4 -8
- package/dist/{index-Bm9a9S3_.d.ts → index-CRLTVAyt.d.ts} +4 -30
- package/dist/{index-9ttcdwlL.d.ts → index-Cdcek1Oj.d.ts} +1 -3
- package/dist/index-Cn0qsz9a.d.ts +1632 -0
- package/dist/{index-YCDugjdu.d.ts → index-CzhYJJsx.d.ts} +7 -17
- package/dist/{index-CYndvTWH.d.ts → index-D6N4Lzek.d.ts} +1 -5
- package/dist/{index-CoqtMSd9.d.ts → index-DN6kC6an.d.ts} +1 -3
- package/dist/{index-DV3iaUBW2.d.ts → index-DrYQBts2.d.ts} +0 -14
- package/dist/{index-o-CWDt11.d.ts → index-DzocgUef.d.ts} +0 -4
- package/dist/{index-DN2BWctP.d.ts → index-PIrgX1bP.d.ts} +1 -7
- package/dist/index.d.ts +391 -490
- package/dist/index.js +269 -207
- package/dist/interaction-8Kbbf6xN.js +3 -0
- package/dist/{item-appearance-BjcMyauw.js → item-appearance-FRO3TRFI.js} +1 -2
- package/dist/{keyboard-B5xD7Fz-.js → keyboard-DMwjIYh7.js} +0 -1
- package/dist/{labelled-input-base-BFa4xlYV.js → labelled-input-base-KUhD02dh.js} +3 -5
- package/dist/{labelled-input-base-DiTme1JO.d.ts → labelled-input-base-jyr_SR6t.d.ts} +0 -2
- package/dist/labelled-radial-input.d.ts +4 -7
- package/dist/labelled-radial-input.js +5 -6
- package/dist/labelled-range-input.d.ts +1 -1
- package/dist/labelled-range-input.js +3 -4
- package/dist/{labelled-slider-input-FdCRi6st.js → labelled-slider-input-CfRKd5kC.js} +9 -11
- package/dist/labelled-slider-input.d.ts +1 -1
- package/dist/labelled-slider-input.js +1 -2
- package/dist/led.d.ts +3 -6
- package/dist/led.js +2 -3
- package/dist/list-group-header.d.ts +3 -6
- package/dist/list-group-header.js +3 -4
- package/dist/{list-native-drag-controller-CcXoS0YX.js → list-native-drag-controller-ByftBooJ.js} +5 -9
- package/dist/{list-native-drag-controller-D_UrXipS.d.ts → list-native-drag-controller-CgXKdmjr.d.ts} +1 -3
- package/dist/{list-selection-controller-D4iIrvJH.js → list-selection-controller-Dkh3m3hX.js} +3 -5
- package/dist/{list-selection-types-Dnamh2Lu.d.ts → list-selection-types-CKTt7Rrw.d.ts} +0 -2
- package/dist/{list-viewport-types-BRZsLcvp.d.ts → list-viewport-types-BJ8c6qur.d.ts} +0 -2
- package/dist/{menu-BX1FHxY8.js → menu-C3DhTjHx.js} +17 -27
- package/dist/{menu-item-oxU1VKiJ.js → menu-item-BSxhlWnW.js} +30 -15
- package/dist/{menu-item-bF6narIz.d.ts → menu-item-DJhaWy9z.d.ts} +10 -7
- package/dist/menu.d.ts +2 -2
- package/dist/menu.js +2 -2
- package/dist/{miller-BrmBywNZ.js → miller-DqDEaXqT.js} +15 -19
- package/dist/miller.d.ts +3 -3
- package/dist/miller.js +1 -2
- package/dist/narrowed-text.d.ts +1 -1
- package/dist/narrowed-text.js +8 -9
- package/dist/node-graph-DqEGv5QR.js +5369 -0
- package/dist/node-graph.d.ts +2 -0
- package/dist/node-graph.js +1 -0
- package/dist/{notification-pill-DyZydXoZ.d.ts → notification-pill-BiHEJk-o.d.ts} +0 -4
- package/dist/notifier.d.ts +1 -1
- package/dist/notifier.js +4 -5
- package/dist/{pan-text-CoYmt2qd.d.ts → pan-text-DKe2zinH.d.ts} +0 -2
- package/dist/{pan-text-CqtvjPyK.js → pan-text-DrJYKQKN.js} +3 -4
- package/dist/panel.d.ts +11 -14
- package/dist/panel.js +3 -4
- package/dist/{partial-keys-Ck6CiprB.js → partial-keys-D4l_ede_.js} +2 -3
- package/dist/{pending-BGidHppL.js → pending-Afl4LT64.js} +1 -2
- package/dist/plots.d.ts +1 -1
- package/dist/plots.js +1 -2
- package/dist/polar-pad.d.ts +5 -7
- package/dist/polar-pad.js +6 -7
- package/dist/{popup-D80sj2QC.js → popup-D8IxN1Eq.js} +1 -2
- package/dist/{prominence-DlFShic3.js → prominence-BOOQVWF-.js} +1 -2
- package/dist/{radial-input-KMVltQfe.js → radial-input-Cxys4TOG.js} +7 -9
- package/dist/{radial-input-DU6t2hYO.d.ts → radial-input-DNCSwRGF.d.ts} +1 -5
- package/dist/radial-input.d.ts +10 -1
- package/dist/radial-input.js +1 -2
- package/dist/range-input.d.ts +4 -6
- package/dist/range-input.js +5 -6
- package/dist/range.d.ts +4 -6
- package/dist/range.js +6 -7
- package/dist/{registry-BEtb8_wB.js → registry-DcF0fO7l.js} +1 -2
- package/dist/rolldown-runtime-D3KUYPsf.js +12 -0
- package/dist/{scroll-fade-Xx28D7mH.js → scroll-fade-DH8OXSqL.js} +1 -2
- package/dist/{scroll-hover-guard-Cjw6179Q.js → scroll-hover-guard-BGAjtyXT.js} +1 -2
- package/dist/select-horiz.d.ts +7 -9
- package/dist/select-horiz.js +8 -9
- package/dist/{slider-input-ByHdotzp.js → slider-input-C3mbUBZi.js} +6 -8
- package/dist/{slider-input-BxURAAmD.d.ts → slider-input-DHLGJKWF.d.ts} +1 -5
- package/dist/slider-input.d.ts +34 -1
- package/dist/slider-input.js +1 -2
- package/dist/snackbar.d.ts +5 -8
- package/dist/snackbar.js +4 -5
- package/dist/snap-container.d.ts +8 -11
- package/dist/snap-container.js +2 -3
- package/dist/{split-layout-DTY4PJRp.js → split-layout-BMN_s6d7.js} +10 -15
- package/dist/{split-layout-CophkNeU.d.ts → split-layout-HytcG1Bn.d.ts} +2 -8
- package/dist/split-layout.d.ts +1 -1
- package/dist/split-layout.js +1 -2
- package/dist/sunburst-tree.d.ts +1 -1
- package/dist/sunburst-tree.js +1 -2
- package/dist/{sunbursttree-list-DQF6DcsS.js → sunbursttree-list-C-FuZB5z.js} +23 -32
- package/dist/{sunbursttree-list-Bk20giTF.d.ts → sunbursttree-list-CsrmVSB8.d.ts} +5 -11
- package/dist/swipe.d.ts +7 -9
- package/dist/swipe.js +5 -6
- package/dist/{tab-list-Df371rqw.d.ts → tab-list-BXMRYJeR.d.ts} +1 -5
- package/dist/{tab-list-R_bGbDvO.js → tab-list-CFJy3hVm.js} +6 -15
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +1 -2
- package/dist/{tickled-controller-D-HZymaZ.js → tickled-controller-BVhGKzjZ.js} +1 -2
- package/dist/{tickled-controller-DodxD3eQ.d.ts → tickled-controller-DSPoG551.d.ts} +0 -2
- package/dist/{tickled-styles-BrAHEj1q.js → tickled-styles-pnieYweS.js} +1 -2
- package/dist/{timeline-BP1Ux2EV.js → timeline-Br5JIeLI.js} +9 -15
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +1 -2
- package/dist/{titlebar-Tqu-VvMU.d.ts → titlebar-BtLAF2ws.d.ts} +1 -3
- package/dist/titlebar.d.ts +1 -1
- package/dist/titlebar.js +4 -5
- package/dist/{tooltip-CJt3WLmN.js → tooltip-B7t_u6EY.js} +1 -2
- package/dist/{tooltip-BlvBUQxx.d.ts → tooltip-Bl4HpBue.d.ts} +0 -2
- package/dist/transitory-label.d.ts +3 -6
- package/dist/transitory-label.js +2 -3
- package/dist/{tree-BaXYyt5U.js → tree-BP5fxvEX.js} +24 -34
- package/dist/{tree-CftHwtEb.js → tree-DUc-iQcg.js} +2 -3
- package/dist/{tree-component-DgfkxmVY.d.ts → tree-component-DNuzfo6R.d.ts} +2 -8
- package/dist/tree.d.ts +3 -3
- package/dist/tree.js +1 -2
- package/dist/{types-LU1u0CB8.d.ts → types-16GC5k1z.d.ts} +0 -2
- package/dist/{types-Jky6oNAp.d.ts → types-6hpXRKt7.d.ts} +1 -3
- package/dist/unit-input.d.ts +77 -0
- package/dist/unit-input.js +230 -0
- package/dist/{vertical-list-o5hfqH87.js → vertical-list-B9z1lbjM.js} +13 -15
- package/dist/{vertical-list-DtHX26JO.d.ts → vertical-list-BzeXehBt.d.ts} +7 -13
- package/dist/vertical-list.d.ts +4 -4
- package/dist/vertical-list.js +1 -2
- package/dist/{view-state-controller-BdyXWUUM.js → view-state-controller-DiPAPiA7.js} +3 -6
- package/dist/{wheel-nudge-D5rmht3v.js → wheel-nudge-DgJzrL28.js} +2 -3
- package/dist/{wheel-nudge-By5s_ioH.d.ts → wheel-nudge-oMFKat9P.d.ts} +1 -3
- package/dist/{xy-axis-DQqd2yXJ.d.ts → xy-axis-Bf6WfOS2.d.ts} +0 -12
- package/dist/{xy-axis-CyMd_Bn1.js → xy-axis-CBpml-3S.js} +11 -20
- package/dist/xy-pad.d.ts +7 -9
- package/dist/xy-pad.js +6 -7
- package/docs-user/README.md +3 -0
- package/docs-user/ac-text.md +2 -1
- package/docs-user/ac-token.md +2 -0
- package/docs-user/date-input.md +29 -0
- package/docs-user/dock.md +17 -1
- package/docs-user/index.json +17 -2
- package/docs-user/llms.txt +3 -0
- package/docs-user/node-graph.md +376 -0
- package/docs-user/unit-input.md +39 -0
- package/llms.txt +3 -0
- package/package.json +48 -25
- package/bundle/rolldown-runtime-CEoa-xHZ.js +0 -1
- package/dist/interaction-E-uMGHkJ.js +0 -3
- package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { M as TreeDataModel } from "./tree-component-DNuzfo6R.js";
|
|
2
|
+
import { o as TreeNode, r as TreeFilterPredicate, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
|
|
3
|
+
import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-CKTt7Rrw.js";
|
|
4
|
+
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
|
|
5
|
+
import { r as VerticalListElement } from "./vertical-list-BzeXehBt.js";
|
|
6
|
+
import "./index-Cdcek1Oj.js";
|
|
7
|
+
import "./crumb-navigation-Tm4fnsvN.js";
|
|
8
|
+
import "./icon-Bhz0c6Yf.js";
|
|
9
9
|
import { LitElement, PropertyValues } from "lit";
|
|
10
|
-
//#region src/flat-list/types.d.ts
|
|
11
10
|
/** How branches and leaves are ordered within one level. */
|
|
12
11
|
type FlatListBranchOrder = `first` | `mixed`;
|
|
13
12
|
type FlatListNavigateDetail = {
|
|
@@ -73,8 +72,6 @@ interface FlatListElementEventMap {
|
|
|
73
72
|
'flat-list-edit-commit': FlatListEditCommitEvent;
|
|
74
73
|
'flat-list-edit-cancel': FlatListEditCancelEvent;
|
|
75
74
|
}
|
|
76
|
-
//#endregion
|
|
77
|
-
//#region src/flat-list/flat-list.d.ts
|
|
78
75
|
/**
|
|
79
76
|
* Navigates a tree inside one flat list. Each level shows its branches and
|
|
80
77
|
* leaves together in an `ixfx-vertical-list`; entering a branch swaps the list
|
|
@@ -207,5 +204,4 @@ interface FlatListElement {
|
|
|
207
204
|
addEventListener<K extends keyof FlatListElementEventMap>(type: K, listener: (this: FlatListElement, event: FlatListElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
208
205
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
209
206
|
}
|
|
210
|
-
//#endregion
|
|
211
207
|
export { FlatListSelectEvent as _, FlatListContextMenuDetail as a, FlatListDropEvent as c, FlatListEditCommitDetail as d, FlatListEditCommitEvent as f, FlatListSelectDetail as g, FlatListNavigateEvent as h, FlatListBranchOrder as i, FlatListEditCancelDetail as l, FlatListNavigateDetail as m, FlatListActivateDetail as n, FlatListContextMenuEvent as o, FlatListElementEventMap as p, FlatListActivateEvent as r, FlatListDropDetail as s, FlatListElement as t, FlatListEditCancelEvent as u, FlatListViewState as v };
|
package/dist/flat-list.d.ts
CHANGED
|
@@ -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-
|
|
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";
|
|
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,15 +1,15 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { n as
|
|
4
|
-
import "./
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as ViewStateController } from "./view-state-controller-
|
|
7
|
-
import { n as
|
|
8
|
-
import
|
|
9
|
-
import "./vertical-list-
|
|
1
|
+
import { t as collectDataResult } from "./data-provider-C6ZNAcaT.js";
|
|
2
|
+
import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-FRO3TRFI.js";
|
|
3
|
+
import { n as resolveKeyPath } from "./crumb-navigation-D7dAC0H-.js";
|
|
4
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
5
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
6
|
+
import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
|
|
7
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
8
|
+
import "./icon-DvTQuylG.js";
|
|
9
|
+
import "./vertical-list-B9z1lbjM.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
|
|
13
13
|
/**
|
|
14
14
|
* A node with children, or whose children are still to be loaded.
|
|
15
15
|
* `isLeaf: false` forces a branch even when `children` is `[]` (an empty
|
|
@@ -802,5 +802,4 @@ __decorate([state()], FlatListElement.prototype, "_hasToolbar", void 0);
|
|
|
802
802
|
__decorate([state()], FlatListElement.prototype, "_rows", void 0);
|
|
803
803
|
__decorate([state()], FlatListElement.prototype, "_loading", void 0);
|
|
804
804
|
FlatListElement = __decorate([safeCustomElement(`ixfx-flat-list`)], FlatListElement);
|
|
805
|
-
//#endregion
|
|
806
805
|
export { FlatListElement };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-
|
|
1
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
2
2
|
import { LitElement, css } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
|
-
|
|
4
|
+
// src/util/light-dom-styles.ts
|
|
5
5
|
const adoptedRoots = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
/**
|
|
7
7
|
* Makes styles available to a light-DOM component, wherever it is rendered.
|
|
@@ -32,8 +32,7 @@ function adoptLightDomStyles(host, styles) {
|
|
|
32
32
|
root.prepend(style);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
//#region src/form/form-styles.ts
|
|
35
|
+
// src/form/form-styles.ts
|
|
37
36
|
/**
|
|
38
37
|
* Layout rules for the light-DOM form components. Light DOM means Lit's
|
|
39
38
|
* `static styles` can't apply them, so each component calls
|
|
@@ -271,8 +270,7 @@ ixfx-form-options[orientation="vertical"] ixfx-form-part > label {
|
|
|
271
270
|
}
|
|
272
271
|
}
|
|
273
272
|
`;
|
|
274
|
-
|
|
275
|
-
//#region src/form/form-values.ts
|
|
273
|
+
// src/form/form-values.ts
|
|
276
274
|
function collectFormValues(root, options = {}) {
|
|
277
275
|
const values = {};
|
|
278
276
|
root.querySelectorAll(`[name]`).forEach((el) => {
|
|
@@ -317,8 +315,7 @@ function applyFormValues(root, data) {
|
|
|
317
315
|
} else if (`value` in el) el.value = value;
|
|
318
316
|
});
|
|
319
317
|
}
|
|
320
|
-
|
|
321
|
-
//#region src/form/form.ts
|
|
318
|
+
// src/form/form.ts
|
|
322
319
|
/** Input types where Enter does not mean "submit". */
|
|
323
320
|
const NON_SUBMITTING_INPUTS = /* @__PURE__ */ new Set([
|
|
324
321
|
`button`,
|
|
@@ -414,5 +411,4 @@ __decorate([property({
|
|
|
414
411
|
reflect: true
|
|
415
412
|
})], FormElement.prototype, "noValidate", void 0);
|
|
416
413
|
FormElement = __decorate([safeCustomElement(`ixfx-form`)], FormElement);
|
|
417
|
-
//#endregion
|
|
418
414
|
export { formStyles as n, adoptLightDomStyles as r, FormElement as t };
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
//#region src/form/form-values.d.ts
|
|
3
2
|
type CollectFormValuesOptions = {
|
|
4
3
|
/** Return numbers (or `null` when empty) for `number` and `range` inputs, instead of strings. */
|
|
5
4
|
typed?: boolean;
|
|
6
5
|
};
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/form/form.d.ts
|
|
9
6
|
/**
|
|
10
7
|
* Wraps its content in a native `<form>`, so submit, Enter-to-submit,
|
|
11
8
|
* validation, `FormData` and `form.elements` behave as they do for any form.
|
|
@@ -50,5 +47,4 @@ declare global {
|
|
|
50
47
|
'ixfx-form': FormElement;
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
|
-
//#endregion
|
|
54
50
|
export { FormElement as t };
|
package/dist/form.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FormElement } from "./form-
|
|
1
|
+
import { t as FormElement } from "./form-raTQNAWF.js";
|
|
2
2
|
export { FormElement };
|
package/dist/form.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { FormElement };
|
|
1
|
+
export { t as FormElement } from "./form-Cxx2sO8_.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { i as
|
|
7
|
-
import { a as listItemFadeKeyframes, t as ListNativeDragController } from "./list-native-drag-controller-
|
|
8
|
-
import { i as
|
|
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-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
13
|
-
import { t as scrollFadeStyles } from "./scroll-fade-
|
|
14
|
-
import { t as ViewStateController } from "./view-state-controller-
|
|
15
|
-
import { n as
|
|
16
|
-
import "./pan-text-CqtvjPyK.js";
|
|
1
|
+
import { n as appearanceColor, t as appearanceAbsent } from "./item-appearance-FRO3TRFI.js";
|
|
2
|
+
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
|
|
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
|
+
import { i as resolveGroupKey, r as partitionByGroup } from "./grouping-kENdqzSV.js";
|
|
5
|
+
import "./interaction-8Kbbf6xN.js";
|
|
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";
|
|
8
|
+
import { i as sameKeySet, r as isPartialKey, t as PARTIAL_DESCRIPTION } from "./partial-keys-D4l_ede_.js";
|
|
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
|
+
import { n as createScrollHoverGuard } from "./scroll-hover-guard-BGAjtyXT.js";
|
|
11
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
12
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
13
|
+
import { t as scrollFadeStyles } from "./scroll-fade-DH8OXSqL.js";
|
|
14
|
+
import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
|
|
15
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
17
16
|
import "./list-group-header.js";
|
|
17
|
+
import "./pan-text-DrJYKQKN.js";
|
|
18
18
|
import { LitElement, css, html, nothing } from "lit";
|
|
19
19
|
import { property, state } from "lit/decorators.js";
|
|
20
20
|
import { createCommandRegistry } from "@clinth/ui-commands";
|
|
21
21
|
import { repeat } from "lit/directives/repeat.js";
|
|
22
22
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
23
|
-
|
|
23
|
+
// src/grid-list/grid-list-layout.ts
|
|
24
24
|
/**
|
|
25
25
|
* `itemWidth` is the square's width; `rowHeight` is the full cell height
|
|
26
26
|
* (square, plus the caption band in `separate` / `under` styles).
|
|
@@ -361,8 +361,7 @@ function buildLayout(p) {
|
|
|
361
361
|
snapTarget
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
|
-
|
|
365
|
-
//#region src/grid-list/grid-list-source.ts
|
|
364
|
+
// src/grid-list/grid-list-source.ts
|
|
366
365
|
/** Reorder `effective` raw indices into contiguous groups, dropping collapsed ones. */
|
|
367
366
|
function applyGrouping(effective, cfg, keyOfRaw) {
|
|
368
367
|
const parts = partitionByGroup(effective, (raw) => cfg.groupKeyOf(raw), cfg.labelOf ? (key, raws) => cfg.labelOf(key, raws.map((r) => cfg.itemAt(r))) : void 0);
|
|
@@ -672,8 +671,7 @@ var DataGridListSource = class {
|
|
|
672
671
|
this.#indexCache = void 0;
|
|
673
672
|
}
|
|
674
673
|
};
|
|
675
|
-
|
|
676
|
-
//#region src/grid-list/grid-list-view-state.ts
|
|
674
|
+
// src/grid-list/grid-list-view-state.ts
|
|
677
675
|
/**
|
|
678
676
|
* - live collapsed groups that no longer exist → pending `false`
|
|
679
677
|
* - pending groups that now exist → applied (`false` collapses, `true` opens)
|
|
@@ -756,8 +754,7 @@ function gridScrollTarget(scroll, layout, indexOfKey, extent) {
|
|
|
756
754
|
reached: target <= max + 1
|
|
757
755
|
};
|
|
758
756
|
}
|
|
759
|
-
|
|
760
|
-
//#region src/grid-list/grid-list.ts
|
|
757
|
+
// src/grid-list/grid-list.ts
|
|
761
758
|
const ITEM_SELECTOR = `:scope > *`;
|
|
762
759
|
const MIN_ITEM_SIZE = 16;
|
|
763
760
|
/** How long scrolling must be idle before `snap-to-item` settles the viewport. */
|
|
@@ -3045,5 +3042,4 @@ __decorate([state()], GridListElement.prototype, "_scrollLeft", void 0);
|
|
|
3045
3042
|
__decorate([state()], GridListElement.prototype, "_viewportHeight", void 0);
|
|
3046
3043
|
__decorate([state()], GridListElement.prototype, "_viewportWidth", void 0);
|
|
3047
3044
|
GridListElement = __decorate([safeCustomElement(`ixfx-grid-list`)], GridListElement);
|
|
3048
|
-
//#endregion
|
|
3049
3045
|
export { GridListElement as t };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
1
|
+
import { i as ListGroupChangeEvent, n as ListGroupBy, o as ListGroupInfo, s as ListGroupLabel, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
|
|
2
|
+
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
|
|
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";
|
|
5
|
+
import { i as TickledItem, n as TickledController } from "./tickled-controller-DSPoG551.js";
|
|
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";
|
|
8
9
|
import "./list-group-header.js";
|
|
9
|
-
import "./
|
|
10
|
-
import { i as TickledItem, n as TickledController } from "./tickled-controller-DodxD3eQ.js";
|
|
10
|
+
import "./pan-text-DKe2zinH.js";
|
|
11
11
|
import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, html } from "lit";
|
|
12
12
|
import { CommandRegistry } from "@clinth/ui-commands";
|
|
13
|
-
//#region src/common/view-state/pending.d.ts
|
|
14
13
|
/**
|
|
15
14
|
* Pure helpers for *pending* view state: keyed intent that is waiting for a
|
|
16
15
|
* matching item to appear in the data.
|
|
@@ -55,8 +54,6 @@ declare function flagsToRecord(...sources: Array<Iterable<readonly [string, bool
|
|
|
55
54
|
declare function keysToArray(...sources: Array<Iterable<string>>): string[];
|
|
56
55
|
/** Map `keys` to `true` flags — for components that record a plain key set. */
|
|
57
56
|
declare function keysAsFlags(keys: Iterable<string>, value?: boolean): Iterable<readonly [string, boolean]>;
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region src/interaction/list-drag-select-controller.d.ts
|
|
60
57
|
/** Surface-relative rectangle: origin at the scroll container's top-left. */
|
|
61
58
|
type DragSelectRect = {
|
|
62
59
|
readonly x: number;
|
|
@@ -129,8 +126,6 @@ declare class ListDragSelectController<T> implements ReactiveController {
|
|
|
129
126
|
/** Re-bind when the surface element appears/changes (e.g. first render). */
|
|
130
127
|
hostUpdated(): void;
|
|
131
128
|
}
|
|
132
|
-
//#endregion
|
|
133
|
-
//#region src/interaction/list-selection-controller.d.ts
|
|
134
129
|
/** Modifier state needed to route a click gesture per interaction mode. */
|
|
135
130
|
type ListSelectionGesture = {
|
|
136
131
|
readonly ctrlKey: boolean;
|
|
@@ -354,8 +349,6 @@ declare class ListSelectionController<T> {
|
|
|
354
349
|
*/
|
|
355
350
|
seed(items: Iterable<T>, anchor?: T): void;
|
|
356
351
|
}
|
|
357
|
-
//#endregion
|
|
358
|
-
//#region src/interaction/tree-keyboard-controller.d.ts
|
|
359
352
|
type TreeKeyboardNavItemId = string;
|
|
360
353
|
type TreeKeyboardNavCallbacks = {
|
|
361
354
|
getItems: () => ReadonlyArray<TickledItem<TreeKeyboardNavItemId>>;
|
|
@@ -383,8 +376,6 @@ declare class TreeKeyboardNavController implements ReactiveController {
|
|
|
383
376
|
hostDisconnected(): void;
|
|
384
377
|
handleKeyDown: (event: KeyboardEvent) => void;
|
|
385
378
|
}
|
|
386
|
-
//#endregion
|
|
387
|
-
//#region src/grid-list/types.d.ts
|
|
388
379
|
/**
|
|
389
380
|
* Adapter for data-backed grid list mode.
|
|
390
381
|
* @param T The type of data item.
|
|
@@ -513,8 +504,6 @@ interface GridListFullElementEventMap extends GridListElementEventMap {
|
|
|
513
504
|
'grid-list-viewport-change': GridListViewportChangeEvent;
|
|
514
505
|
'list-native-drag-start': ListNativeDragStartEvent;
|
|
515
506
|
}
|
|
516
|
-
//#endregion
|
|
517
|
-
//#region src/grid-list/grid-list-view-state.d.ts
|
|
518
507
|
/**
|
|
519
508
|
* Pure view-state helpers for `ixfx-grid-list`. The component runs
|
|
520
509
|
* {@link reconcileGroups} whenever its item set or grouping changes, so a
|
|
@@ -530,8 +519,6 @@ interface GridListFullElementEventMap extends GridListElementEventMap {
|
|
|
530
519
|
* are ever recorded).
|
|
531
520
|
*/
|
|
532
521
|
type GridListViewState = ViewStateBase;
|
|
533
|
-
//#endregion
|
|
534
|
-
//#region src/grid-list/grid-list.d.ts
|
|
535
522
|
declare class GridListElement<T = unknown> extends LitElement {
|
|
536
523
|
#private;
|
|
537
524
|
static styles: import("lit").CSSResult[];
|
|
@@ -840,5 +827,4 @@ interface GridListElement {
|
|
|
840
827
|
addEventListener<K extends keyof GridListFullElementEventMap>(type: K, listener: (this: GridListElement, ev: GridListFullElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
841
828
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
842
829
|
}
|
|
843
|
-
//#endregion
|
|
844
830
|
export { gestureOf as A, capFlags as B, TreeKeyboardNavController as C, ListSelectionControllerConfig as D, ListSelectionController as E, EMPTY_FLAGS as F, keysToArray as G, flagsFromRecord as H, EMPTY_KEYS as I, withoutFlag as J, partitionFlags as K, MAX_PENDING_KEYS as L, DragSelectRect as M, ListDragSelectController as N, ListSelectionGesture as O, ListDragSelectControllerConfig as P, PendingFlags as R, TreeKeyboardNavCallbacks as S, TreeKeyboardNavItemId as T, flagsToRecord as U, capKeys as V, keysAsFlags as W, GridListSelectEvent as _, GridListCaptionAlign as a, GridListViewportChangeDetail as b, GridListCaptionStyle as c, GridListFullElementEventMap as d, GridListItemClickDetail as f, GridListSelectDetail as g, GridListOrientation as h, GridListActivateEvent as i, isMultiMode as j, ListSelectionModes as k, GridListDataAdapter as l, GridListItemEventDetail as m, GridListViewState as n, GridListCaptionBackdrop as o, GridListItemClickEvent as p, partitionKeys as q, GridListActivateDetail as r, GridListCaptionPosition as s, GridListElement as t, GridListElementEventMap as u, GridListTickleDetail as v, TreeKeyboardNavControllerConfig as w, GridListViewportChangeEvent as x, GridListTickleEvent as y, PendingKeys as z };
|
package/dist/grid-list.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import { _ as GridListSelectEvent, a as GridListCaptionAlign, b as GridListViewportChangeDetail, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListSelectDetail, h as GridListOrientation, 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 GridListTickleDetail, x as GridListViewportChangeEvent, y as GridListTickleEvent } from "./grid-list-
|
|
3
|
-
import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-
|
|
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-
|
|
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 { _ as GridListSelectEvent, a as GridListCaptionAlign, b as GridListViewportChangeDetail, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListSelectDetail, h as GridListOrientation, 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 GridListTickleDetail, x as GridListViewportChangeEvent, y as GridListTickleEvent } from "./grid-list-Dg8hIiKO.js";
|
|
3
|
+
import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-CKTt7Rrw.js";
|
|
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 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,9 +1,8 @@
|
|
|
1
|
-
import { r as IDataProvider } from "./data-provider-
|
|
2
|
-
import { h as ListSelectionMode } from "./list-selection-types-
|
|
1
|
+
import { r as IDataProvider } from "./data-provider-Cq_ylpET.js";
|
|
2
|
+
import { h as ListSelectionMode } from "./list-selection-types-CKTt7Rrw.js";
|
|
3
3
|
import "./panel.js";
|
|
4
4
|
import { LitElement, PropertyValues, nothing } from "lit";
|
|
5
5
|
import { CommandId } from "@clinth/ui-commands";
|
|
6
|
-
//#region src/grouped-item-lister/types.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* Fired when the selection set changes by any means.
|
|
9
8
|
* Event name: `select`
|
|
@@ -83,8 +82,6 @@ type GroupedSelectEvent<T> = CustomEvent<GroupedSelectDetail<T>>;
|
|
|
83
82
|
interface GroupedItemListerElementEventMap<T> {
|
|
84
83
|
'grouped-select': GroupedSelectEvent<T>;
|
|
85
84
|
}
|
|
86
|
-
//#endregion
|
|
87
|
-
//#region src/grouped-item-lister/grouped-item-lister.d.ts
|
|
88
85
|
declare class GroupedItemListerElement<T = unknown> extends LitElement {
|
|
89
86
|
#private;
|
|
90
87
|
grouped: boolean;
|
|
@@ -116,5 +113,4 @@ declare global {
|
|
|
116
113
|
interface GroupedItemListerElement<T> {
|
|
117
114
|
addEventListener: (<K extends keyof GroupedItemListerElementEventMap<T>>(type: K, listener: (this: GroupedItemListerElement<T>, event: GroupedItemListerElementEventMap<T>[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
118
115
|
}
|
|
119
|
-
//#endregion
|
|
120
116
|
export { IGroupedSubComponent as a, SubComponentActivateEvent as c, SubComponentItemClickEvent as d, SubComponentSelectDetail as f, SubComponentTickleEvent as h, GroupedSelectEvent as i, SubComponentFactory as l, SubComponentTickleDetail as m, GroupedItemListerElementEventMap as n, IGroupedSubComponentEventMap as o, SubComponentSelectEvent as p, GroupedSelectDetail as r, SubComponentActivateDetail as s, GroupedItemListerElement as t, SubComponentItemClickDetail as u };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as IGroupedSubComponent, c as SubComponentActivateEvent, d as SubComponentItemClickEvent, f as SubComponentSelectDetail, h as SubComponentTickleEvent, i as GroupedSelectEvent, l as SubComponentFactory, m as SubComponentTickleDetail, n as GroupedItemListerElementEventMap, o as IGroupedSubComponentEventMap, p as SubComponentSelectEvent, r as GroupedSelectDetail, s as SubComponentActivateDetail, t as GroupedItemListerElement, u as SubComponentItemClickDetail } from "./grouped-item-lister-
|
|
1
|
+
import { a as IGroupedSubComponent, c as SubComponentActivateEvent, d as SubComponentItemClickEvent, f as SubComponentSelectDetail, h as SubComponentTickleEvent, i as GroupedSelectEvent, l as SubComponentFactory, m as SubComponentTickleDetail, n as GroupedItemListerElementEventMap, o as IGroupedSubComponentEventMap, p as SubComponentSelectEvent, r as GroupedSelectDetail, s as SubComponentActivateDetail, t as GroupedItemListerElement, u as SubComponentItemClickDetail } from "./grouped-item-lister-1MlvJORP.js";
|
|
2
2
|
export { GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, type IGroupedSubComponent, type IGroupedSubComponentEventMap, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
1
|
+
import { t as DataController } from "./data-controller-q-rXRMzJ.js";
|
|
2
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
3
3
|
import "./panel.js";
|
|
4
4
|
import { LitElement, html, nothing } from "lit";
|
|
5
5
|
import { property } from "lit/decorators.js";
|
|
6
6
|
import { repeat } from "lit/directives/repeat.js";
|
|
7
|
-
|
|
7
|
+
// src/grouped-item-lister/grouped-item-lister.ts
|
|
8
8
|
const UNGROUPED_KEY = `__ungrouped__`;
|
|
9
9
|
let GroupedItemListerElement = class GroupedItemListerElement extends LitElement {
|
|
10
10
|
constructor(..._args) {
|
|
@@ -171,5 +171,4 @@ __decorate([property({
|
|
|
171
171
|
reflect: true
|
|
172
172
|
})], GroupedItemListerElement.prototype, "crossGroupSelection", void 0);
|
|
173
173
|
GroupedItemListerElement = __decorate([safeCustomElement(`ixfx-grouped-item-lister`)], GroupedItemListerElement);
|
|
174
|
-
//#endregion
|
|
175
174
|
export { GroupedItemListerElement };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/interaction/grouping.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Shared, DOM-free grouping helpers for list components
|
|
4
3
|
* (`ixfx-grid-list`, `ixfx-detail-list`). Semantics mirror `ixfx-data-grid`:
|
|
@@ -58,5 +57,4 @@ declare function resolveGroupKey<T>(groupBy: ListGroupBy<T>, item: T, index: num
|
|
|
58
57
|
declare function partitionByGroup<T>(items: readonly T[], keyOf: (item: T, index: number) => string, labelOf?: ListGroupLabel): Array<ListGroupPartition<T>>;
|
|
59
58
|
/** Immutable toggle of `key` in `set`. */
|
|
60
59
|
declare function toggleInSet(set: ReadonlySet<string>, key: string): Set<string>;
|
|
61
|
-
//#endregion
|
|
62
60
|
export { ListGroupEventMap as a, ListGroupPartition as c, defaultGroupLabel as d, partitionByGroup as f, toggleInSet as h, ListGroupChangeEvent as i, ListGroupToggleDetail as l, toGroupKey as m, ListGroupBy as n, ListGroupInfo as o, resolveGroupKey as p, ListGroupChangeDetail as r, ListGroupLabel as s, EMPTY_GROUP_LABEL as t, ListGroupToggleEvent as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/interaction/grouping.ts
|
|
2
2
|
/** Label shown for the empty group key. */
|
|
3
3
|
const EMPTY_GROUP_LABEL = `(none)`;
|
|
4
4
|
/** Default header label: the key, or `(none)` for the empty key. */
|
|
@@ -47,5 +47,4 @@ function toggleInSet(set, key) {
|
|
|
47
47
|
else next.add(key);
|
|
48
48
|
return next;
|
|
49
49
|
}
|
|
50
|
-
//#endregion
|
|
51
50
|
export { toGroupKey as a, resolveGroupKey as i, defaultGroupLabel as n, toggleInSet as o, partitionByGroup as r, EMPTY_GROUP_LABEL as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/styles/handle.ts
|
|
3
3
|
/**
|
|
4
4
|
* Shared drag / resize **handle** styling.
|
|
5
5
|
*
|
|
@@ -650,5 +650,4 @@ const handleStyles = css`
|
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
652
|
`;
|
|
653
|
-
//#endregion
|
|
654
653
|
export { handleStyles as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
//#region src/hex/types.d.ts
|
|
3
2
|
type BytePos = number;
|
|
4
3
|
type SingleSelection = {
|
|
5
4
|
readonly kind: `single`;
|
|
@@ -24,8 +23,6 @@ type DiffEntry = {
|
|
|
24
23
|
};
|
|
25
24
|
type Diff = ReadonlyMap<BytePos, DiffEntry>;
|
|
26
25
|
type ColourScheme = `ascii` | `shade`;
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/hex/hex-editor.d.ts
|
|
29
26
|
declare class IxfxHexEditorElement extends LitElement {
|
|
30
27
|
columns: number;
|
|
31
28
|
colourScheme: ColourScheme;
|
|
@@ -124,5 +121,4 @@ declare global {
|
|
|
124
121
|
'ixfx-hex-editor': IxfxHexEditorElement;
|
|
125
122
|
}
|
|
126
123
|
}
|
|
127
|
-
//#endregion
|
|
128
124
|
export { NoneSelectEventDetail as a, SingleSelectEventDetail as c, IxfxHexEditorElement as i, HexChangeDetail as n, RectangularSelectEventDetail as o, HexChangeEvent as r, SelectEventDetail as s, ContiguousSelectEventDetail as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-
|
|
1
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
2
2
|
import { LitElement, css, html } from "lit";
|
|
3
3
|
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import { styleMap } from "lit/directives/style-map.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { Colour } from "@ixfx/visual";
|
|
7
|
-
|
|
7
|
+
// src/hex/colour.ts
|
|
8
8
|
const WHITESPACE_BYTES = /* @__PURE__ */ new Set([
|
|
9
9
|
9,
|
|
10
10
|
10,
|
|
@@ -34,8 +34,7 @@ function createShadeMap(nullColour, maxColour, stepStart, stepEnd) {
|
|
|
34
34
|
return cssSteps[byte >> 4];
|
|
35
35
|
} };
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
//#region src/hex/data.ts
|
|
37
|
+
// src/hex/data.ts
|
|
39
38
|
function createHexStore(data) {
|
|
40
39
|
return {
|
|
41
40
|
data: new Uint8Array(data),
|
|
@@ -102,8 +101,7 @@ function reverseDiff(diff) {
|
|
|
102
101
|
function getChangeset(store) {
|
|
103
102
|
return store.changeset;
|
|
104
103
|
}
|
|
105
|
-
|
|
106
|
-
//#region src/hex/diff.ts
|
|
104
|
+
// src/hex/diff.ts
|
|
107
105
|
function createUndoRedoStack() {
|
|
108
106
|
return {
|
|
109
107
|
undos: [],
|
|
@@ -124,11 +122,14 @@ function redo(stack) {
|
|
|
124
122
|
if (diff) stack.undos.push(diff);
|
|
125
123
|
return diff;
|
|
126
124
|
}
|
|
127
|
-
|
|
128
|
-
//#region src/hex/selection.ts
|
|
125
|
+
// src/hex/selection.ts
|
|
129
126
|
const bytesPerRow = (columns) => columns * 4;
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
function min(a, b) {
|
|
128
|
+
return a < b ? a : b;
|
|
129
|
+
}
|
|
130
|
+
function max(a, b) {
|
|
131
|
+
return a > b ? a : b;
|
|
132
|
+
}
|
|
132
133
|
function clampPos(pos, dataLength) {
|
|
133
134
|
return Math.max(0, Math.min(pos, dataLength - 1));
|
|
134
135
|
}
|
|
@@ -292,8 +293,7 @@ function selectionFromPointerRange(start, end, mode, columns) {
|
|
|
292
293
|
height: Math.abs(endY - startY) + 1
|
|
293
294
|
};
|
|
294
295
|
}
|
|
295
|
-
|
|
296
|
-
//#region src/hex/hex-editor.ts
|
|
296
|
+
// src/hex/hex-editor.ts
|
|
297
297
|
let IxfxHexEditorElement = class IxfxHexEditorElement extends LitElement {
|
|
298
298
|
constructor(..._args) {
|
|
299
299
|
super(..._args);
|
|
@@ -1139,5 +1139,4 @@ __decorate([state()], IxfxHexEditorElement.prototype, "_containerH", void 0);
|
|
|
1139
1139
|
__decorate([state()], IxfxHexEditorElement.prototype, "_shadeMap", void 0);
|
|
1140
1140
|
__decorate([state()], IxfxHexEditorElement.prototype, "_focusSide", void 0);
|
|
1141
1141
|
IxfxHexEditorElement = __decorate([safeCustomElement(`ixfx-hex-editor`)], IxfxHexEditorElement);
|
|
1142
|
-
//#endregion
|
|
1143
1142
|
export { IxfxHexEditorElement as t };
|
package/dist/hex.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NoneSelectEventDetail, c as SingleSelectEventDetail, i as IxfxHexEditorElement, n as HexChangeDetail, o as RectangularSelectEventDetail, r as HexChangeEvent, s as SelectEventDetail, t as ContiguousSelectEventDetail } from "./hex-editor-
|
|
1
|
+
import { a as NoneSelectEventDetail, c as SingleSelectEventDetail, i as IxfxHexEditorElement, n as HexChangeDetail, o as RectangularSelectEventDetail, r as HexChangeEvent, s as SelectEventDetail, t as ContiguousSelectEventDetail } from "./hex-editor-BCBKRU9D.js";
|
|
2
2
|
export { ContiguousSelectEventDetail, HexChangeDetail, HexChangeEvent, IxfxHexEditorElement, NoneSelectEventDetail, RectangularSelectEventDetail, SelectEventDetail, SingleSelectEventDetail };
|
package/dist/hex.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { IxfxHexEditorElement };
|
|
1
|
+
export { t as IxfxHexEditorElement } from "./hex-editor-DephDhuu.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/incr-search/highlight.ts
|
|
2
2
|
const DEFAULT_KEY = `incr-search-highlight`;
|
|
3
3
|
function applyHighlights(targets, options = {}) {
|
|
4
4
|
if (typeof CSS === `undefined` || !CSS.highlights) return;
|
|
@@ -44,5 +44,4 @@ function findTextNode(element, expectedText) {
|
|
|
44
44
|
}
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { buildHighlightTargets as n, clearHighlights as r, applyHighlights as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, nothing } from "lit";
|
|
2
|
-
//#region src/icons/icon.d.ts
|
|
3
2
|
declare class IxfxIconElement extends LitElement {
|
|
4
3
|
#private;
|
|
5
4
|
name: string;
|
|
@@ -18,5 +17,4 @@ declare global {
|
|
|
18
17
|
'ixfx-icon': IxfxIconElement;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
//#endregion
|
|
22
20
|
export { IxfxIconElement as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as themeFallbacks } from "./fallbacks-
|
|
2
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-
|
|
3
|
-
import { a as iconBus, n as getIconEntry, r as getIconFont } from "./registry-
|
|
1
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
2
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
3
|
+
import { a as iconBus, n as getIconEntry, r as getIconFont } from "./registry-DcF0fO7l.js";
|
|
4
4
|
import { LitElement, css, html, nothing } from "lit";
|
|
5
5
|
import { property } from "lit/decorators.js";
|
|
6
6
|
import { styleMap } from "lit/directives/style-map.js";
|
|
7
7
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
8
|
-
|
|
8
|
+
// src/icons/icon.ts
|
|
9
9
|
let IxfxIconElement = class IxfxIconElement extends LitElement {
|
|
10
10
|
constructor(..._args) {
|
|
11
11
|
super(..._args);
|
|
@@ -134,5 +134,4 @@ __decorate([property({
|
|
|
134
134
|
reflect: true
|
|
135
135
|
})], IxfxIconElement.prototype, "rotate", void 0);
|
|
136
136
|
IxfxIconElement = __decorate([safeCustomElement(`ixfx-icon`)], IxfxIconElement);
|
|
137
|
-
//#endregion
|
|
138
137
|
export { IxfxIconElement as t };
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as IxfxIconElement } from "./icon-
|
|
2
|
-
import { a as getIconEntry, c as iconBus, d as setIconFont, f as svgToDataUri, g as ICON_CLOSE, h as ICON_CHEVRON_DOWN, i as getIcon, l as registerFontIcon, m as ICON_CHECK, n as IconChangedEvent, o as getIconFont, p as ICON_CARET_RIGHT, r as IconEntry, s as hasIcon, t as IconChangedDetail, u as registerIcon } from "./index-
|
|
1
|
+
import { t as IxfxIconElement } from "./icon-Bhz0c6Yf.js";
|
|
2
|
+
import { a as getIconEntry, c as iconBus, d as setIconFont, f as svgToDataUri, g as ICON_CLOSE, h as ICON_CHEVRON_DOWN, i as getIcon, l as registerFontIcon, m as ICON_CHECK, n as IconChangedEvent, o as getIconFont, p as ICON_CARET_RIGHT, r as IconEntry, s as hasIcon, t as IconChangedDetail, u as registerIcon } from "./index-D6N4Lzek.js";
|
|
3
3
|
export { ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, type IconChangedDetail, type IconChangedEvent, type IconEntry, IxfxIconElement, getIcon, getIconEntry, getIconFont, hasIcon, iconBus, registerFontIcon, registerIcon, setIconFont, svgToDataUri };
|
package/dist/icons.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as IxfxIconElement } from "./icon-
|
|
3
|
-
import { a as
|
|
4
|
-
|
|
1
|
+
import { a as registerDefaults, i as ICON_CLOSE, n as ICON_CHECK, r as ICON_CHEVRON_DOWN, t as ICON_CARET_RIGHT } from "./defaults-_6ELsqLb.js";
|
|
2
|
+
import { t as IxfxIconElement } from "./icon-DvTQuylG.js";
|
|
3
|
+
import { a as iconBus, c as setIconFont, i as hasIcon, l as svgToDataUri, n as getIconEntry, o as registerFontIcon, r as getIconFont, s as registerIcon, t as getIcon } from "./registry-DcF0fO7l.js";
|
|
4
|
+
// src/icons/index.ts
|
|
5
5
|
registerDefaults();
|
|
6
|
-
//#endregion
|
|
7
6
|
export { ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IxfxIconElement, getIcon, getIconEntry, getIconFont, hasIcon, iconBus, registerFontIcon, registerIcon, setIconFont, svgToDataUri };
|