@ixfx/components 0.16.5 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/index.d.ts +4093 -1746
- package/bundle/index.js +1083 -226
- package/bundle/rolldown-runtime-CAoDHAWh.js +1 -0
- package/dist/ac-text.d.ts +11 -14
- package/dist/ac-text.js +8 -9
- package/dist/{ac-token-qEs3FsQv.d.ts → ac-token-CTBa93hF.d.ts} +2 -6
- package/dist/ac-token.d.ts +1 -1
- package/dist/ac-token.js +8 -9
- package/dist/{button-ikByJJPN.js → button-BOX1dfyd.js} +5 -7
- package/dist/{button-N92DKoWb.d.ts → button-DyJyyCsb.d.ts} +0 -4
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -2
- package/dist/checkbox.d.ts +42 -9
- package/dist/checkbox.js +4 -5
- package/dist/{checked-select-CBUidG7n.js → checked-select-BmwqpgGr.js} +8 -10
- package/dist/{checked-select-CglRukbP.d.ts → checked-select-CNv5zNvR.d.ts} +0 -4
- package/dist/checked-select.d.ts +33 -1
- package/dist/checked-select.js +1 -2
- package/dist/{colour-picker-DwAa6RDh.js → colour-picker-D8g-bTSF.js} +6 -9
- package/dist/colour-picker.d.ts +1 -1
- package/dist/colour-picker.js +1 -2
- package/dist/{crumb-navigation-D3ndPgFg.js → crumb-navigation-D7dAC0H-.js} +11 -13
- package/dist/{crumb-navigation-BbqfmkYs.d.ts → crumb-navigation-Tm4fnsvN.d.ts} +6 -10
- package/dist/crumbs.d.ts +1 -1
- package/dist/crumbs.js +1 -2
- package/dist/{data-controller-DOlmqNKb.js → data-controller-q-rXRMzJ.js} +1 -2
- package/dist/data-display.d.ts +5 -8
- package/dist/data-display.js +3 -4
- package/dist/{data-grid-8TsiF2ES.js → data-grid-BcO3SMac.js} +20 -23
- package/dist/{data-grid-CslzF16R.d.ts → data-grid-vasJtjFP.d.ts} +9 -15
- package/dist/data-grid.d.ts +2 -2
- package/dist/data-grid.js +1 -2
- package/dist/{data-provider-35TyWclX.js → data-provider-C6ZNAcaT.js} +1 -2
- package/dist/{data-provider-BAn_-oR1.d.ts → data-provider-Cq_ylpET.d.ts} +0 -2
- package/dist/date-input.d.ts +9 -12
- package/dist/date-input.js +3 -4
- package/dist/{decorate-VRK8rslU.js → decorate-Dxs8sFX8.js} +2 -4
- package/dist/{defaults-B4ePs4LB.js → defaults-_6ELsqLb.js} +2 -3
- package/dist/{detail-list-n1MbNbhF.d.ts → detail-list-E9WdMVbE.d.ts} +10 -16
- package/dist/{detail-list-w3GXKO2k.js → detail-list-vPVwE1CP.js} +17 -20
- package/dist/detail-list.d.ts +5 -5
- package/dist/detail-list.js +1 -2
- package/dist/{drag-ghost-DtSDvjri.js → drag-ghost-DNWu_RyN.js} +1 -2
- package/dist/{editable-label-rzXkjf1H.d.ts → editable-label-CiHCDlhC.d.ts} +0 -2
- package/dist/editable-label.d.ts +31 -1
- package/dist/editable-label.js +3 -4
- package/dist/{fallbacks-DQ_5OsmR.js → fallbacks-BPjjBoED.js} +1 -2
- package/dist/{flat-list-D_4y3wgn.d.ts → flat-list-CfutGqKY.d.ts} +8 -12
- package/dist/flat-list.d.ts +1 -1
- package/dist/flat-list.js +10 -11
- package/dist/{form-CY0nibZ5.js → form-Cxx2sO8_.js} +5 -9
- package/dist/{form-BGZK3jZd.d.ts → form-raTQNAWF.d.ts} +0 -4
- package/dist/form.d.ts +1 -1
- package/dist/form.js +1 -2
- package/dist/{grid-list-Cz2tKcNZ.js → grid-list-D2hinM64.js} +275 -41
- package/dist/{grid-list-CqYS28NY.d.ts → grid-list-OCdjuhng.d.ts} +60 -24
- package/dist/grid-list.d.ts +5 -5
- package/dist/grid-list.js +1 -2
- package/dist/{grouped-item-lister-CS4yInuw.d.ts → grouped-item-lister-1MlvJORP.d.ts} +2 -6
- package/dist/grouped-item-lister.d.ts +1 -1
- package/dist/grouped-item-lister.js +3 -4
- package/dist/{grouping-CUKgmkMm.d.ts → grouping-OoQ8WaKc.d.ts} +0 -2
- package/dist/{grouping-RYPnHkrS.js → grouping-kENdqzSV.js} +1 -2
- package/dist/{handle-DAXs7kbJ.js → handle-BVUWv97X.js} +1 -2
- package/dist/{hex-editor-Caq8vNQk.d.ts → hex-editor-BCBKRU9D.d.ts} +0 -4
- package/dist/{hex-editor-DiYpgIKs.js → hex-editor-DephDhuu.js} +12 -13
- package/dist/hex.d.ts +1 -1
- package/dist/hex.js +1 -2
- package/dist/{highlight-B-eQrhhb.js → highlight-noLHFSKZ.js} +1 -2
- package/dist/{icon-CDGprSdE.d.ts → icon-Bhz0c6Yf.d.ts} +0 -2
- package/dist/{icon-1gpwtPx8.js → icon-DvTQuylG.js} +4 -5
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +4 -5
- package/dist/{incr-search-Dc6gYpJG.js → incr-search-C5114RxZ.js} +14 -26
- package/dist/incr-search.d.ts +1 -1
- package/dist/incr-search.js +2 -2
- package/dist/{index-ZaA90u09.d.ts → index-0smh4WCH.d.ts} +3 -21
- package/dist/{index-VAs9akt4.d.ts → index-88ra6YHP.d.ts} +8 -22
- package/dist/{index-UvnoZUAo.d.ts → index-B7odjrlg.d.ts} +4 -8
- package/dist/{index-Bm9a9S3_.d.ts → index-CRLTVAyt.d.ts} +4 -30
- package/dist/{index-9ttcdwlL.d.ts → index-Cdcek1Oj.d.ts} +1 -3
- package/dist/index-Cn0qsz9a.d.ts +1632 -0
- package/dist/{index-YCDugjdu.d.ts → index-CzhYJJsx.d.ts} +7 -17
- package/dist/{index-CYndvTWH.d.ts → index-D6N4Lzek.d.ts} +1 -5
- package/dist/{index-CoqtMSd9.d.ts → index-DN6kC6an.d.ts} +1 -3
- package/dist/{index-DV3iaUBW2.d.ts → index-DrYQBts2.d.ts} +0 -14
- package/dist/{index-o-CWDt11.d.ts → index-DzocgUef.d.ts} +0 -4
- package/dist/{index-DN2BWctP.d.ts → index-PIrgX1bP.d.ts} +1 -7
- package/dist/index.d.ts +364 -491
- package/dist/index.js +139 -207
- package/dist/interaction-8Kbbf6xN.js +3 -0
- package/dist/{item-appearance-BjcMyauw.js → item-appearance-FRO3TRFI.js} +1 -2
- package/dist/{keyboard-B5xD7Fz-.js → keyboard-DMwjIYh7.js} +0 -1
- package/dist/{labelled-input-base-BFa4xlYV.js → labelled-input-base-KUhD02dh.js} +3 -5
- package/dist/{labelled-input-base-DiTme1JO.d.ts → labelled-input-base-jyr_SR6t.d.ts} +0 -2
- package/dist/labelled-radial-input.d.ts +4 -7
- package/dist/labelled-radial-input.js +5 -6
- package/dist/labelled-range-input.d.ts +1 -1
- package/dist/labelled-range-input.js +3 -4
- package/dist/{labelled-slider-input-FdCRi6st.js → labelled-slider-input-CfRKd5kC.js} +9 -11
- package/dist/labelled-slider-input.d.ts +1 -1
- package/dist/labelled-slider-input.js +1 -2
- package/dist/led.d.ts +3 -6
- package/dist/led.js +2 -3
- package/dist/list-group-header.d.ts +3 -6
- package/dist/list-group-header.js +3 -4
- package/dist/{list-native-drag-controller-CcXoS0YX.js → list-native-drag-controller-ByftBooJ.js} +5 -9
- package/dist/{list-native-drag-controller-D_UrXipS.d.ts → list-native-drag-controller-CgXKdmjr.d.ts} +1 -3
- package/dist/{list-selection-controller-D4iIrvJH.js → list-selection-controller-Dkh3m3hX.js} +3 -5
- package/dist/{list-selection-types-Dnamh2Lu.d.ts → list-selection-types-CKTt7Rrw.d.ts} +0 -2
- package/dist/{list-viewport-types-BRZsLcvp.d.ts → list-viewport-types-BJ8c6qur.d.ts} +0 -2
- package/dist/{menu-BX1FHxY8.js → menu-C3DhTjHx.js} +17 -27
- package/dist/{menu-item-oxU1VKiJ.js → menu-item-BSxhlWnW.js} +30 -15
- package/dist/{menu-item-bF6narIz.d.ts → menu-item-DJhaWy9z.d.ts} +10 -7
- package/dist/menu.d.ts +2 -2
- package/dist/menu.js +2 -2
- package/dist/{miller-BrmBywNZ.js → miller-DqDEaXqT.js} +15 -19
- package/dist/miller.d.ts +3 -3
- package/dist/miller.js +1 -2
- package/dist/narrowed-text.d.ts +1 -1
- package/dist/narrowed-text.js +8 -9
- package/dist/node-graph-DqEGv5QR.js +5369 -0
- package/dist/node-graph.d.ts +2 -0
- package/dist/node-graph.js +1 -0
- package/dist/{notification-pill-DyZydXoZ.d.ts → notification-pill-BiHEJk-o.d.ts} +0 -4
- package/dist/notifier.d.ts +1 -1
- package/dist/notifier.js +4 -5
- package/dist/{pan-text-CoYmt2qd.d.ts → pan-text-DKe2zinH.d.ts} +0 -2
- package/dist/{pan-text-CqtvjPyK.js → pan-text-DrJYKQKN.js} +3 -4
- package/dist/panel.d.ts +11 -14
- package/dist/panel.js +3 -4
- package/dist/{partial-keys-Ck6CiprB.js → partial-keys-D4l_ede_.js} +2 -3
- package/dist/{pending-BGidHppL.js → pending-Afl4LT64.js} +1 -2
- package/dist/plots.d.ts +1 -1
- package/dist/plots.js +1 -2
- package/dist/polar-pad.d.ts +5 -7
- package/dist/polar-pad.js +6 -7
- package/dist/{popup-D80sj2QC.js → popup-D8IxN1Eq.js} +1 -2
- package/dist/{prominence-DlFShic3.js → prominence-BOOQVWF-.js} +1 -2
- package/dist/{radial-input-KMVltQfe.js → radial-input-Cxys4TOG.js} +7 -9
- package/dist/{radial-input-DU6t2hYO.d.ts → radial-input-DNCSwRGF.d.ts} +1 -5
- package/dist/radial-input.d.ts +10 -1
- package/dist/radial-input.js +1 -2
- package/dist/range-input.d.ts +4 -6
- package/dist/range-input.js +5 -6
- package/dist/range.d.ts +4 -6
- package/dist/range.js +6 -7
- package/dist/{registry-BEtb8_wB.js → registry-DcF0fO7l.js} +1 -2
- package/dist/rolldown-runtime-D3KUYPsf.js +12 -0
- package/dist/{scroll-fade-Xx28D7mH.js → scroll-fade-DH8OXSqL.js} +1 -2
- package/dist/{scroll-hover-guard-Cjw6179Q.js → scroll-hover-guard-BGAjtyXT.js} +1 -2
- package/dist/select-horiz.d.ts +7 -9
- package/dist/select-horiz.js +8 -9
- package/dist/{slider-input-ByHdotzp.js → slider-input-C3mbUBZi.js} +6 -8
- package/dist/{slider-input-BxURAAmD.d.ts → slider-input-DHLGJKWF.d.ts} +1 -5
- package/dist/slider-input.d.ts +34 -1
- package/dist/slider-input.js +1 -2
- package/dist/snackbar.d.ts +5 -8
- package/dist/snackbar.js +4 -5
- package/dist/snap-container.d.ts +8 -11
- package/dist/snap-container.js +2 -3
- package/dist/{split-layout-DTY4PJRp.js → split-layout-BMN_s6d7.js} +10 -15
- package/dist/{split-layout-CophkNeU.d.ts → split-layout-HytcG1Bn.d.ts} +2 -8
- package/dist/split-layout.d.ts +1 -1
- package/dist/split-layout.js +1 -2
- package/dist/sunburst-tree.d.ts +1 -1
- package/dist/sunburst-tree.js +1 -2
- package/dist/{sunbursttree-list-DQF6DcsS.js → sunbursttree-list-C-FuZB5z.js} +23 -32
- package/dist/{sunbursttree-list-Bk20giTF.d.ts → sunbursttree-list-CsrmVSB8.d.ts} +5 -11
- package/dist/swipe.d.ts +7 -9
- package/dist/swipe.js +5 -6
- package/dist/{tab-list-Df371rqw.d.ts → tab-list-BXMRYJeR.d.ts} +1 -5
- package/dist/{tab-list-R_bGbDvO.js → tab-list-CFJy3hVm.js} +6 -15
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +1 -2
- package/dist/{tickled-controller-D-HZymaZ.js → tickled-controller-BVhGKzjZ.js} +1 -2
- package/dist/{tickled-controller-DodxD3eQ.d.ts → tickled-controller-DSPoG551.d.ts} +0 -2
- package/dist/{tickled-styles-BrAHEj1q.js → tickled-styles-pnieYweS.js} +1 -2
- package/dist/{timeline-BP1Ux2EV.js → timeline-Br5JIeLI.js} +9 -15
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +1 -2
- package/dist/{titlebar-Tqu-VvMU.d.ts → titlebar-BtLAF2ws.d.ts} +1 -3
- package/dist/titlebar.d.ts +1 -1
- package/dist/titlebar.js +4 -5
- package/dist/{tooltip-CJt3WLmN.js → tooltip-B7t_u6EY.js} +1 -2
- package/dist/{tooltip-BlvBUQxx.d.ts → tooltip-Bl4HpBue.d.ts} +0 -2
- package/dist/transitory-label.d.ts +3 -6
- package/dist/transitory-label.js +2 -3
- package/dist/{tree-BaXYyt5U.js → tree-BP5fxvEX.js} +24 -34
- package/dist/{tree-CftHwtEb.js → tree-DUc-iQcg.js} +2 -3
- package/dist/{tree-component-DgfkxmVY.d.ts → tree-component-DNuzfo6R.d.ts} +2 -8
- package/dist/tree.d.ts +3 -3
- package/dist/tree.js +1 -2
- package/dist/{types-LU1u0CB8.d.ts → types-16GC5k1z.d.ts} +0 -2
- package/dist/{types-Jky6oNAp.d.ts → types-6hpXRKt7.d.ts} +1 -3
- package/dist/unit-input.d.ts +11 -14
- package/dist/unit-input.js +3 -4
- package/dist/{vertical-list-o5hfqH87.js → vertical-list-B9z1lbjM.js} +13 -15
- package/dist/{vertical-list-DtHX26JO.d.ts → vertical-list-BzeXehBt.d.ts} +7 -13
- package/dist/vertical-list.d.ts +4 -4
- package/dist/vertical-list.js +1 -2
- package/dist/{view-state-controller-BdyXWUUM.js → view-state-controller-DiPAPiA7.js} +3 -6
- package/dist/{wheel-nudge-D5rmht3v.js → wheel-nudge-DgJzrL28.js} +2 -3
- package/dist/{wheel-nudge-By5s_ioH.d.ts → wheel-nudge-oMFKat9P.d.ts} +1 -3
- package/dist/{xy-axis-DQqd2yXJ.d.ts → xy-axis-Bf6WfOS2.d.ts} +0 -12
- package/dist/{xy-axis-CyMd_Bn1.js → xy-axis-CBpml-3S.js} +11 -20
- package/dist/xy-pad.d.ts +7 -9
- package/dist/xy-pad.js +6 -7
- package/docs-user/README.md +1 -0
- package/docs-user/grid-list.md +65 -0
- package/docs-user/index.json +7 -2
- package/docs-user/llms.txt +1 -0
- package/docs-user/node-graph.md +376 -0
- package/llms.txt +1 -0
- package/package.json +39 -24
- package/bundle/rolldown-runtime-CEoa-xHZ.js +0 -1
- package/dist/interaction-E-uMGHkJ.js +0 -3
- package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>{let r=Object.setPrototypeOf({},null);for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n&1||e(r,Symbol.toStringTag,{value:`Module`}),n&2?r:Object.preventExtensions(r)},n=/* @__PURE__ */ (e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});export{n,t};
|
package/dist/ac-text.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "./icon-
|
|
1
|
+
import "./icon-Bhz0c6Yf.js";
|
|
2
2
|
import { LitElement, PropertyValues } from "lit";
|
|
3
|
-
|
|
4
|
-
type AcTextItem = {
|
|
3
|
+
export type AcTextItem = {
|
|
5
4
|
readonly label: string;
|
|
6
5
|
readonly subLabel?: string;
|
|
7
6
|
readonly icon?: string;
|
|
@@ -12,16 +11,16 @@ type AcTextItem = {
|
|
|
12
11
|
/** Character positions within label that matched the query, used for CSS highlight rendering. */
|
|
13
12
|
readonly positions?: ReadonlySet<number>;
|
|
14
13
|
};
|
|
15
|
-
type AcTextSelectDetail = {
|
|
14
|
+
export type AcTextSelectDetail = {
|
|
16
15
|
readonly item: AcTextItem;
|
|
17
16
|
readonly query: string;
|
|
18
17
|
};
|
|
19
|
-
type AcTextSelectEvent = CustomEvent<AcTextSelectDetail>;
|
|
18
|
+
export type AcTextSelectEvent = CustomEvent<AcTextSelectDetail>;
|
|
20
19
|
/**
|
|
21
20
|
* Fired when the user commits a value — either by pressing Enter on typed text
|
|
22
21
|
* or by selecting an item from the autocomplete popup (keyboard or click).
|
|
23
22
|
*/
|
|
24
|
-
type AcTextChangeDetail = {
|
|
23
|
+
export type AcTextChangeDetail = {
|
|
25
24
|
/** The committed text value (typed text, or the selected item's label). */
|
|
26
25
|
readonly value: string;
|
|
27
26
|
/**
|
|
@@ -34,18 +33,18 @@ type AcTextChangeDetail = {
|
|
|
34
33
|
/** Whether the commit came from plain typed text or an autocomplete selection. */
|
|
35
34
|
readonly source: `text` | `autocomplete`;
|
|
36
35
|
};
|
|
37
|
-
type AcTextChangeEvent = CustomEvent<AcTextChangeDetail>;
|
|
36
|
+
export type AcTextChangeEvent = CustomEvent<AcTextChangeDetail>;
|
|
38
37
|
/**
|
|
39
38
|
* Fired on every edit of the text (each keystroke, paste, or Tab-accept),
|
|
40
39
|
* whether or not it is ever committed. Lets a consumer keep a half-typed value
|
|
41
40
|
* that is left with a blur, which `change` never reports.
|
|
42
41
|
*/
|
|
43
|
-
type AcTextValueDetail = {
|
|
42
|
+
export type AcTextValueDetail = {
|
|
44
43
|
/** The text now in the input. */
|
|
45
44
|
readonly value: string;
|
|
46
45
|
};
|
|
47
|
-
type AcTextValueEvent = CustomEvent<AcTextValueDetail>;
|
|
48
|
-
type AcTextCompletionProvider = (query: string, signal: AbortSignal) => Promise<AcTextItem[]> | AcTextItem[];
|
|
46
|
+
export type AcTextValueEvent = CustomEvent<AcTextValueDetail>;
|
|
47
|
+
export type AcTextCompletionProvider = (query: string, signal: AbortSignal) => Promise<AcTextItem[]> | AcTextItem[];
|
|
49
48
|
/**
|
|
50
49
|
* VS Code command-palette style autocomplete text input.
|
|
51
50
|
*
|
|
@@ -68,7 +67,7 @@ type AcTextCompletionProvider = (query: string, signal: AbortSignal) => Promise<
|
|
|
68
67
|
* el.addEventListener('change', e => console.log(e.detail));
|
|
69
68
|
* ```
|
|
70
69
|
*/
|
|
71
|
-
declare class AcTextElement extends LitElement {
|
|
70
|
+
export declare class AcTextElement extends LitElement {
|
|
72
71
|
#private;
|
|
73
72
|
private static _count;
|
|
74
73
|
private readonly _anchorName;
|
|
@@ -109,6 +108,4 @@ declare global {
|
|
|
109
108
|
interface HTMLElementTagNameMap {
|
|
110
109
|
'ixfx-ac-text': AcTextElement;
|
|
111
110
|
}
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
|
-
export { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, AcTextValueDetail, AcTextValueEvent };
|
|
111
|
+
}
|
package/dist/ac-text.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as clearHighlights, t as applyHighlights } from "./highlight-
|
|
2
|
-
import { t as TickledController } from "./tickled-controller-
|
|
3
|
-
import { n as tickledStyles } from "./tickled-styles-
|
|
4
|
-
import { t as themeFallbacks } from "./fallbacks-
|
|
5
|
-
import { t as popupSurfaceStyles } from "./popup-
|
|
6
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-
|
|
7
|
-
import "./icon-
|
|
1
|
+
import { r as clearHighlights, t as applyHighlights } from "./highlight-noLHFSKZ.js";
|
|
2
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
3
|
+
import { n as tickledStyles } from "./tickled-styles-pnieYweS.js";
|
|
4
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
5
|
+
import { t as popupSurfaceStyles } from "./popup-D8IxN1Eq.js";
|
|
6
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
7
|
+
import "./icon-DvTQuylG.js";
|
|
8
8
|
import { LitElement, css, html, nothing } from "lit";
|
|
9
9
|
import { property, state } from "lit/decorators.js";
|
|
10
|
-
|
|
10
|
+
// src/ac-text/ac-text.ts
|
|
11
11
|
var _AcTextElement;
|
|
12
12
|
const HIGHLIGHT_KEY = `ac-text-highlight`;
|
|
13
13
|
function makeLruCache(maxSize) {
|
|
@@ -523,5 +523,4 @@ __decorate([state()], AcTextElement.prototype, "_results", void 0);
|
|
|
523
523
|
__decorate([state()], AcTextElement.prototype, "_isOpen", void 0);
|
|
524
524
|
__decorate([state()], AcTextElement.prototype, "_isLoading", void 0);
|
|
525
525
|
AcTextElement = _AcTextElement = __decorate([safeCustomElement(`ixfx-ac-text`)], AcTextElement);
|
|
526
|
-
//#endregion
|
|
527
526
|
export { AcTextElement };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
1
|
+
import { r as IDataProvider } from "./data-provider-Cq_ylpET.js";
|
|
2
|
+
import "./icon-Bhz0c6Yf.js";
|
|
3
3
|
import { LitElement, PropertyValues } from "lit";
|
|
4
|
-
//#region src/ac-token/types.d.ts
|
|
5
4
|
type AcTokenItem = {
|
|
6
5
|
readonly label: string;
|
|
7
6
|
readonly subLabel?: string;
|
|
@@ -38,8 +37,6 @@ interface AcTokenElementEventMap {
|
|
|
38
37
|
'ac-token-add': AcTokenAddEvent;
|
|
39
38
|
'ac-token-remove': AcTokenRemoveEvent;
|
|
40
39
|
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/ac-token/ac-token.d.ts
|
|
43
40
|
/**
|
|
44
41
|
* Token/tag input with per-token autocomplete suggestions.
|
|
45
42
|
*
|
|
@@ -116,5 +113,4 @@ declare global {
|
|
|
116
113
|
interface AcTokenElement {
|
|
117
114
|
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);
|
|
118
115
|
}
|
|
119
|
-
//#endregion
|
|
120
116
|
export { AcTokenItem as a, AcTokenStyle as c, AcTokensChangeDetail as d, AcTokensChangeEvent as f, AcTokenElementEventMap as i, AcTokenStyleFn as l, AcTokenAddDetail as n, AcTokenRemoveDetail as o, AcTokenAddEvent as r, AcTokenRemoveEvent as s, AcTokenElement as t, AcTokenizerFn as u };
|
package/dist/ac-token.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AcTokenItem, c as AcTokenStyle, d as AcTokensChangeDetail, f as AcTokensChangeEvent, i as AcTokenElementEventMap, l as AcTokenStyleFn, n as AcTokenAddDetail, o as AcTokenRemoveDetail, r as AcTokenAddEvent, s as AcTokenRemoveEvent, t as AcTokenElement, u as AcTokenizerFn } from "./ac-token-
|
|
1
|
+
import { a as AcTokenItem, c as AcTokenStyle, d as AcTokensChangeDetail, f as AcTokensChangeEvent, i as AcTokenElementEventMap, l as AcTokenStyleFn, n as AcTokenAddDetail, o as AcTokenRemoveDetail, r as AcTokenAddEvent, s as AcTokenRemoveEvent, t as AcTokenElement, u as AcTokenizerFn } from "./ac-token-CTBa93hF.js";
|
|
2
2
|
export { type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenStyle, type AcTokenStyleFn, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent };
|
package/dist/ac-token.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import "./
|
|
6
|
-
import { t as
|
|
7
|
-
import
|
|
1
|
+
import { t as DataController } from "./data-controller-q-rXRMzJ.js";
|
|
2
|
+
import { h as createAcCompletionProvider } from "./incr-search-C5114RxZ.js";
|
|
3
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
4
|
+
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
|
|
5
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
6
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
7
|
+
import "./icon-DvTQuylG.js";
|
|
8
8
|
import { LitElement, css, html, nothing } from "lit";
|
|
9
9
|
import { property, state } from "lit/decorators.js";
|
|
10
10
|
import { styleMap } from "lit/directives/style-map.js";
|
|
11
|
-
|
|
11
|
+
// src/ac-token/ac-token.ts
|
|
12
12
|
const DEFAULT_TOKENIZER = (text) => text.split(/[\s,;]+/);
|
|
13
13
|
function makeLruCache(maxSize) {
|
|
14
14
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -649,5 +649,4 @@ __decorate([state()], AcTokenElement.prototype, "_draft", void 0);
|
|
|
649
649
|
__decorate([state()], AcTokenElement.prototype, "_selectedTokenIndex", void 0);
|
|
650
650
|
__decorate([state()], AcTokenElement.prototype, "_isOpen", void 0);
|
|
651
651
|
AcTokenElement = __decorate([safeCustomElement(`ixfx-ac-token`)], AcTokenElement);
|
|
652
|
-
//#endregion
|
|
653
652
|
export { AcTokenElement };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
|
|
2
|
-
import { i as hasIcon } from "./registry-BEtb8_wB.js";
|
|
3
1
|
import "./icons.js";
|
|
4
|
-
import {
|
|
2
|
+
import { i as hasIcon } from "./registry-DcF0fO7l.js";
|
|
3
|
+
import { t as prominenceStyles } from "./prominence-BOOQVWF-.js";
|
|
4
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
5
5
|
import { LitElement, css, html, nothing } from "lit";
|
|
6
6
|
import { property } from "lit/decorators.js";
|
|
7
7
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
8
|
-
|
|
8
|
+
// src/button/button-styles.ts
|
|
9
9
|
const buttonStyles = css`
|
|
10
10
|
:host {
|
|
11
11
|
display: inline-flex;
|
|
@@ -111,8 +111,7 @@ const buttonStyles = css`
|
|
|
111
111
|
outline-offset: var(--ixfx-button-toggle-outline-offset, 2px);
|
|
112
112
|
}
|
|
113
113
|
`;
|
|
114
|
-
|
|
115
|
-
//#region src/button/button.ts
|
|
114
|
+
// src/button/button.ts
|
|
116
115
|
let ButtonElement = class ButtonElement extends LitElement {
|
|
117
116
|
constructor(..._args) {
|
|
118
117
|
super(..._args);
|
|
@@ -200,5 +199,4 @@ __decorate([property({
|
|
|
200
199
|
reflect: true
|
|
201
200
|
})], ButtonElement.prototype, "type", void 0);
|
|
202
201
|
ButtonElement = __decorate([safeCustomElement(`ixfx-button`)], ButtonElement);
|
|
203
|
-
//#endregion
|
|
204
202
|
export { buttonStyles as n, ButtonElement as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, nothing } from "lit";
|
|
2
|
-
//#region src/button/types.d.ts
|
|
3
2
|
type SplitButtonSelectDetail = {
|
|
4
3
|
readonly value: string;
|
|
5
4
|
readonly label: string;
|
|
@@ -21,8 +20,6 @@ type ButtonToggleDetail = {
|
|
|
21
20
|
readonly value: boolean;
|
|
22
21
|
};
|
|
23
22
|
type ButtonToggleEvent = CustomEvent<ButtonToggleDetail>;
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/button/button.d.ts
|
|
26
23
|
declare class ButtonElement extends LitElement {
|
|
27
24
|
#private;
|
|
28
25
|
disabled: boolean;
|
|
@@ -65,5 +62,4 @@ interface ButtonElementEventMap {
|
|
|
65
62
|
interface ButtonElement {
|
|
66
63
|
addEventListener: (<K extends keyof ButtonElementEventMap>(type: K, listener: (this: ButtonElement, event: ButtonElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
67
64
|
}
|
|
68
|
-
//#endregion
|
|
69
65
|
export { ItemsProvider as a, SplitButtonSelectEvent as c, ButtonToggleEvent as i, SwitcherItem as l, ButtonElementEventMap as n, PopupItem as o, ButtonToggleDetail as r, SplitButtonSelectDetail as s, ButtonElement as t };
|
package/dist/button.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonElementEventMap, t as ButtonElement } from "./button-
|
|
1
|
+
import { n as ButtonElementEventMap, t as ButtonElement } from "./button-DyJyyCsb.js";
|
|
2
2
|
export { ButtonElement, ButtonElementEventMap };
|
package/dist/button.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ButtonElement };
|
|
1
|
+
export { t as ButtonElement } from "./button-BOX1dfyd.js";
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -1,6 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <x-checkbox> — Custom checkbox with diagonal line indicator.
|
|
3
|
+
*
|
|
4
|
+
* A brutalist checkbox component featuring a thick diagonal line
|
|
5
|
+
* (top-left to bottom-right) when checked. Uses shadow DOM with
|
|
6
|
+
* CSS variables for appearance customization.
|
|
7
|
+
*
|
|
8
|
+
* Properties
|
|
9
|
+
* checked – checkbox state (default: false)
|
|
10
|
+
* disabled – disabled state (default: false)
|
|
11
|
+
* readonly – display-only: no pointer/keyboard interaction, full opacity (default: false)
|
|
12
|
+
* label – label text
|
|
13
|
+
* name – form field name
|
|
14
|
+
* value – form field value
|
|
15
|
+
*
|
|
16
|
+
* Events
|
|
17
|
+
* change – CustomEvent { detail: { checked: boolean } }, bubbles + composed
|
|
18
|
+
*
|
|
19
|
+
* CSS Variables
|
|
20
|
+
* --box-size – box size (default: 18px)
|
|
21
|
+
* --box-border-width – border width (default: 2px)
|
|
22
|
+
* --box-border-color – border color
|
|
23
|
+
* --box-bg-unchecked – background when unchecked
|
|
24
|
+
* --box-bg-checked – background when checked
|
|
25
|
+
* --check-line-color – diagonal line color
|
|
26
|
+
* --check-line-width – diagonal line thickness (default: 6px)
|
|
27
|
+
* --box-opacity-unchecked – opacity when unchecked (default: 0.5)
|
|
28
|
+
* --box-opacity-checked – opacity when checked (default: 1)
|
|
29
|
+
* --box-opacity-hover – opacity on hover (default: 1)
|
|
30
|
+
* --box-opacity-disabled – opacity when disabled (default: 0.3)
|
|
31
|
+
* --box-label-gap – gap between box and label (default: 8px)
|
|
32
|
+
* --label-font-size – label font size (default: 14px)
|
|
33
|
+
* --label-opacity – label opacity (default: 1)
|
|
34
|
+
* --label-opacity-unchecked – label opacity when unchecked (default: uses --label-opacity)
|
|
35
|
+
* --transition-duration – animation duration (default: 0.2s)
|
|
36
|
+
*/
|
|
1
37
|
import { LitElement, html } from "lit";
|
|
2
|
-
|
|
3
|
-
declare class Checkbox extends LitElement {
|
|
38
|
+
export declare class Checkbox extends LitElement {
|
|
4
39
|
#private;
|
|
5
40
|
static styles: import("lit").CSSResult[];
|
|
6
41
|
checked: boolean;
|
|
@@ -14,20 +49,18 @@ declare class Checkbox extends LitElement {
|
|
|
14
49
|
focus(options?: FocusOptions): void;
|
|
15
50
|
render(): ReturnType<typeof html>;
|
|
16
51
|
}
|
|
17
|
-
type CheckboxChangeDetail = {
|
|
52
|
+
export type CheckboxChangeDetail = {
|
|
18
53
|
readonly checked: boolean;
|
|
19
54
|
};
|
|
20
|
-
type CheckboxChangeEvent = CustomEvent<CheckboxChangeDetail>;
|
|
55
|
+
export type CheckboxChangeEvent = CustomEvent<CheckboxChangeDetail>;
|
|
21
56
|
declare global {
|
|
22
57
|
interface HTMLElementTagNameMap {
|
|
23
58
|
'ixfx-checkbox': Checkbox;
|
|
24
59
|
}
|
|
25
60
|
}
|
|
26
|
-
interface CheckboxEventMap {
|
|
61
|
+
export interface CheckboxEventMap {
|
|
27
62
|
change: CheckboxChangeEvent;
|
|
28
63
|
}
|
|
29
|
-
interface Checkbox {
|
|
64
|
+
export interface Checkbox {
|
|
30
65
|
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);
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap };
|
|
66
|
+
}
|
package/dist/checkbox.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as themeFallbacks } from "./fallbacks-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
1
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
2
|
+
import { t as prominenceStyles } from "./prominence-BOOQVWF-.js";
|
|
3
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
4
4
|
import { LitElement, css, html, nothing } from "lit";
|
|
5
5
|
import { property } from "lit/decorators.js";
|
|
6
|
-
|
|
6
|
+
// src/checkbox/checkbox.ts
|
|
7
7
|
/**
|
|
8
8
|
* <x-checkbox> — Custom checkbox with diagonal line indicator.
|
|
9
9
|
*
|
|
@@ -274,5 +274,4 @@ __decorate([property({ type: String })], Checkbox.prototype, "label", void 0);
|
|
|
274
274
|
__decorate([property({ type: String })], Checkbox.prototype, "name", void 0);
|
|
275
275
|
__decorate([property({ type: String })], Checkbox.prototype, "value", void 0);
|
|
276
276
|
Checkbox = __decorate([safeCustomElement(`ixfx-checkbox`)], Checkbox);
|
|
277
|
-
//#endregion
|
|
278
277
|
export { Checkbox };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as TickledController } from "./tickled-controller-
|
|
2
|
-
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { t as handleStyles } from "./handle-
|
|
6
|
-
import "./
|
|
1
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
2
|
+
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
|
|
3
|
+
import "./interaction-8Kbbf6xN.js";
|
|
4
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
5
|
+
import { t as handleStyles } from "./handle-BVUWv97X.js";
|
|
6
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
7
7
|
import "./checkbox.js";
|
|
8
8
|
import { LitElement, css, html, nothing } from "lit";
|
|
9
9
|
import { property, state } from "lit/decorators.js";
|
|
10
10
|
import { repeat } from "lit/directives/repeat.js";
|
|
11
|
-
|
|
11
|
+
// src/checked-select/logic.ts
|
|
12
12
|
function byLabel(a, b) {
|
|
13
13
|
return a.label.localeCompare(b.label, void 0, { sensitivity: `base` });
|
|
14
14
|
}
|
|
@@ -68,8 +68,7 @@ function clampSize(size, min, max) {
|
|
|
68
68
|
height: Math.min(Math.max(size.height, min.height), Math.max(max.height, min.height))
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
//#region src/checked-select/checked-select.ts
|
|
71
|
+
// src/checked-select/checked-select.ts
|
|
73
72
|
let instanceCounter = 0;
|
|
74
73
|
let CheckedSelect = class CheckedSelect extends LitElement {
|
|
75
74
|
constructor(..._args) {
|
|
@@ -598,5 +597,4 @@ __decorate([state()], CheckedSelect.prototype, "_draft", void 0);
|
|
|
598
597
|
__decorate([state()], CheckedSelect.prototype, "_order", void 0);
|
|
599
598
|
__decorate([state()], CheckedSelect.prototype, "_size", void 0);
|
|
600
599
|
CheckedSelect = __decorate([safeCustomElement(`ixfx-checked-select`)], CheckedSelect);
|
|
601
|
-
//#endregion
|
|
602
600
|
export { CheckedSelect as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "./checkbox.js";
|
|
2
2
|
import { LitElement, PropertyValues } from "lit";
|
|
3
|
-
//#region src/checked-select/types.d.ts
|
|
4
3
|
type CheckState = `true` | `false` | `indeterminate`;
|
|
5
4
|
type CheckedSelectItem = {
|
|
6
5
|
readonly value: string;
|
|
@@ -9,8 +8,6 @@ type CheckedSelectItem = {
|
|
|
9
8
|
};
|
|
10
9
|
type ItemDisplay = `checkbox` | `text`;
|
|
11
10
|
type ItemOrientation = `horizontal` | `vertical`;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/checked-select/checked-select.d.ts
|
|
14
11
|
declare class CheckedSelect extends LitElement {
|
|
15
12
|
#private;
|
|
16
13
|
static styles: import("lit").CSSResult[];
|
|
@@ -54,5 +51,4 @@ interface CheckedSelectEventMap {
|
|
|
54
51
|
interface CheckedSelect {
|
|
55
52
|
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);
|
|
56
53
|
}
|
|
57
|
-
//#endregion
|
|
58
54
|
export { CheckState as a, ItemOrientation as c, CheckedSelectEventMap as i, CheckedSelectChangeDetail as n, CheckedSelectItem as o, CheckedSelectChangeEvent as r, ItemDisplay as s, CheckedSelect as t };
|
package/dist/checked-select.d.ts
CHANGED
|
@@ -1,2 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <ixfx-checked-select> — a SELECT-like multi-choice control with tri-state items.
|
|
3
|
+
*
|
|
4
|
+
* At rest it shows the checked and indeterminate items as a flow of display-only
|
|
5
|
+
* `ixfx-checkbox`. Opening it shows a scrollable, resizable popup of every item
|
|
6
|
+
* (checked first, sorted once at open time). Edits are made to a draft:
|
|
7
|
+
* Enter (or clicking the resting area again) commits, Escape or clicking outside
|
|
8
|
+
* cancels.
|
|
9
|
+
*
|
|
10
|
+
* Properties
|
|
11
|
+
* items – CheckedSelectItem[] ({ value, label, checked: 'true'|'false'|'indeterminate' })
|
|
12
|
+
* multiline – let the resting flow wrap (default: false)
|
|
13
|
+
* items-inert – resting checkboxes are display-only; clicking them opens the popup
|
|
14
|
+
* orientation – 'horizontal' (default) flows items in a row; 'vertical' stacks one per row
|
|
15
|
+
* (vertical ignores multiline; text mode then lists one entry per line, no commas)
|
|
16
|
+
* item-display – 'checkbox' (default) or 'text' (comma-separated labels, then '(varies)' if any are indeterminate)
|
|
17
|
+
* placeholder – shown when nothing is checked
|
|
18
|
+
* disabled – prevents opening
|
|
19
|
+
*
|
|
20
|
+
* Events
|
|
21
|
+
* change – CustomEvent { detail: { items, changed } }, bubbles + composed.
|
|
22
|
+
* Fired once per commit, and only if something changed.
|
|
23
|
+
*
|
|
24
|
+
* CSS Variables
|
|
25
|
+
* --checked-select-gap – gap between resting checkboxes
|
|
26
|
+
* --checked-select-padding – padding of the resting area
|
|
27
|
+
* --checked-select-caret-width – width of the always-visible caret (default: 2rem)
|
|
28
|
+
* --checked-select-rest-max-height – resting height before it scrolls when multiline (default: 8rem)
|
|
29
|
+
* --checked-select-max-height – popup height before it scrolls (default: 16rem)
|
|
30
|
+
* --checked-select-min-width – minimum popup width when resized (default: 8rem)
|
|
31
|
+
* --checked-select-min-height – minimum popup height when resized (default: 5rem)
|
|
32
|
+
*/
|
|
33
|
+
import { a as CheckState, c as ItemOrientation, i as CheckedSelectEventMap, n as CheckedSelectChangeDetail, o as CheckedSelectItem, r as CheckedSelectChangeEvent, s as ItemDisplay, t as CheckedSelect } from "./checked-select-CNv5zNvR.js";
|
|
2
34
|
export { type CheckState, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, type ItemDisplay, type ItemOrientation };
|
package/dist/checked-select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
1
|
+
import { n as ICON_CHECK } from "./defaults-_6ELsqLb.js";
|
|
2
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
3
|
+
import { t as popupSurfaceStyles } from "./popup-D8IxN1Eq.js";
|
|
4
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
5
5
|
import "./labelled-range-input.js";
|
|
6
6
|
import { LitElement, css, html, nothing } from "lit";
|
|
7
7
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -26,8 +26,7 @@ function oklchToCss(l, c, h, a = 1) {
|
|
|
26
26
|
if (a < 1) return `oklch(${l} ${c} ${h} / ${a})`;
|
|
27
27
|
return `oklch(${l} ${c} ${h})`;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
//#region src/colour-picker/colour-picker.ts
|
|
29
|
+
// src/colour-picker/colour-picker.ts
|
|
31
30
|
let ColourPicker = class ColourPicker extends LitElement {
|
|
32
31
|
constructor(..._args) {
|
|
33
32
|
super(..._args);
|
|
@@ -547,8 +546,7 @@ __decorate([query(`#slider-h`)], ColourPicker.prototype, "_sliderH", void 0);
|
|
|
547
546
|
__decorate([query(`#slider-a`)], ColourPicker.prototype, "_sliderA", void 0);
|
|
548
547
|
__decorate([query(`.preview`)], ColourPicker.prototype, "_previewEl", void 0);
|
|
549
548
|
ColourPicker = __decorate([safeCustomElement(`ixfx-colour-picker`)], ColourPicker);
|
|
550
|
-
|
|
551
|
-
//#region src/colour-picker/colour-picker-popup.ts
|
|
549
|
+
// src/colour-picker/colour-picker-popup.ts
|
|
552
550
|
let _instanceCounter = 0;
|
|
553
551
|
const PICKER_SIZES = {
|
|
554
552
|
small: {
|
|
@@ -994,5 +992,4 @@ __decorate([state()], ColourPickerPopup.prototype, "_hasAction", void 0);
|
|
|
994
992
|
__decorate([query(`.popup`)], ColourPickerPopup.prototype, "_popupEl", void 0);
|
|
995
993
|
__decorate([query(`ixfx-colour-picker`)], ColourPickerPopup.prototype, "_pickerEl", void 0);
|
|
996
994
|
ColourPickerPopup = __decorate([safeCustomElement(`ixfx-colour-picker-popup`)], ColourPickerPopup);
|
|
997
|
-
//#endregion
|
|
998
995
|
export { ColourPicker as n, ColourPickerPopup as t };
|
package/dist/colour-picker.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ColourPickerInputEvent, i as ColourPickerEventDetail, n as ColourPicker, o as OklchValue, r as ColourPickerChangeEvent, t as ColourPickerPopup } from "./index-
|
|
1
|
+
import { a as ColourPickerInputEvent, i as ColourPickerEventDetail, n as ColourPicker, o as OklchValue, r as ColourPickerChangeEvent, t as ColourPickerPopup } from "./index-PIrgX1bP.js";
|
|
2
2
|
export { ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, type OklchValue };
|
package/dist/colour-picker.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ColourPicker, ColourPickerPopup };
|
|
1
|
+
export { n as ColourPicker, t as ColourPickerPopup } from "./colour-picker-D8g-bTSF.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as TickledController } from "./tickled-controller-
|
|
2
|
-
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
import { t as scrollFadeStyles } from "./scroll-fade-
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
9
|
-
import { t as ViewStateController } from "./view-state-controller-
|
|
1
|
+
import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
|
|
2
|
+
import { n as tickledStyles, t as tickledItemStyles } from "./tickled-styles-pnieYweS.js";
|
|
3
|
+
import { t as collectDataResult } from "./data-provider-C6ZNAcaT.js";
|
|
4
|
+
import "./interaction-8Kbbf6xN.js";
|
|
5
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
6
|
+
import { t as scrollFadeStyles } from "./scroll-fade-DH8OXSqL.js";
|
|
7
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
8
|
+
import "./menu-item-BSxhlWnW.js";
|
|
9
|
+
import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
|
|
10
10
|
import "./narrowed-text.js";
|
|
11
11
|
import { LitElement, css, html, nothing } from "lit";
|
|
12
12
|
import { property, state } from "lit/decorators.js";
|
|
13
|
-
|
|
13
|
+
// src/crumbs/crumb-view-state.ts
|
|
14
14
|
/** Walk `keys` down from `root` as far as the loaded tree allows. */
|
|
15
15
|
function resolveKeyPath(root, keys) {
|
|
16
16
|
const nodes = [root];
|
|
@@ -46,8 +46,7 @@ function keyPathTo(root, target) {
|
|
|
46
46
|
if (sub) return [child.item.key, ...sub];
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
//#region src/crumbs/crumb-navigation.ts
|
|
49
|
+
// src/crumbs/crumb-navigation.ts
|
|
51
50
|
/** Menu / suggestion order: by label, without mutating the tree's own order. */
|
|
52
51
|
function sortNodesByLabel(nodes) {
|
|
53
52
|
return [...nodes].sort((a, b) => (a.item.label ?? ``).localeCompare(b.item.label ?? ``));
|
|
@@ -1286,5 +1285,4 @@ __decorate([property({
|
|
|
1286
1285
|
})], CrumbNavigationElement.prototype, "withUp", void 0);
|
|
1287
1286
|
__decorate([property({ attribute: false })], CrumbNavigationElement.prototype, "restoreLoads", void 0);
|
|
1288
1287
|
CrumbNavigationElement = __decorate([safeCustomElement(`ixfx-crumb-navigation`)], CrumbNavigationElement);
|
|
1289
|
-
//#endregion
|
|
1290
1288
|
export { resolveKeyPath as n, CrumbNavigationElement as t };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { M as TreeDataModel, a as TreeComponent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-
|
|
2
|
-
import { n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-
|
|
3
|
-
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./menu-item-
|
|
6
|
-
import "./index-
|
|
1
|
+
import { M as TreeDataModel, a as TreeComponent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DNuzfo6R.js";
|
|
2
|
+
import { n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
|
|
3
|
+
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
|
|
4
|
+
import "./index-Cdcek1Oj.js";
|
|
5
|
+
import "./menu-item-DJhaWy9z.js";
|
|
6
|
+
import "./index-DzocgUef.js";
|
|
7
7
|
import { LitElement, PropertyValues } from "lit";
|
|
8
|
-
//#region src/crumbs/crumb-view-state.d.ts
|
|
9
8
|
/**
|
|
10
9
|
* Pure view-state helpers for `ixfx-crumb-navigation` (also used by
|
|
11
10
|
* `ixfx-flat-list`, whose location is the same kind of key path).
|
|
@@ -20,8 +19,6 @@ type CrumbNavigationViewState = ViewStateBase & {
|
|
|
20
19
|
/** Keys from the root (excluded) down to the current location. `[]` = the root. */
|
|
21
20
|
readonly path?: readonly string[];
|
|
22
21
|
};
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/crumbs/crumb-navigation.d.ts
|
|
25
22
|
/** @deprecated Use TreeSelectDetail from src/common/tree-component.ts */
|
|
26
23
|
type CrumbNavigationChangeDetail = {
|
|
27
24
|
readonly selected: TreeNode;
|
|
@@ -143,5 +140,4 @@ interface CrumbNavigationElementEventMap extends TreeComponentEventMap {
|
|
|
143
140
|
interface CrumbNavigationElement {
|
|
144
141
|
addEventListener: (<K extends keyof CrumbNavigationElementEventMap>(type: K, listener: (this: CrumbNavigationElement, event: CrumbNavigationElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
145
142
|
}
|
|
146
|
-
//#endregion
|
|
147
143
|
export { CrumbNavigationExpandDetail as a, CrumbNavigationItemClickEvent as c, CrumbNavigationElementEventMap as i, CrumbNavigationViewState as l, CrumbNavigationChangeEvent as n, CrumbNavigationExpandEvent as o, CrumbNavigationElement as r, CrumbNavigationItemClickDetail as s, CrumbNavigationChangeDetail as t };
|
package/dist/crumbs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CrumbNavigationExpandDetail, c as CrumbNavigationItemClickEvent, i as CrumbNavigationElementEventMap, l as CrumbNavigationViewState, n as CrumbNavigationChangeEvent, o as CrumbNavigationExpandEvent, r as CrumbNavigationElement, s as CrumbNavigationItemClickDetail, t as CrumbNavigationChangeDetail } from "./crumb-navigation-
|
|
1
|
+
import { a as CrumbNavigationExpandDetail, c as CrumbNavigationItemClickEvent, i as CrumbNavigationElementEventMap, l as CrumbNavigationViewState, n as CrumbNavigationChangeEvent, o as CrumbNavigationExpandEvent, r as CrumbNavigationElement, s as CrumbNavigationItemClickDetail, t as CrumbNavigationChangeDetail } from "./crumb-navigation-Tm4fnsvN.js";
|
|
2
2
|
export { CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, type CrumbNavigationViewState };
|
package/dist/crumbs.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CrumbNavigationElement };
|
|
1
|
+
export { t as CrumbNavigationElement } from "./crumb-navigation-D7dAC0H-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/common/data-controller.ts
|
|
2
2
|
function isAsyncIterable(v) {
|
|
3
3
|
return typeof v === `object` && v !== null && Symbol.asyncIterator in v;
|
|
4
4
|
}
|
|
@@ -165,5 +165,4 @@ var DataController = class {
|
|
|
165
165
|
this.#host.requestUpdate();
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
|
-
//#endregion
|
|
169
168
|
export { DataController as t };
|
package/dist/data-display.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
type FormattingOptions = {
|
|
2
|
+
export type RendererStyle = `led` | `plot` | `plot-xy` | `plot-heat` | `plot-histogram` | `time-elapsed` | `hide`;
|
|
3
|
+
export type ConfigEntry = readonly [path: string, style: RendererStyle, options?: Record<string, unknown>];
|
|
4
|
+
export type FormattingOptions = {
|
|
6
5
|
readonly precision?: number;
|
|
7
6
|
readonly roundNumbers?: number;
|
|
8
7
|
};
|
|
9
|
-
declare class DataDisplayComponent extends LitElement {
|
|
8
|
+
export declare class DataDisplayComponent extends LitElement {
|
|
10
9
|
#private;
|
|
11
10
|
static styles: import("lit").CSSResult[];
|
|
12
11
|
automap: boolean;
|
|
@@ -24,6 +23,4 @@ declare global {
|
|
|
24
23
|
interface HTMLElementTagNameMap {
|
|
25
24
|
'ixfx-data-display': DataDisplayComponent;
|
|
26
25
|
}
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { ConfigEntry, DataDisplayComponent, FormattingOptions, RendererStyle };
|
|
26
|
+
}
|
package/dist/data-display.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as themeFallbacks } from "./fallbacks-
|
|
2
|
-
import { n as safeCustomElement, t as __decorate } from "./decorate-
|
|
1
|
+
import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
|
|
2
|
+
import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
|
|
3
3
|
import { LitElement, css } from "lit";
|
|
4
4
|
import { property } from "lit/decorators.js";
|
|
5
5
|
import { rangeStream, round } from "@ixfx/numbers";
|
|
6
|
-
|
|
6
|
+
// src/data-display/data-display.ts
|
|
7
7
|
let DataDisplayComponent = class DataDisplayComponent extends LitElement {
|
|
8
8
|
static {
|
|
9
9
|
this.styles = [themeFallbacks, css`
|
|
@@ -323,5 +323,4 @@ let DataDisplayComponent = class DataDisplayComponent extends LitElement {
|
|
|
323
323
|
};
|
|
324
324
|
__decorate([property({ type: Boolean })], DataDisplayComponent.prototype, "automap", void 0);
|
|
325
325
|
DataDisplayComponent = __decorate([safeCustomElement(`ixfx-data-display`)], DataDisplayComponent);
|
|
326
|
-
//#endregion
|
|
327
326
|
export { DataDisplayComponent };
|