shinkom 1.1.0 → 1.1.2

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 (85) hide show
  1. package/README.md +0 -18
  2. package/dist/bundles/_virtual/_rolldown/runtime.js +14 -14
  3. package/dist/bundles/core/constants.d.ts +15 -15
  4. package/dist/bundles/core/constants.js +23 -23
  5. package/dist/bundles/core/elements/compat-view-element.d.ts +99 -99
  6. package/dist/bundles/core/elements/compat-view-element.js +440 -440
  7. package/dist/bundles/core/elements/control-panel-element.d.ts +44 -44
  8. package/dist/bundles/core/elements/control-panel-element.js +99 -99
  9. package/dist/bundles/core/elements/index.d.ts +12 -12
  10. package/dist/bundles/core/elements/index.js +13 -13
  11. package/dist/bundles/core/elements/inspector-element.d.ts +26 -26
  12. package/dist/bundles/core/elements/inspector-element.js +58 -58
  13. package/dist/bundles/core/elements/recent-result-item.js +46 -46
  14. package/dist/bundles/core/elements/results-history-item.js +46 -46
  15. package/dist/bundles/core/elements/templates/compat-view.templates.js +462 -462
  16. package/dist/bundles/core/elements/templates/control-panel.templates.js +335 -335
  17. package/dist/bundles/core/elements/templates/root-styles.template.js +40 -40
  18. package/dist/bundles/core/event-bus.d.ts +46 -46
  19. package/dist/bundles/core/event-bus.js +49 -49
  20. package/dist/bundles/core/helpers.js +47 -47
  21. package/dist/bundles/core/index.d.ts +14 -14
  22. package/dist/bundles/core/index.js +16 -16
  23. package/dist/bundles/core/state-service.d.ts +56 -56
  24. package/dist/bundles/core/state-service.js +91 -80
  25. package/dist/bundles/core/ui-component.d.ts +63 -63
  26. package/dist/bundles/core/ui-component.js +71 -71
  27. package/dist/bundles/engine/engine.d.ts +108 -108
  28. package/dist/bundles/engine/engine.js +238 -238
  29. package/dist/bundles/engine/index.js +8 -8
  30. package/dist/bundles/gen/index.js +14 -14
  31. package/dist/bundles/index.d.ts +19 -19
  32. package/dist/bundles/index.js +23 -23
  33. package/dist/bundles/pkg/shinkore.d.ts +40 -50
  34. package/dist/bundles/pkg/shinkore.js +465 -465
  35. package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
  36. package/dist/bundles/shinkom.d.ts +41 -41
  37. package/dist/bundles/shinkom.js +80 -80
  38. package/dist/bundles/ui/compat-ui/compat-ui.d.ts +42 -42
  39. package/dist/bundles/ui/compat-ui/compat-ui.js +59 -59
  40. package/dist/bundles/ui/compat-ui/index.js +8 -8
  41. package/dist/bundles/ui/compatibility-view/compatibility-view.d.ts +41 -41
  42. package/dist/bundles/ui/compatibility-view/compatibility-view.js +229 -229
  43. package/dist/bundles/ui/compatibility-view/index.js +8 -8
  44. package/dist/bundles/ui/control-panel/control-panel.d.ts +52 -52
  45. package/dist/bundles/ui/control-panel/control-panel.js +320 -320
  46. package/dist/bundles/ui/control-panel/index.js +8 -8
  47. package/dist/bundles/ui/index.d.ts +11 -11
  48. package/dist/bundles/ui/index.js +16 -16
  49. package/dist/bundles/ui/inspector/index.js +8 -8
  50. package/dist/bundles/ui/inspector/inspector.d.ts +97 -97
  51. package/dist/bundles/ui/inspector/inspector.js +394 -394
  52. package/dist/modules/core/constants.cjs +17 -17
  53. package/dist/modules/core/elements/compat-view-element.cjs +434 -434
  54. package/dist/modules/core/elements/control-panel-element.cjs +93 -93
  55. package/dist/modules/core/elements/index.cjs +11 -11
  56. package/dist/modules/core/elements/inspector-element.cjs +52 -52
  57. package/dist/modules/core/elements/recent-result-item.cjs +39 -39
  58. package/dist/modules/core/elements/results-history-item.cjs +39 -39
  59. package/dist/modules/core/elements/templates/compat-view.templates.cjs +458 -458
  60. package/dist/modules/core/elements/templates/control-panel.templates.cjs +332 -332
  61. package/dist/modules/core/elements/templates/root-styles.template.cjs +33 -33
  62. package/dist/modules/core/event-bus.cjs +43 -43
  63. package/dist/modules/core/helpers.cjs +41 -41
  64. package/dist/modules/core/index.cjs +16 -16
  65. package/dist/modules/core/state-service.cjs +85 -74
  66. package/dist/modules/core/ui-component.cjs +65 -65
  67. package/dist/modules/engine/engine.cjs +232 -232
  68. package/dist/modules/gen/browser-data.cjs +100 -100
  69. package/dist/modules/gen/browser-usage-data.cjs +675 -675
  70. package/dist/modules/gen/compat-data.cjs +31015 -31015
  71. package/dist/modules/gen/index.cjs +7 -7
  72. package/dist/modules/index.cjs +27 -27
  73. package/dist/modules/pkg/shinkore.cjs +459 -459
  74. package/dist/modules/pkg/shinkore_bg.wasm +0 -0
  75. package/dist/modules/shinkom.cjs +73 -73
  76. package/dist/modules/ui/compat-ui/compat-ui.cjs +53 -53
  77. package/dist/modules/ui/compat-ui/index.cjs +1 -1
  78. package/dist/modules/ui/compatibility-view/compatibility-view.cjs +223 -223
  79. package/dist/modules/ui/compatibility-view/index.cjs +1 -1
  80. package/dist/modules/ui/control-panel/control-panel.cjs +314 -314
  81. package/dist/modules/ui/control-panel/index.cjs +1 -1
  82. package/dist/modules/ui/index.cjs +13 -13
  83. package/dist/modules/ui/inspector/index.cjs +1 -1
  84. package/dist/modules/ui/inspector/inspector.cjs +388 -388
  85. package/package.json +100 -100
Binary file
@@ -1,42 +1,42 @@
1
- /**
2
- * Shinkom - shinkom
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import { CompatUI } from "./ui/compat-ui/compat-ui.js";
9
- import { SKEngine } from "./engine/engine.js";
10
- import { ShinkomConfig as ShinkomConfig$1 } from "./types/public.js";
11
-
12
- //#region src/shinkom.d.ts
13
- declare class Shinkom {
14
- /**
15
- * Initializes UI and engine components
16
- *
17
- * It creates instances for the event bus and state service and shares them
18
- * between the components. It also has an optional configuration object
19
- * used for configuring the inspector and initializing the engine with a
20
- * URL to the WASM file.
21
- *
22
- * @param {ShinkomConfig | undefined} config
23
- */
24
- constructor(config?: ShinkomConfig | undefined);
25
- initialized: boolean | undefined;
26
- /**@type {SKEngine} */
27
- skEngine: SKEngine;
28
- /**@type {CompatUI} */
29
- compatUI: CompatUI;
30
- /**
31
- * Initialize Shinkom.
32
- */
33
- init(): Promise<void>;
34
- /**
35
- * Destroy UI components and engine instance.
36
- */
37
- destroy(): void;
38
- #private;
39
- }
40
- type ShinkomConfig = ShinkomConfig$1;
41
- //#endregion
1
+ /**
2
+ * Shinkom - shinkom
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { CompatUI } from "./ui/compat-ui/compat-ui.js";
9
+ import { SKEngine } from "./engine/engine.js";
10
+ import { ShinkomConfig as ShinkomConfig$1 } from "./types/public.js";
11
+
12
+ //#region src/shinkom.d.ts
13
+ declare class Shinkom {
14
+ /**
15
+ * Initializes UI and engine components
16
+ *
17
+ * It creates instances for the event bus and state service and shares them
18
+ * between the components. It also has an optional configuration object
19
+ * used for configuring the inspector and initializing the engine with a
20
+ * URL to the WASM file.
21
+ *
22
+ * @param {ShinkomConfig | undefined} config
23
+ */
24
+ constructor(config?: ShinkomConfig | undefined);
25
+ initialized: boolean | undefined;
26
+ /**@type {SKEngine} */
27
+ skEngine: SKEngine;
28
+ /**@type {CompatUI} */
29
+ compatUI: CompatUI;
30
+ /**
31
+ * Initialize Shinkom.
32
+ */
33
+ init(): Promise<void>;
34
+ /**
35
+ * Destroy UI components and engine instance.
36
+ */
37
+ destroy(): void;
38
+ #private;
39
+ }
40
+ type ShinkomConfig = ShinkomConfig$1;
41
+ //#endregion
42
42
  export { Shinkom, ShinkomConfig };
@@ -1,80 +1,80 @@
1
- /**
2
- * Shinkom - shinkom
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import { ShinkomBus } from "./core/event-bus.js";
9
- import { ShinkomState } from "./core/state-service.js";
10
- import "./core/index.js";
11
- import { CompatInspector } from "./ui/inspector/inspector.js";
12
- import { CompatControlPanel } from "./ui/control-panel/control-panel.js";
13
- import { CompatView } from "./ui/compatibility-view/compatibility-view.js";
14
- import { CompatUI } from "./ui/compat-ui/compat-ui.js";
15
- import "./ui/index.js";
16
- import { SKEngine } from "./engine/engine.js";
17
- import "./engine/index.js";
18
- //#region src/shinkom.js
19
- /**@typedef {import("./types/public").ShinkomConfig} ShinkomConfig */
20
- /**@type {Shinkom | null} */
21
- let instance = null;
22
- var Shinkom = class {
23
- #config;
24
- /**
25
- * Initializes UI and engine components
26
- *
27
- * It creates instances for the event bus and state service and shares them
28
- * between the components. It also has an optional configuration object
29
- * used for configuring the inspector and initializing the engine with a
30
- * URL to the WASM file.
31
- *
32
- * @param {ShinkomConfig | undefined} config
33
- */
34
- constructor(config = void 0) {
35
- if (instance) return instance;
36
- this.initialized = false;
37
- this.#config = config;
38
- const bus = new ShinkomBus();
39
- const state = new ShinkomState();
40
- /**@type {SKEngine} */
41
- this.skEngine = new SKEngine(bus);
42
- /**@type {CompatUI} */
43
- this.compatUI = new CompatUI(bus, state, [
44
- new CompatInspector(bus, state, this.#config?.inspector),
45
- new CompatControlPanel(bus, state),
46
- new CompatView(bus, state)
47
- ]);
48
- instance = this;
49
- }
50
- /**
51
- * Initialize Shinkom.
52
- */
53
- async init() {
54
- try {
55
- if (this.initialized) {
56
- console.warn("Shinkom is already initialized.");
57
- return;
58
- }
59
- await this.skEngine.initEngine(this.#config?.engine?.wasmURL);
60
- this.compatUI.init();
61
- this.initialized = true;
62
- } catch (error) {
63
- console.error(`Shinkom initialization error: ${error}`);
64
- }
65
- }
66
- /**
67
- * Destroy UI components and engine instance.
68
- */
69
- destroy() {
70
- if (!this.initialized) {
71
- console.warn("Shinkom has not been initialized.");
72
- return;
73
- }
74
- this.skEngine.destroy();
75
- this.compatUI.destroy();
76
- this.initialized = false;
77
- }
78
- };
79
- //#endregion
80
- export { Shinkom };
1
+ /**
2
+ * Shinkom - shinkom
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { ShinkomBus } from "./core/event-bus.js";
9
+ import { ShinkomState } from "./core/state-service.js";
10
+ import "./core/index.js";
11
+ import { CompatInspector } from "./ui/inspector/inspector.js";
12
+ import { CompatControlPanel } from "./ui/control-panel/control-panel.js";
13
+ import { CompatView } from "./ui/compatibility-view/compatibility-view.js";
14
+ import { CompatUI } from "./ui/compat-ui/compat-ui.js";
15
+ import "./ui/index.js";
16
+ import { SKEngine } from "./engine/engine.js";
17
+ import "./engine/index.js";
18
+ //#region src/shinkom.js
19
+ /**@typedef {import("./types/public").ShinkomConfig} ShinkomConfig */
20
+ /**@type {Shinkom | null} */
21
+ let instance = null;
22
+ var Shinkom = class {
23
+ #config;
24
+ /**
25
+ * Initializes UI and engine components
26
+ *
27
+ * It creates instances for the event bus and state service and shares them
28
+ * between the components. It also has an optional configuration object
29
+ * used for configuring the inspector and initializing the engine with a
30
+ * URL to the WASM file.
31
+ *
32
+ * @param {ShinkomConfig | undefined} config
33
+ */
34
+ constructor(config = void 0) {
35
+ if (instance) return instance;
36
+ this.initialized = false;
37
+ this.#config = config;
38
+ const bus = new ShinkomBus();
39
+ const state = new ShinkomState();
40
+ /**@type {SKEngine} */
41
+ this.skEngine = new SKEngine(bus);
42
+ /**@type {CompatUI} */
43
+ this.compatUI = new CompatUI(bus, state, [
44
+ new CompatInspector(bus, state, this.#config?.inspector),
45
+ new CompatControlPanel(bus, state),
46
+ new CompatView(bus, state)
47
+ ]);
48
+ instance = this;
49
+ }
50
+ /**
51
+ * Initialize Shinkom.
52
+ */
53
+ async init() {
54
+ try {
55
+ if (this.initialized) {
56
+ console.warn("Shinkom is already initialized.");
57
+ return;
58
+ }
59
+ await this.skEngine.initEngine(this.#config?.engine?.wasmURL);
60
+ this.compatUI.init();
61
+ this.initialized = true;
62
+ } catch (error) {
63
+ console.error(`Shinkom initialization error: ${error}`);
64
+ }
65
+ }
66
+ /**
67
+ * Destroy UI components and engine instance.
68
+ */
69
+ destroy() {
70
+ if (!this.initialized) {
71
+ console.warn("Shinkom has not been initialized.");
72
+ return;
73
+ }
74
+ this.skEngine.destroy();
75
+ this.compatUI.destroy();
76
+ this.initialized = false;
77
+ }
78
+ };
79
+ //#endregion
80
+ export { Shinkom };
@@ -1,43 +1,43 @@
1
- /**
2
- * Shinkom - compat-ui
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import { ShinkomBus } from "../../core/event-bus.js";
9
- import { ShinkomState } from "../../core/state-service.js";
10
- import { UIComponent } from "../../core/ui-component.js";
11
- import { UISharedState as UISharedState$1 } from "../../types/public.js";
12
-
13
- //#region src/ui/compat-ui/compat-ui.d.ts
14
- declare class CompatUI {
15
- /**
16
- * Initializes the provided UI components.
17
- *
18
- * It requires an instance of the `ShinkomBus` and `ShinkomState` and the UI
19
- * components to be mounted.
20
- *
21
- * It sets a `WeakMap` with the Proxy state from the state service for binding
22
- * state to the components after being mounted.
23
- *
24
- * @param {ShinkomBus} _bus
25
- * @param {ShinkomState} stateService
26
- * @param {UIComponent[]} components
27
- */
28
- constructor(_bus: ShinkomBus, stateService: ShinkomState, components?: UIComponent[]);
29
- /**@type {UIComponent[]} */
30
- components: UIComponent[];
31
- /**
32
- * Initializes CompatUI components.
33
- */
34
- init(): void;
35
- /**
36
- * Destroys CompatUI component instances.
37
- */
38
- destroy(): void;
39
- #private;
40
- }
41
- type UISharedState = UISharedState$1;
42
- //#endregion
1
+ /**
2
+ * Shinkom - compat-ui
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { ShinkomBus } from "../../core/event-bus.js";
9
+ import { ShinkomState } from "../../core/state-service.js";
10
+ import { UIComponent } from "../../core/ui-component.js";
11
+ import { UISharedState as UISharedState$1 } from "../../types/public.js";
12
+
13
+ //#region src/ui/compat-ui/compat-ui.d.ts
14
+ declare class CompatUI {
15
+ /**
16
+ * Initializes the provided UI components.
17
+ *
18
+ * It requires an instance of the `ShinkomBus` and `ShinkomState` and the UI
19
+ * components to be mounted.
20
+ *
21
+ * It sets a `WeakMap` with the Proxy state from the state service for binding
22
+ * state to the components after being mounted.
23
+ *
24
+ * @param {ShinkomBus} _bus
25
+ * @param {ShinkomState} stateService
26
+ * @param {UIComponent[]} components
27
+ */
28
+ constructor(_bus: ShinkomBus, stateService: ShinkomState, components?: UIComponent[]);
29
+ /**@type {UIComponent[]} */
30
+ components: UIComponent[];
31
+ /**
32
+ * Initializes CompatUI components.
33
+ */
34
+ init(): void;
35
+ /**
36
+ * Destroys CompatUI component instances.
37
+ */
38
+ destroy(): void;
39
+ #private;
40
+ }
41
+ type UISharedState = UISharedState$1;
42
+ //#endregion
43
43
  export { CompatUI, UISharedState };
@@ -1,59 +1,59 @@
1
- /**
2
- * Shinkom - compat-ui
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import "../../core/index.js";
9
- //#region src/ui/compat-ui/compat-ui.js
10
- /**@type {WeakMap<WeakKey, UISharedState>} */
11
- const internalState = /* @__PURE__ */ new WeakMap();
12
- var CompatUI = class {
13
- /**
14
- * Initializes the provided UI components.
15
- *
16
- * It requires an instance of the `ShinkomBus` and `ShinkomState` and the UI
17
- * components to be mounted.
18
- *
19
- * It sets a `WeakMap` with the Proxy state from the state service for binding
20
- * state to the components after being mounted.
21
- *
22
- * @param {ShinkomBus} _bus
23
- * @param {ShinkomState} stateService
24
- * @param {UIComponent[]} components
25
- */
26
- constructor(_bus, stateService, components = []) {
27
- /**@type {UIComponent[]} */
28
- this.components = components;
29
- internalState.set(this, stateService.getState());
30
- }
31
- /**
32
- * Bind state proxy to UI components.
33
- */
34
- #bindState() {
35
- const state = internalState.get(this);
36
- if (state) this.components.forEach((comp) => comp.bindState(state));
37
- }
38
- /**
39
- * Initializes CompatUI components.
40
- */
41
- init() {
42
- try {
43
- this.components.forEach((comp) => comp.mount());
44
- this.#bindState();
45
- } catch (error) {
46
- console.error(`Compat UI initialization error: ${error}`);
47
- }
48
- }
49
- /**
50
- * Destroys CompatUI component instances.
51
- */
52
- destroy() {
53
- this.components.forEach((comp) => {
54
- comp.unmount();
55
- });
56
- }
57
- };
58
- //#endregion
59
- export { CompatUI };
1
+ /**
2
+ * Shinkom - compat-ui
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import "../../core/index.js";
9
+ //#region src/ui/compat-ui/compat-ui.js
10
+ /**@type {WeakMap<WeakKey, UISharedState>} */
11
+ const internalState = /* @__PURE__ */ new WeakMap();
12
+ var CompatUI = class {
13
+ /**
14
+ * Initializes the provided UI components.
15
+ *
16
+ * It requires an instance of the `ShinkomBus` and `ShinkomState` and the UI
17
+ * components to be mounted.
18
+ *
19
+ * It sets a `WeakMap` with the Proxy state from the state service for binding
20
+ * state to the components after being mounted.
21
+ *
22
+ * @param {ShinkomBus} _bus
23
+ * @param {ShinkomState} stateService
24
+ * @param {UIComponent[]} components
25
+ */
26
+ constructor(_bus, stateService, components = []) {
27
+ /**@type {UIComponent[]} */
28
+ this.components = components;
29
+ internalState.set(this, stateService.getState());
30
+ }
31
+ /**
32
+ * Bind state proxy to UI components.
33
+ */
34
+ #bindState() {
35
+ const state = internalState.get(this);
36
+ if (state) this.components.forEach((comp) => comp.bindState(state));
37
+ }
38
+ /**
39
+ * Initializes CompatUI components.
40
+ */
41
+ init() {
42
+ try {
43
+ this.components.forEach((comp) => comp.mount());
44
+ this.#bindState();
45
+ } catch (error) {
46
+ console.error(`Compat UI initialization error: ${error}`);
47
+ }
48
+ }
49
+ /**
50
+ * Destroys CompatUI component instances.
51
+ */
52
+ destroy() {
53
+ this.components.forEach((comp) => {
54
+ comp.unmount();
55
+ });
56
+ }
57
+ };
58
+ //#endregion
59
+ export { CompatUI };
@@ -1,8 +1,8 @@
1
- /**
2
- * Shinkom - ui\compat-ui\index
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import "./compat-ui.js";
1
+ /**
2
+ * Shinkom - ui\compat-ui\index
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import "./compat-ui.js";
@@ -1,42 +1,42 @@
1
- /**
2
- * Shinkom - compatibility-view
3
- * @version 1.1.0
4
- * @license MIT
5
- * @copyright 2026 - OneilNvM
6
- */
7
-
8
- import { UIComponent } from "../../core/ui-component.js";
9
- import { CompatViewElement } from "../../core/elements/compat-view-element.js";
10
- import { CompatResult as CompatResult$1, UISharedState as UISharedState$1, UISharedStateProps as UISharedStateProps$1 } from "../../types/public.js";
11
-
12
- //#region src/ui/compatibility-view/compatibility-view.d.ts
13
- /**
14
- * CompatView manages the compatibility results panel that displays
15
- * inspection overview, result details, and history.
16
- *
17
- * It mounts the `<sk-compat-view>` custom element, binds the view to
18
- * shared state, listens for result updates from the Shinkom bus, and
19
- * handles UI interactions such as tab switching and show/hide transitions.
20
- *
21
- * @extends {UIComponent}
22
- */
23
- declare class CompatView extends UIComponent {
24
- /**
25
- * Register custom elements to the CustomElementRegistry.
26
- */
27
- static register(): void;
28
- /**@type {CompatViewElement | null} */
29
- compatViewEl: CompatViewElement | null;
30
- /**@type {"overview" | "results" | "history"} */
31
- currentTab: "overview" | "results" | "history";
32
- /**@type {boolean} */
33
- active: boolean;
34
- /**@type {() => void} */
35
- unsubEvent: () => void;
36
- #private;
37
- }
38
- type UISharedState = UISharedState$1;
39
- type UISharedStateProps = UISharedStateProps$1;
40
- type CompatResult = CompatResult$1;
41
- //#endregion
1
+ /**
2
+ * Shinkom - compatibility-view
3
+ * @version 1.1.2
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { UIComponent } from "../../core/ui-component.js";
9
+ import { CompatViewElement } from "../../core/elements/compat-view-element.js";
10
+ import { CompatResult as CompatResult$1, UISharedState as UISharedState$1, UISharedStateProps as UISharedStateProps$1 } from "../../types/public.js";
11
+
12
+ //#region src/ui/compatibility-view/compatibility-view.d.ts
13
+ /**
14
+ * CompatView manages the compatibility results panel that displays
15
+ * inspection overview, result details, and history.
16
+ *
17
+ * It mounts the `<sk-compat-view>` custom element, binds the view to
18
+ * shared state, listens for result updates from the Shinkom bus, and
19
+ * handles UI interactions such as tab switching and show/hide transitions.
20
+ *
21
+ * @extends {UIComponent}
22
+ */
23
+ declare class CompatView extends UIComponent {
24
+ /**
25
+ * Register custom elements to the CustomElementRegistry.
26
+ */
27
+ static register(): void;
28
+ /**@type {CompatViewElement | null} */
29
+ compatViewEl: CompatViewElement | null;
30
+ /**@type {"overview" | "results" | "history"} */
31
+ currentTab: "overview" | "results" | "history";
32
+ /**@type {boolean} */
33
+ active: boolean;
34
+ /**@type {() => void} */
35
+ unsubEvent: () => void;
36
+ #private;
37
+ }
38
+ type UISharedState = UISharedState$1;
39
+ type UISharedStateProps = UISharedStateProps$1;
40
+ type CompatResult = CompatResult$1;
41
+ //#endregion
42
42
  export { CompatResult, CompatView, UISharedState, UISharedStateProps };