@fusion.dev/helix-core 0.223.1 → 0.225.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1 -1
- package/dist/controllers/reorder-controller/reorder-controller.js +2 -3
- package/dist/events/before-activate.d.ts +3 -1
- package/dist/events/before-change.d.ts +2 -0
- package/dist/events/before-check.d.ts +31 -0
- package/dist/events/before-check.js +11 -0
- package/dist/events/before-close.d.ts +5 -1
- package/dist/events/before-filter.d.ts +17 -0
- package/dist/events/before-filter.js +11 -0
- package/dist/events/before-listen.d.ts +5 -1
- package/dist/events/before-navigate.d.ts +16 -0
- package/dist/events/before-navigate.js +11 -0
- package/dist/events/before-open.d.ts +2 -0
- package/dist/events/before-pin.d.ts +5 -1
- package/dist/events/before-reorder.d.ts +2 -0
- package/dist/events/before-resize.d.ts +5 -1
- package/dist/events/before-select.d.ts +19 -0
- package/dist/events/before-select.js +11 -0
- package/dist/events/before-sort.d.ts +19 -0
- package/dist/events/before-sort.js +11 -0
- package/dist/events/check.d.ts +15 -0
- package/dist/events/{caret.js → check.js} +3 -3
- package/dist/events/details.d.ts +11 -514
- package/dist/events/events.d.ts +27 -170
- package/dist/events/events.js +13 -165
- package/dist/events/expand.d.ts +2 -1
- package/dist/events/filter.d.ts +3 -4
- package/dist/events/filter.js +1 -1
- package/dist/events/found.d.ts +1 -1
- package/dist/events/names.d.ts +5 -16
- package/dist/events/names.js +11 -15
- package/dist/events/navigate.d.ts +3 -5
- package/dist/events/navigate.js +1 -1
- package/dist/events/reorder.d.ts +12 -13
- package/dist/events/reorder.js +1 -1
- package/dist/events/select.d.ts +4 -4
- package/dist/events/select.js +1 -1
- package/dist/events/sort.d.ts +3 -9
- package/dist/events/sort.js +1 -1
- package/dist/helix-element/helix-element.d.ts +31 -14
- package/dist/helix-element/helix-element.js +25 -3
- package/dist/helix-element/react-audit-off.d.ts +3 -1
- package/dist/helix-element/react-audit-off.js +1 -0
- package/dist/helix-element/react-audit.d.ts +22 -0
- package/dist/helix-element/react-audit.js +18 -0
- package/dist/helix-element/react-bridge.d.ts +34 -1
- package/dist/helix-element/react-bridge.js +33 -9
- package/dist/helix-element/react-root.d.ts +2 -0
- package/dist/helix-element/react-root.js +9 -0
- package/dist/helix-form-element/helix-form-element-base.js +12 -12
- package/dist/helix-form-element/helix-form-element.js +4 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/mixins/mixin-controller-checked/mixin-controller-checked.d.ts +3 -3
- package/dist/mixins/mixin-controller-checked/mixin-controller-checked.js +2 -2
- package/dist/mixins/mixin-field/mixin-field.js +9 -8
- package/dist/mixins/mixin-picker-feedback/mixin-picker-feedback.js +3 -2
- package/dist/mixins/mixin-picker-field/mixin-picker-field.js +4 -3
- package/dist/mixins/mixin-segmented-field/mixin-segmented-field.js +5 -4
- package/dist/mixins/mixin-selectable-item/mixin-selectable-item.d.ts +1 -1
- package/dist/mixins/mixin-selectable-item/mixin-selectable-item.js +2 -2
- package/dist/utils/audit-children/audit-children.d.ts +1 -1
- package/dist/utils/audit-name/audit-name.js +12 -1
- package/dist/utils/controls/controls.js +6 -1
- package/dist/utils/draw-icon/draw-icon.d.ts +1 -1
- package/dist/utils/follow-link/follow-link.d.ts +1 -1
- package/dist/utils/report-runtime/report-runtime.d.ts +5 -0
- package/dist/utils/tell-disclosure/tell-disclosure.d.ts +6 -3
- package/dist/utils/ticker/ticker.d.ts +5 -0
- package/dist/version.d.ts +4 -5
- package/dist/version.js +1 -1
- package/package.json +6 -6
- package/dist/events/action.d.ts +0 -12
- package/dist/events/action.js +0 -6
- package/dist/events/aura-fallback.d.ts +0 -12
- package/dist/events/aura-fallback.js +0 -11
- package/dist/events/band.d.ts +0 -13
- package/dist/events/band.js +0 -11
- package/dist/events/before-collapse.d.ts +0 -6
- package/dist/events/before-collapse.js +0 -11
- package/dist/events/before-edit.d.ts +0 -6
- package/dist/events/before-edit.js +0 -11
- package/dist/events/before-move.d.ts +0 -17
- package/dist/events/before-move.js +0 -11
- package/dist/events/before-panel-resize.d.ts +0 -13
- package/dist/events/before-panel-resize.js +0 -11
- package/dist/events/before-paste.d.ts +0 -13
- package/dist/events/before-paste.js +0 -11
- package/dist/events/before-reconnect.d.ts +0 -14
- package/dist/events/before-reconnect.js +0 -11
- package/dist/events/before-relabel.d.ts +0 -15
- package/dist/events/before-relabel.js +0 -11
- package/dist/events/before-split.d.ts +0 -12
- package/dist/events/before-split.js +0 -11
- package/dist/events/before-toggle.d.ts +0 -23
- package/dist/events/before-toggle.js +0 -11
- package/dist/events/canvas-edit.d.ts +0 -16
- package/dist/events/canvas-edit.js +0 -11
- package/dist/events/canvas-pan.d.ts +0 -13
- package/dist/events/canvas-pan.js +0 -11
- package/dist/events/canvas-view.d.ts +0 -14
- package/dist/events/canvas-view.js +0 -11
- package/dist/events/canvas-zoom.d.ts +0 -6
- package/dist/events/canvas-zoom.js +0 -11
- package/dist/events/caret.d.ts +0 -17
- package/dist/events/collapse.d.ts +0 -12
- package/dist/events/collapse.js +0 -11
- package/dist/events/connect.d.ts +0 -14
- package/dist/events/connect.js +0 -11
- package/dist/events/console.d.ts +0 -13
- package/dist/events/console.js +0 -11
- package/dist/events/create.d.ts +0 -18
- package/dist/events/create.js +0 -11
- package/dist/events/device-button.d.ts +0 -14
- package/dist/events/device-button.js +0 -11
- package/dist/events/device-key.d.ts +0 -16
- package/dist/events/device-key.js +0 -11
- package/dist/events/device-screenshot.d.ts +0 -13
- package/dist/events/device-screenshot.js +0 -10
- package/dist/events/device-scroll.d.ts +0 -14
- package/dist/events/device-scroll.js +0 -11
- package/dist/events/device-swipe.d.ts +0 -15
- package/dist/events/device-swipe.js +0 -11
- package/dist/events/device-tap.d.ts +0 -13
- package/dist/events/device-tap.js +0 -11
- package/dist/events/device-text.d.ts +0 -13
- package/dist/events/device-text.js +0 -11
- package/dist/events/device-touch.d.ts +0 -15
- package/dist/events/device-touch.js +0 -11
- package/dist/events/edit.d.ts +0 -12
- package/dist/events/edit.js +0 -11
- package/dist/events/end.d.ts +0 -9
- package/dist/events/end.js +0 -6
- package/dist/events/facet.d.ts +0 -17
- package/dist/events/facet.js +0 -11
- package/dist/events/filtered.d.ts +0 -12
- package/dist/events/filtered.js +0 -11
- package/dist/events/graph-filter.d.ts +0 -10
- package/dist/events/graph-filter.js +0 -11
- package/dist/events/graph-layout.d.ts +0 -10
- package/dist/events/graph-layout.js +0 -11
- package/dist/events/graph-pan.d.ts +0 -9
- package/dist/events/graph-pan.js +0 -11
- package/dist/events/graph-part-change.d.ts +0 -10
- package/dist/events/graph-part-change.js +0 -11
- package/dist/events/graph-ready.d.ts +0 -8
- package/dist/events/graph-ready.js +0 -6
- package/dist/events/graph-signal.d.ts +0 -11
- package/dist/events/graph-signal.js +0 -11
- package/dist/events/graph-zoom.d.ts +0 -6
- package/dist/events/graph-zoom.js +0 -11
- package/dist/events/history.d.ts +0 -16
- package/dist/events/history.js +0 -11
- package/dist/events/map-cluster.d.ts +0 -15
- package/dist/events/map-cluster.js +0 -11
- package/dist/events/map-pan.d.ts +0 -18
- package/dist/events/map-pan.js +0 -11
- package/dist/events/map-part-change.d.ts +0 -16
- package/dist/events/map-part-change.js +0 -11
- package/dist/events/map-ready.d.ts +0 -15
- package/dist/events/map-ready.js +0 -6
- package/dist/events/map-rotate.d.ts +0 -9
- package/dist/events/map-rotate.js +0 -11
- package/dist/events/map-tilt.d.ts +0 -9
- package/dist/events/map-tilt.js +0 -11
- package/dist/events/map-zoom.d.ts +0 -13
- package/dist/events/map-zoom.js +0 -11
- package/dist/events/move.d.ts +0 -11
- package/dist/events/move.js +0 -11
- package/dist/events/next.d.ts +0 -23
- package/dist/events/next.js +0 -11
- package/dist/events/panel-resize.d.ts +0 -12
- package/dist/events/panel-resize.js +0 -11
- package/dist/events/pasted.d.ts +0 -6
- package/dist/events/pasted.js +0 -11
- package/dist/events/press.d.ts +0 -19
- package/dist/events/press.js +0 -11
- package/dist/events/preview.d.ts +0 -14
- package/dist/events/preview.js +0 -11
- package/dist/events/previous.d.ts +0 -6
- package/dist/events/previous.js +0 -11
- package/dist/events/range-change.d.ts +0 -10
- package/dist/events/range-change.js +0 -11
- package/dist/events/read.d.ts +0 -19
- package/dist/events/read.js +0 -11
- package/dist/events/reconnect.d.ts +0 -6
- package/dist/events/reconnect.js +0 -11
- package/dist/events/reject.d.ts +0 -13
- package/dist/events/reject.js +0 -11
- package/dist/events/relabel.d.ts +0 -6
- package/dist/events/relabel.js +0 -11
- package/dist/events/remove.d.ts +0 -12
- package/dist/events/remove.js +0 -11
- package/dist/events/reordered.d.ts +0 -12
- package/dist/events/reordered.js +0 -11
- package/dist/events/sample-end.d.ts +0 -5
- package/dist/events/sample-end.js +0 -6
- package/dist/events/sample-start.d.ts +0 -18
- package/dist/events/sample-start.js +0 -6
- package/dist/events/scrolled.d.ts +0 -32
- package/dist/events/scrolled.js +0 -11
- package/dist/events/selected.d.ts +0 -12
- package/dist/events/selected.js +0 -11
- package/dist/events/send.d.ts +0 -18
- package/dist/events/send.js +0 -11
- package/dist/events/shortcut.d.ts +0 -13
- package/dist/events/shortcut.js +0 -11
- package/dist/events/sorted.d.ts +0 -15
- package/dist/events/sorted.js +0 -11
- package/dist/events/split.d.ts +0 -12
- package/dist/events/split.js +0 -11
- package/dist/events/stop.d.ts +0 -12
- package/dist/events/stop.js +0 -6
- package/dist/events/strands-fallback.d.ts +0 -13
- package/dist/events/strands-fallback.js +0 -11
- package/dist/events/terminal-bell.d.ts +0 -13
- package/dist/events/terminal-bell.js +0 -6
- package/dist/events/terminal-input.d.ts +0 -14
- package/dist/events/terminal-input.js +0 -11
- package/dist/events/terminal-link.d.ts +0 -15
- package/dist/events/terminal-link.js +0 -11
- package/dist/events/terminal-resize.d.ts +0 -13
- package/dist/events/terminal-resize.js +0 -11
- package/dist/events/terminal-restart.d.ts +0 -11
- package/dist/events/terminal-restart.js +0 -10
- package/dist/events/terminal-title.d.ts +0 -12
- package/dist/events/terminal-title.js +0 -11
- package/dist/events/toggle.d.ts +0 -15
- package/dist/events/toggle.js +0 -11
- package/dist/events/tour-ask.d.ts +0 -16
- package/dist/events/tour-ask.js +0 -11
- package/dist/events/tour-status.d.ts +0 -14
- package/dist/events/tour-status.js +0 -11
- package/dist/events/typing.d.ts +0 -10
- package/dist/events/typing.js +0 -11
package/dist/events/events.d.ts
CHANGED
|
@@ -12,7 +12,15 @@
|
|
|
12
12
|
* 3. The event name lives on the class as `eventName`, so a listener and a
|
|
13
13
|
* dispatch cannot disagree about the string.
|
|
14
14
|
*
|
|
15
|
-
* **
|
|
15
|
+
* **Core holds the events more than one family sends, and a family holds its
|
|
16
|
+
* own.** An event only one family sends lives in that family's `events/` folder
|
|
17
|
+
* (`helix/headless/src/<family>/events/`, or the styled family's when only the
|
|
18
|
+
* styled tier sends it), which registers it, types it on `addEventListener`
|
|
19
|
+
* with its own augmentation of `HTMLElementEventMap`, and adds its name to
|
|
20
|
+
* `names.ts` through `registerEventNames`. Importing a family therefore types
|
|
21
|
+
* its events, and this map carries only the shared ones.
|
|
22
|
+
*
|
|
23
|
+
* **One module per class, and this file gathers the shared ones.** Each class is in a
|
|
16
24
|
* file of its own beside this one, named after its event (`before-open.ts`
|
|
17
25
|
* holds `HelixBeforeOpenEvent`), and declares its name as `static readonly
|
|
18
26
|
* eventName`, which is how `helix component audit` finds them. What they carry
|
|
@@ -22,131 +30,56 @@
|
|
|
22
30
|
* **Apart because a bundle keeps a class it never uses.** The compiler writes
|
|
23
31
|
* `static readonly eventName` as a static block, and Bun and Rollup both treat
|
|
24
32
|
* one as a side effect, so a class in a shared module stayed in every bundle
|
|
25
|
-
* that imported anything from that module. With
|
|
33
|
+
* that imported anything from that module. With every class in one
|
|
26
34
|
* file, every element shipped all of them, a Badge too. A module whose exports
|
|
27
35
|
* nothing uses is dropped whole, since the package declares no side effects,
|
|
28
36
|
* so a family now ships the classes it dispatches and no others.
|
|
29
37
|
* `events.pure.spec.ts` holds every file to one class.
|
|
30
38
|
*/
|
|
31
|
-
import { HelixActionEvent } from './action.js';
|
|
32
39
|
import { HelixActivateEvent } from './activate.js';
|
|
33
|
-
import { HelixAuraFallbackEvent } from './aura-fallback.js';
|
|
34
|
-
import { HelixBandEvent } from './band.js';
|
|
35
40
|
import { HelixBeforeActivateEvent } from './before-activate.js';
|
|
36
41
|
import { HelixBeforeChangeEvent } from './before-change.js';
|
|
42
|
+
import { HelixBeforeCheckEvent } from './before-check.js';
|
|
37
43
|
import { HelixBeforeCloseEvent } from './before-close.js';
|
|
38
|
-
import {
|
|
39
|
-
import { HelixBeforeEditEvent } from './before-edit.js';
|
|
44
|
+
import { HelixBeforeFilterEvent } from './before-filter.js';
|
|
40
45
|
import { HelixBeforeListenEvent } from './before-listen.js';
|
|
41
|
-
import {
|
|
46
|
+
import { HelixBeforeNavigateEvent } from './before-navigate.js';
|
|
42
47
|
import { HelixBeforeOpenEvent } from './before-open.js';
|
|
43
|
-
import { HelixBeforePanelResizeEvent } from './before-panel-resize.js';
|
|
44
|
-
import { HelixBeforePasteEvent } from './before-paste.js';
|
|
45
48
|
import { HelixBeforePinEvent } from './before-pin.js';
|
|
46
|
-
import { HelixBeforeReconnectEvent } from './before-reconnect.js';
|
|
47
|
-
import { HelixBeforeRelabelEvent } from './before-relabel.js';
|
|
48
49
|
import { HelixBeforeReorderEvent } from './before-reorder.js';
|
|
49
50
|
import { HelixBeforeResizeEvent } from './before-resize.js';
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import { HelixCanvasPanEvent } from './canvas-pan.js';
|
|
54
|
-
import { HelixCanvasViewEvent } from './canvas-view.js';
|
|
55
|
-
import { HelixCanvasZoomEvent } from './canvas-zoom.js';
|
|
56
|
-
import { HelixCaretEvent } from './caret.js';
|
|
51
|
+
import { HelixBeforeSelectEvent } from './before-select.js';
|
|
52
|
+
import { HelixBeforeSortEvent } from './before-sort.js';
|
|
53
|
+
import { HelixCheckEvent } from './check.js';
|
|
57
54
|
import { HelixClearEvent } from './clear.js';
|
|
58
|
-
import { HelixCollapseEvent } from './collapse.js';
|
|
59
55
|
import { HelixCompleteEvent } from './complete.js';
|
|
60
|
-
import { HelixConnectEvent } from './connect.js';
|
|
61
|
-
import { HelixConsoleEvent } from './console.js';
|
|
62
56
|
import { HelixCopyEvent } from './copy.js';
|
|
63
57
|
import { HelixCopyErrorEvent } from './copy-error.js';
|
|
64
|
-
import { HelixCreateEvent } from './create.js';
|
|
65
|
-
import { HelixDeviceButtonEvent } from './device-button.js';
|
|
66
|
-
import { HelixDeviceKeyEvent } from './device-key.js';
|
|
67
|
-
import { HelixDeviceScreenshotEvent } from './device-screenshot.js';
|
|
68
|
-
import { HelixDeviceScrollEvent } from './device-scroll.js';
|
|
69
|
-
import { HelixDeviceSwipeEvent } from './device-swipe.js';
|
|
70
|
-
import { HelixDeviceTapEvent } from './device-tap.js';
|
|
71
|
-
import { HelixDeviceTextEvent } from './device-text.js';
|
|
72
|
-
import { HelixDeviceTouchEvent } from './device-touch.js';
|
|
73
58
|
import { HelixDismissEvent } from './dismiss.js';
|
|
74
|
-
import { HelixEditEvent } from './edit.js';
|
|
75
|
-
import { HelixEndEvent } from './end.js';
|
|
76
59
|
import { HelixExpandEvent } from './expand.js';
|
|
77
|
-
import { HelixFacetEvent } from './facet.js';
|
|
78
60
|
import { HelixFilterEvent } from './filter.js';
|
|
79
|
-
import { HelixFilteredEvent } from './filtered.js';
|
|
80
61
|
import { HelixFoundEvent } from './found.js';
|
|
81
|
-
import { HelixGraphFilterEvent } from './graph-filter.js';
|
|
82
|
-
import { HelixGraphLayoutEvent } from './graph-layout.js';
|
|
83
|
-
import { HelixGraphPanEvent } from './graph-pan.js';
|
|
84
|
-
import { HelixGraphPartChangeEvent } from './graph-part-change.js';
|
|
85
|
-
import { HelixGraphReadyEvent } from './graph-ready.js';
|
|
86
|
-
import { HelixGraphSignalEvent } from './graph-signal.js';
|
|
87
|
-
import { HelixGraphZoomEvent } from './graph-zoom.js';
|
|
88
|
-
import { HelixHistoryEvent } from './history.js';
|
|
89
62
|
import { HelixListenEvent } from './listen.js';
|
|
90
63
|
import { HelixLoadEvent } from './load.js';
|
|
91
64
|
import { HelixLoadMoreEvent } from './load-more.js';
|
|
92
|
-
import { HelixMapClusterEvent } from './map-cluster.js';
|
|
93
|
-
import { HelixMapPanEvent } from './map-pan.js';
|
|
94
|
-
import { HelixMapPartChangeEvent } from './map-part-change.js';
|
|
95
|
-
import { HelixMapReadyEvent } from './map-ready.js';
|
|
96
|
-
import { HelixMapRotateEvent } from './map-rotate.js';
|
|
97
|
-
import { HelixMapTiltEvent } from './map-tilt.js';
|
|
98
|
-
import { HelixMapZoomEvent } from './map-zoom.js';
|
|
99
|
-
import { HelixMoveEvent } from './move.js';
|
|
100
65
|
import { HelixNavigateEvent } from './navigate.js';
|
|
101
|
-
import { HelixNextEvent } from './next.js';
|
|
102
|
-
import { HelixPanelResizeEvent } from './panel-resize.js';
|
|
103
|
-
import { HelixPastedEvent } from './pasted.js';
|
|
104
66
|
import { HelixPinEvent } from './pin.js';
|
|
105
67
|
import { HelixPlotChangeEvent } from './plot-change.js';
|
|
106
68
|
import { HelixPlotTurnEvent } from './plot-turn.js';
|
|
107
|
-
import { HelixPressEvent } from './press.js';
|
|
108
|
-
import { HelixPreviewEvent } from './preview.js';
|
|
109
|
-
import { HelixPreviousEvent } from './previous.js';
|
|
110
|
-
import { HelixRangeChangeEvent } from './range-change.js';
|
|
111
|
-
import { HelixReadEvent } from './read.js';
|
|
112
69
|
import { HelixReadingChangeEvent } from './reading-change.js';
|
|
113
70
|
import { HelixReadingPressEvent } from './reading-press.js';
|
|
114
|
-
import { HelixReconnectEvent } from './reconnect.js';
|
|
115
|
-
import { HelixRejectEvent } from './reject.js';
|
|
116
|
-
import { HelixRelabelEvent } from './relabel.js';
|
|
117
|
-
import { HelixRemoveEvent } from './remove.js';
|
|
118
71
|
import { HelixReorderEvent } from './reorder.js';
|
|
119
|
-
import { HelixReorderedEvent } from './reordered.js';
|
|
120
72
|
import { HelixResizeEvent } from './resize.js';
|
|
121
73
|
import { HelixResizedEvent } from './resized.js';
|
|
122
|
-
import { HelixSampleEndEvent } from './sample-end.js';
|
|
123
|
-
import { HelixSampleStartEvent } from './sample-start.js';
|
|
124
|
-
import { HelixScrolledEvent } from './scrolled.js';
|
|
125
74
|
import { HelixSelectEvent } from './select.js';
|
|
126
|
-
import { HelixSelectedEvent } from './selected.js';
|
|
127
|
-
import { HelixSendEvent } from './send.js';
|
|
128
|
-
import { HelixShortcutEvent } from './shortcut.js';
|
|
129
75
|
import { HelixSortEvent } from './sort.js';
|
|
130
|
-
|
|
131
|
-
import { HelixSplitEvent } from './split.js';
|
|
132
|
-
import { HelixStopEvent } from './stop.js';
|
|
133
|
-
import { HelixStrandsFallbackEvent } from './strands-fallback.js';
|
|
134
|
-
import { HelixTerminalBellEvent } from './terminal-bell.js';
|
|
135
|
-
import { HelixTerminalInputEvent } from './terminal-input.js';
|
|
136
|
-
import { HelixTerminalLinkEvent } from './terminal-link.js';
|
|
137
|
-
import { HelixTerminalResizeEvent } from './terminal-resize.js';
|
|
138
|
-
import { HelixTerminalRestartEvent } from './terminal-restart.js';
|
|
139
|
-
import { HelixTerminalTitleEvent } from './terminal-title.js';
|
|
140
|
-
import { HelixToggleEvent } from './toggle.js';
|
|
141
|
-
import { HelixTourAskEvent } from './tour-ask.js';
|
|
142
|
-
import { HelixTourStatusEvent } from './tour-status.js';
|
|
143
|
-
import { HelixTypingEvent } from './typing.js';
|
|
144
|
-
export type { ActivateDetail, AuraFallbackDetail, BandDetail, CanvasView, CaretDetail, ChangeDetail, CompleteDetail, ConnectDetail, ConsoleDetail, CopyDetail, CreateDetail, DeviceButton, DeviceButtonDetail, DeviceKeyDetail, DeviceScrollDetail, DeviceSwipeDetail, DeviceTapDetail, DeviceTextDetail, DeviceTouchDetail, DismissDetail, FacetDetail, FilterDetail, FoundDetail, GraphFilterDetail, GraphLayoutDetail, GraphPartChangeDetail, GraphSignalDetail, ListenDetail, MapClusterDetail, MapPanDetail, MapPartChangeDetail, MapRotateDetail, MapTiltDetail, MapZoomDetail, MoveDetail, NavigateDetail, OpenDetail, PasteDetail, PlotChangeDetail, PlotTurnDetail, PressDetail, PressPointerType, RangeDetail, ReadDetail, ReadingDetail, ReconnectDetail, Refusal, RefusedFile, RejectDetail, RelabelDetail, RemoveDetail, ReorderDetail, ResizeDetail, ScrolledDetail, SelectDetail, SendDetail, ShortcutDetail, SkipDetail, SortDetail, StrandsFallbackDetail, TerminalInputDetail, TerminalLinkDetail, TerminalResizeDetail, TerminalTitleDetail, ToggleDetail, TourAskDetail, TourStatusDetail, TypingDetail, ViewportPanDetail, ViewportZoomDetail, } from './details.js';
|
|
76
|
+
export type { ActivateDetail, ChangeDetail, CheckDetail, CompleteDetail, CopyDetail, DismissDetail, FilterDetail, FoundDetail, ListenDetail, NavigateDetail, OpenDetail, PlotChangeDetail, PlotTurnDetail, PressPointerType, ReadingDetail, ReorderDetail, ResizeDetail, SelectDetail, SortDetail, ViewportPanDetail, ViewportZoomDetail, } from './details.js';
|
|
145
77
|
export { helixEventNames } from './names.js';
|
|
146
|
-
export {
|
|
78
|
+
export { HelixActivateEvent, HelixBeforeActivateEvent, HelixBeforeChangeEvent, HelixBeforeCheckEvent, HelixBeforeCloseEvent, HelixBeforeFilterEvent, HelixBeforeListenEvent, HelixBeforeNavigateEvent, HelixBeforeOpenEvent, HelixBeforePinEvent, HelixBeforeReorderEvent, HelixBeforeResizeEvent, HelixBeforeSelectEvent, HelixBeforeSortEvent, HelixCheckEvent, HelixClearEvent, HelixCompleteEvent, HelixCopyErrorEvent, HelixCopyEvent, HelixDismissEvent, HelixExpandEvent, HelixFilterEvent, HelixFoundEvent, HelixListenEvent, HelixLoadEvent, HelixLoadMoreEvent, HelixNavigateEvent, HelixPinEvent, HelixPlotChangeEvent, HelixPlotTurnEvent, HelixReadingChangeEvent, HelixReadingPressEvent, HelixReorderEvent, HelixResizedEvent, HelixResizeEvent, HelixSelectEvent, HelixSortEvent, };
|
|
147
79
|
/**
|
|
148
|
-
* Every event class, and the one place a new one is
|
|
149
|
-
* module of its own, imported above, and named here and in
|
|
80
|
+
* Every event class more than one family sends, and the one place a new one is
|
|
81
|
+
* registered: a class in a module of its own, imported above, and named here and in
|
|
82
|
+
* `names.ts`. An event one family sends is registered in that family's folder.
|
|
150
83
|
*
|
|
151
84
|
* The map below is derived from this rather than written beside it, so a class
|
|
152
85
|
* that is in here is typed and one that is not is absent from both halves at
|
|
@@ -157,119 +90,43 @@ export { HelixActionEvent, HelixActivateEvent, HelixAuraFallbackEvent, HelixBand
|
|
|
157
90
|
* forgotten.
|
|
158
91
|
*/
|
|
159
92
|
declare const registry: {
|
|
160
|
-
readonly HelixActionEvent: typeof HelixActionEvent;
|
|
161
93
|
readonly HelixActivateEvent: typeof HelixActivateEvent;
|
|
162
|
-
readonly HelixAuraFallbackEvent: typeof HelixAuraFallbackEvent;
|
|
163
|
-
readonly HelixBandEvent: typeof HelixBandEvent;
|
|
164
94
|
readonly HelixBeforeActivateEvent: typeof HelixBeforeActivateEvent;
|
|
165
95
|
readonly HelixBeforeChangeEvent: typeof HelixBeforeChangeEvent;
|
|
96
|
+
readonly HelixBeforeCheckEvent: typeof HelixBeforeCheckEvent;
|
|
166
97
|
readonly HelixBeforeCloseEvent: typeof HelixBeforeCloseEvent;
|
|
167
|
-
readonly
|
|
168
|
-
readonly HelixBeforeEditEvent: typeof HelixBeforeEditEvent;
|
|
98
|
+
readonly HelixBeforeFilterEvent: typeof HelixBeforeFilterEvent;
|
|
169
99
|
readonly HelixBeforeListenEvent: typeof HelixBeforeListenEvent;
|
|
170
|
-
readonly
|
|
100
|
+
readonly HelixBeforeNavigateEvent: typeof HelixBeforeNavigateEvent;
|
|
171
101
|
readonly HelixBeforeOpenEvent: typeof HelixBeforeOpenEvent;
|
|
172
|
-
readonly HelixBeforePanelResizeEvent: typeof HelixBeforePanelResizeEvent;
|
|
173
|
-
readonly HelixBeforePasteEvent: typeof HelixBeforePasteEvent;
|
|
174
102
|
readonly HelixBeforePinEvent: typeof HelixBeforePinEvent;
|
|
175
|
-
readonly HelixBeforeReconnectEvent: typeof HelixBeforeReconnectEvent;
|
|
176
|
-
readonly HelixBeforeRelabelEvent: typeof HelixBeforeRelabelEvent;
|
|
177
103
|
readonly HelixBeforeReorderEvent: typeof HelixBeforeReorderEvent;
|
|
178
104
|
readonly HelixBeforeResizeEvent: typeof HelixBeforeResizeEvent;
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly HelixCanvasPanEvent: typeof HelixCanvasPanEvent;
|
|
183
|
-
readonly HelixCanvasViewEvent: typeof HelixCanvasViewEvent;
|
|
184
|
-
readonly HelixCanvasZoomEvent: typeof HelixCanvasZoomEvent;
|
|
185
|
-
readonly HelixCaretEvent: typeof HelixCaretEvent;
|
|
105
|
+
readonly HelixBeforeSelectEvent: typeof HelixBeforeSelectEvent;
|
|
106
|
+
readonly HelixBeforeSortEvent: typeof HelixBeforeSortEvent;
|
|
107
|
+
readonly HelixCheckEvent: typeof HelixCheckEvent;
|
|
186
108
|
readonly HelixClearEvent: typeof HelixClearEvent;
|
|
187
|
-
readonly HelixCollapseEvent: typeof HelixCollapseEvent;
|
|
188
109
|
readonly HelixCompleteEvent: typeof HelixCompleteEvent;
|
|
189
|
-
readonly HelixConnectEvent: typeof HelixConnectEvent;
|
|
190
|
-
readonly HelixConsoleEvent: typeof HelixConsoleEvent;
|
|
191
110
|
readonly HelixCopyErrorEvent: typeof HelixCopyErrorEvent;
|
|
192
111
|
readonly HelixCopyEvent: typeof HelixCopyEvent;
|
|
193
|
-
readonly HelixCreateEvent: typeof HelixCreateEvent;
|
|
194
|
-
readonly HelixDeviceButtonEvent: typeof HelixDeviceButtonEvent;
|
|
195
|
-
readonly HelixDeviceKeyEvent: typeof HelixDeviceKeyEvent;
|
|
196
|
-
readonly HelixDeviceScreenshotEvent: typeof HelixDeviceScreenshotEvent;
|
|
197
|
-
readonly HelixDeviceScrollEvent: typeof HelixDeviceScrollEvent;
|
|
198
|
-
readonly HelixDeviceSwipeEvent: typeof HelixDeviceSwipeEvent;
|
|
199
|
-
readonly HelixDeviceTapEvent: typeof HelixDeviceTapEvent;
|
|
200
|
-
readonly HelixDeviceTextEvent: typeof HelixDeviceTextEvent;
|
|
201
|
-
readonly HelixDeviceTouchEvent: typeof HelixDeviceTouchEvent;
|
|
202
112
|
readonly HelixDismissEvent: typeof HelixDismissEvent;
|
|
203
|
-
readonly HelixEditEvent: typeof HelixEditEvent;
|
|
204
|
-
readonly HelixEndEvent: typeof HelixEndEvent;
|
|
205
113
|
readonly HelixExpandEvent: typeof HelixExpandEvent;
|
|
206
|
-
readonly HelixFacetEvent: typeof HelixFacetEvent;
|
|
207
114
|
readonly HelixFilterEvent: typeof HelixFilterEvent;
|
|
208
|
-
readonly HelixFilteredEvent: typeof HelixFilteredEvent;
|
|
209
115
|
readonly HelixFoundEvent: typeof HelixFoundEvent;
|
|
210
|
-
readonly HelixGraphFilterEvent: typeof HelixGraphFilterEvent;
|
|
211
|
-
readonly HelixGraphLayoutEvent: typeof HelixGraphLayoutEvent;
|
|
212
|
-
readonly HelixGraphPanEvent: typeof HelixGraphPanEvent;
|
|
213
|
-
readonly HelixGraphPartChangeEvent: typeof HelixGraphPartChangeEvent;
|
|
214
|
-
readonly HelixGraphReadyEvent: typeof HelixGraphReadyEvent;
|
|
215
|
-
readonly HelixGraphSignalEvent: typeof HelixGraphSignalEvent;
|
|
216
|
-
readonly HelixGraphZoomEvent: typeof HelixGraphZoomEvent;
|
|
217
|
-
readonly HelixHistoryEvent: typeof HelixHistoryEvent;
|
|
218
116
|
readonly HelixListenEvent: typeof HelixListenEvent;
|
|
219
117
|
readonly HelixLoadEvent: typeof HelixLoadEvent;
|
|
220
118
|
readonly HelixLoadMoreEvent: typeof HelixLoadMoreEvent;
|
|
221
|
-
readonly HelixMapClusterEvent: typeof HelixMapClusterEvent;
|
|
222
|
-
readonly HelixMapPanEvent: typeof HelixMapPanEvent;
|
|
223
|
-
readonly HelixMapPartChangeEvent: typeof HelixMapPartChangeEvent;
|
|
224
|
-
readonly HelixMapReadyEvent: typeof HelixMapReadyEvent;
|
|
225
|
-
readonly HelixMapRotateEvent: typeof HelixMapRotateEvent;
|
|
226
|
-
readonly HelixMapTiltEvent: typeof HelixMapTiltEvent;
|
|
227
|
-
readonly HelixMapZoomEvent: typeof HelixMapZoomEvent;
|
|
228
|
-
readonly HelixMoveEvent: typeof HelixMoveEvent;
|
|
229
119
|
readonly HelixNavigateEvent: typeof HelixNavigateEvent;
|
|
230
|
-
readonly HelixNextEvent: typeof HelixNextEvent;
|
|
231
|
-
readonly HelixPanelResizeEvent: typeof HelixPanelResizeEvent;
|
|
232
|
-
readonly HelixPastedEvent: typeof HelixPastedEvent;
|
|
233
120
|
readonly HelixPinEvent: typeof HelixPinEvent;
|
|
234
121
|
readonly HelixPlotChangeEvent: typeof HelixPlotChangeEvent;
|
|
235
122
|
readonly HelixPlotTurnEvent: typeof HelixPlotTurnEvent;
|
|
236
|
-
readonly HelixPressEvent: typeof HelixPressEvent;
|
|
237
|
-
readonly HelixPreviewEvent: typeof HelixPreviewEvent;
|
|
238
|
-
readonly HelixPreviousEvent: typeof HelixPreviousEvent;
|
|
239
|
-
readonly HelixRangeChangeEvent: typeof HelixRangeChangeEvent;
|
|
240
|
-
readonly HelixReadEvent: typeof HelixReadEvent;
|
|
241
123
|
readonly HelixReadingChangeEvent: typeof HelixReadingChangeEvent;
|
|
242
124
|
readonly HelixReadingPressEvent: typeof HelixReadingPressEvent;
|
|
243
|
-
readonly HelixReconnectEvent: typeof HelixReconnectEvent;
|
|
244
|
-
readonly HelixRejectEvent: typeof HelixRejectEvent;
|
|
245
|
-
readonly HelixRelabelEvent: typeof HelixRelabelEvent;
|
|
246
|
-
readonly HelixRemoveEvent: typeof HelixRemoveEvent;
|
|
247
125
|
readonly HelixReorderEvent: typeof HelixReorderEvent;
|
|
248
|
-
readonly HelixReorderedEvent: typeof HelixReorderedEvent;
|
|
249
126
|
readonly HelixResizedEvent: typeof HelixResizedEvent;
|
|
250
127
|
readonly HelixResizeEvent: typeof HelixResizeEvent;
|
|
251
|
-
readonly HelixSampleEndEvent: typeof HelixSampleEndEvent;
|
|
252
|
-
readonly HelixSampleStartEvent: typeof HelixSampleStartEvent;
|
|
253
|
-
readonly HelixScrolledEvent: typeof HelixScrolledEvent;
|
|
254
128
|
readonly HelixSelectEvent: typeof HelixSelectEvent;
|
|
255
|
-
readonly HelixSelectedEvent: typeof HelixSelectedEvent;
|
|
256
|
-
readonly HelixSendEvent: typeof HelixSendEvent;
|
|
257
|
-
readonly HelixShortcutEvent: typeof HelixShortcutEvent;
|
|
258
129
|
readonly HelixSortEvent: typeof HelixSortEvent;
|
|
259
|
-
readonly HelixSortedEvent: typeof HelixSortedEvent;
|
|
260
|
-
readonly HelixSplitEvent: typeof HelixSplitEvent;
|
|
261
|
-
readonly HelixStopEvent: typeof HelixStopEvent;
|
|
262
|
-
readonly HelixStrandsFallbackEvent: typeof HelixStrandsFallbackEvent;
|
|
263
|
-
readonly HelixTerminalBellEvent: typeof HelixTerminalBellEvent;
|
|
264
|
-
readonly HelixTerminalInputEvent: typeof HelixTerminalInputEvent;
|
|
265
|
-
readonly HelixTerminalLinkEvent: typeof HelixTerminalLinkEvent;
|
|
266
|
-
readonly HelixTerminalResizeEvent: typeof HelixTerminalResizeEvent;
|
|
267
|
-
readonly HelixTerminalRestartEvent: typeof HelixTerminalRestartEvent;
|
|
268
|
-
readonly HelixTerminalTitleEvent: typeof HelixTerminalTitleEvent;
|
|
269
|
-
readonly HelixToggleEvent: typeof HelixToggleEvent;
|
|
270
|
-
readonly HelixTourAskEvent: typeof HelixTourAskEvent;
|
|
271
|
-
readonly HelixTourStatusEvent: typeof HelixTourStatusEvent;
|
|
272
|
-
readonly HelixTypingEvent: typeof HelixTypingEvent;
|
|
273
130
|
};
|
|
274
131
|
type Registry = typeof registry;
|
|
275
132
|
/**
|
package/dist/events/events.js
CHANGED
|
@@ -1,230 +1,78 @@
|
|
|
1
|
-
import { HelixActionEvent } from './action.js';
|
|
2
1
|
import { HelixActivateEvent } from './activate.js';
|
|
3
|
-
import { HelixAuraFallbackEvent } from './aura-fallback.js';
|
|
4
|
-
import { HelixBandEvent } from './band.js';
|
|
5
2
|
import { HelixBeforeActivateEvent } from './before-activate.js';
|
|
6
3
|
import { HelixBeforeChangeEvent } from './before-change.js';
|
|
4
|
+
import { HelixBeforeCheckEvent } from './before-check.js';
|
|
7
5
|
import { HelixBeforeCloseEvent } from './before-close.js';
|
|
8
|
-
import {
|
|
9
|
-
import { HelixBeforeEditEvent } from './before-edit.js';
|
|
6
|
+
import { HelixBeforeFilterEvent } from './before-filter.js';
|
|
10
7
|
import { HelixBeforeListenEvent } from './before-listen.js';
|
|
11
|
-
import {
|
|
8
|
+
import { HelixBeforeNavigateEvent } from './before-navigate.js';
|
|
12
9
|
import { HelixBeforeOpenEvent } from './before-open.js';
|
|
13
|
-
import { HelixBeforePanelResizeEvent } from './before-panel-resize.js';
|
|
14
|
-
import { HelixBeforePasteEvent } from './before-paste.js';
|
|
15
10
|
import { HelixBeforePinEvent } from './before-pin.js';
|
|
16
|
-
import { HelixBeforeReconnectEvent } from './before-reconnect.js';
|
|
17
|
-
import { HelixBeforeRelabelEvent } from './before-relabel.js';
|
|
18
11
|
import { HelixBeforeReorderEvent } from './before-reorder.js';
|
|
19
12
|
import { HelixBeforeResizeEvent } from './before-resize.js';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { HelixCanvasPanEvent } from './canvas-pan.js';
|
|
24
|
-
import { HelixCanvasViewEvent } from './canvas-view.js';
|
|
25
|
-
import { HelixCanvasZoomEvent } from './canvas-zoom.js';
|
|
26
|
-
import { HelixCaretEvent } from './caret.js';
|
|
13
|
+
import { HelixBeforeSelectEvent } from './before-select.js';
|
|
14
|
+
import { HelixBeforeSortEvent } from './before-sort.js';
|
|
15
|
+
import { HelixCheckEvent } from './check.js';
|
|
27
16
|
import { HelixClearEvent } from './clear.js';
|
|
28
|
-
import { HelixCollapseEvent } from './collapse.js';
|
|
29
17
|
import { HelixCompleteEvent } from './complete.js';
|
|
30
|
-
import { HelixConnectEvent } from './connect.js';
|
|
31
|
-
import { HelixConsoleEvent } from './console.js';
|
|
32
18
|
import { HelixCopyEvent } from './copy.js';
|
|
33
19
|
import { HelixCopyErrorEvent } from './copy-error.js';
|
|
34
|
-
import { HelixCreateEvent } from './create.js';
|
|
35
|
-
import { HelixDeviceButtonEvent } from './device-button.js';
|
|
36
|
-
import { HelixDeviceKeyEvent } from './device-key.js';
|
|
37
|
-
import { HelixDeviceScreenshotEvent } from './device-screenshot.js';
|
|
38
|
-
import { HelixDeviceScrollEvent } from './device-scroll.js';
|
|
39
|
-
import { HelixDeviceSwipeEvent } from './device-swipe.js';
|
|
40
|
-
import { HelixDeviceTapEvent } from './device-tap.js';
|
|
41
|
-
import { HelixDeviceTextEvent } from './device-text.js';
|
|
42
|
-
import { HelixDeviceTouchEvent } from './device-touch.js';
|
|
43
20
|
import { HelixDismissEvent } from './dismiss.js';
|
|
44
|
-
import { HelixEditEvent } from './edit.js';
|
|
45
|
-
import { HelixEndEvent } from './end.js';
|
|
46
21
|
import { HelixExpandEvent } from './expand.js';
|
|
47
|
-
import { HelixFacetEvent } from './facet.js';
|
|
48
22
|
import { HelixFilterEvent } from './filter.js';
|
|
49
|
-
import { HelixFilteredEvent } from './filtered.js';
|
|
50
23
|
import { HelixFoundEvent } from './found.js';
|
|
51
|
-
import { HelixGraphFilterEvent } from './graph-filter.js';
|
|
52
|
-
import { HelixGraphLayoutEvent } from './graph-layout.js';
|
|
53
|
-
import { HelixGraphPanEvent } from './graph-pan.js';
|
|
54
|
-
import { HelixGraphPartChangeEvent } from './graph-part-change.js';
|
|
55
|
-
import { HelixGraphReadyEvent } from './graph-ready.js';
|
|
56
|
-
import { HelixGraphSignalEvent } from './graph-signal.js';
|
|
57
|
-
import { HelixGraphZoomEvent } from './graph-zoom.js';
|
|
58
|
-
import { HelixHistoryEvent } from './history.js';
|
|
59
24
|
import { HelixListenEvent } from './listen.js';
|
|
60
25
|
import { HelixLoadEvent } from './load.js';
|
|
61
26
|
import { HelixLoadMoreEvent } from './load-more.js';
|
|
62
|
-
import { HelixMapClusterEvent } from './map-cluster.js';
|
|
63
|
-
import { HelixMapPanEvent } from './map-pan.js';
|
|
64
|
-
import { HelixMapPartChangeEvent } from './map-part-change.js';
|
|
65
|
-
import { HelixMapReadyEvent } from './map-ready.js';
|
|
66
|
-
import { HelixMapRotateEvent } from './map-rotate.js';
|
|
67
|
-
import { HelixMapTiltEvent } from './map-tilt.js';
|
|
68
|
-
import { HelixMapZoomEvent } from './map-zoom.js';
|
|
69
|
-
import { HelixMoveEvent } from './move.js';
|
|
70
27
|
import { HelixNavigateEvent } from './navigate.js';
|
|
71
|
-
import { HelixNextEvent } from './next.js';
|
|
72
|
-
import { HelixPanelResizeEvent } from './panel-resize.js';
|
|
73
|
-
import { HelixPastedEvent } from './pasted.js';
|
|
74
28
|
import { HelixPinEvent } from './pin.js';
|
|
75
29
|
import { HelixPlotChangeEvent } from './plot-change.js';
|
|
76
30
|
import { HelixPlotTurnEvent } from './plot-turn.js';
|
|
77
|
-
import { HelixPressEvent } from './press.js';
|
|
78
|
-
import { HelixPreviewEvent } from './preview.js';
|
|
79
|
-
import { HelixPreviousEvent } from './previous.js';
|
|
80
|
-
import { HelixRangeChangeEvent } from './range-change.js';
|
|
81
|
-
import { HelixReadEvent } from './read.js';
|
|
82
31
|
import { HelixReadingChangeEvent } from './reading-change.js';
|
|
83
32
|
import { HelixReadingPressEvent } from './reading-press.js';
|
|
84
|
-
import { HelixReconnectEvent } from './reconnect.js';
|
|
85
|
-
import { HelixRejectEvent } from './reject.js';
|
|
86
|
-
import { HelixRelabelEvent } from './relabel.js';
|
|
87
|
-
import { HelixRemoveEvent } from './remove.js';
|
|
88
33
|
import { HelixReorderEvent } from './reorder.js';
|
|
89
|
-
import { HelixReorderedEvent } from './reordered.js';
|
|
90
34
|
import { HelixResizeEvent } from './resize.js';
|
|
91
35
|
import { HelixResizedEvent } from './resized.js';
|
|
92
|
-
import { HelixSampleEndEvent } from './sample-end.js';
|
|
93
|
-
import { HelixSampleStartEvent } from './sample-start.js';
|
|
94
|
-
import { HelixScrolledEvent } from './scrolled.js';
|
|
95
36
|
import { HelixSelectEvent } from './select.js';
|
|
96
|
-
import { HelixSelectedEvent } from './selected.js';
|
|
97
|
-
import { HelixSendEvent } from './send.js';
|
|
98
|
-
import { HelixShortcutEvent } from './shortcut.js';
|
|
99
37
|
import { HelixSortEvent } from './sort.js';
|
|
100
|
-
import { HelixSortedEvent } from './sorted.js';
|
|
101
|
-
import { HelixSplitEvent } from './split.js';
|
|
102
|
-
import { HelixStopEvent } from './stop.js';
|
|
103
|
-
import { HelixStrandsFallbackEvent } from './strands-fallback.js';
|
|
104
|
-
import { HelixTerminalBellEvent } from './terminal-bell.js';
|
|
105
|
-
import { HelixTerminalInputEvent } from './terminal-input.js';
|
|
106
|
-
import { HelixTerminalLinkEvent } from './terminal-link.js';
|
|
107
|
-
import { HelixTerminalResizeEvent } from './terminal-resize.js';
|
|
108
|
-
import { HelixTerminalRestartEvent } from './terminal-restart.js';
|
|
109
|
-
import { HelixTerminalTitleEvent } from './terminal-title.js';
|
|
110
|
-
import { HelixToggleEvent } from './toggle.js';
|
|
111
|
-
import { HelixTourAskEvent } from './tour-ask.js';
|
|
112
|
-
import { HelixTourStatusEvent } from './tour-status.js';
|
|
113
|
-
import { HelixTypingEvent } from './typing.js';
|
|
114
38
|
export { helixEventNames } from './names.js';
|
|
115
|
-
export {
|
|
39
|
+
export { HelixActivateEvent, HelixBeforeActivateEvent, HelixBeforeChangeEvent, HelixBeforeCheckEvent, HelixBeforeCloseEvent, HelixBeforeFilterEvent, HelixBeforeListenEvent, HelixBeforeNavigateEvent, HelixBeforeOpenEvent, HelixBeforePinEvent, HelixBeforeReorderEvent, HelixBeforeResizeEvent, HelixBeforeSelectEvent, HelixBeforeSortEvent, HelixCheckEvent, HelixClearEvent, HelixCompleteEvent, HelixCopyErrorEvent, HelixCopyEvent, HelixDismissEvent, HelixExpandEvent, HelixFilterEvent, HelixFoundEvent, HelixListenEvent, HelixLoadEvent, HelixLoadMoreEvent, HelixNavigateEvent, HelixPinEvent, HelixPlotChangeEvent, HelixPlotTurnEvent, HelixReadingChangeEvent, HelixReadingPressEvent, HelixReorderEvent, HelixResizedEvent, HelixResizeEvent, HelixSelectEvent, HelixSortEvent, };
|
|
116
40
|
const registry = {
|
|
117
|
-
HelixActionEvent,
|
|
118
41
|
HelixActivateEvent,
|
|
119
|
-
HelixAuraFallbackEvent,
|
|
120
|
-
HelixBandEvent,
|
|
121
42
|
HelixBeforeActivateEvent,
|
|
122
43
|
HelixBeforeChangeEvent,
|
|
44
|
+
HelixBeforeCheckEvent,
|
|
123
45
|
HelixBeforeCloseEvent,
|
|
124
|
-
|
|
125
|
-
HelixBeforeEditEvent,
|
|
46
|
+
HelixBeforeFilterEvent,
|
|
126
47
|
HelixBeforeListenEvent,
|
|
127
|
-
|
|
48
|
+
HelixBeforeNavigateEvent,
|
|
128
49
|
HelixBeforeOpenEvent,
|
|
129
|
-
HelixBeforePanelResizeEvent,
|
|
130
|
-
HelixBeforePasteEvent,
|
|
131
50
|
HelixBeforePinEvent,
|
|
132
|
-
HelixBeforeReconnectEvent,
|
|
133
|
-
HelixBeforeRelabelEvent,
|
|
134
51
|
HelixBeforeReorderEvent,
|
|
135
52
|
HelixBeforeResizeEvent,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
HelixCanvasPanEvent,
|
|
140
|
-
HelixCanvasViewEvent,
|
|
141
|
-
HelixCanvasZoomEvent,
|
|
142
|
-
HelixCaretEvent,
|
|
53
|
+
HelixBeforeSelectEvent,
|
|
54
|
+
HelixBeforeSortEvent,
|
|
55
|
+
HelixCheckEvent,
|
|
143
56
|
HelixClearEvent,
|
|
144
|
-
HelixCollapseEvent,
|
|
145
57
|
HelixCompleteEvent,
|
|
146
|
-
HelixConnectEvent,
|
|
147
|
-
HelixConsoleEvent,
|
|
148
58
|
HelixCopyErrorEvent,
|
|
149
59
|
HelixCopyEvent,
|
|
150
|
-
HelixCreateEvent,
|
|
151
|
-
HelixDeviceButtonEvent,
|
|
152
|
-
HelixDeviceKeyEvent,
|
|
153
|
-
HelixDeviceScreenshotEvent,
|
|
154
|
-
HelixDeviceScrollEvent,
|
|
155
|
-
HelixDeviceSwipeEvent,
|
|
156
|
-
HelixDeviceTapEvent,
|
|
157
|
-
HelixDeviceTextEvent,
|
|
158
|
-
HelixDeviceTouchEvent,
|
|
159
60
|
HelixDismissEvent,
|
|
160
|
-
HelixEditEvent,
|
|
161
|
-
HelixEndEvent,
|
|
162
61
|
HelixExpandEvent,
|
|
163
|
-
HelixFacetEvent,
|
|
164
62
|
HelixFilterEvent,
|
|
165
|
-
HelixFilteredEvent,
|
|
166
63
|
HelixFoundEvent,
|
|
167
|
-
HelixGraphFilterEvent,
|
|
168
|
-
HelixGraphLayoutEvent,
|
|
169
|
-
HelixGraphPanEvent,
|
|
170
|
-
HelixGraphPartChangeEvent,
|
|
171
|
-
HelixGraphReadyEvent,
|
|
172
|
-
HelixGraphSignalEvent,
|
|
173
|
-
HelixGraphZoomEvent,
|
|
174
|
-
HelixHistoryEvent,
|
|
175
64
|
HelixListenEvent,
|
|
176
65
|
HelixLoadEvent,
|
|
177
66
|
HelixLoadMoreEvent,
|
|
178
|
-
HelixMapClusterEvent,
|
|
179
|
-
HelixMapPanEvent,
|
|
180
|
-
HelixMapPartChangeEvent,
|
|
181
|
-
HelixMapReadyEvent,
|
|
182
|
-
HelixMapRotateEvent,
|
|
183
|
-
HelixMapTiltEvent,
|
|
184
|
-
HelixMapZoomEvent,
|
|
185
|
-
HelixMoveEvent,
|
|
186
67
|
HelixNavigateEvent,
|
|
187
|
-
HelixNextEvent,
|
|
188
|
-
HelixPanelResizeEvent,
|
|
189
|
-
HelixPastedEvent,
|
|
190
68
|
HelixPinEvent,
|
|
191
69
|
HelixPlotChangeEvent,
|
|
192
70
|
HelixPlotTurnEvent,
|
|
193
|
-
HelixPressEvent,
|
|
194
|
-
HelixPreviewEvent,
|
|
195
|
-
HelixPreviousEvent,
|
|
196
|
-
HelixRangeChangeEvent,
|
|
197
|
-
HelixReadEvent,
|
|
198
71
|
HelixReadingChangeEvent,
|
|
199
72
|
HelixReadingPressEvent,
|
|
200
|
-
HelixReconnectEvent,
|
|
201
|
-
HelixRejectEvent,
|
|
202
|
-
HelixRelabelEvent,
|
|
203
|
-
HelixRemoveEvent,
|
|
204
73
|
HelixReorderEvent,
|
|
205
|
-
HelixReorderedEvent,
|
|
206
74
|
HelixResizedEvent,
|
|
207
75
|
HelixResizeEvent,
|
|
208
|
-
HelixSampleEndEvent,
|
|
209
|
-
HelixSampleStartEvent,
|
|
210
|
-
HelixScrolledEvent,
|
|
211
76
|
HelixSelectEvent,
|
|
212
|
-
HelixSelectedEvent,
|
|
213
|
-
HelixSendEvent,
|
|
214
|
-
HelixShortcutEvent,
|
|
215
77
|
HelixSortEvent,
|
|
216
|
-
HelixSortedEvent,
|
|
217
|
-
HelixSplitEvent,
|
|
218
|
-
HelixStopEvent,
|
|
219
|
-
HelixStrandsFallbackEvent,
|
|
220
|
-
HelixTerminalBellEvent,
|
|
221
|
-
HelixTerminalInputEvent,
|
|
222
|
-
HelixTerminalLinkEvent,
|
|
223
|
-
HelixTerminalResizeEvent,
|
|
224
|
-
HelixTerminalRestartEvent,
|
|
225
|
-
HelixTerminalTitleEvent,
|
|
226
|
-
HelixToggleEvent,
|
|
227
|
-
HelixTourAskEvent,
|
|
228
|
-
HelixTourStatusEvent,
|
|
229
|
-
HelixTypingEvent,
|
|
230
78
|
};
|
package/dist/events/expand.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ChangeDetail } from './details.js';
|
|
2
2
|
/**
|
|
3
|
-
* Rows opened or closed in place: a data table's tree of rows
|
|
3
|
+
* Rows opened or closed in place: a data table's or a table's tree of rows, or
|
|
4
|
+
* a log's steps. Carries every
|
|
4
5
|
* open row's key, separated by commas, which the table's `expanded` also
|
|
5
6
|
* holds. Not cancelable: the rows have already moved.
|
|
6
7
|
*/
|
package/dist/events/filter.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { FilterDetail } from './details.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* A component is showing a narrower or a wider set.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* in front of the reader is no longer the whole list.
|
|
5
|
+
* The notification after `helix-before-filter`, sent once the query has moved,
|
|
6
|
+
* with the query now in force. Not cancelable: the decision was the request's.
|
|
8
7
|
*/
|
|
9
8
|
export declare class HelixFilterEvent extends CustomEvent<FilterDetail> {
|
|
10
9
|
static readonly eventName = "helix-filter";
|
package/dist/events/filter.js
CHANGED
package/dist/events/found.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { FoundDetail } from './details.js';
|
|
|
5
5
|
*
|
|
6
6
|
* Sent by Find after each search and each move, and again when content that
|
|
7
7
|
* changed under an open search is searched again. Not cancelable: it reports
|
|
8
|
-
* matches already marked, as `helix-
|
|
8
|
+
* matches already marked, as `helix-filter` reports a list already
|
|
9
9
|
* narrowed.
|
|
10
10
|
*/
|
|
11
11
|
export declare class HelixFoundEvent extends CustomEvent<FoundDetail> {
|
package/dist/events/names.d.ts
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
|
+
/** Every name this library dispatches, including each loaded family's own. */
|
|
2
|
+
export declare const helixEventNames: ReadonlySet<string>;
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Exported so a runtime check can ask whether a name is one of ours without
|
|
5
|
-
* keeping a second list of them. `HelixElement` uses it to tell a consumer that
|
|
6
|
-
* the handler prop they wrote is attached to nothing.
|
|
7
|
-
*
|
|
8
|
-
* **Written as strings, in a module of its own, and not read off the
|
|
9
|
-
* classes in `registry`.** Every element carries this set through its React
|
|
10
|
-
* prop audit, and a set read off the classes kept every class alive in every
|
|
11
|
-
* bundle: a Badge shipped all eighty of them. As strings, a family ships the
|
|
12
|
-
* classes it dispatches and no others. `events.pure.spec.ts` holds this list to
|
|
13
|
-
* the classes, so a class added without its name here fails.
|
|
14
|
-
*
|
|
15
|
-
* **Without the shared `helix-`, and separated by spaces.** Every element carries this
|
|
16
|
-
* list, and as quoted strings each paid its quotes, its comma and the prefix.
|
|
4
|
+
* Adds the names a family dispatches. Called by the family's `events/index.ts`
|
|
5
|
+
* when it loads, with the full names, `helix-` included.
|
|
17
6
|
*/
|
|
18
|
-
export declare const
|
|
7
|
+
export declare const registerEventNames: (added: Iterable<string>) => void;
|
package/dist/events/names.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
'before-
|
|
3
|
-
'before-
|
|
4
|
-
'
|
|
5
|
-
'
|
|
6
|
-
'device-scroll device-swipe device-tap device-text device-touch dismiss edit end expand facet filter ' +
|
|
7
|
-
'filtered found graph-filter graph-layout graph-pan graph-part-change graph-ready ' +
|
|
8
|
-
'graph-signal graph-zoom history listen load load-more map-cluster map-pan map-part-change ' +
|
|
9
|
-
'map-ready map-rotate map-tilt map-zoom move navigate next panel-resize pasted pin plot-change ' +
|
|
10
|
-
'plot-turn press ' +
|
|
11
|
-
'preview previous range-change read reading-change reading-press reconnect reject ' +
|
|
12
|
-
'relabel remove reorder ' +
|
|
13
|
-
'reordered resize resized sample-end sample-start scrolled select selected send ' +
|
|
14
|
-
'shortcut sort sorted split stop strands-fallback terminal-bell terminal-input terminal-link ' +
|
|
15
|
-
'terminal-resize terminal-restart terminal-title toggle tour-ask tour-status typing')
|
|
1
|
+
const names = new Set(('activate before-activate before-change before-check before-close before-filter ' +
|
|
2
|
+
'before-listen before-navigate before-open before-pin before-reorder before-resize ' +
|
|
3
|
+
'before-select before-sort check clear complete copy copy-error dismiss expand ' +
|
|
4
|
+
'filter found listen load load-more navigate pin plot-change plot-turn ' +
|
|
5
|
+
'reading-change reading-press reorder resize resized select sort')
|
|
16
6
|
.split(' ')
|
|
17
7
|
.map((name) => `helix-${name}`));
|
|
8
|
+
export const helixEventNames = names;
|
|
9
|
+
export const registerEventNames = (added) => {
|
|
10
|
+
for (const name of added) {
|
|
11
|
+
names.add(name);
|
|
12
|
+
}
|
|
13
|
+
};
|