@tanstack/hotkeys-devtools 0.9.0 → 1.1.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 (42) hide show
  1. package/README.md +15 -1
  2. package/dist/HotkeysContextProvider.js +1 -2
  3. package/dist/_registrations.js +47 -0
  4. package/dist/components/ActionButtons.js +2 -3
  5. package/dist/components/DetailsPanel.js +317 -325
  6. package/dist/components/HeldKeysTopbar.js +5 -3
  7. package/dist/components/HotkeyList.js +167 -196
  8. package/dist/components/Shell.js +5 -4
  9. package/dist/components/index.js +1 -2
  10. package/dist/core.d.ts +3 -6
  11. package/dist/core.js +1 -2
  12. package/dist/index.d.ts +2 -4
  13. package/dist/index.js +1 -2
  14. package/dist/sequence-progress.js +1 -2
  15. package/dist/styles/tokens.js +1 -2
  16. package/dist/styles/use-styles.js +5 -4
  17. package/package.json +11 -11
  18. package/dist/HotkeysContextProvider.js.map +0 -1
  19. package/dist/components/ActionButtons.js.map +0 -1
  20. package/dist/components/DetailsPanel.js.map +0 -1
  21. package/dist/components/HeldKeysTopbar.js.map +0 -1
  22. package/dist/components/HotkeyList.js.map +0 -1
  23. package/dist/components/Shell.js.map +0 -1
  24. package/dist/components/index.js.map +0 -1
  25. package/dist/core.js.map +0 -1
  26. package/dist/index.js.map +0 -1
  27. package/dist/sequence-progress.js.map +0 -1
  28. package/dist/styles/tokens.js.map +0 -1
  29. package/dist/styles/use-styles.js.map +0 -1
  30. package/src/HotkeysContextProvider.tsx +0 -130
  31. package/src/components/ActionButtons.tsx +0 -38
  32. package/src/components/DetailsPanel.tsx +0 -829
  33. package/src/components/HeldKeysTopbar.tsx +0 -46
  34. package/src/components/HotkeyList.tsx +0 -565
  35. package/src/components/Shell.tsx +0 -171
  36. package/src/components/index.tsx +0 -19
  37. package/src/core.tsx +0 -11
  38. package/src/index.ts +0 -11
  39. package/src/production.ts +0 -5
  40. package/src/sequence-progress.ts +0 -29
  41. package/src/styles/tokens.ts +0 -305
  42. package/src/styles/use-styles.ts +0 -687
@@ -1,14 +1,29 @@
1
1
  import { effectiveSequenceMatchedSteps } from "../sequence-progress.js";
2
2
  import { useHotkeysDevtoolsState } from "../HotkeysContextProvider.js";
3
3
  import { useStyles } from "../styles/use-styles.js";
4
+ import { formatRegistration, getBindingKind, useRegistrationConflicts } from "../_registrations.js";
4
5
  import { ActionButtons } from "./ActionButtons.js";
5
6
  import { className, createComponent, effect, insert, memo, template } from "solid-js/web";
6
7
  import { For, Show, createMemo } from "solid-js";
7
- import { detectPlatform, formatForDisplay, formatHotkeySequence, normalizeHotkey, normalizeHotkeyFromParsed, parseHotkey } from "@tanstack/hotkeys";
8
+ import { detectPlatform, formatForDisplay, normalizeHotkeyFromParsed, parseHotkey } from "@tanstack/hotkeys";
8
9
  import clsx from "clsx";
9
10
 
10
11
  //#region src/components/DetailsPanel.tsx
11
- var _tmpl$ = /* @__PURE__ */ template(`<div>`), _tmpl$2 = /* @__PURE__ */ template(`<div><span></span><span>`), _tmpl$3 = /* @__PURE__ */ template(`<div><div></div><div><div>ID</div><div></div><div>Raw</div><div></div><div>Target</div><div>`), _tmpl$4 = /* @__PURE__ */ template(`<div><div>Conflicts (<!>)</div><div>`), _tmpl$5 = /* @__PURE__ */ template(`<div><div><div>Key Breakdown</div><div><div><div></div></div><span aria-hidden=true>-></span><div></div></div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>eventType</span><span></span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>requireReset</span><span></span></div><div><span>conflictBehavior</span><span></span></div><div><span>hasFired</span><span>`), _tmpl$6 = /* @__PURE__ */ template(`<span>+`), _tmpl$7 = /* @__PURE__ */ template(`<span>`), _tmpl$8 = /* @__PURE__ */ template(`<div><span></span> <!>: <!> (<!>) on `), _tmpl$9 = /* @__PURE__ */ template(`<div><span>scope</span> <!>: <!> (<!>) on `), _tmpl$0 = /* @__PURE__ */ template(`<div><div></div><div><div>ID</div><div></div><div>Sequence</div><div></div><div>Target</div><div>`), _tmpl$1 = /* @__PURE__ */ template(`<div><div><div>Key Breakdown</div><div></div><div>Each chord</div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>eventType</span><span></span></div><div><span>timeout</span><span>ms</span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>conflictBehavior</span><span>`), _tmpl$10 = /* @__PURE__ */ template(`<span><span>`), _tmpl$11 = /* @__PURE__ */ template(`<span>→`), _tmpl$12 = /* @__PURE__ */ template(`<div><div>Step </div><div><div><div></div></div><span aria-hidden=true>-></span><div>`), _tmpl$13 = /* @__PURE__ */ template(`<div>Select a hotkey or sequence from the list to view its details`);
12
+ var _tmpl$ = /*#__PURE__*/ template(`<div>`);
13
+ var _tmpl$2 = /*#__PURE__*/ template(`<div><span></span><span>`);
14
+ var _tmpl$3 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Target</div><div>`);
15
+ var _tmpl$4 = /*#__PURE__*/ template(`<div><div>Conflicts (<!>)</div><div>`);
16
+ var _tmpl$5 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div><div><div></div></div><span aria-hidden=true>-></span><div></div></div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>eventType</span><span></span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>requireReset</span><span></span></div><div><span>conflictBehavior</span><span></span></div><div><span>hasFired</span><span>`);
17
+ var _tmpl$6 = /*#__PURE__*/ template(`<span>+`);
18
+ var _tmpl$7 = /*#__PURE__*/ template(`<span>`);
19
+ var _tmpl$8 = /*#__PURE__*/ template(`<div><span>overlap</span> <!>: <!> (<!>) on `);
20
+ var _tmpl$9 = /*#__PURE__*/ template(`<div><span>scope</span> <!>: <!> (<!>) on `);
21
+ var _tmpl$0 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Sequence</div><div></div><div>Target</div><div>`);
22
+ var _tmpl$1 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div></div><div>Each chord</div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>eventType</span><span></span></div><div><span>timeout</span><span>ms</span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>conflictBehavior</span><span>`);
23
+ var _tmpl$10 = /*#__PURE__*/ template(`<span><span>`);
24
+ var _tmpl$11 = /*#__PURE__*/ template(`<span>→`);
25
+ var _tmpl$12 = /*#__PURE__*/ template(`<div><div>Step <!> — </div><div><div><div></div></div><span aria-hidden=true>-></span><div>`);
26
+ var _tmpl$13 = /*#__PURE__*/ template(`<div>Select a hotkey or sequence from the list to view its details`);
12
27
  const PLATFORM_ROWS = [
13
28
  {
14
29
  id: "mac",
@@ -51,9 +66,6 @@ function KeyBreakdownPlatformTable(props) {
51
66
  return _el$;
52
67
  })();
53
68
  }
54
- function sequenceKey(sequence) {
55
- return sequence.join("|");
56
- }
57
69
  function isSequenceRegistration(reg) {
58
70
  return "sequence" in reg && Array.isArray(reg.sequence);
59
71
  }
@@ -63,49 +75,29 @@ function getTargetDescription(target) {
63
75
  if (target instanceof HTMLElement) return `${target.tagName.toLowerCase()}${target.id ? `#${target.id}` : ""}${target.className ? `.${target.className.split(" ").join(".")}` : ""}`;
64
76
  return "element";
65
77
  }
66
- function findTargetConflicts(registration, all) {
67
- return all.filter((other) => other.id !== registration.id && other.hotkey === registration.hotkey && other.options.eventType === registration.options.eventType && other.target === registration.target);
68
- }
69
- function findScopeConflicts(registration, all) {
70
- return all.filter((other) => other.id !== registration.id && other.hotkey === registration.hotkey && other.options.eventType === registration.options.eventType && other.target !== registration.target);
71
- }
72
- function findSequenceTargetConflicts(registration, all) {
73
- return all.filter((other) => other.id !== registration.id && sequenceKey(other.sequence) === sequenceKey(registration.sequence) && other.options.eventType === registration.options.eventType && other.target === registration.target);
74
- }
75
- function findSequenceScopeConflicts(registration, all) {
76
- return all.filter((other) => other.id !== registration.id && sequenceKey(other.sequence) === sequenceKey(registration.sequence) && other.options.eventType === registration.options.eventType && other.target !== registration.target);
77
- }
78
- function getConflictItemStyle(behavior, isSameTarget) {
79
- if (!isSameTarget) return "conflictItemScope";
80
- if (behavior === "allow") return "conflictItemAllow";
81
- if (behavior === "error") return "conflictItemError";
82
- return "conflictItem";
83
- }
84
- function getConflictLabel(behavior, isSameTarget) {
85
- if (!isSameTarget) return "scope";
86
- if (behavior === "allow") return "allowed";
87
- if (behavior === "error") return "error";
88
- if (behavior === "replace") return "replaced";
89
- return "warning";
90
- }
91
78
  function HotkeyDetails(props) {
92
79
  const reg = () => props.registration;
93
80
  const parsed = () => reg().parsedHotkey;
94
- const targetConflicts = createMemo(() => props.findTargetConflicts(reg(), props.state.registrations()));
95
- const scopeConflicts = createMemo(() => props.findScopeConflicts(reg(), props.state.registrations()));
96
- const allConflicts = createMemo(() => [...targetConflicts(), ...scopeConflicts()]);
81
+ const conflicts = useRegistrationConflicts(reg);
82
+ const targetConflicts = () => conflicts().overlapping;
83
+ const scopeConflicts = () => conflicts().separate;
84
+ const allConflicts = () => [...targetConflicts(), ...scopeConflicts()];
97
85
  const conflictBehavior = () => reg().options.conflictBehavior ?? "warn";
98
86
  const registrationPlatform = () => reg().options.platform ?? detectPlatform();
99
- const rawModParts = createMemo(() => normalizeHotkeyFromParsed(parsed(), registrationPlatform()).split("+"));
87
+ const keyParts = createMemo(() => formatForDisplay(parsed(), {
88
+ platform: registrationPlatform(),
89
+ parts: true
90
+ }));
100
91
  const styles = props.styles;
101
92
  return [(() => {
102
- var _el$5 = _tmpl$3(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling, _el$11 = _el$10.nextSibling;
103
- insert(_el$6, () => props.formatForDisplay(reg().hotkey));
93
+ var _el$5 = _tmpl$3(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling, _el$11 = _el$10.nextSibling, _el$12 = _el$11.nextSibling, _el$13 = _el$12.nextSibling;
94
+ insert(_el$6, () => formatRegistration(reg()));
104
95
  insert(_el$9, () => reg().id);
105
- insert(_el$1, () => reg().hotkey);
106
- insert(_el$11, () => props.getTargetDescription(reg().target));
96
+ insert(_el$1, () => getBindingKind(reg()));
97
+ insert(_el$11, () => reg().hotkey);
98
+ insert(_el$13, () => props.getTargetDescription(reg().target));
107
99
  effect((_p$) => {
108
- var _v$4 = styles().stateHeader, _v$5 = styles().stateTitle, _v$6 = styles().infoGrid, _v$7 = styles().infoLabel, _v$8 = styles().infoValueMono, _v$9 = styles().infoLabel, _v$0 = styles().infoValueMono, _v$1 = styles().infoLabel, _v$10 = styles().infoValueMono;
100
+ var _v$4 = styles().stateHeader, _v$5 = styles().stateTitle, _v$6 = styles().infoGrid, _v$7 = styles().infoLabel, _v$8 = styles().infoValueMono, _v$9 = styles().infoLabel, _v$0 = styles().infoValueMono, _v$1 = styles().infoLabel, _v$10 = styles().infoValueMono, _v$11 = styles().infoLabel, _v$12 = styles().infoValueMono;
109
101
  _v$4 !== _p$.e && className(_el$5, _p$.e = _v$4);
110
102
  _v$5 !== _p$.t && className(_el$6, _p$.t = _v$5);
111
103
  _v$6 !== _p$.a && className(_el$7, _p$.a = _v$6);
@@ -115,6 +107,8 @@ function HotkeyDetails(props) {
115
107
  _v$0 !== _p$.s && className(_el$1, _p$.s = _v$0);
116
108
  _v$1 !== _p$.h && className(_el$10, _p$.h = _v$1);
117
109
  _v$10 !== _p$.r && className(_el$11, _p$.r = _v$10);
110
+ _v$11 !== _p$.d && className(_el$12, _p$.d = _v$11);
111
+ _v$12 !== _p$.l && className(_el$13, _p$.l = _v$12);
118
112
  return _p$;
119
113
  }, {
120
114
  e: void 0,
@@ -125,44 +119,46 @@ function HotkeyDetails(props) {
125
119
  n: void 0,
126
120
  s: void 0,
127
121
  h: void 0,
128
- r: void 0
122
+ r: void 0,
123
+ d: void 0,
124
+ l: void 0
129
125
  });
130
126
  return _el$5;
131
127
  })(), (() => {
132
- var _el$12 = _tmpl$5(), _el$13 = _el$12.firstChild, _el$14 = _el$13.firstChild, _el$15 = _el$14.nextSibling, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.nextSibling, _el$20 = _el$13.nextSibling, _el$21 = _el$20.firstChild, _el$22 = _el$20.nextSibling, _el$23 = _el$22.firstChild, _el$24 = _el$23.nextSibling, _el$25 = _el$24.firstChild, _el$26 = _el$25.firstChild, _el$27 = _el$26.nextSibling, _el$28 = _el$25.nextSibling, _el$29 = _el$28.firstChild, _el$30 = _el$29.nextSibling, _el$31 = _el$22.nextSibling, _el$32 = _el$31.firstChild, _el$34 = _el$32.nextSibling.firstChild, _el$35 = _el$34.firstChild, _el$36 = _el$35.nextSibling, _el$37 = _el$34.nextSibling, _el$38 = _el$37.firstChild, _el$39 = _el$38.nextSibling, _el$40 = _el$37.nextSibling, _el$41 = _el$40.firstChild, _el$42 = _el$41.nextSibling, _el$43 = _el$40.nextSibling, _el$44 = _el$43.firstChild, _el$45 = _el$44.nextSibling, _el$46 = _el$43.nextSibling, _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling, _el$49 = _el$46.nextSibling, _el$50 = _el$49.firstChild, _el$51 = _el$50.nextSibling, _el$52 = _el$49.nextSibling, _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling, _el$55 = _el$52.nextSibling, _el$56 = _el$55.firstChild, _el$57 = _el$56.nextSibling;
133
- insert(_el$17, createComponent(For, {
128
+ var _el$14 = _tmpl$5(), _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.nextSibling, _el$18 = _el$17.firstChild, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$21 = _el$20.nextSibling, _el$22 = _el$15.nextSibling, _el$23 = _el$22.firstChild, _el$24 = _el$22.nextSibling, _el$25 = _el$24.firstChild, _el$26 = _el$25.nextSibling, _el$27 = _el$26.firstChild, _el$28 = _el$27.firstChild, _el$29 = _el$28.nextSibling, _el$30 = _el$27.nextSibling, _el$31 = _el$30.firstChild, _el$32 = _el$31.nextSibling, _el$33 = _el$24.nextSibling, _el$34 = _el$33.firstChild, _el$36 = _el$34.nextSibling.firstChild, _el$37 = _el$36.firstChild, _el$38 = _el$37.nextSibling, _el$39 = _el$36.nextSibling, _el$40 = _el$39.firstChild, _el$41 = _el$40.nextSibling, _el$42 = _el$39.nextSibling, _el$43 = _el$42.firstChild, _el$44 = _el$43.nextSibling, _el$45 = _el$42.nextSibling, _el$46 = _el$45.firstChild, _el$47 = _el$46.nextSibling, _el$48 = _el$45.nextSibling, _el$49 = _el$48.firstChild, _el$50 = _el$49.nextSibling, _el$51 = _el$48.nextSibling, _el$52 = _el$51.firstChild, _el$53 = _el$52.nextSibling, _el$54 = _el$51.nextSibling, _el$55 = _el$54.firstChild, _el$56 = _el$55.nextSibling, _el$57 = _el$54.nextSibling, _el$58 = _el$57.firstChild, _el$59 = _el$58.nextSibling;
129
+ insert(_el$19, createComponent(For, {
134
130
  get each() {
135
- return rawModParts();
131
+ return keyParts();
136
132
  },
137
133
  children: (part, i) => [createComponent(Show, {
138
134
  get when() {
139
135
  return i() > 0;
140
136
  },
141
137
  get children() {
142
- var _el$64 = _tmpl$6();
143
- effect(() => className(_el$64, styles().keyBreakdownPlus));
144
- return _el$64;
138
+ var _el$66 = _tmpl$6();
139
+ effect(() => className(_el$66, styles().keyBreakdownPlus));
140
+ return _el$66;
145
141
  }
146
142
  }), (() => {
147
- var _el$65 = _tmpl$7();
148
- insert(_el$65, part);
149
- effect(() => className(_el$65, styles().keyCapLarge));
150
- return _el$65;
143
+ var _el$67 = _tmpl$7();
144
+ insert(_el$67, part);
145
+ effect(() => className(_el$67, styles().keyCapLarge));
146
+ return _el$67;
151
147
  })()]
152
148
  }));
153
- insert(_el$19, createComponent(KeyBreakdownPlatformTable, {
149
+ insert(_el$21, createComponent(KeyBreakdownPlatformTable, {
154
150
  getParsed: () => parsed(),
155
151
  getCanonicalPlatform: registrationPlatform,
156
152
  get styles() {
157
153
  return props.styles;
158
154
  }
159
155
  }));
160
- insert(_el$20, createComponent(ActionButtons, { get registration() {
156
+ insert(_el$22, createComponent(ActionButtons, { get registration() {
161
157
  return reg();
162
158
  } }), null);
163
- insert(_el$27, () => reg().options.meta?.name ?? "—");
164
- insert(_el$30, () => reg().options.meta?.description ?? "—");
165
- insert(_el$24, createComponent(Show, {
159
+ insert(_el$29, () => reg().options.meta?.name ?? "—");
160
+ insert(_el$32, () => reg().options.meta?.description ?? "—");
161
+ insert(_el$26, createComponent(Show, {
166
162
  get when() {
167
163
  return memo(() => !!reg().options.meta)() && Object.keys(reg().options.meta).filter((k) => k !== "name" && k !== "description").length > 0;
168
164
  },
@@ -172,137 +168,134 @@ function HotkeyDetails(props) {
172
168
  return Object.entries(reg().options.meta ?? {}).filter(([k]) => k !== "name" && k !== "description");
173
169
  },
174
170
  children: ([key, value]) => (() => {
175
- var _el$66 = _tmpl$2(), _el$67 = _el$66.firstChild, _el$68 = _el$67.nextSibling;
176
- insert(_el$67, key);
177
- insert(_el$68, () => String(value));
171
+ var _el$68 = _tmpl$2(), _el$69 = _el$68.firstChild, _el$70 = _el$69.nextSibling;
172
+ insert(_el$69, key);
173
+ insert(_el$70, () => String(value));
178
174
  effect((_p$) => {
179
- var _v$58 = styles().optionRow, _v$59 = styles().optionLabel, _v$60 = styles().optionValue;
180
- _v$58 !== _p$.e && className(_el$66, _p$.e = _v$58);
181
- _v$59 !== _p$.t && className(_el$67, _p$.t = _v$59);
182
- _v$60 !== _p$.a && className(_el$68, _p$.a = _v$60);
175
+ var _v$60 = styles().optionRow, _v$61 = styles().optionLabel, _v$62 = styles().optionValue;
176
+ _v$60 !== _p$.e && className(_el$68, _p$.e = _v$60);
177
+ _v$61 !== _p$.t && className(_el$69, _p$.t = _v$61);
178
+ _v$62 !== _p$.a && className(_el$70, _p$.a = _v$62);
183
179
  return _p$;
184
180
  }, {
185
181
  e: void 0,
186
182
  t: void 0,
187
183
  a: void 0
188
184
  });
189
- return _el$66;
185
+ return _el$68;
190
186
  })()
191
187
  });
192
188
  }
193
189
  }), null);
194
- insert(_el$36, () => String(reg().options.enabled !== false));
195
- insert(_el$39, () => reg().options.eventType ?? "keydown");
196
- insert(_el$42, () => String(!!reg().options.preventDefault));
197
- insert(_el$45, () => String(!!reg().options.stopPropagation));
198
- insert(_el$48, () => String(reg().options.ignoreInputs !== false));
199
- insert(_el$51, () => String(!!reg().options.requireReset));
200
- insert(_el$54, conflictBehavior);
201
- insert(_el$57, () => String(reg().hasFired));
202
- insert(_el$12, createComponent(Show, {
190
+ insert(_el$38, () => String(reg().options.enabled !== false));
191
+ insert(_el$41, () => reg().options.eventType ?? "keydown");
192
+ insert(_el$44, () => String(!!reg().options.preventDefault));
193
+ insert(_el$47, () => String(!!reg().options.stopPropagation));
194
+ insert(_el$50, () => String(reg().options.ignoreInputs !== false));
195
+ insert(_el$53, () => String(!!reg().options.requireReset));
196
+ insert(_el$56, conflictBehavior);
197
+ insert(_el$59, () => String(reg().hasFired));
198
+ insert(_el$14, createComponent(Show, {
203
199
  get when() {
204
200
  return allConflicts().length > 0;
205
201
  },
206
202
  get children() {
207
- var _el$58 = _tmpl$4(), _el$59 = _el$58.firstChild, _el$62 = _el$59.firstChild.nextSibling;
208
- _el$62.nextSibling;
209
- var _el$63 = _el$59.nextSibling;
210
- insert(_el$59, () => allConflicts().length, _el$62);
211
- insert(_el$63, createComponent(For, {
203
+ var _el$60 = _tmpl$4(), _el$61 = _el$60.firstChild, _el$64 = _el$61.firstChild.nextSibling;
204
+ _el$64.nextSibling;
205
+ var _el$65 = _el$61.nextSibling;
206
+ insert(_el$61, () => allConflicts().length, _el$64);
207
+ insert(_el$65, createComponent(For, {
212
208
  get each() {
213
209
  return targetConflicts();
214
210
  },
215
211
  children: (conflict) => {
216
- const itemStyle = () => props.getConflictItemStyle(conflictBehavior(), true);
217
- const label = () => props.getConflictLabel(conflictBehavior(), true);
218
212
  return (() => {
219
- var _el$69 = _tmpl$8(), _el$70 = _el$69.firstChild, _el$77 = _el$70.nextSibling.nextSibling, _el$78 = _el$77.nextSibling.nextSibling, _el$79 = _el$78.nextSibling.nextSibling;
220
- _el$79.nextSibling;
221
- insert(_el$70, label);
222
- insert(_el$69, () => conflict.id, _el$77);
223
- insert(_el$69, () => props.formatForDisplay(conflict.hotkey), _el$78);
224
- insert(_el$69, () => conflict.options.eventType ?? "keydown", _el$79);
225
- insert(_el$69, () => props.getTargetDescription(conflict.target), null);
226
- effect(() => className(_el$69, styles()[itemStyle()]));
227
- return _el$69;
213
+ var _el$71 = _tmpl$8(), _el$79 = _el$71.firstChild.nextSibling.nextSibling, _el$80 = _el$79.nextSibling.nextSibling, _el$81 = _el$80.nextSibling.nextSibling;
214
+ _el$81.nextSibling;
215
+ insert(_el$71, () => conflict.id, _el$79);
216
+ insert(_el$71, () => formatRegistration(conflict), _el$80);
217
+ insert(_el$71, () => conflict.options.eventType ?? "keydown", _el$81);
218
+ insert(_el$71, () => props.getTargetDescription(conflict.target), null);
219
+ effect(() => className(_el$71, styles().conflictItem));
220
+ return _el$71;
228
221
  })();
229
222
  }
230
223
  }), null);
231
- insert(_el$63, createComponent(For, {
224
+ insert(_el$65, createComponent(For, {
232
225
  get each() {
233
226
  return scopeConflicts();
234
227
  },
235
228
  children: (conflict) => (() => {
236
- var _el$80 = _tmpl$9(), _el$88 = _el$80.firstChild.nextSibling.nextSibling, _el$89 = _el$88.nextSibling.nextSibling, _el$90 = _el$89.nextSibling.nextSibling;
237
- _el$90.nextSibling;
238
- insert(_el$80, () => conflict.id, _el$88);
239
- insert(_el$80, () => props.formatForDisplay(conflict.hotkey), _el$89);
240
- insert(_el$80, () => conflict.options.eventType ?? "keydown", _el$90);
241
- insert(_el$80, () => props.getTargetDescription(conflict.target), null);
242
- effect(() => className(_el$80, styles().conflictItemScope));
243
- return _el$80;
229
+ var _el$82 = _tmpl$9(), _el$90 = _el$82.firstChild.nextSibling.nextSibling, _el$91 = _el$90.nextSibling.nextSibling, _el$92 = _el$91.nextSibling.nextSibling;
230
+ _el$92.nextSibling;
231
+ insert(_el$82, () => conflict.id, _el$90);
232
+ insert(_el$82, () => formatRegistration(conflict), _el$91);
233
+ insert(_el$82, () => conflict.options.eventType ?? "keydown", _el$92);
234
+ insert(_el$82, () => props.getTargetDescription(conflict.target), null);
235
+ effect(() => className(_el$82, styles().conflictItemScope));
236
+ return _el$82;
244
237
  })()
245
238
  }), null);
246
239
  effect((_p$) => {
247
- var _v$11 = styles().detailSection, _v$12 = styles().detailSectionHeader, _v$13 = styles().conflictList;
248
- _v$11 !== _p$.e && className(_el$58, _p$.e = _v$11);
249
- _v$12 !== _p$.t && className(_el$59, _p$.t = _v$12);
250
- _v$13 !== _p$.a && className(_el$63, _p$.a = _v$13);
240
+ var _v$13 = styles().detailSection, _v$14 = styles().detailSectionHeader, _v$15 = styles().conflictList;
241
+ _v$13 !== _p$.e && className(_el$60, _p$.e = _v$13);
242
+ _v$14 !== _p$.t && className(_el$61, _p$.t = _v$14);
243
+ _v$15 !== _p$.a && className(_el$65, _p$.a = _v$15);
251
244
  return _p$;
252
245
  }, {
253
246
  e: void 0,
254
247
  t: void 0,
255
248
  a: void 0
256
249
  });
257
- return _el$58;
250
+ return _el$60;
258
251
  }
259
252
  }), null);
260
253
  effect((_p$) => {
261
- var _v$14 = styles().detailsGrid, _v$15 = styles().detailSection, _v$16 = styles().detailSectionHeader, _v$17 = styles().keyBreakdownSplitRow, _v$18 = styles().keyBreakdownSplitLeft, _v$19 = styles().keyBreakdown, _v$20 = styles().keyBreakdownSplitArrow, _v$21 = styles().keyBreakdownSplitRight, _v$22 = styles().detailSection, _v$23 = styles().detailSectionHeader, _v$24 = styles().detailSection, _v$25 = styles().detailSectionHeader, _v$26 = styles().optionRow, _v$27 = styles().optionLabel, _v$28 = styles().optionValue, _v$29 = styles().optionRow, _v$30 = styles().optionLabel, _v$31 = styles().optionValue, _v$32 = styles().detailSection, _v$33 = styles().detailSectionHeader, _v$34 = styles().optionRow, _v$35 = styles().optionLabel, _v$36 = reg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$37 = styles().optionRow, _v$38 = styles().optionLabel, _v$39 = styles().optionValue, _v$40 = styles().optionRow, _v$41 = styles().optionLabel, _v$42 = reg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$43 = styles().optionRow, _v$44 = styles().optionLabel, _v$45 = reg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$46 = styles().optionRow, _v$47 = styles().optionLabel, _v$48 = reg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$49 = styles().optionRow, _v$50 = styles().optionLabel, _v$51 = reg().options.requireReset ? styles().optionValueTrue : styles().optionValueFalse, _v$52 = styles().optionRow, _v$53 = styles().optionLabel, _v$54 = styles().optionValue, _v$55 = styles().optionRow, _v$56 = styles().optionLabel, _v$57 = reg().hasFired ? styles().optionValueTrue : styles().optionValueFalse;
262
- _v$14 !== _p$.e && className(_el$12, _p$.e = _v$14);
263
- _v$15 !== _p$.t && className(_el$13, _p$.t = _v$15);
264
- _v$16 !== _p$.a && className(_el$14, _p$.a = _v$16);
265
- _v$17 !== _p$.o && className(_el$15, _p$.o = _v$17);
266
- _v$18 !== _p$.i && className(_el$16, _p$.i = _v$18);
267
- _v$19 !== _p$.n && className(_el$17, _p$.n = _v$19);
268
- _v$20 !== _p$.s && className(_el$18, _p$.s = _v$20);
269
- _v$21 !== _p$.h && className(_el$19, _p$.h = _v$21);
270
- _v$22 !== _p$.r && className(_el$20, _p$.r = _v$22);
271
- _v$23 !== _p$.d && className(_el$21, _p$.d = _v$23);
272
- _v$24 !== _p$.l && className(_el$22, _p$.l = _v$24);
273
- _v$25 !== _p$.u && className(_el$23, _p$.u = _v$25);
274
- _v$26 !== _p$.c && className(_el$25, _p$.c = _v$26);
275
- _v$27 !== _p$.w && className(_el$26, _p$.w = _v$27);
276
- _v$28 !== _p$.m && className(_el$27, _p$.m = _v$28);
277
- _v$29 !== _p$.f && className(_el$28, _p$.f = _v$29);
278
- _v$30 !== _p$.y && className(_el$29, _p$.y = _v$30);
279
- _v$31 !== _p$.g && className(_el$30, _p$.g = _v$31);
280
- _v$32 !== _p$.p && className(_el$31, _p$.p = _v$32);
281
- _v$33 !== _p$.b && className(_el$32, _p$.b = _v$33);
282
- _v$34 !== _p$.T && className(_el$34, _p$.T = _v$34);
283
- _v$35 !== _p$.A && className(_el$35, _p$.A = _v$35);
284
- _v$36 !== _p$.O && className(_el$36, _p$.O = _v$36);
285
- _v$37 !== _p$.I && className(_el$37, _p$.I = _v$37);
286
- _v$38 !== _p$.S && className(_el$38, _p$.S = _v$38);
287
- _v$39 !== _p$.W && className(_el$39, _p$.W = _v$39);
288
- _v$40 !== _p$.C && className(_el$40, _p$.C = _v$40);
289
- _v$41 !== _p$.B && className(_el$41, _p$.B = _v$41);
290
- _v$42 !== _p$.v && className(_el$42, _p$.v = _v$42);
291
- _v$43 !== _p$.k && className(_el$43, _p$.k = _v$43);
292
- _v$44 !== _p$.x && className(_el$44, _p$.x = _v$44);
293
- _v$45 !== _p$.j && className(_el$45, _p$.j = _v$45);
294
- _v$46 !== _p$.q && className(_el$46, _p$.q = _v$46);
295
- _v$47 !== _p$.z && className(_el$47, _p$.z = _v$47);
296
- _v$48 !== _p$.P && className(_el$48, _p$.P = _v$48);
297
- _v$49 !== _p$.H && className(_el$49, _p$.H = _v$49);
298
- _v$50 !== _p$.F && className(_el$50, _p$.F = _v$50);
299
- _v$51 !== _p$.M && className(_el$51, _p$.M = _v$51);
300
- _v$52 !== _p$.D && className(_el$52, _p$.D = _v$52);
301
- _v$53 !== _p$.R && className(_el$53, _p$.R = _v$53);
302
- _v$54 !== _p$.E && className(_el$54, _p$.E = _v$54);
303
- _v$55 !== _p$.L && className(_el$55, _p$.L = _v$55);
304
- _v$56 !== _p$.N && className(_el$56, _p$.N = _v$56);
305
- _v$57 !== _p$.G && className(_el$57, _p$.G = _v$57);
254
+ var _v$16 = styles().detailsGrid, _v$17 = styles().detailSection, _v$18 = styles().detailSectionHeader, _v$19 = styles().keyBreakdownSplitRow, _v$20 = styles().keyBreakdownSplitLeft, _v$21 = styles().keyBreakdown, _v$22 = styles().keyBreakdownSplitArrow, _v$23 = styles().keyBreakdownSplitRight, _v$24 = styles().detailSection, _v$25 = styles().detailSectionHeader, _v$26 = styles().detailSection, _v$27 = styles().detailSectionHeader, _v$28 = styles().optionRow, _v$29 = styles().optionLabel, _v$30 = styles().optionValue, _v$31 = styles().optionRow, _v$32 = styles().optionLabel, _v$33 = styles().optionValue, _v$34 = styles().detailSection, _v$35 = styles().detailSectionHeader, _v$36 = styles().optionRow, _v$37 = styles().optionLabel, _v$38 = reg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$39 = styles().optionRow, _v$40 = styles().optionLabel, _v$41 = styles().optionValue, _v$42 = styles().optionRow, _v$43 = styles().optionLabel, _v$44 = reg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$45 = styles().optionRow, _v$46 = styles().optionLabel, _v$47 = reg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$48 = styles().optionRow, _v$49 = styles().optionLabel, _v$50 = reg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$51 = styles().optionRow, _v$52 = styles().optionLabel, _v$53 = reg().options.requireReset ? styles().optionValueTrue : styles().optionValueFalse, _v$54 = styles().optionRow, _v$55 = styles().optionLabel, _v$56 = styles().optionValue, _v$57 = styles().optionRow, _v$58 = styles().optionLabel, _v$59 = reg().hasFired ? styles().optionValueTrue : styles().optionValueFalse;
255
+ _v$16 !== _p$.e && className(_el$14, _p$.e = _v$16);
256
+ _v$17 !== _p$.t && className(_el$15, _p$.t = _v$17);
257
+ _v$18 !== _p$.a && className(_el$16, _p$.a = _v$18);
258
+ _v$19 !== _p$.o && className(_el$17, _p$.o = _v$19);
259
+ _v$20 !== _p$.i && className(_el$18, _p$.i = _v$20);
260
+ _v$21 !== _p$.n && className(_el$19, _p$.n = _v$21);
261
+ _v$22 !== _p$.s && className(_el$20, _p$.s = _v$22);
262
+ _v$23 !== _p$.h && className(_el$21, _p$.h = _v$23);
263
+ _v$24 !== _p$.r && className(_el$22, _p$.r = _v$24);
264
+ _v$25 !== _p$.d && className(_el$23, _p$.d = _v$25);
265
+ _v$26 !== _p$.l && className(_el$24, _p$.l = _v$26);
266
+ _v$27 !== _p$.u && className(_el$25, _p$.u = _v$27);
267
+ _v$28 !== _p$.c && className(_el$27, _p$.c = _v$28);
268
+ _v$29 !== _p$.w && className(_el$28, _p$.w = _v$29);
269
+ _v$30 !== _p$.m && className(_el$29, _p$.m = _v$30);
270
+ _v$31 !== _p$.f && className(_el$30, _p$.f = _v$31);
271
+ _v$32 !== _p$.y && className(_el$31, _p$.y = _v$32);
272
+ _v$33 !== _p$.g && className(_el$32, _p$.g = _v$33);
273
+ _v$34 !== _p$.p && className(_el$33, _p$.p = _v$34);
274
+ _v$35 !== _p$.b && className(_el$34, _p$.b = _v$35);
275
+ _v$36 !== _p$.T && className(_el$36, _p$.T = _v$36);
276
+ _v$37 !== _p$.A && className(_el$37, _p$.A = _v$37);
277
+ _v$38 !== _p$.O && className(_el$38, _p$.O = _v$38);
278
+ _v$39 !== _p$.I && className(_el$39, _p$.I = _v$39);
279
+ _v$40 !== _p$.S && className(_el$40, _p$.S = _v$40);
280
+ _v$41 !== _p$.W && className(_el$41, _p$.W = _v$41);
281
+ _v$42 !== _p$.C && className(_el$42, _p$.C = _v$42);
282
+ _v$43 !== _p$.B && className(_el$43, _p$.B = _v$43);
283
+ _v$44 !== _p$.v && className(_el$44, _p$.v = _v$44);
284
+ _v$45 !== _p$.k && className(_el$45, _p$.k = _v$45);
285
+ _v$46 !== _p$.x && className(_el$46, _p$.x = _v$46);
286
+ _v$47 !== _p$.j && className(_el$47, _p$.j = _v$47);
287
+ _v$48 !== _p$.q && className(_el$48, _p$.q = _v$48);
288
+ _v$49 !== _p$.z && className(_el$49, _p$.z = _v$49);
289
+ _v$50 !== _p$.P && className(_el$50, _p$.P = _v$50);
290
+ _v$51 !== _p$.H && className(_el$51, _p$.H = _v$51);
291
+ _v$52 !== _p$.F && className(_el$52, _p$.F = _v$52);
292
+ _v$53 !== _p$.M && className(_el$53, _p$.M = _v$53);
293
+ _v$54 !== _p$.D && className(_el$54, _p$.D = _v$54);
294
+ _v$55 !== _p$.R && className(_el$55, _p$.R = _v$55);
295
+ _v$56 !== _p$.E && className(_el$56, _p$.E = _v$56);
296
+ _v$57 !== _p$.L && className(_el$57, _p$.L = _v$57);
297
+ _v$58 !== _p$.N && className(_el$58, _p$.N = _v$58);
298
+ _v$59 !== _p$.G && className(_el$59, _p$.G = _v$59);
306
299
  return _p$;
307
300
  }, {
308
301
  e: void 0,
@@ -350,68 +343,75 @@ function HotkeyDetails(props) {
350
343
  N: void 0,
351
344
  G: void 0
352
345
  });
353
- return _el$12;
346
+ return _el$14;
354
347
  })()];
355
348
  }
356
349
  function SequenceDetails(props) {
357
350
  const reg = () => props.registration;
358
351
  const liveReg = createMemo(() => props.state.sequenceRegistrations().find((r) => r.id === reg().id) ?? reg());
359
352
  const matchedSteps = createMemo(() => effectiveSequenceMatchedSteps(liveReg(), props.state.sequenceProgressNow()));
360
- const targetConflicts = createMemo(() => props.findSequenceTargetConflicts(liveReg(), props.state.sequenceRegistrations()));
361
- const scopeConflicts = createMemo(() => props.findSequenceScopeConflicts(liveReg(), props.state.sequenceRegistrations()));
362
- const allConflicts = createMemo(() => [...targetConflicts(), ...scopeConflicts()]);
353
+ const conflicts = useRegistrationConflicts(liveReg);
354
+ const targetConflicts = () => conflicts().overlapping;
355
+ const scopeConflicts = () => conflicts().separate;
356
+ const allConflicts = () => [...targetConflicts(), ...scopeConflicts()];
363
357
  const conflictBehavior = () => liveReg().options.conflictBehavior ?? "warn";
364
358
  const sequenceCanonicalPlatform = createMemo(() => liveReg().options.platform ?? detectPlatform());
365
359
  const styles = props.styles;
366
360
  return [(() => {
367
- var _el$91 = _tmpl$0(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling, _el$94 = _el$93.firstChild, _el$95 = _el$94.nextSibling, _el$96 = _el$95.nextSibling, _el$97 = _el$96.nextSibling, _el$98 = _el$97.nextSibling, _el$99 = _el$98.nextSibling;
368
- insert(_el$92, createComponent(For, {
361
+ var _el$93 = _tmpl$0(), _el$94 = _el$93.firstChild, _el$95 = _el$94.nextSibling, _el$96 = _el$95.firstChild, _el$97 = _el$96.nextSibling, _el$98 = _el$97.nextSibling, _el$99 = _el$98.nextSibling, _el$100 = _el$99.nextSibling, _el$101 = _el$100.nextSibling, _el$102 = _el$101.nextSibling, _el$103 = _el$102.nextSibling, _el$104 = _el$103.nextSibling, _el$105 = _el$104.nextSibling;
362
+ insert(_el$94, createComponent(For, {
369
363
  get each() {
370
364
  return liveReg().sequence;
371
365
  },
372
366
  children: (step, i) => (() => {
373
- var _el$147 = _tmpl$10(), _el$148 = _el$147.firstChild;
374
- insert(_el$147, createComponent(Show, {
367
+ var _el$153 = _tmpl$10(), _el$154 = _el$153.firstChild;
368
+ insert(_el$153, createComponent(Show, {
375
369
  get when() {
376
370
  return i() > 0;
377
371
  },
378
372
  children: " "
379
- }), _el$148);
380
- insert(_el$148, () => props.formatForDisplay(step));
381
- effect(() => className(_el$148, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
382
- return _el$147;
373
+ }), _el$154);
374
+ insert(_el$154, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
375
+ effect(() => className(_el$154, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
376
+ return _el$153;
383
377
  })()
384
378
  }));
385
- insert(_el$95, () => liveReg().id);
386
- insert(_el$97, createComponent(For, {
379
+ insert(_el$97, () => liveReg().id);
380
+ insert(_el$99, () => getBindingKind(liveReg()));
381
+ insert(_el$101, () => liveReg().sequence.join(" → "));
382
+ insert(_el$103, createComponent(For, {
387
383
  get each() {
388
384
  return liveReg().sequence;
389
385
  },
390
386
  children: (step, i) => (() => {
391
- var _el$149 = _tmpl$10(), _el$150 = _el$149.firstChild;
392
- insert(_el$149, createComponent(Show, {
387
+ var _el$155 = _tmpl$10(), _el$156 = _el$155.firstChild;
388
+ insert(_el$155, createComponent(Show, {
393
389
  get when() {
394
390
  return i() > 0;
395
391
  },
396
392
  children: " "
397
- }), _el$150);
398
- insert(_el$150, () => props.formatForDisplay(step));
399
- effect(() => className(_el$150, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
400
- return _el$149;
393
+ }), _el$156);
394
+ insert(_el$156, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
395
+ effect(() => className(_el$156, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
396
+ return _el$155;
401
397
  })()
402
398
  }));
403
- insert(_el$99, () => props.getTargetDescription(liveReg().target));
399
+ insert(_el$105, () => props.getTargetDescription(liveReg().target));
404
400
  effect((_p$) => {
405
- var _v$61 = styles().stateHeader, _v$62 = styles().stateTitle, _v$63 = styles().infoGrid, _v$64 = styles().infoLabel, _v$65 = styles().infoValueMono, _v$66 = styles().infoLabel, _v$67 = styles().infoValueMono, _v$68 = styles().infoLabel, _v$69 = styles().infoValueMono;
406
- _v$61 !== _p$.e && className(_el$91, _p$.e = _v$61);
407
- _v$62 !== _p$.t && className(_el$92, _p$.t = _v$62);
408
- _v$63 !== _p$.a && className(_el$93, _p$.a = _v$63);
409
- _v$64 !== _p$.o && className(_el$94, _p$.o = _v$64);
410
- _v$65 !== _p$.i && className(_el$95, _p$.i = _v$65);
411
- _v$66 !== _p$.n && className(_el$96, _p$.n = _v$66);
412
- _v$67 !== _p$.s && className(_el$97, _p$.s = _v$67);
413
- _v$68 !== _p$.h && className(_el$98, _p$.h = _v$68);
414
- _v$69 !== _p$.r && className(_el$99, _p$.r = _v$69);
401
+ var _v$63 = styles().stateHeader, _v$64 = styles().stateTitle, _v$65 = styles().infoGrid, _v$66 = styles().infoLabel, _v$67 = styles().infoValueMono, _v$68 = styles().infoLabel, _v$69 = styles().infoValueMono, _v$70 = styles().infoLabel, _v$71 = styles().infoValueMono, _v$72 = styles().infoLabel, _v$73 = styles().infoValueMono, _v$74 = styles().infoLabel, _v$75 = styles().infoValueMono;
402
+ _v$63 !== _p$.e && className(_el$93, _p$.e = _v$63);
403
+ _v$64 !== _p$.t && className(_el$94, _p$.t = _v$64);
404
+ _v$65 !== _p$.a && className(_el$95, _p$.a = _v$65);
405
+ _v$66 !== _p$.o && className(_el$96, _p$.o = _v$66);
406
+ _v$67 !== _p$.i && className(_el$97, _p$.i = _v$67);
407
+ _v$68 !== _p$.n && className(_el$98, _p$.n = _v$68);
408
+ _v$69 !== _p$.s && className(_el$99, _p$.s = _v$69);
409
+ _v$70 !== _p$.h && className(_el$100, _p$.h = _v$70);
410
+ _v$71 !== _p$.r && className(_el$101, _p$.r = _v$71);
411
+ _v$72 !== _p$.d && className(_el$102, _p$.d = _v$72);
412
+ _v$73 !== _p$.l && className(_el$103, _p$.l = _v$73);
413
+ _v$74 !== _p$.u && className(_el$104, _p$.u = _v$74);
414
+ _v$75 !== _p$.c && className(_el$105, _p$.c = _v$75);
415
415
  return _p$;
416
416
  }, {
417
417
  e: void 0,
@@ -422,12 +422,16 @@ function SequenceDetails(props) {
422
422
  n: void 0,
423
423
  s: void 0,
424
424
  h: void 0,
425
- r: void 0
425
+ r: void 0,
426
+ d: void 0,
427
+ l: void 0,
428
+ u: void 0,
429
+ c: void 0
426
430
  });
427
- return _el$91;
431
+ return _el$93;
428
432
  })(), (() => {
429
- var _el$100 = _tmpl$1(), _el$101 = _el$100.firstChild, _el$102 = _el$101.firstChild, _el$103 = _el$102.nextSibling, _el$104 = _el$103.nextSibling, _el$105 = _el$101.nextSibling, _el$106 = _el$105.firstChild, _el$107 = _el$105.nextSibling, _el$108 = _el$107.firstChild, _el$109 = _el$108.nextSibling, _el$110 = _el$109.firstChild, _el$111 = _el$110.firstChild, _el$112 = _el$111.nextSibling, _el$113 = _el$110.nextSibling, _el$114 = _el$113.firstChild, _el$115 = _el$114.nextSibling, _el$116 = _el$107.nextSibling, _el$117 = _el$116.firstChild, _el$119 = _el$117.nextSibling.firstChild, _el$120 = _el$119.firstChild, _el$121 = _el$120.nextSibling, _el$122 = _el$119.nextSibling, _el$123 = _el$122.firstChild, _el$124 = _el$123.nextSibling, _el$125 = _el$122.nextSibling, _el$126 = _el$125.firstChild, _el$127 = _el$126.nextSibling, _el$128 = _el$127.firstChild, _el$129 = _el$125.nextSibling, _el$130 = _el$129.firstChild, _el$131 = _el$130.nextSibling, _el$132 = _el$129.nextSibling, _el$133 = _el$132.firstChild, _el$134 = _el$133.nextSibling, _el$135 = _el$132.nextSibling, _el$136 = _el$135.firstChild, _el$137 = _el$136.nextSibling, _el$138 = _el$135.nextSibling, _el$139 = _el$138.firstChild, _el$140 = _el$139.nextSibling;
430
- insert(_el$103, createComponent(For, {
433
+ var _el$106 = _tmpl$1(), _el$107 = _el$106.firstChild, _el$108 = _el$107.firstChild, _el$109 = _el$108.nextSibling, _el$110 = _el$109.nextSibling, _el$111 = _el$107.nextSibling, _el$112 = _el$111.firstChild, _el$113 = _el$111.nextSibling, _el$114 = _el$113.firstChild, _el$115 = _el$114.nextSibling, _el$116 = _el$115.firstChild, _el$117 = _el$116.firstChild, _el$118 = _el$117.nextSibling, _el$119 = _el$116.nextSibling, _el$120 = _el$119.firstChild, _el$121 = _el$120.nextSibling, _el$122 = _el$113.nextSibling, _el$123 = _el$122.firstChild, _el$125 = _el$123.nextSibling.firstChild, _el$126 = _el$125.firstChild, _el$127 = _el$126.nextSibling, _el$128 = _el$125.nextSibling, _el$129 = _el$128.firstChild, _el$130 = _el$129.nextSibling, _el$131 = _el$128.nextSibling, _el$132 = _el$131.firstChild, _el$133 = _el$132.nextSibling, _el$134 = _el$133.firstChild, _el$135 = _el$131.nextSibling, _el$136 = _el$135.firstChild, _el$137 = _el$136.nextSibling, _el$138 = _el$135.nextSibling, _el$139 = _el$138.firstChild, _el$140 = _el$139.nextSibling, _el$141 = _el$138.nextSibling, _el$142 = _el$141.firstChild, _el$143 = _el$142.nextSibling, _el$144 = _el$141.nextSibling, _el$145 = _el$144.firstChild, _el$146 = _el$145.nextSibling;
434
+ insert(_el$109, createComponent(For, {
431
435
  get each() {
432
436
  return liveReg().sequence;
433
437
  },
@@ -436,50 +440,54 @@ function SequenceDetails(props) {
436
440
  return i() > 0;
437
441
  },
438
442
  get children() {
439
- var _el$151 = _tmpl$11();
440
- effect(() => className(_el$151, styles().keyBreakdownPlus));
441
- return _el$151;
443
+ var _el$157 = _tmpl$11();
444
+ effect(() => className(_el$157, styles().keyBreakdownPlus));
445
+ return _el$157;
442
446
  }
443
447
  }), (() => {
444
- var _el$152 = _tmpl$7();
445
- insert(_el$152, () => props.formatForDisplay(step));
446
- effect(() => className(_el$152, clsx(styles().keyCapLarge, i() < matchedSteps() && styles().keyCapLargeInProgress)));
447
- return _el$152;
448
+ var _el$158 = _tmpl$7();
449
+ insert(_el$158, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
450
+ effect(() => className(_el$158, clsx(styles().keyCapLarge, i() < matchedSteps() && styles().keyCapLargeInProgress)));
451
+ return _el$158;
448
452
  })()]
449
453
  }));
450
- insert(_el$101, createComponent(For, {
454
+ insert(_el$107, createComponent(For, {
451
455
  get each() {
452
456
  return liveReg().sequence;
453
457
  },
454
458
  children: (step, stepIdx) => {
455
459
  const stepParsed = () => parseHotkey(step, sequenceCanonicalPlatform());
456
- const stepRawParts = () => normalizeHotkey(step, sequenceCanonicalPlatform()).split("+");
460
+ const stepParts = () => formatForDisplay(stepParsed(), {
461
+ platform: sequenceCanonicalPlatform(),
462
+ parts: true
463
+ });
457
464
  return (() => {
458
- var _el$153 = _tmpl$12(), _el$154 = _el$153.firstChild;
459
- _el$154.firstChild;
460
- var _el$156 = _el$154.nextSibling, _el$157 = _el$156.firstChild, _el$158 = _el$157.firstChild, _el$159 = _el$157.nextSibling, _el$160 = _el$159.nextSibling;
461
- insert(_el$154, () => stepIdx() + 1, null);
462
- insert(_el$158, createComponent(For, {
465
+ var _el$159 = _tmpl$12(), _el$160 = _el$159.firstChild, _el$164 = _el$160.firstChild.nextSibling;
466
+ _el$164.nextSibling;
467
+ var _el$165 = _el$160.nextSibling, _el$166 = _el$165.firstChild, _el$167 = _el$166.firstChild, _el$168 = _el$166.nextSibling, _el$169 = _el$168.nextSibling;
468
+ insert(_el$160, () => stepIdx() + 1, _el$164);
469
+ insert(_el$160, () => stepParsed().code !== void 0 ? "Code" : "Key", null);
470
+ insert(_el$167, createComponent(For, {
463
471
  get each() {
464
- return stepRawParts();
472
+ return stepParts();
465
473
  },
466
474
  children: (part, i) => [createComponent(Show, {
467
475
  get when() {
468
476
  return i() > 0;
469
477
  },
470
478
  get children() {
471
- var _el$161 = _tmpl$6();
472
- effect(() => className(_el$161, styles().keyBreakdownPlus));
473
- return _el$161;
479
+ var _el$170 = _tmpl$6();
480
+ effect(() => className(_el$170, styles().keyBreakdownPlus));
481
+ return _el$170;
474
482
  }
475
483
  }), (() => {
476
- var _el$162 = _tmpl$7();
477
- insert(_el$162, part);
478
- effect(() => className(_el$162, styles().keyCapLarge));
479
- return _el$162;
484
+ var _el$171 = _tmpl$7();
485
+ insert(_el$171, part);
486
+ effect(() => className(_el$171, styles().keyCapLarge));
487
+ return _el$171;
480
488
  })()]
481
489
  }));
482
- insert(_el$160, createComponent(KeyBreakdownPlatformTable, {
490
+ insert(_el$169, createComponent(KeyBreakdownPlatformTable, {
483
491
  getParsed: stepParsed,
484
492
  getCanonicalPlatform: () => sequenceCanonicalPlatform(),
485
493
  get styles() {
@@ -487,14 +495,14 @@ function SequenceDetails(props) {
487
495
  }
488
496
  }));
489
497
  effect((_p$) => {
490
- var _v$111 = styles().sequenceChordDetail, _v$112 = styles().keyBreakdownSubHeader, _v$113 = styles().keyBreakdownSplitRow, _v$114 = styles().keyBreakdownSplitLeft, _v$115 = styles().keyBreakdown, _v$116 = styles().keyBreakdownSplitArrow, _v$117 = styles().keyBreakdownSplitRight;
491
- _v$111 !== _p$.e && className(_el$153, _p$.e = _v$111);
492
- _v$112 !== _p$.t && className(_el$154, _p$.t = _v$112);
493
- _v$113 !== _p$.a && className(_el$156, _p$.a = _v$113);
494
- _v$114 !== _p$.o && className(_el$157, _p$.o = _v$114);
495
- _v$115 !== _p$.i && className(_el$158, _p$.i = _v$115);
496
- _v$116 !== _p$.n && className(_el$159, _p$.n = _v$116);
497
- _v$117 !== _p$.s && className(_el$160, _p$.s = _v$117);
498
+ var _v$117 = styles().sequenceChordDetail, _v$118 = styles().keyBreakdownSubHeader, _v$119 = styles().keyBreakdownSplitRow, _v$120 = styles().keyBreakdownSplitLeft, _v$121 = styles().keyBreakdown, _v$122 = styles().keyBreakdownSplitArrow, _v$123 = styles().keyBreakdownSplitRight;
499
+ _v$117 !== _p$.e && className(_el$159, _p$.e = _v$117);
500
+ _v$118 !== _p$.t && className(_el$160, _p$.t = _v$118);
501
+ _v$119 !== _p$.a && className(_el$165, _p$.a = _v$119);
502
+ _v$120 !== _p$.o && className(_el$166, _p$.o = _v$120);
503
+ _v$121 !== _p$.i && className(_el$167, _p$.i = _v$121);
504
+ _v$122 !== _p$.n && className(_el$168, _p$.n = _v$122);
505
+ _v$123 !== _p$.s && className(_el$169, _p$.s = _v$123);
498
506
  return _p$;
499
507
  }, {
500
508
  e: void 0,
@@ -505,16 +513,16 @@ function SequenceDetails(props) {
505
513
  n: void 0,
506
514
  s: void 0
507
515
  });
508
- return _el$153;
516
+ return _el$159;
509
517
  })();
510
518
  }
511
519
  }), null);
512
- insert(_el$105, createComponent(ActionButtons, { get registration() {
520
+ insert(_el$111, createComponent(ActionButtons, { get registration() {
513
521
  return liveReg();
514
522
  } }), null);
515
- insert(_el$112, () => liveReg().options.meta?.name ?? "—");
516
- insert(_el$115, () => liveReg().options.meta?.description ?? "—");
517
- insert(_el$109, createComponent(Show, {
523
+ insert(_el$118, () => liveReg().options.meta?.name ?? "—");
524
+ insert(_el$121, () => liveReg().options.meta?.description ?? "—");
525
+ insert(_el$115, createComponent(Show, {
518
526
  get when() {
519
527
  return memo(() => !!liveReg().options.meta)() && Object.keys(liveReg().options.meta).filter((k) => k !== "name" && k !== "description").length > 0;
520
528
  },
@@ -524,130 +532,127 @@ function SequenceDetails(props) {
524
532
  return Object.entries(liveReg().options.meta ?? {}).filter(([k]) => k !== "name" && k !== "description");
525
533
  },
526
534
  children: ([key, value]) => (() => {
527
- var _el$163 = _tmpl$2(), _el$164 = _el$163.firstChild, _el$165 = _el$164.nextSibling;
528
- insert(_el$164, key);
529
- insert(_el$165, () => String(value));
535
+ var _el$172 = _tmpl$2(), _el$173 = _el$172.firstChild, _el$174 = _el$173.nextSibling;
536
+ insert(_el$173, key);
537
+ insert(_el$174, () => String(value));
530
538
  effect((_p$) => {
531
- var _v$118 = styles().optionRow, _v$119 = styles().optionLabel, _v$120 = styles().optionValue;
532
- _v$118 !== _p$.e && className(_el$163, _p$.e = _v$118);
533
- _v$119 !== _p$.t && className(_el$164, _p$.t = _v$119);
534
- _v$120 !== _p$.a && className(_el$165, _p$.a = _v$120);
539
+ var _v$124 = styles().optionRow, _v$125 = styles().optionLabel, _v$126 = styles().optionValue;
540
+ _v$124 !== _p$.e && className(_el$172, _p$.e = _v$124);
541
+ _v$125 !== _p$.t && className(_el$173, _p$.t = _v$125);
542
+ _v$126 !== _p$.a && className(_el$174, _p$.a = _v$126);
535
543
  return _p$;
536
544
  }, {
537
545
  e: void 0,
538
546
  t: void 0,
539
547
  a: void 0
540
548
  });
541
- return _el$163;
549
+ return _el$172;
542
550
  })()
543
551
  });
544
552
  }
545
553
  }), null);
546
- insert(_el$121, () => String(liveReg().options.enabled !== false));
547
- insert(_el$124, () => liveReg().options.eventType ?? "keydown");
548
- insert(_el$127, () => liveReg().options.timeout ?? 1e3, _el$128);
549
- insert(_el$131, () => String(!!liveReg().options.preventDefault));
550
- insert(_el$134, () => String(!!liveReg().options.stopPropagation));
551
- insert(_el$137, () => String(liveReg().options.ignoreInputs !== false));
552
- insert(_el$140, conflictBehavior);
553
- insert(_el$100, createComponent(Show, {
554
+ insert(_el$127, () => String(liveReg().options.enabled !== false));
555
+ insert(_el$130, () => liveReg().options.eventType ?? "keydown");
556
+ insert(_el$133, () => liveReg().options.timeout ?? 1e3, _el$134);
557
+ insert(_el$137, () => String(!!liveReg().options.preventDefault));
558
+ insert(_el$140, () => String(!!liveReg().options.stopPropagation));
559
+ insert(_el$143, () => String(liveReg().options.ignoreInputs !== false));
560
+ insert(_el$146, conflictBehavior);
561
+ insert(_el$106, createComponent(Show, {
554
562
  get when() {
555
563
  return allConflicts().length > 0;
556
564
  },
557
565
  get children() {
558
- var _el$141 = _tmpl$4(), _el$142 = _el$141.firstChild, _el$145 = _el$142.firstChild.nextSibling;
559
- _el$145.nextSibling;
560
- var _el$146 = _el$142.nextSibling;
561
- insert(_el$142, () => allConflicts().length, _el$145);
562
- insert(_el$146, createComponent(For, {
566
+ var _el$147 = _tmpl$4(), _el$148 = _el$147.firstChild, _el$151 = _el$148.firstChild.nextSibling;
567
+ _el$151.nextSibling;
568
+ var _el$152 = _el$148.nextSibling;
569
+ insert(_el$148, () => allConflicts().length, _el$151);
570
+ insert(_el$152, createComponent(For, {
563
571
  get each() {
564
572
  return targetConflicts();
565
573
  },
566
574
  children: (conflict) => {
567
- const itemStyle = () => props.getConflictItemStyle(conflictBehavior(), true);
568
- const label = () => props.getConflictLabel(conflictBehavior(), true);
569
575
  return (() => {
570
- var _el$166 = _tmpl$8(), _el$167 = _el$166.firstChild, _el$174 = _el$167.nextSibling.nextSibling, _el$175 = _el$174.nextSibling.nextSibling, _el$176 = _el$175.nextSibling.nextSibling;
571
- _el$176.nextSibling;
572
- insert(_el$167, label);
573
- insert(_el$166, () => conflict.id, _el$174);
574
- insert(_el$166, () => props.formatHotkeySequence(conflict.sequence), _el$175);
575
- insert(_el$166, () => conflict.options.eventType ?? "keydown", _el$176);
576
- insert(_el$166, () => props.getTargetDescription(conflict.target), null);
577
- effect(() => className(_el$166, styles()[itemStyle()]));
578
- return _el$166;
576
+ var _el$175 = _tmpl$8(), _el$183 = _el$175.firstChild.nextSibling.nextSibling, _el$184 = _el$183.nextSibling.nextSibling, _el$185 = _el$184.nextSibling.nextSibling;
577
+ _el$185.nextSibling;
578
+ insert(_el$175, () => conflict.id, _el$183);
579
+ insert(_el$175, () => formatRegistration(conflict), _el$184);
580
+ insert(_el$175, () => conflict.options.eventType ?? "keydown", _el$185);
581
+ insert(_el$175, () => props.getTargetDescription(conflict.target), null);
582
+ effect(() => className(_el$175, styles().conflictItem));
583
+ return _el$175;
579
584
  })();
580
585
  }
581
586
  }), null);
582
- insert(_el$146, createComponent(For, {
587
+ insert(_el$152, createComponent(For, {
583
588
  get each() {
584
589
  return scopeConflicts();
585
590
  },
586
591
  children: (conflict) => (() => {
587
- var _el$177 = _tmpl$9(), _el$185 = _el$177.firstChild.nextSibling.nextSibling, _el$186 = _el$185.nextSibling.nextSibling, _el$187 = _el$186.nextSibling.nextSibling;
588
- _el$187.nextSibling;
589
- insert(_el$177, () => conflict.id, _el$185);
590
- insert(_el$177, () => props.formatHotkeySequence(conflict.sequence), _el$186);
591
- insert(_el$177, () => conflict.options.eventType ?? "keydown", _el$187);
592
- insert(_el$177, () => props.getTargetDescription(conflict.target), null);
593
- effect(() => className(_el$177, styles().conflictItemScope));
594
- return _el$177;
592
+ var _el$186 = _tmpl$9(), _el$194 = _el$186.firstChild.nextSibling.nextSibling, _el$195 = _el$194.nextSibling.nextSibling, _el$196 = _el$195.nextSibling.nextSibling;
593
+ _el$196.nextSibling;
594
+ insert(_el$186, () => conflict.id, _el$194);
595
+ insert(_el$186, () => formatRegistration(conflict), _el$195);
596
+ insert(_el$186, () => conflict.options.eventType ?? "keydown", _el$196);
597
+ insert(_el$186, () => props.getTargetDescription(conflict.target), null);
598
+ effect(() => className(_el$186, styles().conflictItemScope));
599
+ return _el$186;
595
600
  })()
596
601
  }), null);
597
602
  effect((_p$) => {
598
- var _v$70 = styles().detailSection, _v$71 = styles().detailSectionHeader, _v$72 = styles().conflictList;
599
- _v$70 !== _p$.e && className(_el$141, _p$.e = _v$70);
600
- _v$71 !== _p$.t && className(_el$142, _p$.t = _v$71);
601
- _v$72 !== _p$.a && className(_el$146, _p$.a = _v$72);
603
+ var _v$76 = styles().detailSection, _v$77 = styles().detailSectionHeader, _v$78 = styles().conflictList;
604
+ _v$76 !== _p$.e && className(_el$147, _p$.e = _v$76);
605
+ _v$77 !== _p$.t && className(_el$148, _p$.t = _v$77);
606
+ _v$78 !== _p$.a && className(_el$152, _p$.a = _v$78);
602
607
  return _p$;
603
608
  }, {
604
609
  e: void 0,
605
610
  t: void 0,
606
611
  a: void 0
607
612
  });
608
- return _el$141;
613
+ return _el$147;
609
614
  }
610
615
  }), null);
611
616
  effect((_p$) => {
612
- var _v$73 = styles().detailsGrid, _v$74 = styles().detailSection, _v$75 = styles().detailSectionHeader, _v$76 = styles().keyBreakdown, _v$77 = styles().keyBreakdownSubHeader, _v$78 = styles().detailSection, _v$79 = styles().detailSectionHeader, _v$80 = styles().detailSection, _v$81 = styles().detailSectionHeader, _v$82 = styles().optionRow, _v$83 = styles().optionLabel, _v$84 = styles().optionValue, _v$85 = styles().optionRow, _v$86 = styles().optionLabel, _v$87 = styles().optionValue, _v$88 = styles().detailSection, _v$89 = styles().detailSectionHeader, _v$90 = styles().optionRow, _v$91 = styles().optionLabel, _v$92 = liveReg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$93 = styles().optionRow, _v$94 = styles().optionLabel, _v$95 = styles().optionValue, _v$96 = styles().optionRow, _v$97 = styles().optionLabel, _v$98 = styles().optionValue, _v$99 = styles().optionRow, _v$100 = styles().optionLabel, _v$101 = liveReg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$102 = styles().optionRow, _v$103 = styles().optionLabel, _v$104 = liveReg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$105 = styles().optionRow, _v$106 = styles().optionLabel, _v$107 = liveReg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$108 = styles().optionRow, _v$109 = styles().optionLabel, _v$110 = styles().optionValue;
613
- _v$73 !== _p$.e && className(_el$100, _p$.e = _v$73);
614
- _v$74 !== _p$.t && className(_el$101, _p$.t = _v$74);
615
- _v$75 !== _p$.a && className(_el$102, _p$.a = _v$75);
616
- _v$76 !== _p$.o && className(_el$103, _p$.o = _v$76);
617
- _v$77 !== _p$.i && className(_el$104, _p$.i = _v$77);
618
- _v$78 !== _p$.n && className(_el$105, _p$.n = _v$78);
619
- _v$79 !== _p$.s && className(_el$106, _p$.s = _v$79);
620
- _v$80 !== _p$.h && className(_el$107, _p$.h = _v$80);
621
- _v$81 !== _p$.r && className(_el$108, _p$.r = _v$81);
622
- _v$82 !== _p$.d && className(_el$110, _p$.d = _v$82);
623
- _v$83 !== _p$.l && className(_el$111, _p$.l = _v$83);
624
- _v$84 !== _p$.u && className(_el$112, _p$.u = _v$84);
625
- _v$85 !== _p$.c && className(_el$113, _p$.c = _v$85);
626
- _v$86 !== _p$.w && className(_el$114, _p$.w = _v$86);
627
- _v$87 !== _p$.m && className(_el$115, _p$.m = _v$87);
628
- _v$88 !== _p$.f && className(_el$116, _p$.f = _v$88);
629
- _v$89 !== _p$.y && className(_el$117, _p$.y = _v$89);
630
- _v$90 !== _p$.g && className(_el$119, _p$.g = _v$90);
631
- _v$91 !== _p$.p && className(_el$120, _p$.p = _v$91);
632
- _v$92 !== _p$.b && className(_el$121, _p$.b = _v$92);
633
- _v$93 !== _p$.T && className(_el$122, _p$.T = _v$93);
634
- _v$94 !== _p$.A && className(_el$123, _p$.A = _v$94);
635
- _v$95 !== _p$.O && className(_el$124, _p$.O = _v$95);
636
- _v$96 !== _p$.I && className(_el$125, _p$.I = _v$96);
637
- _v$97 !== _p$.S && className(_el$126, _p$.S = _v$97);
638
- _v$98 !== _p$.W && className(_el$127, _p$.W = _v$98);
639
- _v$99 !== _p$.C && className(_el$129, _p$.C = _v$99);
640
- _v$100 !== _p$.B && className(_el$130, _p$.B = _v$100);
641
- _v$101 !== _p$.v && className(_el$131, _p$.v = _v$101);
642
- _v$102 !== _p$.k && className(_el$132, _p$.k = _v$102);
643
- _v$103 !== _p$.x && className(_el$133, _p$.x = _v$103);
644
- _v$104 !== _p$.j && className(_el$134, _p$.j = _v$104);
645
- _v$105 !== _p$.q && className(_el$135, _p$.q = _v$105);
646
- _v$106 !== _p$.z && className(_el$136, _p$.z = _v$106);
647
- _v$107 !== _p$.P && className(_el$137, _p$.P = _v$107);
648
- _v$108 !== _p$.H && className(_el$138, _p$.H = _v$108);
649
- _v$109 !== _p$.F && className(_el$139, _p$.F = _v$109);
650
- _v$110 !== _p$.M && className(_el$140, _p$.M = _v$110);
617
+ var _v$79 = styles().detailsGrid, _v$80 = styles().detailSection, _v$81 = styles().detailSectionHeader, _v$82 = styles().keyBreakdown, _v$83 = styles().keyBreakdownSubHeader, _v$84 = styles().detailSection, _v$85 = styles().detailSectionHeader, _v$86 = styles().detailSection, _v$87 = styles().detailSectionHeader, _v$88 = styles().optionRow, _v$89 = styles().optionLabel, _v$90 = styles().optionValue, _v$91 = styles().optionRow, _v$92 = styles().optionLabel, _v$93 = styles().optionValue, _v$94 = styles().detailSection, _v$95 = styles().detailSectionHeader, _v$96 = styles().optionRow, _v$97 = styles().optionLabel, _v$98 = liveReg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$99 = styles().optionRow, _v$100 = styles().optionLabel, _v$101 = styles().optionValue, _v$102 = styles().optionRow, _v$103 = styles().optionLabel, _v$104 = styles().optionValue, _v$105 = styles().optionRow, _v$106 = styles().optionLabel, _v$107 = liveReg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$108 = styles().optionRow, _v$109 = styles().optionLabel, _v$110 = liveReg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$111 = styles().optionRow, _v$112 = styles().optionLabel, _v$113 = liveReg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$114 = styles().optionRow, _v$115 = styles().optionLabel, _v$116 = styles().optionValue;
618
+ _v$79 !== _p$.e && className(_el$106, _p$.e = _v$79);
619
+ _v$80 !== _p$.t && className(_el$107, _p$.t = _v$80);
620
+ _v$81 !== _p$.a && className(_el$108, _p$.a = _v$81);
621
+ _v$82 !== _p$.o && className(_el$109, _p$.o = _v$82);
622
+ _v$83 !== _p$.i && className(_el$110, _p$.i = _v$83);
623
+ _v$84 !== _p$.n && className(_el$111, _p$.n = _v$84);
624
+ _v$85 !== _p$.s && className(_el$112, _p$.s = _v$85);
625
+ _v$86 !== _p$.h && className(_el$113, _p$.h = _v$86);
626
+ _v$87 !== _p$.r && className(_el$114, _p$.r = _v$87);
627
+ _v$88 !== _p$.d && className(_el$116, _p$.d = _v$88);
628
+ _v$89 !== _p$.l && className(_el$117, _p$.l = _v$89);
629
+ _v$90 !== _p$.u && className(_el$118, _p$.u = _v$90);
630
+ _v$91 !== _p$.c && className(_el$119, _p$.c = _v$91);
631
+ _v$92 !== _p$.w && className(_el$120, _p$.w = _v$92);
632
+ _v$93 !== _p$.m && className(_el$121, _p$.m = _v$93);
633
+ _v$94 !== _p$.f && className(_el$122, _p$.f = _v$94);
634
+ _v$95 !== _p$.y && className(_el$123, _p$.y = _v$95);
635
+ _v$96 !== _p$.g && className(_el$125, _p$.g = _v$96);
636
+ _v$97 !== _p$.p && className(_el$126, _p$.p = _v$97);
637
+ _v$98 !== _p$.b && className(_el$127, _p$.b = _v$98);
638
+ _v$99 !== _p$.T && className(_el$128, _p$.T = _v$99);
639
+ _v$100 !== _p$.A && className(_el$129, _p$.A = _v$100);
640
+ _v$101 !== _p$.O && className(_el$130, _p$.O = _v$101);
641
+ _v$102 !== _p$.I && className(_el$131, _p$.I = _v$102);
642
+ _v$103 !== _p$.S && className(_el$132, _p$.S = _v$103);
643
+ _v$104 !== _p$.W && className(_el$133, _p$.W = _v$104);
644
+ _v$105 !== _p$.C && className(_el$135, _p$.C = _v$105);
645
+ _v$106 !== _p$.B && className(_el$136, _p$.B = _v$106);
646
+ _v$107 !== _p$.v && className(_el$137, _p$.v = _v$107);
647
+ _v$108 !== _p$.k && className(_el$138, _p$.k = _v$108);
648
+ _v$109 !== _p$.x && className(_el$139, _p$.x = _v$109);
649
+ _v$110 !== _p$.j && className(_el$140, _p$.j = _v$110);
650
+ _v$111 !== _p$.q && className(_el$141, _p$.q = _v$111);
651
+ _v$112 !== _p$.z && className(_el$142, _p$.z = _v$112);
652
+ _v$113 !== _p$.P && className(_el$143, _p$.P = _v$113);
653
+ _v$114 !== _p$.H && className(_el$144, _p$.H = _v$114);
654
+ _v$115 !== _p$.F && className(_el$145, _p$.F = _v$115);
655
+ _v$116 !== _p$.M && className(_el$146, _p$.M = _v$116);
651
656
  return _p$;
652
657
  }, {
653
658
  e: void 0,
@@ -689,23 +694,23 @@ function SequenceDetails(props) {
689
694
  F: void 0,
690
695
  M: void 0
691
696
  });
692
- return _el$100;
697
+ return _el$106;
693
698
  })()];
694
699
  }
695
700
  function DetailsPanel(props) {
696
701
  const styles = useStyles();
697
702
  const state = useHotkeysDevtoolsState();
698
703
  return (() => {
699
- var _el$188 = _tmpl$();
700
- insert(_el$188, createComponent(Show, {
704
+ var _el$197 = _tmpl$();
705
+ insert(_el$197, createComponent(Show, {
701
706
  get when() {
702
707
  return props.selectedRegistration();
703
708
  },
704
709
  get fallback() {
705
710
  return (() => {
706
- var _el$189 = _tmpl$13();
707
- effect(() => className(_el$189, styles().noSelection));
708
- return _el$189;
711
+ var _el$198 = _tmpl$13();
712
+ effect(() => className(_el$198, styles().noSelection));
713
+ return _el$198;
709
714
  })();
710
715
  },
711
716
  children: (reg) => createComponent(Show, {
@@ -717,13 +722,7 @@ function DetailsPanel(props) {
717
722
  get registration() {
718
723
  return reg();
719
724
  },
720
- state,
721
725
  getTargetDescription,
722
- findTargetConflicts,
723
- findScopeConflicts,
724
- getConflictItemStyle,
725
- getConflictLabel,
726
- formatForDisplay,
727
726
  styles
728
727
  });
729
728
  },
@@ -734,22 +733,15 @@ function DetailsPanel(props) {
734
733
  },
735
734
  state,
736
735
  getTargetDescription,
737
- findSequenceTargetConflicts,
738
- findSequenceScopeConflicts,
739
- getConflictItemStyle,
740
- getConflictLabel,
741
- formatHotkeySequence,
742
- formatForDisplay,
743
736
  styles
744
737
  });
745
738
  }
746
739
  })
747
740
  }));
748
- effect(() => className(_el$188, styles().stateDetails));
749
- return _el$188;
741
+ effect(() => className(_el$197, styles().stateDetails));
742
+ return _el$197;
750
743
  })();
751
744
  }
752
745
 
753
746
  //#endregion
754
- export { DetailsPanel };
755
- //# sourceMappingURL=DetailsPanel.js.map
747
+ export { DetailsPanel };