@fusion.dev/helix-core 0.144.0 → 0.146.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.
Files changed (262) hide show
  1. package/custom-elements.json +5724 -1404
  2. package/dist/controllers/aria-forward-controller/aria-forward-controller.d.ts +3 -2
  3. package/dist/controllers/aria-forward-controller/aria-forward-controller.js +4 -14
  4. package/dist/controllers/chart-pointer-controller/chart-pointer-controller.d.ts +65 -3
  5. package/dist/controllers/chart-pointer-controller/chart-pointer-controller.js +37 -9
  6. package/dist/controllers/chart-pointer-controller/reading-step.d.ts +7 -1
  7. package/dist/controllers/chart-pointer-controller/reading-step.js +5 -0
  8. package/dist/controllers/countdown-controller/countdown-controller.d.ts +55 -0
  9. package/dist/controllers/countdown-controller/countdown-controller.js +57 -0
  10. package/dist/controllers/keyboard-navigation-controller/keyboard-navigation-controller.d.ts +20 -57
  11. package/dist/controllers/keyboard-navigation-controller/keyboard-navigation-controller.js +11 -40
  12. package/dist/controllers/relative-clock-controller/relative-clock-controller.d.ts +44 -0
  13. package/dist/controllers/relative-clock-controller/relative-clock-controller.js +31 -0
  14. package/dist/controllers/source-controller/source-controller.d.ts +10 -3
  15. package/dist/controllers/source-controller/source-controller.js +7 -4
  16. package/dist/controllers/virtualize-controller/virtualize-controller.d.ts +116 -36
  17. package/dist/controllers/virtualize-controller/virtualize-controller.js +122 -12
  18. package/dist/events/action.d.ts +12 -0
  19. package/dist/events/action.js +6 -0
  20. package/dist/events/activate.d.ts +22 -0
  21. package/dist/events/activate.js +11 -0
  22. package/dist/events/aura-fallback.d.ts +12 -0
  23. package/dist/events/aura-fallback.js +11 -0
  24. package/dist/events/before-activate.d.ts +24 -0
  25. package/dist/events/before-activate.js +11 -0
  26. package/dist/events/before-change.d.ts +26 -0
  27. package/dist/events/before-change.js +11 -0
  28. package/dist/events/before-close.d.ts +6 -0
  29. package/dist/events/before-close.js +11 -0
  30. package/dist/events/before-collapse.d.ts +6 -0
  31. package/dist/events/before-collapse.js +11 -0
  32. package/dist/events/before-edit.d.ts +6 -0
  33. package/dist/events/before-edit.js +11 -0
  34. package/dist/events/before-move.d.ts +17 -0
  35. package/dist/events/before-move.js +11 -0
  36. package/dist/events/before-open.d.ts +17 -0
  37. package/dist/events/before-open.js +11 -0
  38. package/dist/events/before-panel-resize.d.ts +13 -0
  39. package/dist/events/before-panel-resize.js +11 -0
  40. package/dist/events/before-pin.d.ts +6 -0
  41. package/dist/events/before-pin.js +11 -0
  42. package/dist/events/before-reconnect.d.ts +14 -0
  43. package/dist/events/before-reconnect.js +11 -0
  44. package/dist/events/before-relabel.d.ts +15 -0
  45. package/dist/events/before-relabel.js +11 -0
  46. package/dist/events/before-resize.d.ts +6 -0
  47. package/dist/events/before-resize.js +11 -0
  48. package/dist/events/before-split.d.ts +12 -0
  49. package/dist/events/before-split.js +11 -0
  50. package/dist/events/before-toggle.d.ts +23 -0
  51. package/dist/events/before-toggle.js +11 -0
  52. package/dist/events/canvas-edit.d.ts +16 -0
  53. package/dist/events/canvas-edit.js +11 -0
  54. package/dist/events/canvas-pan.d.ts +13 -0
  55. package/dist/events/canvas-pan.js +11 -0
  56. package/dist/events/canvas-view.d.ts +14 -0
  57. package/dist/events/canvas-view.js +11 -0
  58. package/dist/events/canvas-zoom.d.ts +6 -0
  59. package/dist/events/canvas-zoom.js +11 -0
  60. package/dist/events/caret.d.ts +17 -0
  61. package/dist/events/caret.js +11 -0
  62. package/dist/events/clear.d.ts +11 -0
  63. package/dist/events/clear.js +6 -0
  64. package/dist/events/collapse.d.ts +12 -0
  65. package/dist/events/collapse.js +11 -0
  66. package/dist/events/complete.d.ts +26 -0
  67. package/dist/events/complete.js +11 -0
  68. package/dist/events/connect.d.ts +14 -0
  69. package/dist/events/connect.js +11 -0
  70. package/dist/events/console.d.ts +13 -0
  71. package/dist/events/console.js +11 -0
  72. package/dist/events/copy-error.d.ts +9 -0
  73. package/dist/events/copy-error.js +6 -0
  74. package/dist/events/copy.d.ts +12 -0
  75. package/dist/events/copy.js +10 -0
  76. package/dist/events/create.d.ts +18 -0
  77. package/dist/events/create.js +11 -0
  78. package/dist/events/details.d.ts +454 -0
  79. package/dist/events/details.js +1 -0
  80. package/dist/events/dismiss.d.ts +16 -0
  81. package/dist/events/dismiss.js +11 -0
  82. package/dist/events/edit.d.ts +12 -0
  83. package/dist/events/edit.js +11 -0
  84. package/dist/events/end.d.ts +9 -0
  85. package/dist/events/end.js +6 -0
  86. package/dist/events/events.d.ts +125 -1306
  87. package/dist/events/events.js +105 -739
  88. package/dist/events/expand.d.ts +10 -0
  89. package/dist/events/expand.js +11 -0
  90. package/dist/events/facet.d.ts +17 -0
  91. package/dist/events/facet.js +11 -0
  92. package/dist/events/filter.d.ts +12 -0
  93. package/dist/events/filter.js +11 -0
  94. package/dist/events/filtered.d.ts +12 -0
  95. package/dist/events/filtered.js +11 -0
  96. package/dist/events/graph-filter.d.ts +10 -0
  97. package/dist/events/graph-filter.js +11 -0
  98. package/dist/events/graph-layout.d.ts +10 -0
  99. package/dist/events/graph-layout.js +11 -0
  100. package/dist/events/graph-pan.d.ts +9 -0
  101. package/dist/events/graph-pan.js +11 -0
  102. package/dist/events/graph-part-change.d.ts +10 -0
  103. package/dist/events/graph-part-change.js +11 -0
  104. package/dist/events/graph-ready.d.ts +8 -0
  105. package/dist/events/graph-ready.js +6 -0
  106. package/dist/events/graph-signal.d.ts +11 -0
  107. package/dist/events/graph-signal.js +11 -0
  108. package/dist/events/graph-zoom.d.ts +6 -0
  109. package/dist/events/graph-zoom.js +11 -0
  110. package/dist/events/history.d.ts +16 -0
  111. package/dist/events/history.js +11 -0
  112. package/dist/events/load-more.d.ts +12 -0
  113. package/dist/events/load-more.js +6 -0
  114. package/dist/events/load.d.ts +12 -0
  115. package/dist/events/load.js +6 -0
  116. package/dist/events/map-cluster.d.ts +15 -0
  117. package/dist/events/map-cluster.js +11 -0
  118. package/dist/events/map-pan.d.ts +18 -0
  119. package/dist/events/map-pan.js +11 -0
  120. package/dist/events/map-part-change.d.ts +16 -0
  121. package/dist/events/map-part-change.js +11 -0
  122. package/dist/events/map-ready.d.ts +15 -0
  123. package/dist/events/map-ready.js +6 -0
  124. package/dist/events/map-rotate.d.ts +9 -0
  125. package/dist/events/map-rotate.js +11 -0
  126. package/dist/events/map-tilt.d.ts +9 -0
  127. package/dist/events/map-tilt.js +11 -0
  128. package/dist/events/map-zoom.d.ts +13 -0
  129. package/dist/events/map-zoom.js +11 -0
  130. package/dist/events/move.d.ts +11 -0
  131. package/dist/events/move.js +11 -0
  132. package/dist/events/names.d.ts +15 -0
  133. package/dist/events/names.js +88 -0
  134. package/dist/events/navigate.d.ts +13 -0
  135. package/dist/events/navigate.js +11 -0
  136. package/dist/events/next.d.ts +23 -0
  137. package/dist/events/next.js +11 -0
  138. package/dist/events/panel-resize.d.ts +12 -0
  139. package/dist/events/panel-resize.js +11 -0
  140. package/dist/events/pin.d.ts +12 -0
  141. package/dist/events/pin.js +11 -0
  142. package/dist/events/press.d.ts +19 -0
  143. package/dist/events/press.js +11 -0
  144. package/dist/events/preview.d.ts +14 -0
  145. package/dist/events/preview.js +11 -0
  146. package/dist/events/previous.d.ts +6 -0
  147. package/dist/events/previous.js +11 -0
  148. package/dist/events/range-change.d.ts +10 -0
  149. package/dist/events/range-change.js +11 -0
  150. package/dist/events/read.d.ts +19 -0
  151. package/dist/events/read.js +11 -0
  152. package/dist/events/reconnect.d.ts +6 -0
  153. package/dist/events/reconnect.js +11 -0
  154. package/dist/events/reject.d.ts +13 -0
  155. package/dist/events/reject.js +11 -0
  156. package/dist/events/relabel.d.ts +6 -0
  157. package/dist/events/relabel.js +11 -0
  158. package/dist/events/remove.d.ts +12 -0
  159. package/dist/events/remove.js +11 -0
  160. package/dist/events/reorder.d.ts +18 -0
  161. package/dist/events/reorder.js +11 -0
  162. package/dist/events/reordered.d.ts +12 -0
  163. package/dist/events/reordered.js +11 -0
  164. package/dist/events/resize.d.ts +19 -0
  165. package/dist/events/resize.js +11 -0
  166. package/dist/events/resized.d.ts +16 -0
  167. package/dist/events/resized.js +11 -0
  168. package/dist/events/sample-end.d.ts +5 -0
  169. package/dist/events/sample-end.js +6 -0
  170. package/dist/events/sample-start.d.ts +18 -0
  171. package/dist/events/sample-start.js +6 -0
  172. package/dist/events/scrolled.d.ts +32 -0
  173. package/dist/events/scrolled.js +11 -0
  174. package/dist/events/select.d.ts +12 -0
  175. package/dist/events/select.js +11 -0
  176. package/dist/events/selected.d.ts +12 -0
  177. package/dist/events/selected.js +11 -0
  178. package/dist/events/send.d.ts +18 -0
  179. package/dist/events/send.js +11 -0
  180. package/dist/events/shortcut.d.ts +13 -0
  181. package/dist/events/shortcut.js +11 -0
  182. package/dist/events/sort.d.ts +17 -0
  183. package/dist/events/sort.js +11 -0
  184. package/dist/events/sorted.d.ts +15 -0
  185. package/dist/events/sorted.js +11 -0
  186. package/dist/events/split.d.ts +12 -0
  187. package/dist/events/split.js +11 -0
  188. package/dist/events/toggle.d.ts +15 -0
  189. package/dist/events/toggle.js +11 -0
  190. package/dist/events/tour-ask.d.ts +16 -0
  191. package/dist/events/tour-ask.js +11 -0
  192. package/dist/events/tour-status.d.ts +14 -0
  193. package/dist/events/tour-status.js +11 -0
  194. package/dist/events/typing.d.ts +10 -0
  195. package/dist/events/typing.js +11 -0
  196. package/dist/helix-element/helix-element.js +14 -1
  197. package/dist/helix-element/react-bridge.d.ts +19 -4
  198. package/dist/helix-element/react-bridge.js +15 -2
  199. package/dist/helix-form-element/helix-form-element.d.ts +5 -20
  200. package/dist/helix-form-element/helix-form-element.js +4 -56
  201. package/dist/index.d.ts +17 -3
  202. package/dist/index.js +17 -3
  203. package/dist/mixins/mixin-chart-source/mixin-chart-source.d.ts +17 -2
  204. package/dist/mixins/mixin-chart-source/mixin-chart-source.js +22 -1
  205. package/dist/mixins/mixin-controller-active/mixin-controller-active.js +4 -3
  206. package/dist/mixins/mixin-controller-checked/mixin-controller-checked.d.ts +5 -2
  207. package/dist/mixins/mixin-controller-checked/mixin-controller-checked.js +2 -1
  208. package/dist/mixins/mixin-controller-value/mixin-controller-value.d.ts +4 -2
  209. package/dist/mixins/mixin-controller-value/mixin-controller-value.js +7 -2
  210. package/dist/mixins/mixin-dismissible/mixin-dismissible.js +20 -4
  211. package/dist/mixins/mixin-field/mixin-field.js +2 -2
  212. package/dist/mixins/mixin-picker-field/mixin-picker-field.d.ts +15 -3
  213. package/dist/mixins/mixin-picker-field/mixin-picker-field.js +11 -4
  214. package/dist/mixins/mixin-segmented-field/mixin-segmented-field.d.ts +1 -1
  215. package/dist/mixins/mixin-segmented-field/mixin-segmented-field.js +10 -4
  216. package/dist/utils/audit-name/audit-name-off.d.ts +10 -0
  217. package/dist/utils/audit-name/audit-name-off.js +1 -0
  218. package/dist/utils/audit-name/audit-name.d.ts +19 -6
  219. package/dist/utils/audit-name/audit-name.js +10 -27
  220. package/dist/utils/calendar/calendar.js +7 -7
  221. package/dist/utils/draw-icon/draw-icon.d.ts +7 -6
  222. package/dist/utils/draw-tooltip/draw-tooltip.d.ts +1 -1
  223. package/dist/utils/draw-tooltip/draw-tooltip.js +3 -1
  224. package/dist/utils/draw-tooltip/spoken-reading.d.ts +6 -2
  225. package/dist/utils/draw-tooltip/spoken-reading.js +5 -4
  226. package/dist/utils/heading-level/heading-level.d.ts +8 -0
  227. package/dist/utils/heading-level/heading-level.js +4 -0
  228. package/dist/utils/implicit-submit/implicit-submit.d.ts +25 -0
  229. package/dist/utils/implicit-submit/implicit-submit.js +52 -0
  230. package/dist/utils/name-text/name-text.d.ts +12 -0
  231. package/dist/utils/name-text/name-text.js +25 -0
  232. package/dist/utils/number-format/number-format.d.ts +2 -1
  233. package/dist/utils/number-format/number-format.js +13 -5
  234. package/dist/utils/plain-click/plain-click.d.ts +10 -0
  235. package/dist/utils/plain-click/plain-click.js +1 -0
  236. package/dist/utils/press-type/press-type.d.ts +20 -0
  237. package/dist/utils/press-type/press-type.js +15 -0
  238. package/dist/utils/range-add/range-add.d.ts +19 -0
  239. package/dist/utils/range-add/range-add.js +5 -0
  240. package/dist/utils/reflect-elements/reflect-elements.d.ts +3 -3
  241. package/dist/utils/report-runtime/report-runtime.d.ts +9 -4
  242. package/dist/utils/row-data/row-data.d.ts +15 -0
  243. package/dist/utils/row-data/row-data.js +17 -0
  244. package/dist/utils/row-order/row-order.d.ts +141 -0
  245. package/dist/utils/row-order/row-order.js +76 -0
  246. package/dist/utils/tell-disclosure/tell-disclosure.d.ts +4 -0
  247. package/dist/utils/tree-arrow/tree-arrow.d.ts +23 -0
  248. package/dist/utils/tree-arrow/tree-arrow.js +9 -0
  249. package/dist/utils/typeahead/typeahead.d.ts +67 -0
  250. package/dist/utils/typeahead/typeahead.js +36 -0
  251. package/dist/utils/value-as/value-as.d.ts +9 -0
  252. package/dist/utils/value-as/value-as.js +9 -1
  253. package/dist/utils/watch-labels/watch-labels.d.ts +16 -0
  254. package/dist/utils/watch-labels/watch-labels.js +34 -0
  255. package/dist/utils/words-converter/words-converter.d.ts +14 -0
  256. package/dist/utils/words-converter/words-converter.js +15 -0
  257. package/dist/utils/write-time/write-time.d.ts +4 -4
  258. package/dist/utils/written-list/written-list.d.ts +29 -0
  259. package/dist/utils/written-list/written-list.js +30 -0
  260. package/dist/version.d.ts +1 -1
  261. package/dist/version.js +1 -1
  262. package/package.json +18 -5
@@ -0,0 +1,10 @@
1
+ import type { ChangeDetail } from './details.js';
2
+ /**
3
+ * Rows opened or closed in place: a data table's tree of rows. Carries every
4
+ * open row's key, separated by commas, which the table's `expanded` also
5
+ * holds. Not cancelable: the rows have already moved.
6
+ */
7
+ export declare class HelixExpandEvent extends CustomEvent<ChangeDetail> {
8
+ static readonly eventName = "helix-expand";
9
+ constructor(detail: ChangeDetail);
10
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixExpandEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-expand'; }
3
+ constructor(detail) {
4
+ super(HelixExpandEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,17 @@
1
+ import type { FacetDetail } from './details.js';
2
+ /**
3
+ * Fired when the reader changes which values a field is filtered by.
4
+ *
5
+ * **Not `helix-filter`, which is a different thing already taken.** That one
6
+ * says a list narrowed itself to a string, and `Data Table` and `Listbox` both
7
+ * dispatch it with exactly that meaning. This one carries a structured filter:
8
+ * a field, a comparison and a set of values, which is a shape neither of those
9
+ * has and neither should grow.
10
+ *
11
+ * Cancelable, and refusing it is how a consumer takes the decision for one
12
+ * interaction, the way `requestChange` documents for every stateful change here.
13
+ */
14
+ export declare class HelixFacetEvent extends CustomEvent<FacetDetail> {
15
+ static readonly eventName = "helix-facet";
16
+ constructor(detail: FacetDetail);
17
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixFacetEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-facet'; }
3
+ constructor(detail) {
4
+ super(HelixFacetEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: true,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ import type { FilterDetail } from './details.js';
2
+ /**
3
+ * Fired when a component narrows what it is showing.
4
+ *
5
+ * Filtering hides rather than removes, so nothing about the value changes and
6
+ * `helix-change` would be a lie. What a consumer wants to know is that the list
7
+ * in front of the reader is no longer the whole list.
8
+ */
9
+ export declare class HelixFilterEvent extends CustomEvent<FilterDetail> {
10
+ static readonly eventName = "helix-filter";
11
+ constructor(detail: FilterDetail);
12
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixFilterEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-filter'; }
3
+ constructor(detail) {
4
+ super(HelixFilterEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: true,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ import type { FilterDetail } from './details.js';
2
+ /**
3
+ * A component is showing a narrower or a wider set.
4
+ *
5
+ * The notification after `helix-filter`, sent once the query has moved, with
6
+ * the query now in force. Not cancelable, and past tense for the reason
7
+ * `helix-sorted` is.
8
+ */
9
+ export declare class HelixFilteredEvent extends CustomEvent<FilterDetail> {
10
+ static readonly eventName = "helix-filtered";
11
+ constructor(detail: FilterDetail);
12
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixFilteredEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-filtered'; }
3
+ constructor(detail) {
4
+ super(HelixFilteredEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ import type { GraphFilterDetail } from './details.js';
2
+ /**
3
+ * A reader pressed a group in the graph's legend, which would show or hide
4
+ * its notes, sent from the frame before it does. Cancelable: cancel it to
5
+ * keep the groups as they were, or to set `hiddenGroups` yourself.
6
+ */
7
+ export declare class HelixGraphFilterEvent extends CustomEvent<GraphFilterDetail> {
8
+ static readonly eventName = "helix-graph-filter";
9
+ constructor(detail: GraphFilterDetail);
10
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphFilterEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-filter'; }
3
+ constructor(detail) {
4
+ super(HelixGraphFilterEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: true,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ import type { GraphLayoutDetail } from './details.js';
2
+ /**
3
+ * A layout settled, with where it put every note. Keep the positions and hand
4
+ * them back as each note's `x` and `y`, and the graph opens where the reader
5
+ * left it, with no layout to run.
6
+ */
7
+ export declare class HelixGraphLayoutEvent extends CustomEvent<GraphLayoutDetail> {
8
+ static readonly eventName = "helix-graph-layout";
9
+ constructor(detail: GraphLayoutDetail);
10
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphLayoutEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-layout'; }
3
+ constructor(detail) {
4
+ super(HelixGraphLayoutEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,9 @@
1
+ import type { ViewportPanDetail } from './details.js';
2
+ /**
3
+ * The reader asked the graph to move. A request, as a map's is: Helix draws no
4
+ * graph, and the renderer the page slotted, or `connectGraph`, answers it.
5
+ */
6
+ export declare class HelixGraphPanEvent extends CustomEvent<ViewportPanDetail> {
7
+ static readonly eventName = "helix-graph-pan";
8
+ constructor(detail: ViewportPanDetail);
9
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphPanEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-pan'; }
3
+ constructor(detail) {
4
+ super(HelixGraphPanEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ import type { GraphPartChangeDetail } from './details.js';
2
+ /**
3
+ * The frame's notes, links, selection, depth or gestures changed, which the
4
+ * connector hears and the renderer is told. It stays on the frame, being the
5
+ * family's own bookkeeping rather than news for a page.
6
+ */
7
+ export declare class HelixGraphPartChangeEvent extends CustomEvent<GraphPartChangeDetail> {
8
+ static readonly eventName = "helix-graph-part-change";
9
+ constructor(detail: GraphPartChangeDetail);
10
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphPartChangeEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-part-change'; }
3
+ constructor(detail) {
4
+ super(HelixGraphPartChangeEvent.eventName, {
5
+ bubbles: false,
6
+ cancelable: false,
7
+ composed: false,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The graph has been drawn whole, laid out and settled, sent once each time it
3
+ * is connected, from the frame, which then matches `:state(ready)`.
4
+ */
5
+ export declare class HelixGraphReadyEvent extends Event {
6
+ static readonly eventName = "helix-graph-ready";
7
+ constructor();
8
+ }
@@ -0,0 +1,6 @@
1
+ export class HelixGraphReadyEvent extends Event {
2
+ static { this.eventName = 'helix-graph-ready'; }
3
+ constructor() {
4
+ super(HelixGraphReadyEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
+ }
6
+ }
@@ -0,0 +1,11 @@
1
+ import type { GraphSignalDetail } from './details.js';
2
+ /**
3
+ * Something passed between two notes, which the renderer draws traveling
4
+ * from one to the other. The connector hears it and the renderer draws it; it
5
+ * stays on the frame, being the family's own bookkeeping rather than news for
6
+ * a page.
7
+ */
8
+ export declare class HelixGraphSignalEvent extends CustomEvent<GraphSignalDetail> {
9
+ static readonly eventName = "helix-graph-signal";
10
+ constructor(detail: GraphSignalDetail);
11
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphSignalEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-signal'; }
3
+ constructor(detail) {
4
+ super(HelixGraphSignalEvent.eventName, {
5
+ bubbles: false,
6
+ cancelable: false,
7
+ composed: false,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { ViewportZoomDetail } from './details.js';
2
+ /** The reader asked the graph to zoom, a direction and not a level, as a map's is. */
3
+ export declare class HelixGraphZoomEvent extends CustomEvent<ViewportZoomDetail> {
4
+ static readonly eventName = "helix-graph-zoom";
5
+ constructor(detail: ViewportZoomDetail);
6
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixGraphZoomEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-graph-zoom'; }
3
+ constructor(detail) {
4
+ super(HelixGraphZoomEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Fired when a reader reaches the oldest turn a transcript holds, while there are
3
+ * older ones to fetch.
4
+ *
5
+ * **A report of where the reader is, not a request to be granted**, so it is not
6
+ * cancelable: there is nothing for the transcript to do if nobody refuses, and
7
+ * nothing to stop if somebody does. The consumer answers by fetching, and says
8
+ * so through the transcript's `history` while the older turns are on their way.
9
+ *
10
+ * No detail. The consumer holds the transcript and knows its oldest turn, which
11
+ * is the one thing a fetch needs.
12
+ */
13
+ export declare class HelixHistoryEvent extends CustomEvent<Record<string, never>> {
14
+ static readonly eventName = "helix-history";
15
+ constructor();
16
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixHistoryEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-history'; }
3
+ constructor() {
4
+ super(HelixHistoryEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail: {},
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * A reader asked for more items: a feed's or a table's `load-more` button, or
3
+ * a list scrolled near its end. Append them, and set `loading` while they are
4
+ * on their way.
5
+ *
6
+ * Carries nothing, because what comes next is the consumer's to know. Not
7
+ * cancelable: nothing is loaded until the consumer loads it.
8
+ */
9
+ export declare class HelixLoadMoreEvent extends Event {
10
+ static readonly eventName = "helix-load-more";
11
+ constructor();
12
+ }
@@ -0,0 +1,6 @@
1
+ export class HelixLoadMoreEvent extends Event {
2
+ static { this.eventName = 'helix-load-more'; }
3
+ constructor() {
4
+ super(HelixLoadMoreEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
+ }
6
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * A lazy branch opened and asks for its children: a tree item with `lazy`.
3
+ * Sent from the item, so `target` is the branch to fill.
4
+ *
5
+ * Carries nothing, because the children are the consumer's to fetch. Not
6
+ * cancelable: the branch is already open, and says it is busy until children
7
+ * arrive.
8
+ */
9
+ export declare class HelixLoadEvent extends Event {
10
+ static readonly eventName = "helix-load";
11
+ constructor();
12
+ }
@@ -0,0 +1,6 @@
1
+ export class HelixLoadEvent extends Event {
2
+ static { this.eventName = 'helix-load'; }
3
+ constructor() {
4
+ super(HelixLoadEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
+ }
6
+ }
@@ -0,0 +1,15 @@
1
+ import type { MapClusterDetail } from './details.js';
2
+ /**
3
+ * A reader pressed a cluster, one marker standing for several that would have
4
+ * drawn over each other.
5
+ *
6
+ * **Opened by zooming in**, which the connector does, framing the places the
7
+ * cluster holds, as pressing one does on every map a reader has used. Told
8
+ * rather than asked: a page that lists them in a panel instead connects with
9
+ * `clusterZoom: false`. Sent from the marker the cluster is drawn as, and
10
+ * bubbles through the frame to the page.
11
+ */
12
+ export declare class HelixMapClusterEvent extends CustomEvent<MapClusterDetail> {
13
+ static readonly eventName = "helix-map-cluster";
14
+ constructor(detail: MapClusterDetail);
15
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapClusterEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-cluster'; }
3
+ constructor(detail) {
4
+ super(HelixMapClusterEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: false,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,18 @@
1
+ import type { MapPanDetail, ViewportPanDetail } from './details.js';
2
+ /**
3
+ * The reader asked the map to move, which is as far as this library goes.
4
+ *
5
+ * **Helix draws no map and moves nobody's.** A tile renderer is a library and
6
+ * the frame around it is what this adds, so panning is a request the consumer
7
+ * answers against whatever they slotted: MapLibre, Leaflet, Google, or their
8
+ * own. The direction is in reading order rather than compass order, because the
9
+ * control that sent it is a button a reader pressed and `start` on a
10
+ * right-to-left page is east.
11
+ *
12
+ * Not cancelable. Nothing here moves on its own, and an event whose
13
+ * `preventDefault` means nothing is an event that lies about what it offers.
14
+ */
15
+ export declare class HelixMapPanEvent extends CustomEvent<ViewportPanDetail> {
16
+ static readonly eventName = "helix-map-pan";
17
+ constructor(detail: MapPanDetail);
18
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapPanEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-pan'; }
3
+ constructor(detail) {
4
+ super(HelixMapPanEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,16 @@
1
+ import type { MapPartChangeDetail } from './details.js';
2
+ /**
3
+ * A marker, a position, a route or an area changed what it says: where it is,
4
+ * its points, its progress, its name.
5
+ *
6
+ * **Said rather than reflected.** The connector and the frame follow the
7
+ * parts, and heard them through their attributes until the parts reflected
8
+ * nothing CSS selects on: a live position's coordinates are state, and a
9
+ * route's points are a payload, neither of which belongs in the markup. It
10
+ * bubbles to the frame, whose light-DOM children the parts are, and goes no
11
+ * further, being the family's own bookkeeping rather than news for a page.
12
+ */
13
+ export declare class HelixMapPartChangeEvent extends CustomEvent<MapPartChangeDetail> {
14
+ static readonly eventName = "helix-map-part-change";
15
+ constructor(detail: MapPartChangeDetail);
16
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapPartChangeEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-part-change'; }
3
+ constructor(detail) {
4
+ super(HelixMapPartChangeEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: false,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The map has been drawn whole: its style, every tile the view needs, and the
3
+ * ground raised where it has terrain. Sent once each time a map is connected,
4
+ * from the frame, which then matches `:state(ready)`.
5
+ *
6
+ * **What a page waits on to show a map that is finished**, where it would
7
+ * otherwise watch it draw in stages: the streets, then the imagery tile by
8
+ * tile, then the ground rising under the markers about half a second in. The
9
+ * shapes the frame draws are left out of "whole", since a route that animates
10
+ * is redrawn every frame and would never count as drawn.
11
+ */
12
+ export declare class HelixMapReadyEvent extends Event {
13
+ static readonly eventName = "helix-map-ready";
14
+ constructor();
15
+ }
@@ -0,0 +1,6 @@
1
+ export class HelixMapReadyEvent extends Event {
2
+ static { this.eventName = 'helix-map-ready'; }
3
+ constructor() {
4
+ super(HelixMapReadyEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
+ }
6
+ }
@@ -0,0 +1,9 @@
1
+ import type { MapRotateDetail } from './details.js';
2
+ /**
3
+ * The user asked the map to rotate, from a rotate button or key. Turn your map
4
+ * in response. Not cancelable, because the frame moves nothing itself.
5
+ */
6
+ export declare class HelixMapRotateEvent extends CustomEvent<MapRotateDetail> {
7
+ static readonly eventName = "helix-map-rotate";
8
+ constructor(detail: MapRotateDetail);
9
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapRotateEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-rotate'; }
3
+ constructor(detail) {
4
+ super(HelixMapRotateEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,9 @@
1
+ import type { MapTiltDetail } from './details.js';
2
+ /**
3
+ * The user asked the map to tilt, from a tilt button or key. Tilt your map in
4
+ * response. Not cancelable, because the frame moves nothing itself.
5
+ */
6
+ export declare class HelixMapTiltEvent extends CustomEvent<MapTiltDetail> {
7
+ static readonly eventName = "helix-map-tilt";
8
+ constructor(detail: MapTiltDetail);
9
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapTiltEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-tilt'; }
3
+ constructor(detail) {
4
+ super(HelixMapTiltEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,13 @@
1
+ import type { MapZoomDetail, ViewportZoomDetail } from './details.js';
2
+ /**
3
+ * The reader asked the map to zoom, and for the same reason it is a request.
4
+ *
5
+ * `by` is a direction rather than a level: a scale a consumer's map understands
6
+ * is the consumer's to decide, and a frame that said "go to zoom 14" would be
7
+ * asserting a numbering that Leaflet, MapLibre and a static tile server do not
8
+ * agree on.
9
+ */
10
+ export declare class HelixMapZoomEvent extends CustomEvent<ViewportZoomDetail> {
11
+ static readonly eventName = "helix-map-zoom";
12
+ constructor(detail: MapZoomDetail);
13
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMapZoomEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-map-zoom'; }
3
+ constructor(detail) {
4
+ super(HelixMapZoomEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type { MoveDetail } from './details.js';
2
+ /**
3
+ * Cards moved, and the move is finished: a drag let go, or a key press.
4
+ *
5
+ * The `change` to `helix-before-move`'s `input`: what a consumer binds who
6
+ * only wants to save a board once somebody has finished rearranging it.
7
+ */
8
+ export declare class HelixMoveEvent extends CustomEvent<MoveDetail> {
9
+ static readonly eventName = "helix-move";
10
+ constructor(detail: MoveDetail);
11
+ }
@@ -0,0 +1,11 @@
1
+ export class HelixMoveEvent extends CustomEvent {
2
+ static { this.eventName = 'helix-move'; }
3
+ constructor(detail) {
4
+ super(HelixMoveEvent.eventName, {
5
+ bubbles: true,
6
+ cancelable: false,
7
+ composed: true,
8
+ detail,
9
+ });
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Every name this library dispatches.
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
+ export declare const helixEventNames: ReadonlySet<string>;