@ixfx/components 0.13.2 → 0.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/index.d.ts +1649 -128
- package/bundle/index.js +1595 -44437
- package/bundle/rolldown-runtime-CEoa-xHZ.js +1 -0
- package/dist/ac-text.d.ts +2 -3
- package/dist/ac-text.js +0 -2
- package/dist/{ac-token-TCLAZeVg.d.ts → ac-token--_vCHXWw.d.ts} +2 -3
- package/dist/ac-token.d.ts +1 -1
- package/dist/ac-token.js +1 -3
- package/dist/button-B7mgqtxR.js +0 -2
- package/dist/{button-CTL45aBl.d.ts → button-BYuf72aR.d.ts} +2 -3
- package/dist/button.d.ts +1 -1
- package/dist/checkbox.d.ts +1 -2
- package/dist/checkbox.js +0 -2
- package/dist/checked-select-CglRukbP.d.ts +1 -2
- package/dist/checked-select-lDgAQQ7v.js +0 -2
- package/dist/colour-picker-BCMU7W7R.js +0 -2
- package/dist/colour-picker.d.ts +1 -1
- package/dist/crumbs.d.ts +2 -3
- package/dist/crumbs.js +1 -3
- package/dist/data-controller-DOlmqNKb.js +0 -2
- package/dist/data-display.d.ts +1 -2
- package/dist/data-display.js +0 -2
- package/dist/{data-grid-Ck1Qx2H1.d.ts → data-grid-BtBZt8M1.d.ts} +10 -9
- package/dist/data-grid-FHr7wZ_k.js +2108 -0
- package/dist/data-grid.d.ts +1 -1
- package/dist/data-grid.js +1 -1923
- package/dist/data-provider-35TyWclX.js +0 -2
- package/dist/data-provider-BAn_-oR1.d.ts +1 -2
- package/dist/decorate-VRK8rslU.js +0 -2
- package/dist/defaults-B4ePs4LB.js +0 -2
- package/dist/detail-list-BfYHNh6B.js +1999 -0
- package/dist/{detail-list-C1xzr1z7.d.ts → detail-list-u2rWnAXQ.d.ts} +13 -5
- package/dist/detail-list.d.ts +2 -2
- package/dist/detail-list.js +1 -1680
- package/dist/drag-ghost-DtSDvjri.js +0 -2
- package/dist/editable-label-rzXkjf1H.d.ts +1 -2
- package/dist/editable-label.js +0 -2
- package/dist/fallbacks-DQ_5OsmR.js +0 -2
- package/dist/{flat-list-Ohxqsy0g.d.ts → flat-list-DNnTQ65v.d.ts} +3 -4
- package/dist/flat-list.d.ts +1 -1
- package/dist/flat-list.js +5 -3
- package/dist/form-CsXJX15p.js +0 -2
- package/dist/form.d.ts +1 -2
- package/dist/{grid-list-pefLORIr.d.ts → grid-list-BLnV9oZE.d.ts} +9 -3
- package/dist/{grid-list-DjIl910A.js → grid-list-CkU8gHCh.js} +189 -42
- package/dist/grid-list.d.ts +1 -1
- package/dist/grid-list.js +1 -1
- package/dist/{grouped-item-lister-Bhyo-dkH.d.ts → grouped-item-lister-DETte0Dh.d.ts} +2 -3
- package/dist/grouped-item-lister.d.ts +1 -1
- package/dist/grouped-item-lister.js +0 -2
- package/dist/grouping-CUKgmkMm.d.ts +1 -2
- package/dist/grouping-RYPnHkrS.js +0 -2
- package/dist/handle-DAXs7kbJ.js +0 -2
- package/dist/hex-editor-Caq8vNQk.d.ts +1 -2
- package/dist/hex-editor-DiYpgIKs.js +0 -2
- package/dist/highlight-B-eQrhhb.js +0 -2
- package/dist/icon-1gpwtPx8.js +0 -2
- package/dist/{icon-DR_3rSyZ.d.ts → icon-CDGprSdE.d.ts} +2 -3
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +0 -2
- package/dist/{incr-search-D91M4Ozq.js → incr-search-JIhwB49y.js} +26 -6
- package/dist/incr-search.d.ts +1 -1
- package/dist/incr-search.js +1 -1
- package/dist/{index-Dq30pOnn.d.ts → index-B-hzcIP0.d.ts} +3 -4
- package/dist/{index-CxZ61DO1.d.ts → index-BYIRgv49.d.ts} +9 -3
- package/dist/index-CCC0G1nO.d.ts +324 -0
- package/dist/{index-garxxqgV.d.ts → index-CYndvTWH.d.ts} +2 -3
- package/dist/{index-BUB5SICW.d.ts → index-CoqtMSd9.d.ts} +2 -3
- package/dist/index-DV3iaUBW.d.ts +1 -2
- package/dist/{index-CJ5fshD3.d.ts → index-UvnoZUAo.d.ts} +2 -3
- package/dist/index-o-CWDt11.d.ts +1 -2
- package/dist/{index-BOUaDIW-.d.ts → index-tq6f8007.d.ts} +2 -3
- package/dist/index.d.ts +21 -22
- package/dist/index.js +48 -29
- package/dist/item-appearance-BjcMyauw.js +0 -2
- package/dist/keyboard-B5xD7Fz-.js +0 -2
- package/dist/labelled-input-base-BFa4xlYV.js +0 -2
- package/dist/{labelled-input-base-Dp_9KP0G.d.ts → labelled-input-base-DiTme1JO.d.ts} +2 -3
- package/dist/labelled-radial-input.d.ts +3 -4
- package/dist/labelled-radial-input.js +0 -2
- package/dist/labelled-range-input.d.ts +1 -1
- package/dist/labelled-range-input.js +0 -2
- package/dist/labelled-slider-input-FdCRi6st.js +0 -2
- package/dist/labelled-slider-input.d.ts +1 -1
- package/dist/led.d.ts +1 -2
- package/dist/led.js +0 -2
- package/dist/list-group-header.d.ts +2 -3
- package/dist/list-group-header.js +0 -2
- package/dist/list-item-animation-BUoEKi5s.js +0 -2
- package/dist/list-native-drag-controller-B9xO0XWn.js +0 -2
- package/dist/list-native-drag-controller-ChIi3eK5.d.ts +1 -2
- package/dist/list-selection-controller-BeE70lbB.js +0 -2
- package/dist/list-selection-types-PjKdhF-a.d.ts +1 -2
- package/dist/list-viewport-types-BRZsLcvp.d.ts +1 -2
- package/dist/menu-CwcXXeLM.js +0 -2
- package/dist/menu-item-BDEekBVy.js +0 -2
- package/dist/{menu-item-B0zqw2xp.d.ts → menu-item-bF6narIz.d.ts} +2 -3
- package/dist/menu.d.ts +2 -2
- package/dist/miller.d.ts +2 -3
- package/dist/miller.js +146 -102
- package/dist/narrowed-text.js +1 -3
- package/dist/notification-pill-DyZydXoZ.d.ts +1 -2
- package/dist/notifier.js +0 -2
- package/dist/pan-text-CoYmt2qd.d.ts +1 -2
- package/dist/pan-text-CqtvjPyK.js +0 -2
- package/dist/panel.d.ts +2 -3
- package/dist/panel.js +0 -2
- package/dist/polar-pad.d.ts +1 -2
- package/dist/polar-pad.js +0 -2
- package/dist/popup-D80sj2QC.js +0 -2
- package/dist/prominence-DlFShic3.js +0 -2
- package/dist/radial-input-DU6t2hYO.d.ts +1 -2
- package/dist/radial-input-KMVltQfe.js +0 -2
- package/dist/range-input.d.ts +1 -2
- package/dist/range-input.js +0 -2
- package/dist/range.d.ts +1 -2
- package/dist/range.js +0 -2
- package/dist/registry-BEtb8_wB.js +0 -2
- package/dist/{scroll-fade-BrNUIYnm.js → scroll-fade-Xx28D7mH.js} +11 -7
- package/dist/select-horiz.d.ts +1 -2
- package/dist/select-horiz.js +1 -3
- package/dist/slider-input-BxURAAmD.d.ts +1 -2
- package/dist/slider-input-ByHdotzp.js +0 -2
- package/dist/snackbar.d.ts +1 -2
- package/dist/snackbar.js +0 -2
- package/dist/snap-container.d.ts +1 -2
- package/dist/snap-container.js +0 -2
- package/dist/{split-layout-CXotkdbx.js → split-layout-Deoxy47d.js} +5 -2
- package/dist/{split-layout-C5SYbDrq.d.ts → split-layout-JK3xWVX2.d.ts} +2 -3
- package/dist/split-layout.d.ts +1 -1
- package/dist/split-layout.js +1 -1
- package/dist/swipe.d.ts +1 -2
- package/dist/swipe.js +0 -2
- package/dist/{tab-list-v8mKX7Fu.d.ts → tab-list-CexFFg6O.d.ts} +3 -5
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +23 -3
- package/dist/tickled-controller-D-HZymaZ.js +0 -2
- package/dist/tickled-controller-DodxD3eQ.d.ts +1 -2
- package/dist/tickled-styles-BrAHEj1q.js +0 -2
- package/dist/timeline-BP1Ux2EV.js +0 -2
- package/dist/{titlebar-B5zSTZnF.d.ts → titlebar-Tqu-VvMU.d.ts} +2 -3
- package/dist/titlebar.d.ts +1 -1
- package/dist/titlebar.js +0 -2
- package/dist/tooltip-BlvBUQxx.d.ts +1 -2
- package/dist/tooltip-CJt3WLmN.js +0 -2
- package/dist/transitory-label.d.ts +1 -2
- package/dist/transitory-label.js +0 -2
- package/dist/{tree-DGveys4K.js → tree-DD8OaqsK.js} +1009 -231
- package/dist/tree-component-Cj8V3uar.d.ts +1 -2
- package/dist/tree.d.ts +4 -267
- package/dist/tree.js +1 -1
- package/dist/types-DQ7KOUIj.d.ts +1 -2
- package/dist/{vertical-list-CqBc-t8w.d.ts → vertical-list-m7GJtXwv.d.ts} +3 -3
- package/dist/vertical-list.d.ts +1 -1
- package/dist/vertical-list.js +114 -27
- package/dist/wheel-nudge-By5s_ioH.d.ts +1 -2
- package/dist/wheel-nudge-D5rmht3v.js +0 -2
- package/dist/xy-axis-CyMd_Bn1.js +0 -2
- package/dist/xy-axis-DQqd2yXJ.d.ts +1 -2
- package/dist/xy-pad.d.ts +1 -2
- package/dist/xy-pad.js +0 -2
- package/docs-user/data-grid.md +74 -4
- package/docs-user/detail-list.md +65 -0
- package/docs-user/grid-list.md +81 -4
- package/docs-user/index.json +2 -2
- package/docs-user/miller.md +59 -3
- package/docs-user/tree.md +63 -2
- package/docs-user/vertical-list.md +9 -1
- package/package.json +6 -1
- package/bundle/index.d.ts.map +0 -1
- package/bundle/index.js.map +0 -1
- package/bundle/rolldown-runtime-D7D4PA-g.js +0 -13
- package/dist/ac-text.d.ts.map +0 -1
- package/dist/ac-text.js.map +0 -1
- package/dist/ac-token-TCLAZeVg.d.ts.map +0 -1
- package/dist/ac-token.js.map +0 -1
- package/dist/button-B7mgqtxR.js.map +0 -1
- package/dist/button-CTL45aBl.d.ts.map +0 -1
- package/dist/checkbox.d.ts.map +0 -1
- package/dist/checkbox.js.map +0 -1
- package/dist/checked-select-CglRukbP.d.ts.map +0 -1
- package/dist/checked-select-lDgAQQ7v.js.map +0 -1
- package/dist/colour-picker-BCMU7W7R.js.map +0 -1
- package/dist/crumbs.d.ts.map +0 -1
- package/dist/crumbs.js.map +0 -1
- package/dist/data-controller-DOlmqNKb.js.map +0 -1
- package/dist/data-display.d.ts.map +0 -1
- package/dist/data-display.js.map +0 -1
- package/dist/data-grid-Ck1Qx2H1.d.ts.map +0 -1
- package/dist/data-grid.js.map +0 -1
- package/dist/data-provider-35TyWclX.js.map +0 -1
- package/dist/data-provider-BAn_-oR1.d.ts.map +0 -1
- package/dist/decorate-VRK8rslU.js.map +0 -1
- package/dist/defaults-B4ePs4LB.js.map +0 -1
- package/dist/detail-list-C1xzr1z7.d.ts.map +0 -1
- package/dist/detail-list.js.map +0 -1
- package/dist/drag-ghost-DtSDvjri.js.map +0 -1
- package/dist/editable-label-rzXkjf1H.d.ts.map +0 -1
- package/dist/editable-label.js.map +0 -1
- package/dist/fallbacks-DQ_5OsmR.js.map +0 -1
- package/dist/flat-list-Ohxqsy0g.d.ts.map +0 -1
- package/dist/flat-list.js.map +0 -1
- package/dist/form-CsXJX15p.js.map +0 -1
- package/dist/form.d.ts.map +0 -1
- package/dist/grid-list-DjIl910A.js.map +0 -1
- package/dist/grid-list-pefLORIr.d.ts.map +0 -1
- package/dist/grouped-item-lister-Bhyo-dkH.d.ts.map +0 -1
- package/dist/grouped-item-lister.js.map +0 -1
- package/dist/grouping-CUKgmkMm.d.ts.map +0 -1
- package/dist/grouping-RYPnHkrS.js.map +0 -1
- package/dist/handle-DAXs7kbJ.js.map +0 -1
- package/dist/hex-editor-Caq8vNQk.d.ts.map +0 -1
- package/dist/hex-editor-DiYpgIKs.js.map +0 -1
- package/dist/highlight-B-eQrhhb.js.map +0 -1
- package/dist/icon-1gpwtPx8.js.map +0 -1
- package/dist/icon-DR_3rSyZ.d.ts.map +0 -1
- package/dist/icons.js.map +0 -1
- package/dist/incr-search-D91M4Ozq.js.map +0 -1
- package/dist/index-BOUaDIW-.d.ts.map +0 -1
- package/dist/index-BUB5SICW.d.ts.map +0 -1
- package/dist/index-CJ5fshD3.d.ts.map +0 -1
- package/dist/index-CxZ61DO1.d.ts.map +0 -1
- package/dist/index-DV3iaUBW.d.ts.map +0 -1
- package/dist/index-Dq30pOnn.d.ts.map +0 -1
- package/dist/index-garxxqgV.d.ts.map +0 -1
- package/dist/index-o-CWDt11.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/item-appearance-BjcMyauw.js.map +0 -1
- package/dist/keyboard-B5xD7Fz-.js.map +0 -1
- package/dist/labelled-input-base-BFa4xlYV.js.map +0 -1
- package/dist/labelled-input-base-Dp_9KP0G.d.ts.map +0 -1
- package/dist/labelled-radial-input.d.ts.map +0 -1
- package/dist/labelled-radial-input.js.map +0 -1
- package/dist/labelled-range-input.js.map +0 -1
- package/dist/labelled-slider-input-FdCRi6st.js.map +0 -1
- package/dist/led.d.ts.map +0 -1
- package/dist/led.js.map +0 -1
- package/dist/list-group-header.d.ts.map +0 -1
- package/dist/list-group-header.js.map +0 -1
- package/dist/list-item-animation-BUoEKi5s.js.map +0 -1
- package/dist/list-native-drag-controller-B9xO0XWn.js.map +0 -1
- package/dist/list-native-drag-controller-ChIi3eK5.d.ts.map +0 -1
- package/dist/list-selection-controller-BeE70lbB.js.map +0 -1
- package/dist/list-selection-types-PjKdhF-a.d.ts.map +0 -1
- package/dist/list-viewport-types-BRZsLcvp.d.ts.map +0 -1
- package/dist/menu-CwcXXeLM.js.map +0 -1
- package/dist/menu-item-B0zqw2xp.d.ts.map +0 -1
- package/dist/menu-item-BDEekBVy.js.map +0 -1
- package/dist/miller.d.ts.map +0 -1
- package/dist/miller.js.map +0 -1
- package/dist/narrowed-text.js.map +0 -1
- package/dist/notification-pill-DyZydXoZ.d.ts.map +0 -1
- package/dist/notifier.js.map +0 -1
- package/dist/pan-text-CoYmt2qd.d.ts.map +0 -1
- package/dist/pan-text-CqtvjPyK.js.map +0 -1
- package/dist/panel.d.ts.map +0 -1
- package/dist/panel.js.map +0 -1
- package/dist/polar-pad.d.ts.map +0 -1
- package/dist/polar-pad.js.map +0 -1
- package/dist/popup-D80sj2QC.js.map +0 -1
- package/dist/prominence-DlFShic3.js.map +0 -1
- package/dist/radial-input-DU6t2hYO.d.ts.map +0 -1
- package/dist/radial-input-KMVltQfe.js.map +0 -1
- package/dist/range-input.d.ts.map +0 -1
- package/dist/range-input.js.map +0 -1
- package/dist/range.d.ts.map +0 -1
- package/dist/range.js.map +0 -1
- package/dist/registry-BEtb8_wB.js.map +0 -1
- package/dist/scroll-fade-BrNUIYnm.js.map +0 -1
- package/dist/select-horiz.d.ts.map +0 -1
- package/dist/select-horiz.js.map +0 -1
- package/dist/slider-input-BxURAAmD.d.ts.map +0 -1
- package/dist/slider-input-ByHdotzp.js.map +0 -1
- package/dist/snackbar.d.ts.map +0 -1
- package/dist/snackbar.js.map +0 -1
- package/dist/snap-container.d.ts.map +0 -1
- package/dist/snap-container.js.map +0 -1
- package/dist/split-layout-C5SYbDrq.d.ts.map +0 -1
- package/dist/split-layout-CXotkdbx.js.map +0 -1
- package/dist/swipe.d.ts.map +0 -1
- package/dist/swipe.js.map +0 -1
- package/dist/tab-list-v8mKX7Fu.d.ts.map +0 -1
- package/dist/tabs.js.map +0 -1
- package/dist/tickled-controller-D-HZymaZ.js.map +0 -1
- package/dist/tickled-controller-DodxD3eQ.d.ts.map +0 -1
- package/dist/tickled-styles-BrAHEj1q.js.map +0 -1
- package/dist/timeline-BP1Ux2EV.js.map +0 -1
- package/dist/titlebar-B5zSTZnF.d.ts.map +0 -1
- package/dist/titlebar.js.map +0 -1
- package/dist/tooltip-BlvBUQxx.d.ts.map +0 -1
- package/dist/tooltip-CJt3WLmN.js.map +0 -1
- package/dist/transitory-label.d.ts.map +0 -1
- package/dist/transitory-label.js.map +0 -1
- package/dist/tree-DGveys4K.js.map +0 -1
- package/dist/tree-component-Cj8V3uar.d.ts.map +0 -1
- package/dist/tree.d.ts.map +0 -1
- package/dist/types-DQ7KOUIj.d.ts.map +0 -1
- package/dist/vertical-list-CqBc-t8w.d.ts.map +0 -1
- package/dist/vertical-list.js.map +0 -1
- package/dist/wheel-nudge-By5s_ioH.d.ts.map +0 -1
- package/dist/wheel-nudge-D5rmht3v.js.map +0 -1
- package/dist/xy-axis-CyMd_Bn1.js.map +0 -1
- package/dist/xy-axis-DQqd2yXJ.d.ts.map +0 -1
- package/dist/xy-pad.d.ts.map +0 -1
- package/dist/xy-pad.js.map +0 -1
package/bundle/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { CSSResult, CSSResultGroup, LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, TemplateResult, html, nothing } from "lit";
|
|
2
|
-
import { FzfOptions } from "fzf";
|
|
3
|
-
import { CommandId, CommandRegistry, KeyboardManager } from "@clinth/ui-commands";
|
|
4
|
-
import { Colour } from "@ixfx/visual";
|
|
5
|
-
import { TraversableTree } from "@ixfx/collections";
|
|
6
|
-
import "@clinth/vcanvas";
|
|
7
2
|
//#region src/icons/icon.d.ts
|
|
8
3
|
declare class IxfxIconElement extends LitElement {
|
|
9
4
|
#private;
|
|
@@ -285,6 +280,179 @@ interface AcTokenElement {
|
|
|
285
280
|
addEventListener: (<K extends keyof AcTokenElementEventMap>(type: K, listener: (this: AcTokenElement, event: AcTokenElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
286
281
|
}
|
|
287
282
|
//#endregion
|
|
283
|
+
//#region node_modules/.pnpm/@clinth+ui-commands@1.1.0/node_modules/@clinth/ui-commands/dist/types.d.ts
|
|
284
|
+
type CommandId = string;
|
|
285
|
+
type CommandOptions = Readonly<{
|
|
286
|
+
onInvoke?: (id: CommandId, args?: Record<string, unknown>) => void;
|
|
287
|
+
onInvokeError?: (id: CommandId, error: Error, stage: `on-invoke` | `listener` | `execute`) => void;
|
|
288
|
+
onCommandNotFound?: (id: CommandId) => void;
|
|
289
|
+
}>;
|
|
290
|
+
type Command<TState = unknown> = Readonly<{
|
|
291
|
+
id: CommandId;
|
|
292
|
+
label: string;
|
|
293
|
+
icon?: string;
|
|
294
|
+
description: string;
|
|
295
|
+
enabledWhen?: (state: TState) => boolean;
|
|
296
|
+
execute: (args?: Record<string, unknown>) => void;
|
|
297
|
+
}>;
|
|
298
|
+
type InputSource = `keyboard` | `pointer` | `midi`;
|
|
299
|
+
type InputContext = Readonly<{
|
|
300
|
+
source: InputSource;
|
|
301
|
+
element: HTMLElement | null;
|
|
302
|
+
commandContext?: string;
|
|
303
|
+
}>;
|
|
304
|
+
type ModifierKey = `ctrl` | `shift` | `alt` | `meta`;
|
|
305
|
+
interface Modifiers {
|
|
306
|
+
ctrl: boolean;
|
|
307
|
+
shift: boolean;
|
|
308
|
+
alt: boolean;
|
|
309
|
+
meta: boolean;
|
|
310
|
+
}
|
|
311
|
+
interface KeyBinding<TAppModes extends string = string> {
|
|
312
|
+
key: string;
|
|
313
|
+
modifiers: Set<ModifierKey>;
|
|
314
|
+
mode?: TAppModes | `all`;
|
|
315
|
+
nonExclusive?: boolean;
|
|
316
|
+
commandContext?: string;
|
|
317
|
+
commandId: CommandId;
|
|
318
|
+
}
|
|
319
|
+
type KeyEventHandler = (commandId: CommandId, modifiers: Modifiers, context: InputContext) => void;
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region node_modules/.pnpm/@clinth+ui-commands@1.1.0/node_modules/@clinth/ui-commands/dist/command-registry.d.ts
|
|
322
|
+
/**
|
|
323
|
+
* Command registry.
|
|
324
|
+
*/
|
|
325
|
+
declare class CommandRegistry<TState = unknown> {
|
|
326
|
+
private commands;
|
|
327
|
+
private invokeListeners;
|
|
328
|
+
private options;
|
|
329
|
+
/**
|
|
330
|
+
* Creates, with options.
|
|
331
|
+
* @param options
|
|
332
|
+
*/
|
|
333
|
+
constructor(options?: CommandOptions);
|
|
334
|
+
/**
|
|
335
|
+
* Registers a command.
|
|
336
|
+
* @throws If command with this id is already registered
|
|
337
|
+
* @param command
|
|
338
|
+
*/
|
|
339
|
+
register(command: Command<TState>): void;
|
|
340
|
+
/**
|
|
341
|
+
* Unregisters a command.
|
|
342
|
+
* @param id - Command ID to unregister
|
|
343
|
+
* @returns _true_ if a command was removed
|
|
344
|
+
*/
|
|
345
|
+
unregister(id: CommandId): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Runs a command by its id.
|
|
348
|
+
*
|
|
349
|
+
* If the id was not found, the `onCommandNotFound` callback is used.
|
|
350
|
+
*
|
|
351
|
+
* Order is:
|
|
352
|
+
* command.execute
|
|
353
|
+
* options onInvoke handler executed
|
|
354
|
+
* each invoke listener executed
|
|
355
|
+
* @param id
|
|
356
|
+
* @param args
|
|
357
|
+
* @returns _false_ if command could not be executed or was not found.
|
|
358
|
+
*/
|
|
359
|
+
invoke(id: CommandId, args?: Record<string, unknown>): boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Adds a function to call when a command is invoked.
|
|
362
|
+
* @param handler - Handler to add
|
|
363
|
+
* @returns Function to unsubscribe the handler
|
|
364
|
+
*/
|
|
365
|
+
addOnInvokeHandler(handler: (id: CommandId, args?: Record<string, unknown>) => void): () => void;
|
|
366
|
+
/**
|
|
367
|
+
* Gets a command by id.
|
|
368
|
+
* @param id - Command ID to retrieve
|
|
369
|
+
* @returns The command or _undefined_ if not found
|
|
370
|
+
*/
|
|
371
|
+
get(id: CommandId): Command<TState> | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* Returns a copy of all commands.
|
|
374
|
+
* @returns Array of all commands
|
|
375
|
+
*/
|
|
376
|
+
getAll(): ReadonlyArray<Command<TState>>;
|
|
377
|
+
/**
|
|
378
|
+
* Returns a filtered array of all commands that are enabled for the given state.
|
|
379
|
+
* @param state - Current application state
|
|
380
|
+
* @returns Array of enabled commands
|
|
381
|
+
*/
|
|
382
|
+
getEnabled(state: TState): ReadonlyArray<Command<TState>>;
|
|
383
|
+
/**
|
|
384
|
+
* Returns _true_ if this command is registered.
|
|
385
|
+
* @param id - Command ID to check
|
|
386
|
+
* @returns _true_ if the command exists
|
|
387
|
+
*/
|
|
388
|
+
has(id: CommandId): boolean;
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region node_modules/.pnpm/@clinth+ui-commands@1.1.0/node_modules/@clinth/ui-commands/dist/keyboard-manager.d.ts
|
|
392
|
+
/**
|
|
393
|
+
* Manages keyboard bindings and event handling.
|
|
394
|
+
* @typeParam M - The mode type (e.g., 'detail' | 'coarse')
|
|
395
|
+
*/
|
|
396
|
+
declare class KeyboardManager<M extends string = string> {
|
|
397
|
+
private bindings;
|
|
398
|
+
private active;
|
|
399
|
+
private element;
|
|
400
|
+
private eventHandlers;
|
|
401
|
+
private modeGetter;
|
|
402
|
+
/**
|
|
403
|
+
* Sets the function that returns the current application mode.
|
|
404
|
+
* @param getter - Function that returns the current mode
|
|
405
|
+
*/
|
|
406
|
+
setModeGetter(getter: () => M): void;
|
|
407
|
+
/**
|
|
408
|
+
* Adds a key binding.
|
|
409
|
+
* @param binding - The binding to add
|
|
410
|
+
*/
|
|
411
|
+
bind(binding: KeyBinding<M>): void;
|
|
412
|
+
/**
|
|
413
|
+
* Removes a key binding.
|
|
414
|
+
* @param key - The key to unbind
|
|
415
|
+
* @param modifiers - The modifiers set required for the binding
|
|
416
|
+
*/
|
|
417
|
+
unbind(key: string, modifiers: Set<ModifierKey>): void;
|
|
418
|
+
/**
|
|
419
|
+
* Enables or disables keyboard event handling.
|
|
420
|
+
* @param active - Whether keyboard handling should be active
|
|
421
|
+
*/
|
|
422
|
+
setActive(active: boolean): void;
|
|
423
|
+
/**
|
|
424
|
+
* Adds a handler for key events.
|
|
425
|
+
* @param handler - The handler to call when a key event matches a binding
|
|
426
|
+
* @returns Function to unsubscribe the handler
|
|
427
|
+
*/
|
|
428
|
+
onKeyEvent(handler: KeyEventHandler): () => void;
|
|
429
|
+
/**
|
|
430
|
+
* Attaches keyboard event listeners to an element.
|
|
431
|
+
* @param element - The element to attach to
|
|
432
|
+
*/
|
|
433
|
+
attach(element: HTMLElement): void;
|
|
434
|
+
/**
|
|
435
|
+
* Removes keyboard event listeners.
|
|
436
|
+
*/
|
|
437
|
+
detach(): void;
|
|
438
|
+
/**
|
|
439
|
+
* Returns all registered bindings.
|
|
440
|
+
* @returns Readonly array of bindings
|
|
441
|
+
*/
|
|
442
|
+
getBindings(): ReadonlyArray<KeyBinding<M>>;
|
|
443
|
+
private handleKeydown;
|
|
444
|
+
private getInputContext;
|
|
445
|
+
private getModifiers;
|
|
446
|
+
private findBinding;
|
|
447
|
+
private pickBestBinding;
|
|
448
|
+
private matchesCommandContext;
|
|
449
|
+
private hasOverlap;
|
|
450
|
+
private formatModifiers;
|
|
451
|
+
private isSubset;
|
|
452
|
+
private setsEqual;
|
|
453
|
+
private toModifiers;
|
|
454
|
+
}
|
|
455
|
+
//#endregion
|
|
288
456
|
//#region src/titlebar/titlebar.d.ts
|
|
289
457
|
type TitlebarOrientation = `horizontal` | `vertical`;
|
|
290
458
|
type TitlebarVariant = `titlebar` | `midline` | `tree`;
|
|
@@ -685,122 +853,1218 @@ declare global {
|
|
|
685
853
|
}
|
|
686
854
|
}
|
|
687
855
|
//#endregion
|
|
688
|
-
//#region src/checkbox/checkbox.d.ts
|
|
689
|
-
declare class Checkbox extends LitElement {
|
|
690
|
-
#private;
|
|
691
|
-
static styles: import("lit").CSSResult[];
|
|
692
|
-
checked: boolean;
|
|
693
|
-
disabled: boolean;
|
|
694
|
-
indeterminate: boolean;
|
|
695
|
-
readonly: boolean;
|
|
696
|
-
label: string;
|
|
697
|
-
name: string;
|
|
698
|
-
value: string;
|
|
699
|
-
/** Focus the inner input, so the host can be focused like a native checkbox. */
|
|
700
|
-
focus(options?: FocusOptions): void;
|
|
701
|
-
render(): ReturnType<typeof html>;
|
|
702
|
-
}
|
|
703
|
-
type CheckboxChangeDetail = {
|
|
704
|
-
readonly checked: boolean;
|
|
705
|
-
};
|
|
706
|
-
type CheckboxChangeEvent = CustomEvent<CheckboxChangeDetail>;
|
|
707
|
-
declare global {
|
|
708
|
-
interface HTMLElementTagNameMap {
|
|
709
|
-
'ixfx-checkbox': Checkbox;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
interface CheckboxEventMap {
|
|
713
|
-
change: CheckboxChangeEvent;
|
|
856
|
+
//#region src/checkbox/checkbox.d.ts
|
|
857
|
+
declare class Checkbox extends LitElement {
|
|
858
|
+
#private;
|
|
859
|
+
static styles: import("lit").CSSResult[];
|
|
860
|
+
checked: boolean;
|
|
861
|
+
disabled: boolean;
|
|
862
|
+
indeterminate: boolean;
|
|
863
|
+
readonly: boolean;
|
|
864
|
+
label: string;
|
|
865
|
+
name: string;
|
|
866
|
+
value: string;
|
|
867
|
+
/** Focus the inner input, so the host can be focused like a native checkbox. */
|
|
868
|
+
focus(options?: FocusOptions): void;
|
|
869
|
+
render(): ReturnType<typeof html>;
|
|
870
|
+
}
|
|
871
|
+
type CheckboxChangeDetail = {
|
|
872
|
+
readonly checked: boolean;
|
|
873
|
+
};
|
|
874
|
+
type CheckboxChangeEvent = CustomEvent<CheckboxChangeDetail>;
|
|
875
|
+
declare global {
|
|
876
|
+
interface HTMLElementTagNameMap {
|
|
877
|
+
'ixfx-checkbox': Checkbox;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
interface CheckboxEventMap {
|
|
881
|
+
change: CheckboxChangeEvent;
|
|
882
|
+
}
|
|
883
|
+
interface Checkbox {
|
|
884
|
+
addEventListener: (<K extends keyof CheckboxEventMap>(type: K, listener: (this: Checkbox, event: CheckboxEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
885
|
+
}
|
|
886
|
+
//#endregion
|
|
887
|
+
//#region src/checked-select/types.d.ts
|
|
888
|
+
type CheckState = `true` | `false` | `indeterminate`;
|
|
889
|
+
type CheckedSelectItem = {
|
|
890
|
+
readonly value: string;
|
|
891
|
+
readonly label: string;
|
|
892
|
+
readonly checked: CheckState;
|
|
893
|
+
};
|
|
894
|
+
type ItemDisplay = `checkbox` | `text`;
|
|
895
|
+
type ItemOrientation = `horizontal` | `vertical`;
|
|
896
|
+
//#endregion
|
|
897
|
+
//#region src/checked-select/checked-select.d.ts
|
|
898
|
+
declare class CheckedSelect extends LitElement {
|
|
899
|
+
#private;
|
|
900
|
+
static styles: import("lit").CSSResult[];
|
|
901
|
+
items: readonly CheckedSelectItem[];
|
|
902
|
+
multiline: boolean;
|
|
903
|
+
/** At-rest checkboxes are display-only; clicking them just opens the popup. (Not `inert`: that native attribute would block the whole element.) */
|
|
904
|
+
itemsInert: boolean;
|
|
905
|
+
/** How at-rest items are shown: as `checkbox`es, or as comma-separated `text`. */
|
|
906
|
+
itemDisplay: ItemDisplay;
|
|
907
|
+
/** Direction the resting items flow: `horizontal` (default) or `vertical` (one per row). */
|
|
908
|
+
orientation: ItemOrientation;
|
|
909
|
+
placeholder: string;
|
|
910
|
+
disabled: boolean;
|
|
911
|
+
private _open;
|
|
912
|
+
private _draft;
|
|
913
|
+
private _order;
|
|
914
|
+
private _size;
|
|
915
|
+
get isOpen(): boolean;
|
|
916
|
+
disconnectedCallback(): void;
|
|
917
|
+
willUpdate(changed: PropertyValues): void;
|
|
918
|
+
open(): Promise<void>;
|
|
919
|
+
commit(): void;
|
|
920
|
+
cancel(): void;
|
|
921
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
922
|
+
}
|
|
923
|
+
type CheckedSelectChangeDetail = {
|
|
924
|
+
/** Every item, with its committed state. */
|
|
925
|
+
readonly items: readonly CheckedSelectItem[];
|
|
926
|
+
/** Only the items whose state changed. */
|
|
927
|
+
readonly changed: readonly CheckedSelectItem[];
|
|
928
|
+
};
|
|
929
|
+
type CheckedSelectChangeEvent = CustomEvent<CheckedSelectChangeDetail>;
|
|
930
|
+
declare global {
|
|
931
|
+
interface HTMLElementTagNameMap {
|
|
932
|
+
'ixfx-checked-select': CheckedSelect;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
interface CheckedSelectEventMap {
|
|
936
|
+
change: CheckedSelectChangeEvent;
|
|
937
|
+
}
|
|
938
|
+
interface CheckedSelect {
|
|
939
|
+
addEventListener: (<K extends keyof CheckedSelectEventMap>(type: K, listener: (this: CheckedSelect, event: CheckedSelectEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
940
|
+
}
|
|
941
|
+
//#endregion
|
|
942
|
+
//#region src/colour-picker/types.d.ts
|
|
943
|
+
/**
|
|
944
|
+
* OKLCH colour value representation
|
|
945
|
+
*/
|
|
946
|
+
type OklchValue = {
|
|
947
|
+
readonly l: number;
|
|
948
|
+
readonly c: number;
|
|
949
|
+
readonly h: number;
|
|
950
|
+
readonly a?: number;
|
|
951
|
+
readonly unit: `scalar`;
|
|
952
|
+
readonly space: `oklch`;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* Event detail for colour picker input/change events
|
|
956
|
+
*/
|
|
957
|
+
type ColourPickerEventDetail = OklchValue;
|
|
958
|
+
/**
|
|
959
|
+
* Colour picker custom events
|
|
960
|
+
*/
|
|
961
|
+
type ColourPickerInputEvent = CustomEvent<ColourPickerEventDetail>;
|
|
962
|
+
type ColourPickerChangeEvent = CustomEvent<ColourPickerEventDetail>;
|
|
963
|
+
type Range = readonly [number, number];
|
|
964
|
+
type RangeInput$1 = readonly [number, number] | readonly number[];
|
|
965
|
+
/**
|
|
966
|
+
* Augment HTMLElementTagNameMap for the custom element
|
|
967
|
+
*/
|
|
968
|
+
declare global {
|
|
969
|
+
interface HTMLElementTagNameMap {
|
|
970
|
+
'ixfx-colour-picker': ColourPicker;
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
//#endregion
|
|
974
|
+
//#region node_modules/.pnpm/@ixfx+geometry@0.56.14/node_modules/@ixfx/geometry/dist/angles.d.ts
|
|
975
|
+
/**
|
|
976
|
+
* A angle with unit.
|
|
977
|
+
* - [Degrees](https://en.wikipedia.org/wiki/Degree_(angle)): 0..360
|
|
978
|
+
* - [Radians](https://en.wikipedia.org/wiki/Radian): 0...2Pi
|
|
979
|
+
* - [Gradians](https://en.wikipedia.org/wiki/Gradian): 0..400
|
|
980
|
+
* - [Turns](https://en.wikipedia.org/wiki/Turn_(angle)): 0..1
|
|
981
|
+
*
|
|
982
|
+
*
|
|
983
|
+
* ```
|
|
984
|
+
* 100 grad
|
|
985
|
+
* 1/4 turn
|
|
986
|
+
* 90 deg
|
|
987
|
+
* PI/2 rad
|
|
988
|
+
* |
|
|
989
|
+
* Pi rad | 0 or 2PI rad
|
|
990
|
+
* 180deg -------+------- 0 or 360 deg
|
|
991
|
+
* 1/2 turn | 0 or 1 turn
|
|
992
|
+
* 200 grad | 0 or 400 grad
|
|
993
|
+
* |
|
|
994
|
+
* 270 deg
|
|
995
|
+
* 3PI/2 rad
|
|
996
|
+
* 3/4 turn
|
|
997
|
+
* 300 grad
|
|
998
|
+
* ```
|
|
999
|
+
*/
|
|
1000
|
+
type Angle = {
|
|
1001
|
+
value: number;
|
|
1002
|
+
unit: `deg` | `rad` | `turn` | `grad`;
|
|
1003
|
+
};
|
|
1004
|
+
//#endregion
|
|
1005
|
+
//#region node_modules/.pnpm/@ixfx+collections@0.56.14/node_modules/@ixfx/collections/dist/index-rrpZOWbs.d.ts
|
|
1006
|
+
/**
|
|
1007
|
+
* Traversable Tree.
|
|
1008
|
+
*
|
|
1009
|
+
* Creatable from:
|
|
1010
|
+
* {@link Trees.FromObject.asDynamicTraversable}: Create based on dynamic reading of an object
|
|
1011
|
+
* {@link Trees.TraversableTree}: Create based on an {@link Trees.TreeNode}, a {@link Trees.TraversableTree} or an object (same as calling asDynamicTraversable).
|
|
1012
|
+
* Use {@link Trees.isTraversable} to check if an object is this type.
|
|
1013
|
+
*/
|
|
1014
|
+
type TraversableTree<TValue> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Direct children of node
|
|
1017
|
+
*/
|
|
1018
|
+
children: () => IterableIterator<TraversableTree<TValue>>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Direct parent of node
|
|
1021
|
+
*/
|
|
1022
|
+
getParent: () => TraversableTree<TValue> | undefined;
|
|
1023
|
+
/**
|
|
1024
|
+
* Value of node
|
|
1025
|
+
*/
|
|
1026
|
+
getValue: () => TValue;
|
|
1027
|
+
/**
|
|
1028
|
+
* Object reference that acts as the identity of the node
|
|
1029
|
+
*/
|
|
1030
|
+
getIdentity: () => any;
|
|
1031
|
+
};
|
|
1032
|
+
//#endregion
|
|
1033
|
+
//#region node_modules/.pnpm/@ixfx+random@0.56.14/node_modules/@ixfx/random/dist/index.d.ts
|
|
1034
|
+
//#region src/types.d.ts
|
|
1035
|
+
/**
|
|
1036
|
+
* A random source.
|
|
1037
|
+
*
|
|
1038
|
+
* Predefined sources: Math.random, {@link gaussianSource}, {@link weightedSource}
|
|
1039
|
+
*/
|
|
1040
|
+
type RandomSource = () => number;
|
|
1041
|
+
//#endregion
|
|
1042
|
+
//#region node_modules/.pnpm/@ixfx+visual@0.56.14/node_modules/@ixfx/visual/dist/index-a3KMyMEu.d.ts
|
|
1043
|
+
//#region src/colour/types.d.ts
|
|
1044
|
+
type HslBase = {
|
|
1045
|
+
/**
|
|
1046
|
+
* Hue
|
|
1047
|
+
*/
|
|
1048
|
+
h: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* Saturation
|
|
1051
|
+
*/
|
|
1052
|
+
s: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* Lightness
|
|
1055
|
+
*/
|
|
1056
|
+
l: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* Opacity
|
|
1059
|
+
*/
|
|
1060
|
+
opacity?: number;
|
|
1061
|
+
space?: `hsl`;
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* [YCbCr format](https://en.wikipedia.org/wiki/YCbCr)
|
|
1065
|
+
*/
|
|
1066
|
+
type YCbCrBase = {
|
|
1067
|
+
/**
|
|
1068
|
+
* Luma
|
|
1069
|
+
*/
|
|
1070
|
+
y: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* Blue difference
|
|
1073
|
+
*/
|
|
1074
|
+
cb: number;
|
|
1075
|
+
/**
|
|
1076
|
+
* Red difference
|
|
1077
|
+
*/
|
|
1078
|
+
cr: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* Opacity
|
|
1081
|
+
*/
|
|
1082
|
+
opacity?: number;
|
|
1083
|
+
space?: `ycbcr`;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* Scalar values use 0..1 for each field
|
|
1087
|
+
*/
|
|
1088
|
+
type YCbCrScalar = YCbCrBase & {
|
|
1089
|
+
unit: `scalar`;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* Absolute colour use 0..255 for each field
|
|
1093
|
+
*/
|
|
1094
|
+
type YCbCr8bit = YCbCrBase & {
|
|
1095
|
+
unit: `8bit`;
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* [YCbCr format](https://en.wikipedia.org/wiki/YCbCr).
|
|
1099
|
+
*
|
|
1100
|
+
* By default assumes scalar coordinates (0..1) for each field.
|
|
1101
|
+
* Use '8bit' unit for 0..255 ranged values.
|
|
1102
|
+
*/
|
|
1103
|
+
type YCbCr = YCbCrScalar | YCbCr8bit;
|
|
1104
|
+
type ColourSpaces = `srgb` | `hsl` | `oklch` | `ycbcr`;
|
|
1105
|
+
/**
|
|
1106
|
+
* Scalar values use 0..1 for each field
|
|
1107
|
+
*/
|
|
1108
|
+
type HslScalar = HslBase & {
|
|
1109
|
+
unit: `scalar`;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* Absolute values use hue:0..360, all other fields 0..100
|
|
1113
|
+
*/
|
|
1114
|
+
type HslAbsolute = HslBase & {
|
|
1115
|
+
unit: `absolute`;
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* HSL value.
|
|
1119
|
+
* By default assumes scalar coordinates (0..1) for each field.
|
|
1120
|
+
* Use 'absolute' unit for hue:0...360, all other fields on 0..100 scale.
|
|
1121
|
+
*/
|
|
1122
|
+
type Hsl = HslScalar | HslAbsolute;
|
|
1123
|
+
/**
|
|
1124
|
+
* Rgb.
|
|
1125
|
+
* Units determine how to interperet rgb values.
|
|
1126
|
+
* 'scalar': 0..1 range for RGB & opacity
|
|
1127
|
+
* '8bit': 0..255 range for RGB & opacity
|
|
1128
|
+
*/
|
|
1129
|
+
type RgbBase = {
|
|
1130
|
+
r: number;
|
|
1131
|
+
g: number;
|
|
1132
|
+
b: number;
|
|
1133
|
+
opacity?: number;
|
|
1134
|
+
space?: `srgb`;
|
|
1135
|
+
};
|
|
1136
|
+
type RgbScalar = RgbBase & {
|
|
1137
|
+
unit: `scalar`;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* RGB in 0...255 range, including opacity.
|
|
1141
|
+
*/
|
|
1142
|
+
type Rgb8Bit = RgbBase & {
|
|
1143
|
+
unit: `8bit`;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* Rgb.
|
|
1147
|
+
* Units determine how to interperet rgb values.
|
|
1148
|
+
* 'scalar': 0..1 range for RGB & opacity
|
|
1149
|
+
* '8bit': 0..255 range for RGB & opacity
|
|
1150
|
+
*/
|
|
1151
|
+
type Rgb = RgbScalar | Rgb8Bit;
|
|
1152
|
+
type LchBase = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Lightness/perceived brightnes
|
|
1155
|
+
*/
|
|
1156
|
+
l: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* Chroma ('amount of colour')
|
|
1159
|
+
*/
|
|
1160
|
+
c: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* Hue
|
|
1163
|
+
*/
|
|
1164
|
+
h: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* Opacity on 0..1 scale
|
|
1167
|
+
*/
|
|
1168
|
+
opacity?: number;
|
|
1169
|
+
space: `lch` | `oklch`;
|
|
1170
|
+
};
|
|
1171
|
+
type ColourInterpolator<T extends Colour> = (amount: number) => T;
|
|
1172
|
+
type OkLchBase = LchBase & {
|
|
1173
|
+
space: `oklch`;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Oklch colour expressed in 0..1 scalar values for LCH & opacity
|
|
1177
|
+
*/
|
|
1178
|
+
type OkLchScalar = OkLchBase & {
|
|
1179
|
+
unit: `scalar`;
|
|
1180
|
+
};
|
|
1181
|
+
/**
|
|
1182
|
+
* Oklch colour expressed with:
|
|
1183
|
+
* l: 0..1
|
|
1184
|
+
* c: 0..4
|
|
1185
|
+
* h: 0..360 degrees
|
|
1186
|
+
* opacity: 0..1
|
|
1187
|
+
*/
|
|
1188
|
+
type OkLchAbsolute = OkLchBase & {
|
|
1189
|
+
unit: `absolute`;
|
|
1190
|
+
};
|
|
1191
|
+
type OkLch = OkLchAbsolute | OkLchScalar;
|
|
1192
|
+
type Colour = {
|
|
1193
|
+
opacity?: number;
|
|
1194
|
+
} & (Hsl | OkLch | Rgb | YCbCr);
|
|
1195
|
+
/**
|
|
1196
|
+
* A representation of colour. Eg: `blue`, `rgb(255,0,0)`, `hsl(20,100%,50%)`
|
|
1197
|
+
*/
|
|
1198
|
+
type Colourish = Colour | string;
|
|
1199
|
+
/**
|
|
1200
|
+
* Options for interpolation
|
|
1201
|
+
*/
|
|
1202
|
+
type ColourInterpolationOpts = {
|
|
1203
|
+
direction: `longer` | `shorter`;
|
|
1204
|
+
/**
|
|
1205
|
+
* Space to do calculations in
|
|
1206
|
+
*/
|
|
1207
|
+
space: ColourSpaces;
|
|
1208
|
+
/**
|
|
1209
|
+
* Destination of calculated colour
|
|
1210
|
+
*/
|
|
1211
|
+
destination: ConvertDestinations;
|
|
1212
|
+
};
|
|
1213
|
+
type ColourStepOpts = ColourInterpolationOpts & {
|
|
1214
|
+
/**
|
|
1215
|
+
* If set, determines total number of steps, including colour stops.
|
|
1216
|
+
* Use this _or_ `stepsBetween`.
|
|
1217
|
+
*/
|
|
1218
|
+
stepsTotal?: number;
|
|
1219
|
+
/**
|
|
1220
|
+
* If set, determines number of steps between colour stops.
|
|
1221
|
+
* Use this _or_ `stepsTotal`.
|
|
1222
|
+
*/
|
|
1223
|
+
stepsBetween?: number;
|
|
1224
|
+
};
|
|
1225
|
+
type ParsingOptions<T> = Partial<{
|
|
1226
|
+
scalar: boolean;
|
|
1227
|
+
ensureSafe: boolean;
|
|
1228
|
+
/**
|
|
1229
|
+
* Value to use if input is invalid
|
|
1230
|
+
*/
|
|
1231
|
+
fallbackString: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Fallback colour to use if value cannot be parsed
|
|
1234
|
+
*/
|
|
1235
|
+
fallbackColour: T;
|
|
1236
|
+
}>;
|
|
1237
|
+
type ConvertDestinations = `hsl-scalar` | `hsl-absolute` | `oklch-scalar` | `oklch-absolute` | `srgb-8bit` | `srgb-scalar` | `ycbcr-scalar` | `ycbcr-8bit`;
|
|
1238
|
+
//#endregion
|
|
1239
|
+
//#region ../../node_modules/.pnpm/colorizr@4.0.1/node_modules/colorizr/dist/index.d.mts
|
|
1240
|
+
type ColorType = 'hex' | 'hsl' | 'oklab' | 'oklch' | 'rgb';
|
|
1241
|
+
type HEX = `#${string}`;
|
|
1242
|
+
interface Analysis {
|
|
1243
|
+
brightnessDifference: number;
|
|
1244
|
+
colorDifference: number;
|
|
1245
|
+
compliant: number;
|
|
1246
|
+
contrast: number;
|
|
1247
|
+
largeAA: boolean;
|
|
1248
|
+
largeAAA: boolean;
|
|
1249
|
+
normalAA: boolean;
|
|
1250
|
+
normalAAA: boolean;
|
|
1251
|
+
}
|
|
1252
|
+
interface HSL {
|
|
1253
|
+
/** The alpha/opacity value (0-1). */
|
|
1254
|
+
alpha?: number;
|
|
1255
|
+
h: number;
|
|
1256
|
+
l: number;
|
|
1257
|
+
s: number;
|
|
1258
|
+
}
|
|
1259
|
+
interface LAB {
|
|
1260
|
+
a: number;
|
|
1261
|
+
/** The alpha/opacity value (0-1). */
|
|
1262
|
+
alpha?: number;
|
|
1263
|
+
b: number;
|
|
1264
|
+
l: number;
|
|
1265
|
+
}
|
|
1266
|
+
interface LCH {
|
|
1267
|
+
/** The alpha/opacity value (0-1). */
|
|
1268
|
+
alpha?: number;
|
|
1269
|
+
c: number;
|
|
1270
|
+
h: number;
|
|
1271
|
+
l: number;
|
|
1272
|
+
}
|
|
1273
|
+
interface RGB {
|
|
1274
|
+
/** The alpha/opacity value (0-1). */
|
|
1275
|
+
alpha?: number;
|
|
1276
|
+
b: number;
|
|
1277
|
+
g: number;
|
|
1278
|
+
r: number;
|
|
1279
|
+
}
|
|
1280
|
+
interface ColorizrOptions {
|
|
1281
|
+
/**
|
|
1282
|
+
* Output color format.
|
|
1283
|
+
*
|
|
1284
|
+
* If not specified, the output will use the same format as the input color.
|
|
1285
|
+
*/
|
|
1286
|
+
format?: ColorType;
|
|
1287
|
+
}
|
|
1288
|
+
declare class Colorizr {
|
|
1289
|
+
/** The alpha/opacity value (0-1). */
|
|
1290
|
+
alpha: number;
|
|
1291
|
+
hex: HEX;
|
|
1292
|
+
hsl: HSL;
|
|
1293
|
+
oklab: LAB;
|
|
1294
|
+
oklch: LCH;
|
|
1295
|
+
rgb: RGB;
|
|
1296
|
+
type: ColorType;
|
|
1297
|
+
constructor(color: string | HSL | LAB | LCH | RGB, options?: ColorizrOptions);
|
|
1298
|
+
/**
|
|
1299
|
+
* Get CSS string
|
|
1300
|
+
*/
|
|
1301
|
+
get css(): string;
|
|
1302
|
+
/**
|
|
1303
|
+
* Get the red value
|
|
1304
|
+
*/
|
|
1305
|
+
get red(): number;
|
|
1306
|
+
/**
|
|
1307
|
+
* Get the green value
|
|
1308
|
+
*/
|
|
1309
|
+
get green(): number;
|
|
1310
|
+
/**
|
|
1311
|
+
* Get the blue value
|
|
1312
|
+
*/
|
|
1313
|
+
get blue(): number;
|
|
1314
|
+
/**
|
|
1315
|
+
* Get the hue value
|
|
1316
|
+
*/
|
|
1317
|
+
get hue(): number;
|
|
1318
|
+
/**
|
|
1319
|
+
* Get the saturation value
|
|
1320
|
+
*/
|
|
1321
|
+
get saturation(): number;
|
|
1322
|
+
/**
|
|
1323
|
+
* Get the lightness value
|
|
1324
|
+
*/
|
|
1325
|
+
get lightness(): number;
|
|
1326
|
+
/**
|
|
1327
|
+
* Get the luminance value
|
|
1328
|
+
*/
|
|
1329
|
+
get luminance(): number;
|
|
1330
|
+
/**
|
|
1331
|
+
* Get the chroma value
|
|
1332
|
+
*/
|
|
1333
|
+
get chroma(): number;
|
|
1334
|
+
get opacity(): number;
|
|
1335
|
+
/**
|
|
1336
|
+
* Get the most readable color (light or dark) for this color as a background.
|
|
1337
|
+
*/
|
|
1338
|
+
get readableColor(): string;
|
|
1339
|
+
private get currentColor();
|
|
1340
|
+
/**
|
|
1341
|
+
* Get the brightness difference between this color and another.
|
|
1342
|
+
*
|
|
1343
|
+
* @param input - The color to compare against.
|
|
1344
|
+
* @returns The brightness difference value.
|
|
1345
|
+
*/
|
|
1346
|
+
brightnessDifference(input: string): number;
|
|
1347
|
+
/**
|
|
1348
|
+
* Get the color difference between this color and another.
|
|
1349
|
+
*
|
|
1350
|
+
* @param input - The color to compare against.
|
|
1351
|
+
* @returns The color difference value.
|
|
1352
|
+
*/
|
|
1353
|
+
colorDifference(input: string): number;
|
|
1354
|
+
/**
|
|
1355
|
+
* Test 2 colors for WCAG compliance.
|
|
1356
|
+
*
|
|
1357
|
+
* @param input - The color to compare against.
|
|
1358
|
+
* @returns Analysis object with compliance information.
|
|
1359
|
+
*/
|
|
1360
|
+
compare(input: string): Analysis;
|
|
1361
|
+
/**
|
|
1362
|
+
* Get the contrast ratio between this color and another.
|
|
1363
|
+
*
|
|
1364
|
+
* @param input - The color to compare against.
|
|
1365
|
+
* @returns The contrast ratio.
|
|
1366
|
+
*/
|
|
1367
|
+
contrast(input: string): number;
|
|
1368
|
+
/**
|
|
1369
|
+
* Format the color to a specific type.
|
|
1370
|
+
*
|
|
1371
|
+
* @param type - The color format to convert to.
|
|
1372
|
+
* @param precision - The decimal precision for the output.
|
|
1373
|
+
* @returns The formatted color string.
|
|
1374
|
+
*/
|
|
1375
|
+
format(type: ColorType, precision?: number): string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Increase lightness.
|
|
1378
|
+
*
|
|
1379
|
+
* @param amount - A number between 0 and 100.
|
|
1380
|
+
* @returns The lightened color string.
|
|
1381
|
+
*/
|
|
1382
|
+
lighten(amount: number): string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Decrease lightness.
|
|
1385
|
+
*
|
|
1386
|
+
* @param amount - A number between 0 and 100.
|
|
1387
|
+
* @returns The darkened color string.
|
|
1388
|
+
*/
|
|
1389
|
+
darken(amount: number): string;
|
|
1390
|
+
/**
|
|
1391
|
+
* Increase saturation.
|
|
1392
|
+
*
|
|
1393
|
+
* @param amount - A number between 0 and 100.
|
|
1394
|
+
* @returns The saturated color string.
|
|
1395
|
+
*/
|
|
1396
|
+
saturate(amount: number): string;
|
|
1397
|
+
/**
|
|
1398
|
+
* Decrease saturation.
|
|
1399
|
+
*
|
|
1400
|
+
* @param amount - A number between 0 and 100.
|
|
1401
|
+
* @returns The desaturated color string.
|
|
1402
|
+
*/
|
|
1403
|
+
desaturate(amount: number): string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Convert to grayscale.
|
|
1406
|
+
*
|
|
1407
|
+
* @returns The grayscale color string.
|
|
1408
|
+
*/
|
|
1409
|
+
grayscale(): string;
|
|
1410
|
+
/**
|
|
1411
|
+
* Invert color.
|
|
1412
|
+
*
|
|
1413
|
+
* @returns The inverted color string.
|
|
1414
|
+
*/
|
|
1415
|
+
invert(): string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Mix with another color.
|
|
1418
|
+
*
|
|
1419
|
+
* @param color - The color to mix with.
|
|
1420
|
+
* @param ratio - A number between 0 and 1 (0 = this color, 1 = input color).
|
|
1421
|
+
* @returns The mixed color string.
|
|
1422
|
+
*/
|
|
1423
|
+
mix(color: string, ratio?: number): string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Add opacity to the color.
|
|
1426
|
+
*
|
|
1427
|
+
* @param alpha - A number between 0 and 1.
|
|
1428
|
+
* @returns The opacified color string.
|
|
1429
|
+
*/
|
|
1430
|
+
opacify(alpha?: number): string;
|
|
1431
|
+
/**
|
|
1432
|
+
* Rotate color hue.
|
|
1433
|
+
*
|
|
1434
|
+
* @param degrees - A number between -360 and 360.
|
|
1435
|
+
* @returns The rotated color string.
|
|
1436
|
+
*/
|
|
1437
|
+
rotate(degrees: number): string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Make the color more transparent.
|
|
1440
|
+
*
|
|
1441
|
+
* @param alpha - A number between -1 and 1.
|
|
1442
|
+
* @returns The transparentized color string.
|
|
1443
|
+
*/
|
|
1444
|
+
transparentize(alpha?: number): string;
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* Check 2 colors for WCAG compliance.
|
|
1448
|
+
*
|
|
1449
|
+
* @param left - The first color string.
|
|
1450
|
+
* @param right - The second color string.
|
|
1451
|
+
* @returns Analysis object with WCAG compliance information.
|
|
1452
|
+
*/
|
|
1453
|
+
//#endregion
|
|
1454
|
+
//#region src/colour/conversion.d.ts
|
|
1455
|
+
declare function convert<T extends ConvertDestinations>(colour: Colourish, destination: T): T extends `oklch-absolute` ? OkLchAbsolute : T extends `oklch-scalar` ? OkLchScalar : T extends `srgb-8bit` ? Rgb8Bit : T extends `srgb-scalar` ? RgbScalar : T extends `hsl-scalar` ? HslScalar : T extends `hsl-absolute` ? HslAbsolute : never;
|
|
1456
|
+
/**
|
|
1457
|
+
* Like {@link convert}, but result is a CSS colour string
|
|
1458
|
+
* @param colour
|
|
1459
|
+
* @param destination
|
|
1460
|
+
*/
|
|
1461
|
+
declare function convertToString(colour: Colourish, destination: ConvertDestinations): string;
|
|
1462
|
+
/**
|
|
1463
|
+
* Converts some kind of colour into a scalar representation. Supports oklch, hsl and srgb.
|
|
1464
|
+
* @param colour Colour to convert
|
|
1465
|
+
* @param destination Destination colour format
|
|
1466
|
+
*/
|
|
1467
|
+
declare function convertScalar<T extends ColourSpaces>(colour: Colourish, destination: T): T extends `oklch` ? OkLchScalar : T extends `hsl` ? HslScalar : T extends `srgb` ? RgbScalar : never;
|
|
1468
|
+
declare function toCssColour(colour: Colourish | object): string;
|
|
1469
|
+
declare function toHexColour(colour: Colourish | object): string;
|
|
1470
|
+
declare function toLibraryColour(colour: Colourish): Colorizr;
|
|
1471
|
+
declare function guard$4(colour: Colour): void;
|
|
1472
|
+
declare function toColour(colourish: any): Colour;
|
|
1473
|
+
/**
|
|
1474
|
+
* Returns a CSS-ready string
|
|
1475
|
+
* representation.
|
|
1476
|
+
* ```js
|
|
1477
|
+
* element.style.backgroundColor = resolveToString(`red`);
|
|
1478
|
+
* ```
|
|
1479
|
+
*
|
|
1480
|
+
* Tries each parameter in turn, returning the value
|
|
1481
|
+
* for the first that resolves. This can be useful for
|
|
1482
|
+
* having fallback values.
|
|
1483
|
+
*
|
|
1484
|
+
* ```js
|
|
1485
|
+
* // Try a CSS variable, a object property or finally fallback to red.
|
|
1486
|
+
* element.style.backgroundColor = toStringFirst('--some-var', opts.background, `red`);
|
|
1487
|
+
* ```
|
|
1488
|
+
* @param colours Array of colours to resolve
|
|
1489
|
+
*/
|
|
1490
|
+
declare function toStringFirst(...colours: Array<Colourish | undefined>): string;
|
|
1491
|
+
declare function rgbToHsl(rgb: Rgb, scalarResult: true): HslScalar;
|
|
1492
|
+
declare function rgbToHsl(rgb: Rgb, scalarResult: false): HslAbsolute;
|
|
1493
|
+
//#endregion
|
|
1494
|
+
//#region src/colour/css-colours.d.ts
|
|
1495
|
+
/**
|
|
1496
|
+
* Converts from some kind of colour that is legal in CSS
|
|
1497
|
+
* into a structured Colour type.
|
|
1498
|
+
*
|
|
1499
|
+
* Handles: hex format, CSS variables, colour names
|
|
1500
|
+
* ```js
|
|
1501
|
+
* fromCssColour(`#ffffff`);
|
|
1502
|
+
* fromCssColour(`blue`);
|
|
1503
|
+
* fromCssColour(`--some-variable`);
|
|
1504
|
+
* fromCssColour(`hsl(50, 50%, 50%)`);
|
|
1505
|
+
* fromCssColour(`rgb(50, 100, 100)`);
|
|
1506
|
+
* ```
|
|
1507
|
+
* @param colour
|
|
1508
|
+
* @returns
|
|
1509
|
+
*/
|
|
1510
|
+
declare const fromCssColour: (colour: string) => Colour;
|
|
1511
|
+
/**
|
|
1512
|
+
* Resolves a named colour to a colour string.
|
|
1513
|
+
*
|
|
1514
|
+
* ```js
|
|
1515
|
+
* resolveCss(`red`);
|
|
1516
|
+
* ```
|
|
1517
|
+
* @param colour CSS named colour
|
|
1518
|
+
* @returns
|
|
1519
|
+
*/
|
|
1520
|
+
declare function resolveCss(colour: CssColourNames): string;
|
|
1521
|
+
type CssColourNames = keyof typeof cssDefinedHexColours;
|
|
1522
|
+
declare const cssDefinedHexColours: Record<string, string>;
|
|
1523
|
+
//#endregion
|
|
1524
|
+
//#region src/colour/generate.d.ts
|
|
1525
|
+
/**
|
|
1526
|
+
* Returns a full HSL colour string (eg `hsl(20,50%,75%)`) based on a index.
|
|
1527
|
+
* It's useful for generating perceptually different shades as the index increments.
|
|
1528
|
+
*
|
|
1529
|
+
* ```
|
|
1530
|
+
* el.style.backgroundColor = goldenAgeColour(10);
|
|
1531
|
+
* ```
|
|
1532
|
+
*
|
|
1533
|
+
* Saturation and lightness can be specified, as numeric ranges of 0-1.
|
|
1534
|
+
*
|
|
1535
|
+
* @param saturation Saturation (0-1), defaults to 0.5
|
|
1536
|
+
* @param lightness Lightness (0-1), defaults to 0.75
|
|
1537
|
+
* @param alpha Opacity (0-1), defaults to 1.0
|
|
1538
|
+
* @returns HSL colour string eg `hsl(20,50%,75%)`
|
|
1539
|
+
*/
|
|
1540
|
+
declare const goldenAngleColour: (index: number, saturation?: number, lightness?: number, alpha?: number) => string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Returns a random hue component (0..359)
|
|
1543
|
+
*
|
|
1544
|
+
* ```
|
|
1545
|
+
* // Generate hue
|
|
1546
|
+
* const h = randomHue(); // 0-359
|
|
1547
|
+
*
|
|
1548
|
+
* // Generate hue and assign as part of a HSL string
|
|
1549
|
+
* el.style.backgroundColor = `hsl(${randomHue(), 50%, 75%})`;
|
|
1550
|
+
* ```
|
|
1551
|
+
* @param rand
|
|
1552
|
+
* @returns
|
|
1553
|
+
*/
|
|
1554
|
+
declare const randomHue: (rand?: RandomSource) => number;
|
|
1555
|
+
//#endregion
|
|
1556
|
+
//#region src/colour/guards.d.ts
|
|
1557
|
+
declare function isHsl(v: any): v is Hsl;
|
|
1558
|
+
declare function isRgb(v: any): v is Rgb;
|
|
1559
|
+
/**
|
|
1560
|
+
* If the input object has r,g&b properties, it will return a fully-
|
|
1561
|
+
* formed Rgb type with `unit` and `space` properties.
|
|
1562
|
+
*
|
|
1563
|
+
* If it lacks these basic three properties or they are out of range,
|
|
1564
|
+
* _undefined_ is returned.
|
|
1565
|
+
*
|
|
1566
|
+
* If RGB values are less than 1 assumes unit:scalar. Otherwise unit:8bit.
|
|
1567
|
+
* If RGB values exceed 255, _undefined_ returned.
|
|
1568
|
+
* @param v
|
|
1569
|
+
* @returns
|
|
1570
|
+
*/
|
|
1571
|
+
declare function tryParseObjectToRgb(v: any): Rgb | undefined;
|
|
1572
|
+
declare function tryParseObjectToHsl(v: any): Hsl | undefined;
|
|
1573
|
+
declare function isOkLch(v: any): v is OkLch;
|
|
1574
|
+
declare function isColourish(v: any): v is Colourish;
|
|
1575
|
+
declare namespace hsl_d_exports {
|
|
1576
|
+
export { absolute$1 as absolute, changeLightness$1 as changeLightness, fromCss$3 as fromCss, fromHexString$3 as fromHexString, generateScalar$1 as generateScalar, guard$3 as guard, interpolator$3 as interpolator, parseCssHslFunction, scalar$3 as scalar, toAbsolute$1 as toAbsolute, toCssString$2 as toCssString, toHexString$3 as toHexString, toLibraryRgb, toScalar$3 as toScalar, withOpacity$3 as withOpacity };
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
* Scales the opacity value of an input HSL value
|
|
1580
|
+
* ```js
|
|
1581
|
+
* withOpacity()
|
|
1582
|
+
* ```
|
|
1583
|
+
* @param value Colour
|
|
1584
|
+
* @param fn Function that calcules opacity based on input scalar value
|
|
1585
|
+
*/
|
|
1586
|
+
declare function withOpacity$3<T extends Hsl>(value: T, fn: (opacityScalar: number, value: T) => number): T;
|
|
1587
|
+
/**
|
|
1588
|
+
* Increases or decreases lightness by this percentage, returning new colour
|
|
1589
|
+
*
|
|
1590
|
+
* Amount to change:
|
|
1591
|
+
* 'fixed': a fixed amount
|
|
1592
|
+
* 'delta': increase/decrease by this amount
|
|
1593
|
+
* 'pdelta': proportion of current value to change by ('percentage delta')
|
|
1594
|
+
*
|
|
1595
|
+
* ```
|
|
1596
|
+
* const colour = { h: 0.5, s: 0.5, l: 0.5, space: `hsl`, unit: `scalar` };
|
|
1597
|
+
* changeLightness(colour, { pdelta: 0.1 }); // l: 0.55
|
|
1598
|
+
* changeLightness(colour, { delta: 0.1 }); // l: 0.6
|
|
1599
|
+
* changeLightness(colour, { fixed: 0.5 }); // l: 0.5
|
|
1600
|
+
* ```
|
|
1601
|
+
*
|
|
1602
|
+
* Keep in mind the numerical value will depend on the unit of `value`. If it's scalar,
|
|
1603
|
+
* lightness is 0..1 scale, otherwise 0..100 scale.
|
|
1604
|
+
*
|
|
1605
|
+
* Use negative values to decrease (does not apply to 'fixed')
|
|
1606
|
+
* @param value Hsl colour
|
|
1607
|
+
* @param amount Amount to change
|
|
1608
|
+
*/
|
|
1609
|
+
declare function changeLightness$1(value: Hsl, amount: Partial<{
|
|
1610
|
+
pdelta: number;
|
|
1611
|
+
delta: number;
|
|
1612
|
+
fixed: number;
|
|
1613
|
+
}>): Hsl;
|
|
1614
|
+
declare function fromHexString$3<T extends ParsingOptions<Hsl>>(hexString: string, scalar: T): T extends {
|
|
1615
|
+
scalar: true;
|
|
1616
|
+
} ? HslScalar : HslAbsolute;
|
|
1617
|
+
declare function fromCss$3<T extends ParsingOptions<Hsl>>(value: string, options?: T): T extends {
|
|
1618
|
+
scalar: true;
|
|
1619
|
+
} ? HslScalar : HslAbsolute;
|
|
1620
|
+
declare function toCssString$2(hsl: Hsl): string;
|
|
1621
|
+
declare function toHexString$3(hsl: Hsl): string;
|
|
1622
|
+
declare function toAbsolute$1(hslOrString: Hsl | Rgb | string): HslAbsolute;
|
|
1623
|
+
/**
|
|
1624
|
+
* Generates a {@link HslScalar} value.
|
|
1625
|
+
*
|
|
1626
|
+
* ```js
|
|
1627
|
+
* generateScaler(10); // 10deg, default to full saturation, half lightness and full opacity
|
|
1628
|
+
*
|
|
1629
|
+
* // Generate HSL value from radian angle and 50% saturation
|
|
1630
|
+
* generateScalar(`10rad`, 0.5);
|
|
1631
|
+
*
|
|
1632
|
+
* // Generate from numeric CSS variable
|
|
1633
|
+
* generateScalar(`--hue`);
|
|
1634
|
+
* ```
|
|
1635
|
+
* @param absoluteHslOrVariable Hue angle or CSS variable
|
|
1636
|
+
* @param saturation
|
|
1637
|
+
* @param lightness
|
|
1638
|
+
* @param opacity
|
|
1639
|
+
*/
|
|
1640
|
+
declare function generateScalar$1(absoluteHslOrVariable: string | number | Angle, saturation?: number, lightness?: number, opacity?: number): HslScalar;
|
|
1641
|
+
/**
|
|
1642
|
+
* Converts a {@link Hsl} value to scalar units, or parses a colour string
|
|
1643
|
+
* and converts it.
|
|
1644
|
+
*
|
|
1645
|
+
* ```js
|
|
1646
|
+
* toScalar({ h: 100, s: 50, l: 100, unit: `absolute` });
|
|
1647
|
+
* toScalar(`red`);
|
|
1648
|
+
* ```
|
|
1649
|
+
* @param colour
|
|
1650
|
+
*/
|
|
1651
|
+
declare function toScalar$3(colour: Rgb | Hsl | string): HslScalar;
|
|
1652
|
+
declare function guard$3(hsl: Hsl): void;
|
|
1653
|
+
declare function interpolator$3(a: Hsl | string, b: Hsl | string, direction?: `longer` | `shorter`): (amount: number) => HslScalar;
|
|
1654
|
+
/**
|
|
1655
|
+
* Creates a HslScalar value from scalar (0..1) values
|
|
1656
|
+
* @param hue
|
|
1657
|
+
* @param sat
|
|
1658
|
+
* @param lightness
|
|
1659
|
+
* @param opacity
|
|
1660
|
+
*/
|
|
1661
|
+
declare function scalar$3(hue?: number, sat?: number, lightness?: number, opacity?: number): HslScalar;
|
|
1662
|
+
declare function absolute$1(hue?: number, sat?: number, lightness?: number, opacity?: number): HslAbsolute;
|
|
1663
|
+
/**
|
|
1664
|
+
* It seems Colorizr can't handle 'deg' units
|
|
1665
|
+
* @param value
|
|
1666
|
+
*/
|
|
1667
|
+
declare function parseCssHslFunction(value: string): Hsl;
|
|
1668
|
+
/**
|
|
1669
|
+
* Converts a Hsl structure (or CSS string) to Colorizr's RGB format
|
|
1670
|
+
* @param hsl HSL colour
|
|
1671
|
+
*/
|
|
1672
|
+
declare function toLibraryRgb(hsl: Hsl | string): RGB;
|
|
1673
|
+
//#endregion
|
|
1674
|
+
//#region src/colour/interpolate.d.ts
|
|
1675
|
+
/**
|
|
1676
|
+
* Returns a function to interpolate between colours, with results as a structured {@link Colour} object.
|
|
1677
|
+
* ```js
|
|
1678
|
+
* const i = interpolator([`orange`, `yellow`, `red`]);
|
|
1679
|
+
*
|
|
1680
|
+
* // Get a random colour on the above spectrum
|
|
1681
|
+
* i(Math.random());
|
|
1682
|
+
* ```
|
|
1683
|
+
*
|
|
1684
|
+
* Results will vary depending on the colour space used, play with the options.
|
|
1685
|
+
* When using a hue-based colour space, the `hue` option sets the logic for how hue values wrap.
|
|
1686
|
+
*
|
|
1687
|
+
* ```js
|
|
1688
|
+
* interpolator([`orange`, `yellow`, `red`], { space: `hsl`, hue: `longer })
|
|
1689
|
+
* ```
|
|
1690
|
+
*
|
|
1691
|
+
* Example: Draw the interpolation as a spectrum on a canvas, where each pixel is one step
|
|
1692
|
+
* ```js
|
|
1693
|
+
* let v = 0;
|
|
1694
|
+
* let incrementBy = 0.01;
|
|
1695
|
+
* while (v <= 1) {
|
|
1696
|
+
* // Get colour at this interpolation point 0..1
|
|
1697
|
+
* const colour = fn(v);
|
|
1698
|
+
* // Convert to a CSS string
|
|
1699
|
+
* ctx.fillStyle = Colour.toCssColour(colour);
|
|
1700
|
+
* // Draw a 1px wide rect, and shuffle along to the next x position
|
|
1701
|
+
* ctx.fillRect(x, y, 1, h);
|
|
1702
|
+
* x += 1;
|
|
1703
|
+
* v += incrementBy;
|
|
1704
|
+
* }
|
|
1705
|
+
* ```
|
|
1706
|
+
* @param colours Colours to interpolate between
|
|
1707
|
+
* @param opts Options for interpolation
|
|
1708
|
+
* @returns Function that interpolates based on an amount, returning a structured Colour
|
|
1709
|
+
*/
|
|
1710
|
+
declare function interpolator$2(colours: Colourish[], opts?: Partial<ColourInterpolationOpts>): (amt: number) => Colour;
|
|
1711
|
+
/**
|
|
1712
|
+
* Returns a CSS `linear-gradient` with stops corresponding to the given list of `colours`.
|
|
1713
|
+
* ```js
|
|
1714
|
+
* element.style.background = Colour.cssLinearGradient(['red','green','blue']);
|
|
1715
|
+
* ```
|
|
1716
|
+
* @param colours
|
|
1717
|
+
* @returns A 'linear-gradient' string for use in CSS, eg for background.
|
|
1718
|
+
*/
|
|
1719
|
+
declare function cssLinearGradient(colours: Colourish[]): string;
|
|
1720
|
+
/**
|
|
1721
|
+
* Returns a function that interpolates between two colours. Returns string colour values.
|
|
1722
|
+
* If you want the result as a structured colour, use {@link interpolatorDual} instead.
|
|
1723
|
+
*
|
|
1724
|
+
* By default takes a shorter direction and uses the OkLCH colourspace.
|
|
1725
|
+
* ```js
|
|
1726
|
+
* const i = interpolator(`blue`, `red`);
|
|
1727
|
+
* i(0.5); // Get the colour at 50%, as a string.
|
|
1728
|
+
* ```
|
|
1729
|
+
*
|
|
1730
|
+
* To work with structured colour values, use one of the space's `interpolate` functions.
|
|
1731
|
+
*
|
|
1732
|
+
* If you want to create discrete steps, consider {@link createSteps} or {@link scale}.
|
|
1733
|
+
*
|
|
1734
|
+
* @param colourA First colour
|
|
1735
|
+
* @param colourB Second colour
|
|
1736
|
+
* @param options Interpolation options. By default uses shorter direction and OkLCH colour space.
|
|
1737
|
+
*/
|
|
1738
|
+
declare function interpolatorDualToString(colourA: Colourish, colourB: Colourish, options?: Partial<ColourInterpolationOpts>): ((amount: number) => string);
|
|
1739
|
+
/**
|
|
1740
|
+
* Returns a function that interpolates between two colours. Returns structured colour values.
|
|
1741
|
+
* If you want the result as a ready-to-use CSS string, use {@link interpolatorDualToString} instead.
|
|
1742
|
+
*
|
|
1743
|
+
* By default takes a shorter direction and uses the OkLCH colourspace.
|
|
1744
|
+
* ```js
|
|
1745
|
+
* const i = interpolator(`blue`, `red`);
|
|
1746
|
+
* i(0.5); // Get the colour at 50%, as a Colour structure.
|
|
1747
|
+
* ```
|
|
1748
|
+
*
|
|
1749
|
+
* If you want to create discrete steps, consider {@link createSteps} or {@link scale}.
|
|
1750
|
+
* @param colourA First colour
|
|
1751
|
+
* @param colourB Second colour
|
|
1752
|
+
* @param options Interpolation options. By default uses shorter direction and OkLCH colour space.
|
|
1753
|
+
* @returns Function that interpolates between two colours, returning a structured Colour
|
|
1754
|
+
*/
|
|
1755
|
+
declare function interpolatorDual(colourA: Colourish, colourB: Colourish, options?: Partial<ColourInterpolationOpts>): (amount: number) => Colour;
|
|
1756
|
+
/**
|
|
1757
|
+
* Produces a stepped scale of colours.
|
|
1758
|
+
*
|
|
1759
|
+
* Builds off {@link createSteps} which can only step between two colours.
|
|
1760
|
+
*
|
|
1761
|
+
* ```js
|
|
1762
|
+
* // A scale of from red to green, with three colours in-between
|
|
1763
|
+
* const steps = Colour.scale([ `red`, `green` ], { stepsBetween: 3 });
|
|
1764
|
+
* for (const step of steps) {
|
|
1765
|
+
* // A CSS colour string
|
|
1766
|
+
* }
|
|
1767
|
+
* ```
|
|
1768
|
+
*
|
|
1769
|
+
* {@link cssLinearGradient} can produce a smooth gradient in CSS on the basis
|
|
1770
|
+
* of the stepped colours.
|
|
1771
|
+
* @param colours
|
|
1772
|
+
* @param opts
|
|
1773
|
+
* @returns Array of colours in string form
|
|
1774
|
+
*/
|
|
1775
|
+
declare function scale(colours: Colourish[], opts?: Partial<ColourStepOpts>): string[];
|
|
1776
|
+
type CreateStepsOptions = Partial<{
|
|
1777
|
+
space: ColourSpaces;
|
|
1778
|
+
steps: number;
|
|
1779
|
+
direction: `longer` | `shorter`;
|
|
1780
|
+
exclusive: boolean;
|
|
1781
|
+
}>;
|
|
1782
|
+
/**
|
|
1783
|
+
* Creates discrete colour steps between two colours.
|
|
1784
|
+
*
|
|
1785
|
+
* Use {@link scale} to create steps between any number of colours.
|
|
1786
|
+
*
|
|
1787
|
+
* Start and end colours are included (and counted as a step) unless `exclusive` is set to _true_
|
|
1788
|
+
*
|
|
1789
|
+
* ```js
|
|
1790
|
+
* // Array of five HslScalar
|
|
1791
|
+
* createSteps(`red`,`blue`, { steps: 5 });
|
|
1792
|
+
* ```
|
|
1793
|
+
*
|
|
1794
|
+
* Defaults to the oklch colour space, 5 steps and non-exclusive.
|
|
1795
|
+
* @param a Start colour
|
|
1796
|
+
* @param b End colour
|
|
1797
|
+
* @param options
|
|
1798
|
+
* @returns Colour steps
|
|
1799
|
+
*/
|
|
1800
|
+
declare function createSteps<T extends CreateStepsOptions>(a: Colourish | string, b: Colourish, options: T): T extends {
|
|
1801
|
+
space: `oklch`;
|
|
1802
|
+
} ? OkLchScalar[] : T extends {
|
|
1803
|
+
space: `srgb`;
|
|
1804
|
+
} ? RgbScalar[] : T extends {
|
|
1805
|
+
space: `hsl`;
|
|
1806
|
+
} ? HslScalar[] : OkLchScalar[];
|
|
1807
|
+
//#endregion
|
|
1808
|
+
//#region src/colour/math.d.ts
|
|
1809
|
+
declare function multiplyOpacity<T extends Colourish>(colourish: T, amount: number): T extends string ? string : T extends Hsl ? Hsl : T extends OkLch ? OkLch : T extends Rgb ? Rgb : never;
|
|
1810
|
+
/**
|
|
1811
|
+
* Does a computation with the opacity of a colour, returning colour string
|
|
1812
|
+
* @param colourish Colour
|
|
1813
|
+
* @param fn Function that takes original opacity as input and returns output opacity
|
|
1814
|
+
*/
|
|
1815
|
+
/**
|
|
1816
|
+
* Does a computation with the opacity of a colour in a HSL structure
|
|
1817
|
+
* @param hsl Colour
|
|
1818
|
+
* @param fn Function that takes original opacity as input and returns output opacity
|
|
1819
|
+
*/
|
|
1820
|
+
/**
|
|
1821
|
+
* Does a computation with the opacity of a colour in a RGB structure
|
|
1822
|
+
* @param colourish Colour
|
|
1823
|
+
* @param fn Function that takes original opacity as input and returns output opacity
|
|
1824
|
+
*/
|
|
1825
|
+
declare function withOpacity$2<T extends Colourish>(colourish: T, fn: (scalarOpacity: number) => number): T extends string ? string : T extends Hsl ? Hsl : T extends OkLch ? OkLch : T extends Rgb ? Rgb : never;
|
|
1826
|
+
declare function setOpacity<T extends Colourish>(colourish: T, amount: number): T extends string ? string : T extends Hsl ? Hsl : T extends OkLch ? OkLch : T extends Rgb ? Rgb : never;
|
|
1827
|
+
declare namespace oklch_d_exports {
|
|
1828
|
+
export { OKLCH_CHROMA_MAX, absolute, fromCss$2 as fromCss, fromHexString$2 as fromHexString, fromLibrary, generateScalar, guard$2 as guard, interpolator$1 as interpolator, scalar$2 as scalar, toAbsolute, toCssString$1 as toCssString, toHexString$2 as toHexString, toScalar$2 as toScalar, withOpacity$1 as withOpacity };
|
|
714
1829
|
}
|
|
715
|
-
|
|
716
|
-
|
|
1830
|
+
declare const OKLCH_CHROMA_MAX = .4;
|
|
1831
|
+
declare function guard$2(lch: OkLch): void;
|
|
1832
|
+
/**
|
|
1833
|
+
* Coverts from the Colorizr library
|
|
1834
|
+
* Tests ranges:
|
|
1835
|
+
* l: 0..1
|
|
1836
|
+
* c: 0..1
|
|
1837
|
+
* h: 0..360
|
|
1838
|
+
* alpha: 0..1
|
|
1839
|
+
*
|
|
1840
|
+
* Default option: { scalar: true }
|
|
1841
|
+
* @param lch LCH value
|
|
1842
|
+
* @param parsingOptions Options for parsing
|
|
1843
|
+
*/
|
|
1844
|
+
declare function fromLibrary<T extends ParsingOptions<OkLch>>(lch: LCH, parsingOptions: T): T extends {
|
|
1845
|
+
scalar: true;
|
|
1846
|
+
} ? OkLchScalar : OkLchAbsolute;
|
|
1847
|
+
/**
|
|
1848
|
+
* Parse a HEX-formatted colour into OkLch structured format
|
|
1849
|
+
* @param hexString
|
|
1850
|
+
* @param options
|
|
1851
|
+
*/
|
|
1852
|
+
declare function fromHexString$2(hexString: string, options?: ParsingOptions<OkLch>): OkLch;
|
|
1853
|
+
/**
|
|
1854
|
+
* Converts from some CSS-representation of colour to a structured OkLch format.
|
|
1855
|
+
*
|
|
1856
|
+
* ```js
|
|
1857
|
+
* fromCss(`yellow`);
|
|
1858
|
+
* fromCss(`rgb(100,200,90)`);
|
|
1859
|
+
* fromCss(`#ff00ff`);
|
|
1860
|
+
* ```
|
|
1861
|
+
*
|
|
1862
|
+
* By default returns a {@link OkLchScalar} (relative) representation. Use the flag 'scalar:true' to get back
|
|
1863
|
+
* {@link OkLchAbsolute}.
|
|
1864
|
+
* @param value
|
|
1865
|
+
* @param options
|
|
1866
|
+
*/
|
|
1867
|
+
declare function fromCss$2<T extends ParsingOptions<OkLch>>(value: string, options: T): T extends {
|
|
1868
|
+
scalar: true;
|
|
1869
|
+
} ? OkLchScalar : OkLchAbsolute;
|
|
1870
|
+
/**
|
|
1871
|
+
* Returns a string or {@link OkLch} value to absolute form.
|
|
1872
|
+
*
|
|
1873
|
+
* This means ranges are:
|
|
1874
|
+
* lightness: 0..1
|
|
1875
|
+
* chroma: 0...CHROMA_MAX (0.4)
|
|
1876
|
+
* hue: 0..360
|
|
1877
|
+
* @param lchOrString
|
|
1878
|
+
*/
|
|
1879
|
+
declare function toAbsolute(lchOrString: OkLch | string): OkLchAbsolute;
|
|
1880
|
+
declare function toScalar$2(lchOrString: OkLch | string): OkLchScalar;
|
|
1881
|
+
/**
|
|
1882
|
+
* Returns the colour as a CSS colour string: `oklch(l c h / opacity)`.
|
|
1883
|
+
*
|
|
1884
|
+
* @param lch Colour
|
|
1885
|
+
* @param precision Set precision of numbers, defaults to 3
|
|
1886
|
+
* @returns CSS colour string
|
|
1887
|
+
*/
|
|
1888
|
+
declare function toCssString$1(lch: OkLch, precision?: number): string;
|
|
1889
|
+
declare function toHexString$2(lch: OkLch): string;
|
|
1890
|
+
declare function generateScalar(absoluteHslOrVariable: string | number | Angle, chroma?: number, lightness?: number, opacity?: number): OkLchScalar;
|
|
1891
|
+
/**
|
|
1892
|
+
* Scales the opacity value of an input Oklch value
|
|
1893
|
+
* ```js
|
|
1894
|
+
* withOpacity()
|
|
1895
|
+
* ```
|
|
1896
|
+
* @param value
|
|
1897
|
+
* @param fn
|
|
1898
|
+
*/
|
|
1899
|
+
declare function withOpacity$1<T extends OkLch>(value: T, fn: (opacityScalar: number, value: T) => number): T;
|
|
1900
|
+
declare function interpolator$1(a: OkLch | string, b: OkLch | string, direction?: `longer` | `shorter`): (amount: number) => OkLchScalar;
|
|
1901
|
+
declare function scalar$2(lightness?: number, chroma?: number, hue?: number, opacity?: number): OkLchScalar;
|
|
1902
|
+
/**
|
|
1903
|
+
* Create an LCH colour using absolute hue
|
|
1904
|
+
* @param l Lightness 0..1
|
|
1905
|
+
* @param c Chroma 0..4
|
|
1906
|
+
* @param h Hue 0..360
|
|
1907
|
+
* @param opacity
|
|
1908
|
+
*/
|
|
1909
|
+
declare function absolute(l: number, c: number, h: number, opacity?: number): OkLchAbsolute;
|
|
1910
|
+
declare namespace srgb_d_exports {
|
|
1911
|
+
export { changeLightness, eightBit$1 as eightBit, fromCss$1 as fromCss, fromHexString$1 as fromHexString, guard$1 as guard, interpolator, lightness, parseCssRgbFunction, scalar$1 as scalar, to8bit$1 as to8bit, toCssString, toHexString$1 as toHexString, toLibraryHsl, toScalar$1 as toScalar, withOpacity };
|
|
717
1912
|
}
|
|
1913
|
+
declare function withOpacity<T extends Rgb>(value: T, fn: (opacityScalar: number, value: T) => number): T;
|
|
1914
|
+
declare function fromHexString$1<T extends boolean>(hexString: string, scalar: T): T extends true ? RgbScalar : Rgb8Bit;
|
|
1915
|
+
declare function fromCss$1<T extends ParsingOptions<Rgb>>(value: string, options: T): T extends {
|
|
1916
|
+
scalar: true;
|
|
1917
|
+
} ? RgbScalar : Rgb8Bit;
|
|
1918
|
+
declare function toHexString$1(rgb: Rgb): string;
|
|
1919
|
+
declare function toCssString(rgb: Rgb): string;
|
|
1920
|
+
declare function to8bit$1(rgbOrString: Rgb | string): Rgb8Bit;
|
|
1921
|
+
declare function toScalar$1(rgbOrString: Rgb | Hsl | string): RgbScalar;
|
|
1922
|
+
declare function guard$1(rgb: Rgb): void;
|
|
1923
|
+
/**
|
|
1924
|
+
* Sets the lightness value.
|
|
1925
|
+
*
|
|
1926
|
+
* Amount to change:
|
|
1927
|
+
* 'fixed': a fixed amount
|
|
1928
|
+
* 'delta': increase/decrease by this amount
|
|
1929
|
+
* 'pdelta': proportion of current value to change by ('percentage delta')
|
|
1930
|
+
*
|
|
1931
|
+
* Use negative values to decrease
|
|
1932
|
+
* @param rgb Colour
|
|
1933
|
+
* @param amount Amount to change
|
|
1934
|
+
*/
|
|
1935
|
+
declare function changeLightness(rgb: Rgb, amount: Partial<{
|
|
1936
|
+
pdelta: number;
|
|
1937
|
+
delta: number;
|
|
1938
|
+
fixed: number;
|
|
1939
|
+
}>): Rgb;
|
|
1940
|
+
/**
|
|
1941
|
+
* Returns a lightness value (0..1) for an RGB input
|
|
1942
|
+
*
|
|
1943
|
+
* Calculates lightness by converting to Oklab and using the 'L' value
|
|
1944
|
+
* @param rgb
|
|
1945
|
+
*/
|
|
1946
|
+
declare function lightness(rgb: Rgb): number;
|
|
1947
|
+
/**
|
|
1948
|
+
* Creates a Rgb8Bit value from 8bit (0..255) values
|
|
1949
|
+
* @param red
|
|
1950
|
+
* @param green
|
|
1951
|
+
* @param blue
|
|
1952
|
+
* @param opacity
|
|
1953
|
+
*/
|
|
1954
|
+
declare function eightBit$1(red?: number, green?: number, blue?: number, opacity?: number): Rgb8Bit;
|
|
1955
|
+
/**
|
|
1956
|
+
* Creates a RgbScalar value from scalar (0..1) values
|
|
1957
|
+
* @param red
|
|
1958
|
+
* @param green
|
|
1959
|
+
* @param blue
|
|
1960
|
+
* @param opacity
|
|
1961
|
+
*/
|
|
1962
|
+
declare function scalar$1(red?: number, green?: number, blue?: number, opacity?: number): RgbScalar;
|
|
1963
|
+
/**
|
|
1964
|
+
* It seems Colorizr can't handle % values properly :'(
|
|
1965
|
+
* @param value
|
|
1966
|
+
*/
|
|
1967
|
+
declare function parseCssRgbFunction(value: string): Rgb;
|
|
1968
|
+
/**
|
|
1969
|
+
* Interpolates colours in Srgb space. Probably
|
|
1970
|
+
* really ugly, use OkLch space isntead.
|
|
1971
|
+
*
|
|
1972
|
+
* ```js
|
|
1973
|
+
* const i = interpolator(`red`, `blue`);
|
|
1974
|
+
* i(0.5); // Get 50% between these colours
|
|
1975
|
+
* ```
|
|
1976
|
+
* @param colourA
|
|
1977
|
+
* @param colourB
|
|
1978
|
+
*/
|
|
1979
|
+
declare function interpolator(colourA: Rgb | string, colourB: Rgb | string): (amount: number) => RgbScalar;
|
|
1980
|
+
/**
|
|
1981
|
+
* Converts a Rgb structure (or CSS string) to Colorizr's HSL format
|
|
1982
|
+
* @param rgb
|
|
1983
|
+
*/
|
|
1984
|
+
declare function toLibraryHsl(rgb: Rgb | string): HSL;
|
|
718
1985
|
//#endregion
|
|
719
|
-
//#region src/
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
cancel(): void;
|
|
753
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
754
|
-
}
|
|
755
|
-
type CheckedSelectChangeDetail = {
|
|
756
|
-
/** Every item, with its committed state. */
|
|
757
|
-
readonly items: readonly CheckedSelectItem[];
|
|
758
|
-
/** Only the items whose state changed. */
|
|
759
|
-
readonly changed: readonly CheckedSelectItem[];
|
|
760
|
-
};
|
|
761
|
-
type CheckedSelectChangeEvent = CustomEvent<CheckedSelectChangeDetail>;
|
|
762
|
-
declare global {
|
|
763
|
-
interface HTMLElementTagNameMap {
|
|
764
|
-
'ixfx-checked-select': CheckedSelect;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
interface CheckedSelectEventMap {
|
|
768
|
-
change: CheckedSelectChangeEvent;
|
|
769
|
-
}
|
|
770
|
-
interface CheckedSelect {
|
|
771
|
-
addEventListener: (<K extends keyof CheckedSelectEventMap>(type: K, listener: (this: CheckedSelect, event: CheckedSelectEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
1986
|
+
//#region src/colour/to-integer.d.ts
|
|
1987
|
+
/**
|
|
1988
|
+
* Encode 8-bit RGB values into a 24-bit value (0...16_777_215)
|
|
1989
|
+
*
|
|
1990
|
+
* Assumes RGB values are within 0..255 range
|
|
1991
|
+
* @param rgb
|
|
1992
|
+
* @returns
|
|
1993
|
+
*/
|
|
1994
|
+
declare function encodeRgbTo24Bit(rgb: Rgb8Bit | RgbBase): number;
|
|
1995
|
+
/**
|
|
1996
|
+
* Decode a 24-bit number (0...16_777_215) into 8-bit RGB
|
|
1997
|
+
* @param colour
|
|
1998
|
+
* @returns
|
|
1999
|
+
*/
|
|
2000
|
+
declare function decodeRgbFrom24Bit(colour: number): Rgb8Bit;
|
|
2001
|
+
/**
|
|
2002
|
+
* Encodes 8-bit RGB value into 16-bit RGB565 (0..65_535)
|
|
2003
|
+
* 5-bit are used for R & B channels, 6 bits for G
|
|
2004
|
+
*
|
|
2005
|
+
* Read more: https://rgbcolorpicker.com/565
|
|
2006
|
+
* @param rgb
|
|
2007
|
+
* @returns
|
|
2008
|
+
*/
|
|
2009
|
+
declare function encodeRgbTo16Bit565(rgb: Rgb8Bit | RgbBase): number;
|
|
2010
|
+
/**
|
|
2011
|
+
* Decodes 8-bit RGB value from a 16-bit RGB565 value (0...65_535)
|
|
2012
|
+
* Read more: https://rgbcolorpicker.com/565
|
|
2013
|
+
* @param colour
|
|
2014
|
+
* @returns
|
|
2015
|
+
*/
|
|
2016
|
+
declare function decodeRgbFrom16Bit565(colour: number): Rgb8Bit;
|
|
2017
|
+
declare namespace ycbcr_d_exports {
|
|
2018
|
+
export { eightBit, fromCss, fromHexString, fromSrgTo8bit, guard, scalar, to8bit, toHexString, toScalar, toSrgb8bit };
|
|
772
2019
|
}
|
|
773
|
-
//#endregion
|
|
774
|
-
//#region src/colour-picker/types.d.ts
|
|
775
2020
|
/**
|
|
776
|
-
*
|
|
2021
|
+
* Creates a YCbCr8bit value from 8bit (0..255) values
|
|
2022
|
+
* @param y Luma 0..255
|
|
2023
|
+
* @param cb Chroma blue 0..255
|
|
2024
|
+
* @param cr Chroma red 0..255
|
|
2025
|
+
* @param opacity 0..255
|
|
2026
|
+
* @returns YCbCr8bit
|
|
777
2027
|
*/
|
|
778
|
-
|
|
779
|
-
readonly l: number;
|
|
780
|
-
readonly c: number;
|
|
781
|
-
readonly h: number;
|
|
782
|
-
readonly a?: number;
|
|
783
|
-
readonly unit: `scalar`;
|
|
784
|
-
readonly space: `oklch`;
|
|
785
|
-
};
|
|
2028
|
+
declare function eightBit(y?: number, cb?: number, cr?: number, opacity?: number): YCbCr8bit;
|
|
786
2029
|
/**
|
|
787
|
-
*
|
|
2030
|
+
* Creates a YCbCr8bit value from scalar (0..1) values
|
|
2031
|
+
* @param y Luma 0..1
|
|
2032
|
+
* @param cb Chroma blue 0..1
|
|
2033
|
+
* @param cr Chroma red 0..1
|
|
2034
|
+
* @param opacity 0..1
|
|
2035
|
+
* @returns YCbCrScalar
|
|
788
2036
|
*/
|
|
789
|
-
|
|
2037
|
+
declare function scalar(y?: number, cb?: number, cr?: number, opacity?: number): YCbCrScalar;
|
|
790
2038
|
/**
|
|
791
|
-
*
|
|
2039
|
+
* Converts from scalar or 8bit RGB to YCbCr8bit
|
|
2040
|
+
* @param rgb
|
|
2041
|
+
* @returns
|
|
792
2042
|
*/
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
type Range = readonly [number, number];
|
|
796
|
-
type RangeInput$1 = readonly [number, number] | readonly number[];
|
|
2043
|
+
declare function fromSrgTo8bit(rgb: Rgb): YCbCr8bit;
|
|
2044
|
+
declare function toSrgb8bit(ycbcr: YCbCr): Rgb8Bit;
|
|
797
2045
|
/**
|
|
798
|
-
*
|
|
2046
|
+
* Returns a YCbCr8bit format from either scalar or 8bit.
|
|
2047
|
+
* If the input is already 8bit, it is returned as-is.
|
|
2048
|
+
* @param ycbcr 8bit or scalar YCbCr value
|
|
2049
|
+
* @returns YCbCr8bit
|
|
799
2050
|
*/
|
|
800
|
-
declare
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
2051
|
+
declare function to8bit(ycbcr: YCbCr): YCbCr8bit;
|
|
2052
|
+
declare function fromHexString<T extends ParsingOptions<YCbCr>>(hexString: string, scalar: T): T extends {
|
|
2053
|
+
scalar: true;
|
|
2054
|
+
} ? YCbCrScalar : YCbCr8bit;
|
|
2055
|
+
declare function fromCss<T extends ParsingOptions<YCbCr>>(value: string, options: T): T extends {
|
|
2056
|
+
scalar: true;
|
|
2057
|
+
} ? YCbCrScalar : YCbCr8bit;
|
|
2058
|
+
declare function toScalar(colour: YCbCr | Rgb | string): YCbCrScalar;
|
|
2059
|
+
declare function guard(rgb: YCbCr): void;
|
|
2060
|
+
/**
|
|
2061
|
+
* Converts a YCbCr colour to a RGB hex string.
|
|
2062
|
+
* @param ycbcr
|
|
2063
|
+
* @returns
|
|
2064
|
+
*/
|
|
2065
|
+
declare function toHexString(ycbcr: YCbCr): string;
|
|
2066
|
+
declare namespace index_d_exports$1 {
|
|
2067
|
+
export { Colour, ColourInterpolationOpts, ColourInterpolator, ColourSpaces, ColourStepOpts, Colourish, ConvertDestinations, CreateStepsOptions, CssColourNames, Hsl, HslAbsolute, HslBase, HslScalar, hsl_d_exports as HslSpace, LchBase, OkLch, OkLchAbsolute, OkLchBase, OkLchScalar, oklch_d_exports as OklchSpace, ParsingOptions, Rgb, Rgb8Bit, RgbBase, RgbScalar, srgb_d_exports as SrgbSpace, YCbCr, YCbCr8bit, YCbCrBase, YCbCrScalar, ycbcr_d_exports as YCbCrSpace, convert, convertScalar, convertToString, createSteps, cssDefinedHexColours, cssLinearGradient, decodeRgbFrom16Bit565, decodeRgbFrom24Bit, encodeRgbTo16Bit565, encodeRgbTo24Bit, fromCssColour, goldenAngleColour, guard$4 as guard, interpolator$2 as interpolator, interpolatorDual, interpolatorDualToString, isColourish, isHsl, isOkLch, isRgb, multiplyOpacity, randomHue, resolveCss, rgbToHsl, scale, setOpacity, toColour, toCssColour, toHexColour, toLibraryColour, toStringFirst, tryParseObjectToHsl, tryParseObjectToRgb, withOpacity$2 as withOpacity };
|
|
804
2068
|
}
|
|
805
2069
|
//#endregion
|
|
806
2070
|
//#region src/mixins/labelled-input-base.d.ts
|
|
@@ -898,7 +2162,7 @@ declare class ColourPicker extends LitElement {
|
|
|
898
2162
|
* HSL object, etc.). Also updates the double-click reset defaults for all
|
|
899
2163
|
* sliders.
|
|
900
2164
|
*/
|
|
901
|
-
setColour(colour:
|
|
2165
|
+
setColour(colour: index_d_exports$1.Colourish): void;
|
|
902
2166
|
get rangeL(): Range;
|
|
903
2167
|
set rangeL(range: RangeInput$1);
|
|
904
2168
|
get rangeC(): Range;
|
|
@@ -987,10 +2251,10 @@ declare class ColourPickerPopup extends LitElement {
|
|
|
987
2251
|
private _pendingConfirmed;
|
|
988
2252
|
constructor();
|
|
989
2253
|
get value(): string;
|
|
990
|
-
set value(colour:
|
|
2254
|
+
set value(colour: index_d_exports$1.Colourish);
|
|
991
2255
|
private get _innerHidePreview();
|
|
992
2256
|
private get _pickerDimensions();
|
|
993
|
-
setColour(colour:
|
|
2257
|
+
setColour(colour: index_d_exports$1.Colourish): void;
|
|
994
2258
|
firstUpdated(changedProperties: PropertyValues): void;
|
|
995
2259
|
updated(changedProperties: PropertyValues): void;
|
|
996
2260
|
private _applyAnchorPositioning;
|
|
@@ -2095,6 +3359,181 @@ type DataGridGroupLabel = (groupKey: string, rows: readonly unknown[]) => string
|
|
|
2095
3359
|
/** Whether the data-grid renders its built-in header column/group menu. */
|
|
2096
3360
|
type DataGridColumnMenu = `auto` | `none`;
|
|
2097
3361
|
//#endregion
|
|
3362
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/slab.d.ts
|
|
3363
|
+
interface Slab {
|
|
3364
|
+
i16: Int16Array;
|
|
3365
|
+
i32: Int32Array;
|
|
3366
|
+
}
|
|
3367
|
+
//#endregion
|
|
3368
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/numerics.d.ts
|
|
3369
|
+
type Int32 = Int32Array[0];
|
|
3370
|
+
//#endregion
|
|
3371
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/runes.d.ts
|
|
3372
|
+
type Rune = Int32;
|
|
3373
|
+
//#endregion
|
|
3374
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/algo.d.ts
|
|
3375
|
+
interface Result {
|
|
3376
|
+
start: number;
|
|
3377
|
+
end: number;
|
|
3378
|
+
score: number;
|
|
3379
|
+
}
|
|
3380
|
+
type AlgoFn = (caseSensitive: boolean, normalize: boolean, forward: boolean, input: Rune[], pattern: Rune[], withPos: boolean, slab: Slab | null) => [Result, Set<number> | null];
|
|
3381
|
+
//#endregion
|
|
3382
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/types.d.ts
|
|
3383
|
+
type Casing = "smart-case" | "case-sensitive" | "case-insensitive";
|
|
3384
|
+
interface FzfResultItem<U = string> extends Result {
|
|
3385
|
+
item: U;
|
|
3386
|
+
positions: Set<number>;
|
|
3387
|
+
}
|
|
3388
|
+
type Selector<U> = BaseOptions<U>["selector"];
|
|
3389
|
+
type Tiebreaker<U> = (a: FzfResultItem<U>, b: FzfResultItem<U>, selector: Selector<U>) => number;
|
|
3390
|
+
interface BaseOptions<U> {
|
|
3391
|
+
/**
|
|
3392
|
+
* If `limit` is 32, top 32 items that matches your query will be returned.
|
|
3393
|
+
* By default all matched items are returned.
|
|
3394
|
+
*
|
|
3395
|
+
* @defaultValue `Infinity`
|
|
3396
|
+
*/
|
|
3397
|
+
limit: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* For each item in the list, target a specific property of the item to search for.
|
|
3400
|
+
*/
|
|
3401
|
+
selector: (v: U) => string;
|
|
3402
|
+
/**
|
|
3403
|
+
* Defines what type of case sensitive search you want.
|
|
3404
|
+
*
|
|
3405
|
+
* @defaultValue `"smart-case"`
|
|
3406
|
+
*/
|
|
3407
|
+
casing: Casing;
|
|
3408
|
+
/**
|
|
3409
|
+
* If true, FZF will try to remove diacritics from list items.
|
|
3410
|
+
* This is useful if the list contains items with diacritics but
|
|
3411
|
+
* you want to query with plain A-Z letters.
|
|
3412
|
+
*
|
|
3413
|
+
* @example
|
|
3414
|
+
* Zoë → Zoe
|
|
3415
|
+
* blessèd → blessed
|
|
3416
|
+
*
|
|
3417
|
+
* @defaultValue `true`
|
|
3418
|
+
*/
|
|
3419
|
+
normalize: boolean;
|
|
3420
|
+
/**
|
|
3421
|
+
* Fuzzy algo to choose. Each algo has their own advantages, see here:
|
|
3422
|
+
* https://github.com/junegunn/fzf/blob/4c9cab3f8ae7b55f7124d7c3cf7ac6b4cc3db210/src/algo/algo.go#L5
|
|
3423
|
+
* If asssigned `false`, an exact match will be made instead of a fuzzy one.
|
|
3424
|
+
*
|
|
3425
|
+
* @defaultValue `"v2"`
|
|
3426
|
+
*/
|
|
3427
|
+
fuzzy: "v1" | "v2" | false;
|
|
3428
|
+
/**
|
|
3429
|
+
* A list of functions that act as fallback and help to
|
|
3430
|
+
* sort result entries when the score between two entries is tied.
|
|
3431
|
+
*
|
|
3432
|
+
* Consider a tiebreaker to be a [JS array sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)
|
|
3433
|
+
* compare function with an added third argument which is `options.selector`.
|
|
3434
|
+
*
|
|
3435
|
+
* If multiple tiebreakers are given, they are evaluated left to right until
|
|
3436
|
+
* one breaks the tie.
|
|
3437
|
+
*
|
|
3438
|
+
* Note that tiebreakers cannot be used if `sort=false`.
|
|
3439
|
+
*
|
|
3440
|
+
* FZF ships with these tiebreakers:
|
|
3441
|
+
* - `byLengthAsc`
|
|
3442
|
+
* - `byStartAsc`
|
|
3443
|
+
*
|
|
3444
|
+
* @defaultValue `[]`
|
|
3445
|
+
*
|
|
3446
|
+
* @example
|
|
3447
|
+
* ```js
|
|
3448
|
+
* function byLengthAsc(a, b, selector) {
|
|
3449
|
+
* return selector(a.item).length - selector(b.item).length;
|
|
3450
|
+
* }
|
|
3451
|
+
*
|
|
3452
|
+
* const fzf = new Fzf(list, { tiebreakers: [byLengthAsc] })
|
|
3453
|
+
* ```
|
|
3454
|
+
* This will result in following result entries having same score sorted like this:
|
|
3455
|
+
* FROM TO
|
|
3456
|
+
* axaa axaa
|
|
3457
|
+
* bxbbbb bxbbbb
|
|
3458
|
+
* cxcccccccccc dxddddddd
|
|
3459
|
+
* dxddddddd cxcccccccccc
|
|
3460
|
+
*/
|
|
3461
|
+
tiebreakers: Tiebreaker<U>[];
|
|
3462
|
+
/**
|
|
3463
|
+
* If `true`, result items will be sorted in descending order by their score.
|
|
3464
|
+
*
|
|
3465
|
+
* If `false`, result items won't be sorted and tiebreakers won't affect the
|
|
3466
|
+
* sort order either. In this case, the items are returned in the same order
|
|
3467
|
+
* as they are in the input list.
|
|
3468
|
+
*
|
|
3469
|
+
* @defaultValue `true`
|
|
3470
|
+
*/
|
|
3471
|
+
sort: boolean;
|
|
3472
|
+
/**
|
|
3473
|
+
* If `false`, matching will be done from backwards.
|
|
3474
|
+
*
|
|
3475
|
+
* @defaultValue `true`
|
|
3476
|
+
*
|
|
3477
|
+
* @example
|
|
3478
|
+
* /breeds/pyrenees when queried with "re"
|
|
3479
|
+
* with forward=true : /b**re**eds/pyrenees
|
|
3480
|
+
* with forward=false : /breeds/py**re**nees
|
|
3481
|
+
*
|
|
3482
|
+
* Doing forward=false is useful, for example, if one needs to match a file
|
|
3483
|
+
* path and they prefer querying for the file name over directory names
|
|
3484
|
+
* present in the path.
|
|
3485
|
+
*/
|
|
3486
|
+
forward: boolean;
|
|
3487
|
+
}
|
|
3488
|
+
type SyncOptions<U> = BaseOptions<U> & {
|
|
3489
|
+
/**
|
|
3490
|
+
* A function that is responsible for matching list items with the query.
|
|
3491
|
+
*
|
|
3492
|
+
* We ship with two match functions - `basicMatch` and `extendedMatch`.
|
|
3493
|
+
*
|
|
3494
|
+
* If `extendedMatch` is used, you can add special patterns to narrow down your search.
|
|
3495
|
+
* To read about how they can be used, see [this section](https://github.com/junegunn/fzf/tree/7191ebb615f5d6ebbf51d598d8ec853a65e2274d#search-syntax).
|
|
3496
|
+
* For a quick glance, see [this piece](https://github.com/junegunn/fzf/blob/764316a53d0eb60b315f0bbcd513de58ed57a876/src/pattern.go#L12-L19).
|
|
3497
|
+
*
|
|
3498
|
+
* @defaultValue `basicMatch`
|
|
3499
|
+
*/
|
|
3500
|
+
match: (this: SyncFinder<ReadonlyArray<U>>, query: string) => FzfResultItem<U>[];
|
|
3501
|
+
};
|
|
3502
|
+
//#endregion
|
|
3503
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/finders.d.ts
|
|
3504
|
+
type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
|
3505
|
+
type SortAttrs<U> = {
|
|
3506
|
+
sort?: true;
|
|
3507
|
+
tiebreakers?: Tiebreaker<U>[];
|
|
3508
|
+
} | {
|
|
3509
|
+
sort: false;
|
|
3510
|
+
};
|
|
3511
|
+
type BaseOptsToUse<U> = Omit<Partial<BaseOptions<U>>, "sort" | "tiebreakers"> & SortAttrs<U>;
|
|
3512
|
+
type BaseOptionsTuple<U> = U extends string ? [options?: BaseOptsToUse<U>] : [options: BaseOptsToUse<U> & {
|
|
3513
|
+
selector: Selector<U>;
|
|
3514
|
+
}];
|
|
3515
|
+
declare abstract class BaseFinder<L extends ReadonlyArray<any>> {
|
|
3516
|
+
runesList: Rune[][];
|
|
3517
|
+
items: L;
|
|
3518
|
+
readonly opts: BaseOptions<ArrayElement<L>>;
|
|
3519
|
+
algoFn: AlgoFn;
|
|
3520
|
+
constructor(list: L, ...optionsTuple: BaseOptionsTuple<ArrayElement<L>>);
|
|
3521
|
+
}
|
|
3522
|
+
type SyncOptsToUse<U> = BaseOptsToUse<U> & Partial<Pick<SyncOptions<U>, "match">>;
|
|
3523
|
+
type SyncOptionsTuple<U> = U extends string ? [options?: SyncOptsToUse<U>] : [options: SyncOptsToUse<U> & {
|
|
3524
|
+
selector: Selector<U>;
|
|
3525
|
+
}];
|
|
3526
|
+
declare class SyncFinder<L extends ReadonlyArray<any>> extends BaseFinder<L> {
|
|
3527
|
+
readonly opts: SyncOptions<ArrayElement<L>>;
|
|
3528
|
+
constructor(list: L, ...optionsTuple: SyncOptionsTuple<ArrayElement<L>>);
|
|
3529
|
+
find(query: string): FzfResultItem<ArrayElement<L>>[];
|
|
3530
|
+
}
|
|
3531
|
+
//#endregion
|
|
3532
|
+
//#region node_modules/.pnpm/fzf@0.5.2/node_modules/fzf/dist/types/main.d.ts
|
|
3533
|
+
type FzfOptions<U = string> = U extends string ? SyncOptsToUse<U> : SyncOptsToUse<U> & {
|
|
3534
|
+
selector: SyncOptions<U>["selector"];
|
|
3535
|
+
};
|
|
3536
|
+
//#endregion
|
|
2098
3537
|
//#region src/incr-search/types.d.ts
|
|
2099
3538
|
type IncrSearchResult<T> = {
|
|
2100
3539
|
readonly item: T;
|
|
@@ -2333,6 +3772,8 @@ declare class ListSearchController<TItem> implements ReactiveController {
|
|
|
2333
3772
|
commit(): void;
|
|
2334
3773
|
/** Rebuild the searchable item set from the adapter. Called on open and on container mutation. */
|
|
2335
3774
|
refresh(): void;
|
|
3775
|
+
/** Re-paint highlights without rebuilding the item set. Use when the rendered window changes. */
|
|
3776
|
+
repaintHighlights(): void;
|
|
2336
3777
|
/** Popover markup. Pair with `listSearchStyles` in the host's `static styles`. */
|
|
2337
3778
|
renderField(): TemplateResult | typeof nothing;
|
|
2338
3779
|
}
|
|
@@ -2377,6 +3818,7 @@ declare function createDataListSearchAdapter(host: {
|
|
|
2377
3818
|
interface ElementListSearchHost extends HTMLElement {
|
|
2378
3819
|
focusKey: (key: string) => void;
|
|
2379
3820
|
selectKeys: (keys: Iterable<string>) => void;
|
|
3821
|
+
activateKey?: (key: string) => void;
|
|
2380
3822
|
}
|
|
2381
3823
|
interface ElementListSearchAdapterOptions {
|
|
2382
3824
|
/** Selector for item elements, relative to the host. Default `:scope > *`. */
|
|
@@ -2385,6 +3827,10 @@ interface ElementListSearchAdapterOptions {
|
|
|
2385
3827
|
getKey?: (el: Element) => string;
|
|
2386
3828
|
/** `CSS.highlights` registry key for matched-character highlights. */
|
|
2387
3829
|
highlightKey?: string;
|
|
3830
|
+
/** Full ordered item set, including rows not currently in the DOM (virtualised hosts). Defaults to querying `itemSelector`. */
|
|
3831
|
+
getAllItems?: () => Element[];
|
|
3832
|
+
/** Observe host child-list mutations to refresh the item set. Default true. */
|
|
3833
|
+
observeContainer?: boolean;
|
|
2388
3834
|
}
|
|
2389
3835
|
/**
|
|
2390
3836
|
* A {@link ListSearchAdapter} over the light-DOM item elements of a list
|
|
@@ -2813,9 +4259,9 @@ declare class DataGridElement extends LitElement {
|
|
|
2813
4259
|
groupableColumns: string[] | undefined;
|
|
2814
4260
|
crossGroupSelection: boolean;
|
|
2815
4261
|
/**
|
|
2816
|
-
* `
|
|
2817
|
-
*
|
|
2818
|
-
* `
|
|
4262
|
+
* `none` (default): don't render the built-in header column/group menu — hosts can
|
|
4263
|
+
* supply their own column UI via `column.visible` + `datagrid-column-visibility`.
|
|
4264
|
+
* `auto`: opt in to the built-in menu.
|
|
2819
4265
|
*/
|
|
2820
4266
|
columnMenu: DataGridColumnMenu;
|
|
2821
4267
|
globalFormatter?: GlobalFormatter;
|
|
@@ -2868,7 +4314,9 @@ declare class DataGridElement extends LitElement {
|
|
|
2868
4314
|
private _resizingColKey;
|
|
2869
4315
|
private _animatingColKeys;
|
|
2870
4316
|
private _selectedKeys;
|
|
4317
|
+
/** Not reactive: `_onScroll` only re-renders when the row window actually moves. */
|
|
2871
4318
|
private _scrollTop;
|
|
4319
|
+
/** Not reactive: columns aren't virtualised, so render never reads it. */
|
|
2872
4320
|
private _scrollLeft;
|
|
2873
4321
|
private _viewportH;
|
|
2874
4322
|
private _viewportW;
|
|
@@ -2879,7 +4327,7 @@ declare class DataGridElement extends LitElement {
|
|
|
2879
4327
|
private _lastClickedCell;
|
|
2880
4328
|
private _editValue;
|
|
2881
4329
|
private _viewportEl;
|
|
2882
|
-
private
|
|
4330
|
+
private _headerRowEl;
|
|
2883
4331
|
private _tickled;
|
|
2884
4332
|
private _sortedRows;
|
|
2885
4333
|
private _flat;
|
|
@@ -3574,6 +5022,7 @@ declare class VerticalListElement extends LitElement {
|
|
|
3574
5022
|
private _onClick;
|
|
3575
5023
|
private _onDblClick;
|
|
3576
5024
|
private _activateItem;
|
|
5025
|
+
activateKey(key: string): void;
|
|
3577
5026
|
private _onDragOver;
|
|
3578
5027
|
private _onDragLeave;
|
|
3579
5028
|
private _onDrop;
|
|
@@ -3826,6 +5275,10 @@ declare class DetailListElement extends LitElement {
|
|
|
3826
5275
|
toggleGroup(groupKey: string): void;
|
|
3827
5276
|
collapseAllGroups(): void;
|
|
3828
5277
|
expandAllGroups(): void;
|
|
5278
|
+
/**
|
|
5279
|
+
* Visible items in DOM order. Cached — every per-hover / per-frame path
|
|
5280
|
+
* reads it — and validated on each call, so it is never stale.
|
|
5281
|
+
*/
|
|
3829
5282
|
private _getVisibleItems;
|
|
3830
5283
|
/**
|
|
3831
5284
|
* Set the column width to fit the widest visible item.
|
|
@@ -3839,6 +5292,11 @@ declare class DetailListElement extends LitElement {
|
|
|
3839
5292
|
private _isCheckable;
|
|
3840
5293
|
/** Appends the caption span; returns it so callers can style it per item. */
|
|
3841
5294
|
private _setLabel;
|
|
5295
|
+
/**
|
|
5296
|
+
* Reflect cursor / selection / checked state onto the items. After the item
|
|
5297
|
+
* set changes (or the interaction mode does) every item is visited; otherwise
|
|
5298
|
+
* only the items whose state changed are touched, so hovering is O(1).
|
|
5299
|
+
*/
|
|
3842
5300
|
private _syncItemStates;
|
|
3843
5301
|
private _syncCheckboxes;
|
|
3844
5302
|
/**
|
|
@@ -4355,9 +5813,8 @@ declare class TabListItemElement extends LitElement {
|
|
|
4355
5813
|
private _compact;
|
|
4356
5814
|
private _hasToolbarContent;
|
|
4357
5815
|
private _hasStatusContent;
|
|
4358
|
-
private _resizeObserver?;
|
|
4359
5816
|
private _commandCleanup?;
|
|
4360
|
-
private
|
|
5817
|
+
private _onLabelMutation;
|
|
4361
5818
|
connectedCallback(): void;
|
|
4362
5819
|
disconnectedCallback(): void;
|
|
4363
5820
|
updated(changed: PropertyValues): void;
|
|
@@ -6353,6 +7810,13 @@ declare class GridListElement<T = unknown> extends LitElement {
|
|
|
6353
7810
|
* Auto-assigned keyless-item keys are omitted.
|
|
6354
7811
|
*/
|
|
6355
7812
|
visibleKeys(): string[];
|
|
7813
|
+
/**
|
|
7814
|
+
* Mirror cursor / selection onto the light-DOM items as `data-tickled` /
|
|
7815
|
+
* `data-selected`. Only the items whose state changed are touched, so a
|
|
7816
|
+
* cursor move costs O(selection), not O(items). `full` re-checks every item —
|
|
7817
|
+
* used when the child list changes, so markers set before the item was
|
|
7818
|
+
* ours (or left on a removed item) are corrected.
|
|
7819
|
+
*/
|
|
6356
7820
|
private _syncItemStates;
|
|
6357
7821
|
private _dispatch;
|
|
6358
7822
|
protected render(): ReturnType<typeof html>;
|
|
@@ -6523,6 +7987,11 @@ interface GroupedItemListerElement<T> {
|
|
|
6523
7987
|
}
|
|
6524
7988
|
//#endregion
|
|
6525
7989
|
//#region src/tree/tree-base.d.ts
|
|
7990
|
+
/**
|
|
7991
|
+
* `auto` windows the list once it has more than `virtualizeThreshold` visible
|
|
7992
|
+
* rows; `on` / `off` force it.
|
|
7993
|
+
*/
|
|
7994
|
+
type TreeVirtualize = `auto` | `on` | `off`;
|
|
6526
7995
|
declare class TreeBaseElement extends LitElement implements TreeComponent, TreeSearchHost {
|
|
6527
7996
|
#private;
|
|
6528
7997
|
root: TreeNode | undefined;
|
|
@@ -6562,13 +8031,37 @@ declare class TreeBaseElement extends LitElement implements TreeComponent, TreeS
|
|
|
6562
8031
|
* expansion. On by default — set `sticky-headers="false"` to opt out.
|
|
6563
8032
|
*/
|
|
6564
8033
|
stickyHeaders: boolean;
|
|
8034
|
+
/**
|
|
8035
|
+
* Windowed rendering: only the rows near the viewport exist in the DOM, so a
|
|
8036
|
+
* node with tens of thousands of children stays fast. `auto` (default)
|
|
8037
|
+
* switches on above `virtualizeThreshold` visible rows; `on` / `off` force it.
|
|
8038
|
+
* While windowed, rows are a fixed `--tree-item-height` tall and expand /
|
|
8039
|
+
* collapse rows do not animate.
|
|
8040
|
+
*/
|
|
8041
|
+
virtualize: TreeVirtualize;
|
|
8042
|
+
/** Visible-row count above which `virtualize="auto"` windows the list. */
|
|
8043
|
+
virtualizeThreshold: number;
|
|
6565
8044
|
dragPreviewRenderer: ListDragPreviewRenderer<TreeNode> | undefined;
|
|
6566
8045
|
dragPreviewSource: ListDragPreviewSourceResolver<TreeNode> | undefined;
|
|
6567
8046
|
canDrag: ((ctx: TreeDragContext) => boolean) | undefined;
|
|
6568
8047
|
canDrop: ((ctx: TreeDropContext) => boolean) | undefined;
|
|
6569
8048
|
parseExternalDrop: ((dt: DataTransfer) => TreeNode[] | undefined) | undefined;
|
|
6570
8049
|
applyInternalDrop: boolean;
|
|
6571
|
-
|
|
8050
|
+
/** Immutable: replace via `#setExpanded` so the flat-row cache is invalidated. */
|
|
8051
|
+
protected _expandedKeys: ReadonlySet<string>;
|
|
8052
|
+
/** Bumped whenever `_selectedNodes` content may have changed. */
|
|
8053
|
+
protected _selectionVersion: number;
|
|
8054
|
+
/**
|
|
8055
|
+
* Call after editing `node.children` / `node.item` in place (outside
|
|
8056
|
+
* `TreeDataModel`). Drops the cached whole-tree indexes and re-renders.
|
|
8057
|
+
*/
|
|
8058
|
+
invalidateStructure(): void;
|
|
8059
|
+
/** Scroll offset used for the last render; kept in sync with the container's. */
|
|
8060
|
+
private _scrollTop;
|
|
8061
|
+
/** Structure version for cache keys in subclasses (bumped on root / model change and lazy loads). */
|
|
8062
|
+
protected get _structureVersion(): number;
|
|
8063
|
+
/** Depths at which any loaded node carries an icon (stable across expansion). */
|
|
8064
|
+
protected get _depthsWithIcons(): ReadonlySet<number>;
|
|
6572
8065
|
protected tickled: TickledController<string>;
|
|
6573
8066
|
protected _focusedDepth: number;
|
|
6574
8067
|
/** Incremental search (navigate / select / filter). See `docs/infra-incremental.md`. */
|
|
@@ -6589,10 +8082,11 @@ declare class TreeBaseElement extends LitElement implements TreeComponent, TreeS
|
|
|
6589
8082
|
/** True while `node` is a fading ghost row (removed / collapsed, still animating out). */
|
|
6590
8083
|
protected _isLeaving(node: TreeNode): boolean;
|
|
6591
8084
|
/**
|
|
6592
|
-
*
|
|
6593
|
-
*
|
|
8085
|
+
* Kept for subclass compatibility. Filtered-out rows are no longer rendered
|
|
8086
|
+
* at all (they are omitted from the flat list), so this is `false` for every
|
|
8087
|
+
* rendered row.
|
|
6594
8088
|
*/
|
|
6595
|
-
protected _isFilteredOut(
|
|
8089
|
+
protected _isFilteredOut(_node: TreeNode, _depth: number): boolean;
|
|
6596
8090
|
updated(changedProps: PropertyValues): void;
|
|
6597
8091
|
connectedCallback(): void;
|
|
6598
8092
|
disconnectedCallback(): void;
|
|
@@ -6618,10 +8112,18 @@ declare class TreeBaseElement extends LitElement implements TreeComponent, TreeS
|
|
|
6618
8112
|
protected _handleCheckboxClick(event: MouseEvent, node: TreeNode, _depth: number): void;
|
|
6619
8113
|
protected _isSelected(node: TreeNode): boolean;
|
|
6620
8114
|
protected _isFocused(node: TreeNode): boolean;
|
|
6621
|
-
protected _isExpanded(node: TreeNode,
|
|
8115
|
+
protected _isExpanded(node: TreeNode, _depth?: number): boolean;
|
|
6622
8116
|
protected get _pendingNode(): TreeNode | undefined;
|
|
6623
8117
|
protected renderLoadingIndicator(): TemplateResult | typeof nothing;
|
|
6624
8118
|
protected render(): TemplateResult<1>;
|
|
8119
|
+
/**
|
|
8120
|
+
* `{ posinset, setsize }` for `aria-posinset` / `aria-setsize`. A windowed
|
|
8121
|
+
* list has most siblings out of the DOM, so assistive tech cannot count them.
|
|
8122
|
+
*/
|
|
8123
|
+
protected _ariaSetInfo(node: TreeNode): {
|
|
8124
|
+
posInSet: number;
|
|
8125
|
+
setSize: number;
|
|
8126
|
+
} | undefined;
|
|
6625
8127
|
/** Shared drag-and-drop render state for a row, used by every `_renderNode` variant. */
|
|
6626
8128
|
protected _dndRowState(node: TreeNode): {
|
|
6627
8129
|
draggable: boolean;
|
|
@@ -6657,9 +8159,11 @@ interface TreeBaseElement {
|
|
|
6657
8159
|
removeEventListener: (<K extends keyof TreeBaseElementEventMap>(type: K, listener: (this: TreeBaseElement, event: TreeBaseElementEventMap[K]) => void, options?: boolean | EventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions) => void);
|
|
6658
8160
|
}
|
|
6659
8161
|
//#endregion
|
|
6660
|
-
//#region src/tree/tree-
|
|
8162
|
+
//#region src/tree/tree-flat.d.ts
|
|
6661
8163
|
/** Checkbox tri-state in `checked` interactionMode: a branch node is `indeterminate` when some but not all of its descendants are selected. */
|
|
6662
8164
|
type TreeCheckboxState = `checked` | `unchecked` | `indeterminate`;
|
|
8165
|
+
//#endregion
|
|
8166
|
+
//#region src/tree/tree-list.d.ts
|
|
6663
8167
|
declare class TreeListElement extends TreeBaseElement {
|
|
6664
8168
|
#private;
|
|
6665
8169
|
/**
|
|
@@ -6682,7 +8186,7 @@ declare class TreeListElement extends TreeBaseElement {
|
|
|
6682
8186
|
* </svg>`;
|
|
6683
8187
|
*/
|
|
6684
8188
|
checkboxRenderer: ((state: TreeCheckboxState) => unknown) | undefined;
|
|
6685
|
-
|
|
8189
|
+
willUpdate(changedProps: PropertyValues): void;
|
|
6686
8190
|
protected renderNodeContent(node: TreeNode, depth: number): TemplateResult;
|
|
6687
8191
|
protected _renderNode(node: TreeNode, depth: number): TemplateResult;
|
|
6688
8192
|
static styles: import("lit").CSSResult[];
|
|
@@ -10637,8 +12141,17 @@ interface TreeDropVisibleRow {
|
|
|
10637
12141
|
readonly key: string;
|
|
10638
12142
|
readonly node: TreeNode;
|
|
10639
12143
|
readonly depth: number;
|
|
12144
|
+
/** Index of this row in the full flat (visible) list — not in the `rows` array. */
|
|
12145
|
+
readonly index: number;
|
|
10640
12146
|
readonly rect: DOMRect;
|
|
10641
12147
|
}
|
|
12148
|
+
/** Structural facts about a visible row, independent of geometry. */
|
|
12149
|
+
interface TreeDropRowInfo {
|
|
12150
|
+
readonly node: TreeNode;
|
|
12151
|
+
readonly depth: number;
|
|
12152
|
+
/** Parent key, or `undefined` for a root-level row. */
|
|
12153
|
+
readonly parentKey: string | undefined;
|
|
12154
|
+
}
|
|
10642
12155
|
/** What a `dragover` / `drop` DataTransfer resolved to for this tree. */
|
|
10643
12156
|
interface TreeDropResolvedDrag {
|
|
10644
12157
|
readonly source: `internal` | `external`;
|
|
@@ -10650,8 +12163,17 @@ interface TreeDropResolvedDrag {
|
|
|
10650
12163
|
type TreeDropControllerConfig = {
|
|
10651
12164
|
getDndMode: () => `none` | `internal` | `external` | `both`;
|
|
10652
12165
|
getExpandHoverMs: () => number;
|
|
10653
|
-
/**
|
|
12166
|
+
/**
|
|
12167
|
+
* Measured rows in display order, each with a fresh viewport rect. May be
|
|
12168
|
+
* limited to the rows intersecting the scroll container — ancestors and
|
|
12169
|
+
* siblings are resolved through `getRowInfo` / `getChildren`, not from here.
|
|
12170
|
+
* Host may cache.
|
|
12171
|
+
*/
|
|
10654
12172
|
getVisibleRows: () => TreeDropVisibleRow[];
|
|
12173
|
+
/** Flat-list info for a visible key (no geometry), or `undefined` if not visible. */
|
|
12174
|
+
getRowInfo: (key: string) => TreeDropRowInfo | undefined;
|
|
12175
|
+
/** Children of `parentKey`, or the root's children when undefined. */
|
|
12176
|
+
getChildren: (parentKey: string | undefined) => readonly TreeNode[];
|
|
10655
12177
|
getIndentPx: () => number;
|
|
10656
12178
|
getScrollContainer: () => HTMLElement | undefined;
|
|
10657
12179
|
/** True when `key` is `ancestorKey` or a descendant of it. */
|
|
@@ -11172,5 +12694,4 @@ interface XyPad {
|
|
|
11172
12694
|
//#region src/index.d.ts
|
|
11173
12695
|
declare function init(): void;
|
|
11174
12696
|
//#endregion
|
|
11175
|
-
export { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, Axis, BottomDrawerCloseEvent, BottomDrawerCommand, BottomDrawerElement, BottomDrawerElementEventMap, BottomDrawerResizeDetail, BottomDrawerResizeEvent, type BuiltInFormatterName, type BuiltInFormatterOptions, ButtonElement, ButtonElementEventMap, ButtonToggleDetail, ButtonToggleEvent, type CheckState, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, type ComputeHyperbolicLayoutOptions, ComputeIcicleLayoutOptions, type ComputeTreemapLayoutOptions, ConfigEntry, ContiguousSelectEventDetail, CrossoverBehaviour, CrumbDragStartDetail, CrumbDragStartEvent, CrumbDropDetail, CrumbDropEvent, CrumbExternalDropParser, CrumbNavChangeDetail, CrumbNavChangeEvent, CrumbNavExpandDetail, CrumbNavExpandEvent, CrumbNavNavigateDetail, CrumbNavNavigateEvent, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, CrumbPathController, CrumbPathControllerOptions, CrumbPathElement, CrumbPathElementEventMap, CrumbSegment, CrumbSegmentDragData, CrumbSegmentDragLookupFn, CrumbSiblingLookupFn, type CssVars, CustomCheckboxOptions, DEFAULT_SIBLING_SPACING, DataBatch, DataController, DataControllerOptions, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, type DataGridColumn, type DataGridColumnMenu, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, type DataGridDataType, type DataGridEditability, type DataGridEditorContext, type DataGridEditorFactory, type DataGridEditorType, DataGridElement, DataGridElementEventMap, type DataGridGetRowKey, type DataGridGroupBy, DataGridGroupChangeDetail, DataGridGroupChangeEvent, type DataGridGroupLabel, type DataGridInteractionMode, DataGridRowActivateDetail, DataGridRowActivateEvent, type DataGridRowLook, DataGridSelectDetail, DataGridSelectEvent, type DataGridSelectionMode, DataGridSortDetail, type DataGridSortDirection, DataGridSortEvent, type DataGridSortState, DataGridViewportChangeDetail, DataGridViewportChangeEvent, type DataListSearchAdapterOptions, type DataListSearchItem, DataProviderResult, DataTableElement, DataTableElementEventMap, DataTableRow, DataTableRowClickDetail, DataTableRowClickEvent, type DetailFormatter, type DetailGroupBy, DetailListElement, DetailListElementEventMap, type DetailSortComparator, type DetailSortItem, type DetailSortMode, DiskIsometry, DisplayTextLogic, DistributeResult, DockAddPanelTarget, DockAxis, DockChangeDetail, DockChangeEvent, DockDirection, DockDragBoundaryDetail, DockDragBoundaryEvent, DockDropTarget, type DockDropZone, DockEdge, DockHostElement, DockHostElementEventMap, DockLayout, DockLeafContentRules, DockLeafInfo, DockLeafPlacementPolicy, DockLeafPlacementPolicyResolved, DockLeafRef, DockNeighbours, DockNode, DockOperation, DockPanelActivatedDetail, DockPanelActivatedEvent, DockPanelAddedDetail, DockPanelAddedEvent, DockPanelDragStartDetail, DockPanelDragStartEvent, DockPanelElement, DockPanelElementEventMap, DockPanelInit, DockPanelRemovedDetail, DockPanelRemovedEvent, DockPanelSnapshot, DockPanelTearOutDetail, DockPanelTearOutEvent, DockRect, DockSplitNode, DockStackNode, type DragSelectRect, DragSnappingFn, DragTarget, EMPTY_GROUP_LABEL, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, Endpoints, EntryMode, 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, FormElement, FormGroupElement, FormPartElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GeodesicSegment, type GlobalFormatter, 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 GridListViewportChangeDetail, type GridListViewportChangeEvent, GridMode, GridResolution, GroupNode, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, type HyperbolicEdgeRenderContext, type HyperbolicEdgeRenderer, type HyperbolicFocusDetail, type HyperbolicFocusEvent, type HyperbolicInteractionMode, type HyperbolicLayoutEdge, type HyperbolicLayoutNode, type HyperbolicNodeShape, type Point as HyperbolicPoint, HyperbolicTreeListElement, HyperbolicTreeListElementEventMap, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, IcicleInteractionMode, IcicleOrientation, IcicleRect, IcicleTreeListElement, IcicleTreeListElementEventMap, IcicleValueAccessor, IcicleZoomDetail, IcicleZoomEvent, type IconChangedDetail, type IconChangedEvent, type IconEntry, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, type InputMode, type ItemDisplay, type ItemOrientation, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxRatingElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LaneData, LaneType, LayoutNode, LayoutSnapshot, LeafGeom, LedElement, LedMode, type ListActivateDetail, type ListActivateEvent, type ListContextMenuDetail, type ListContextMenuEvent, type ListDragEntry, type ListDragLeaveDetail, type ListDragLeaveEvent, type ListDragOverEvent, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragPreviewSourceResolver, ListDragSelectController, type ListDragSelectControllerConfig, type ListDragSource, type ListDropDetail, type ListDropEvent, type ListEditCancelDetail, type ListEditCancelEvent, type ListEditCommitDetail, type ListEditCommitEvent, type ListElementEventMap, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupEventMap, ListGroupHeaderElement, type ListGroupInfo, type ListGroupLabel, type ListGroupPartition, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListItemMotionOptions, type ListItemOutResult, ListNativeDragController, type ListNativeDragControllerConfig, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type ListSelectDetail, type ListSelectEvent, ListSelectionController, type ListSelectionControllerConfig, type ListSelectionGesture, type ListSelectionMode, type ListSelectionModes, type ListTickleDetail, type ListTickleEvent, type ListViewportChangeDetail, type ListViewportChangeEvent, LoadChildrenCallback, MarkerStyle, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, MillerConfig, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type TreeNode as MillerNode, TreeNode, MillerRebaseDetail, MillerRebaseEvent, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, type MulticolCategory, type MulticolColumnState, MulticolColumnsChangeDetail, MulticolColumnsChangeEvent, type MulticolColumnsChangeReason, type MulticolItem, MulticolListElement, MulticolListElementEventMap, type MulticolQuery, type MulticolSelectDetail, MulticolSelectEvent, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, NoneSelectEventDetail, Notification, NotificationContent, NotificationManager, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, Orientation, PanTextElement, PanTextMode, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelGroupElement, PanelGroupElementEventMap, PanelGroupOrientation, PanelGroupReorderDetail, PanelGroupReorderEvent, PanelInfo, PanelNode, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PillPosition, PillQueueDisplay, PillRendererOptions, PillSafeArea, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramInteractionMode, PlotHistogramOrientation, PlotHistogramSelectionChangeDetail, PlotHistogramSelectionChangeEvent, PlotHistogramSelectionRange, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RadioGroup, RadioGroupChangeDetail, RadioGroupChangeEvent, RadioGroupMode, RadioItem, RangeElement, RangeInput, RangeMultiElement, RangeMultiInputDetail, RangeMultiInputEvent, RatingChangeDetail, RatingChangeEvent, RatingElement, RatingElementEventMap, RatingInputEvent, RatingVariant, type Rect, RectangularSelectEventDetail, type RegisterListSearchCommandsOptions, RendererStyle, ResizeMode, SegmentIconLookupFn, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, ShapefillDisplay, ShapefillFillMode, ShapefillValueChangeDetail, ShapefillValueChangeEvent, ShapefillValueElement, ShapefillValueInputDetail, ShapefillValueInputEvent, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SlidingNumberElement, SlidingNumberTrend, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SnapshotNode, SortCompareFn, type SortDirection, SplitButton, SplitButtonMode, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitChangeDetail, SplitChangeEvent, SplitCloseDetail, SplitCloseEvent, SplitCollapseDetail, SplitCollapseEvent, SplitExpandDetail, SplitExpandEvent, SplitLayoutElement, SplitLayoutElementEventMap, SplitPanelElement, SplitResizeDetail, SplitResizeEvent, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, Tab, TabAddOptions, TabController, TabControllerOptions, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, type TickledControllerConfig, type TickledItem, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, TitlebarCloseEvent, TitlebarElement, TitlebarElementEventMap, TitlebarOrientation, TitlebarToggleDetail, TitlebarToggleEvent, TitlebarToggleInteraction, TitlebarVariant, ToolbarAlign, ToolbarElement, ToolbarElementEventMap, ToolbarGroupElement, ToolbarGroupReorderDetail, ToolbarGroupReorderEvent, ToolbarLayout, ToolbarLayoutSnapshot, ToolbarOrientation, ToolbarVerticalWriting, TooltipElement, TooltipOrientations, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeBaseElement, TreeBaseElementEventMap, TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeDndMode, TreeDragContext, TreeDragEndEvent, TreeDragOverEvent, TreeDragStartEvent, TreeDropApplyContext, TreeDropContext, TreeDropController, TreeDropControllerConfig, TreeDropDetail, TreeDropEvent, TreeDropPosition, TreeDropResolvedDrag, TreeDropTarget, TreeDropVisibleRow, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeItemDblClickDetail, TreeItemDblClickEvent, type TreeKeyboardNavCallbacks, TreeKeyboardNavController, type TreeKeyboardNavControllerConfig, type TreeKeyboardNavItemId, TreeListAdapterOptions, TreeListElement, type TreeListSearchAdapterOptions, TreeSearchHost, TreeSelectionFilter, type TreemapInteractionMode, TreemapListElement, TreemapListElementEventMap, type TreemapRect, type TreemapTilingMethod, type TreemapValueAccessor, TreemapZoomDetail, TreemapZoomEvent, TwoSplitLayoutElement, UserScale, ValueMode, VerticalListAdapterOptions, VerticalListElement, VerticalListElementEventMap, ViewRange, WhenSmall, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applyIsometry, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clampToDisk, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, composeIsometry, computeCanonicalPositions, computeColour, computeHyperbolicLayout, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, decomposeViewIsometry, defaultGroupLabel, distribute, dropTargetFor, euclideanRadiusForHyperbolicDistance, extractStack, findHyperbolicIdOf, findHyperbolicKeyPath, findHyperbolicNode, findHyperbolicPath, findHyperbolicPathById, findIcicleNode, findIciclePath, findNode, findPanelNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, geodesicInterpolate, geodesicPath, geodesicSegment, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, hyperbolicBranchId, hyperbolicChildIds, hyperbolicDistanceForEuclideanRadius, hyperbolicIdDepth, hyperbolicRelativeFrame, iconBus, identityIsometry, init, insertBeside, invertIsometry, isDragging, isHyperbolicDescendantId, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, mobiusAdd, mobiusFromOrigin, mobiusToOrigin, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, norm, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, partitionByGroup, poincareDistance, pointerOverAnyHost, prefersReducedMotion, preserveRestoreWeights, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveGroupKey, resolveLeafPath, resolveTracks, rotationIsometry, serializeLayout, setActive, setIconFont, setPanelRestoreWeight, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toGroupKey, toSnapshot, toggleInSet, toolbarGapIndex, translationFromOrigin, viewIsometry, walk, wrapRoot };
|
|
11176
|
-
//# sourceMappingURL=index.d.ts.map
|
|
12697
|
+
export { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, Axis, BottomDrawerCloseEvent, BottomDrawerCommand, BottomDrawerElement, BottomDrawerElementEventMap, BottomDrawerResizeDetail, BottomDrawerResizeEvent, type BuiltInFormatterName, type BuiltInFormatterOptions, ButtonElement, ButtonElementEventMap, ButtonToggleDetail, ButtonToggleEvent, type CheckState, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, type ComputeHyperbolicLayoutOptions, ComputeIcicleLayoutOptions, type ComputeTreemapLayoutOptions, ConfigEntry, ContiguousSelectEventDetail, CrossoverBehaviour, CrumbDragStartDetail, CrumbDragStartEvent, CrumbDropDetail, CrumbDropEvent, CrumbExternalDropParser, CrumbNavChangeDetail, CrumbNavChangeEvent, CrumbNavExpandDetail, CrumbNavExpandEvent, CrumbNavNavigateDetail, CrumbNavNavigateEvent, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, CrumbPathController, CrumbPathControllerOptions, CrumbPathElement, CrumbPathElementEventMap, CrumbSegment, CrumbSegmentDragData, CrumbSegmentDragLookupFn, CrumbSiblingLookupFn, type CssVars, CustomCheckboxOptions, DEFAULT_SIBLING_SPACING, DataBatch, DataController, DataControllerOptions, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, type DataGridColumn, type DataGridColumnMenu, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, type DataGridDataType, type DataGridEditability, type DataGridEditorContext, type DataGridEditorFactory, type DataGridEditorType, DataGridElement, DataGridElementEventMap, type DataGridGetRowKey, type DataGridGroupBy, DataGridGroupChangeDetail, DataGridGroupChangeEvent, type DataGridGroupLabel, type DataGridInteractionMode, DataGridRowActivateDetail, DataGridRowActivateEvent, type DataGridRowLook, DataGridSelectDetail, DataGridSelectEvent, type DataGridSelectionMode, DataGridSortDetail, type DataGridSortDirection, DataGridSortEvent, type DataGridSortState, DataGridViewportChangeDetail, DataGridViewportChangeEvent, type DataListSearchAdapterOptions, type DataListSearchItem, DataProviderResult, DataTableElement, DataTableElementEventMap, DataTableRow, DataTableRowClickDetail, DataTableRowClickEvent, type DetailFormatter, type DetailGroupBy, DetailListElement, DetailListElementEventMap, type DetailSortComparator, type DetailSortItem, type DetailSortMode, DiskIsometry, DisplayTextLogic, DistributeResult, DockAddPanelTarget, DockAxis, DockChangeDetail, DockChangeEvent, DockDirection, DockDragBoundaryDetail, DockDragBoundaryEvent, DockDropTarget, type DockDropZone, DockEdge, DockHostElement, DockHostElementEventMap, DockLayout, DockLeafContentRules, DockLeafInfo, DockLeafPlacementPolicy, DockLeafPlacementPolicyResolved, DockLeafRef, DockNeighbours, DockNode, DockOperation, DockPanelActivatedDetail, DockPanelActivatedEvent, DockPanelAddedDetail, DockPanelAddedEvent, DockPanelDragStartDetail, DockPanelDragStartEvent, DockPanelElement, DockPanelElementEventMap, DockPanelInit, DockPanelRemovedDetail, DockPanelRemovedEvent, DockPanelSnapshot, DockPanelTearOutDetail, DockPanelTearOutEvent, DockRect, DockSplitNode, DockStackNode, type DragSelectRect, DragSnappingFn, DragTarget, EMPTY_GROUP_LABEL, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, Endpoints, EntryMode, 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, FormElement, FormGroupElement, FormPartElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GeodesicSegment, type GlobalFormatter, 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 GridListViewportChangeDetail, type GridListViewportChangeEvent, GridMode, GridResolution, GroupNode, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, type HyperbolicEdgeRenderContext, type HyperbolicEdgeRenderer, type HyperbolicFocusDetail, type HyperbolicFocusEvent, type HyperbolicInteractionMode, type HyperbolicLayoutEdge, type HyperbolicLayoutNode, type HyperbolicNodeShape, type Point as HyperbolicPoint, HyperbolicTreeListElement, HyperbolicTreeListElementEventMap, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, IcicleInteractionMode, IcicleOrientation, IcicleRect, IcicleTreeListElement, IcicleTreeListElementEventMap, IcicleValueAccessor, IcicleZoomDetail, IcicleZoomEvent, type IconChangedDetail, type IconChangedEvent, type IconEntry, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, type InputMode, type ItemDisplay, type ItemOrientation, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxRatingElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LaneData, LaneType, LayoutNode, LayoutSnapshot, LeafGeom, LedElement, LedMode, type ListActivateDetail, type ListActivateEvent, type ListContextMenuDetail, type ListContextMenuEvent, type ListDragEntry, type ListDragLeaveDetail, type ListDragLeaveEvent, type ListDragOverEvent, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragPreviewSourceResolver, ListDragSelectController, type ListDragSelectControllerConfig, type ListDragSource, type ListDropDetail, type ListDropEvent, type ListEditCancelDetail, type ListEditCancelEvent, type ListEditCommitDetail, type ListEditCommitEvent, type ListElementEventMap, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupEventMap, ListGroupHeaderElement, type ListGroupInfo, type ListGroupLabel, type ListGroupPartition, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListItemMotionOptions, type ListItemOutResult, ListNativeDragController, type ListNativeDragControllerConfig, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type ListSelectDetail, type ListSelectEvent, ListSelectionController, type ListSelectionControllerConfig, type ListSelectionGesture, type ListSelectionMode, type ListSelectionModes, type ListTickleDetail, type ListTickleEvent, type ListViewportChangeDetail, type ListViewportChangeEvent, LoadChildrenCallback, MarkerStyle, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, MillerConfig, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type TreeNode as MillerNode, TreeNode, MillerRebaseDetail, MillerRebaseEvent, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, type MulticolCategory, type MulticolColumnState, MulticolColumnsChangeDetail, MulticolColumnsChangeEvent, type MulticolColumnsChangeReason, type MulticolItem, MulticolListElement, MulticolListElementEventMap, type MulticolQuery, type MulticolSelectDetail, MulticolSelectEvent, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, NoneSelectEventDetail, Notification, NotificationContent, NotificationManager, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, Orientation, PanTextElement, PanTextMode, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelGroupElement, PanelGroupElementEventMap, PanelGroupOrientation, PanelGroupReorderDetail, PanelGroupReorderEvent, PanelInfo, PanelNode, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PillPosition, PillQueueDisplay, PillRendererOptions, PillSafeArea, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramInteractionMode, PlotHistogramOrientation, PlotHistogramSelectionChangeDetail, PlotHistogramSelectionChangeEvent, PlotHistogramSelectionRange, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RadioGroup, RadioGroupChangeDetail, RadioGroupChangeEvent, RadioGroupMode, RadioItem, RangeElement, RangeInput, RangeMultiElement, RangeMultiInputDetail, RangeMultiInputEvent, RatingChangeDetail, RatingChangeEvent, RatingElement, RatingElementEventMap, RatingInputEvent, RatingVariant, type Rect, RectangularSelectEventDetail, type RegisterListSearchCommandsOptions, RendererStyle, ResizeMode, SegmentIconLookupFn, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, ShapefillDisplay, ShapefillFillMode, ShapefillValueChangeDetail, ShapefillValueChangeEvent, ShapefillValueElement, ShapefillValueInputDetail, ShapefillValueInputEvent, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SlidingNumberElement, SlidingNumberTrend, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SnapshotNode, SortCompareFn, type SortDirection, SplitButton, SplitButtonMode, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitChangeDetail, SplitChangeEvent, SplitCloseDetail, SplitCloseEvent, SplitCollapseDetail, SplitCollapseEvent, SplitExpandDetail, SplitExpandEvent, SplitLayoutElement, SplitLayoutElementEventMap, SplitPanelElement, SplitResizeDetail, SplitResizeEvent, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, Tab, TabAddOptions, TabController, TabControllerOptions, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, type TickledControllerConfig, type TickledItem, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, TitlebarCloseEvent, TitlebarElement, TitlebarElementEventMap, TitlebarOrientation, TitlebarToggleDetail, TitlebarToggleEvent, TitlebarToggleInteraction, TitlebarVariant, ToolbarAlign, ToolbarElement, ToolbarElementEventMap, ToolbarGroupElement, ToolbarGroupReorderDetail, ToolbarGroupReorderEvent, ToolbarLayout, ToolbarLayoutSnapshot, ToolbarOrientation, ToolbarVerticalWriting, TooltipElement, TooltipOrientations, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeBaseElement, TreeBaseElementEventMap, type TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeDndMode, TreeDragContext, TreeDragEndEvent, TreeDragOverEvent, TreeDragStartEvent, TreeDropApplyContext, TreeDropContext, TreeDropController, TreeDropControllerConfig, TreeDropDetail, TreeDropEvent, TreeDropPosition, TreeDropResolvedDrag, TreeDropRowInfo, TreeDropTarget, TreeDropVisibleRow, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeItemDblClickDetail, TreeItemDblClickEvent, type TreeKeyboardNavCallbacks, TreeKeyboardNavController, type TreeKeyboardNavControllerConfig, type TreeKeyboardNavItemId, TreeListAdapterOptions, TreeListElement, type TreeListSearchAdapterOptions, TreeSearchHost, TreeSelectionFilter, TreeVirtualize, type TreemapInteractionMode, TreemapListElement, TreemapListElementEventMap, type TreemapRect, type TreemapTilingMethod, type TreemapValueAccessor, TreemapZoomDetail, TreemapZoomEvent, TwoSplitLayoutElement, UserScale, ValueMode, VerticalListAdapterOptions, VerticalListElement, VerticalListElementEventMap, ViewRange, WhenSmall, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applyIsometry, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clampToDisk, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, composeIsometry, computeCanonicalPositions, computeColour, computeHyperbolicLayout, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, decomposeViewIsometry, defaultGroupLabel, distribute, dropTargetFor, euclideanRadiusForHyperbolicDistance, extractStack, findHyperbolicIdOf, findHyperbolicKeyPath, findHyperbolicNode, findHyperbolicPath, findHyperbolicPathById, findIcicleNode, findIciclePath, findNode, findPanelNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, geodesicInterpolate, geodesicPath, geodesicSegment, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, hyperbolicBranchId, hyperbolicChildIds, hyperbolicDistanceForEuclideanRadius, hyperbolicIdDepth, hyperbolicRelativeFrame, iconBus, identityIsometry, init, insertBeside, invertIsometry, isDragging, isHyperbolicDescendantId, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, mobiusAdd, mobiusFromOrigin, mobiusToOrigin, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, norm, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, partitionByGroup, poincareDistance, pointerOverAnyHost, prefersReducedMotion, preserveRestoreWeights, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveGroupKey, resolveLeafPath, resolveTracks, rotationIsometry, serializeLayout, setActive, setIconFont, setPanelRestoreWeight, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toGroupKey, toSnapshot, toggleInSet, toolbarGapIndex, translationFromOrigin, viewIsometry, walk, wrapRoot };
|