@arcanejs/toolkit 0.2.2 → 0.3.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 (67) hide show
  1. package/dist/backend/components/base.d.mts +4 -1
  2. package/dist/backend/components/base.d.ts +4 -1
  3. package/dist/backend/components/base.js +2 -2
  4. package/dist/backend/components/base.mjs +1 -1
  5. package/dist/backend/components/button.d.mts +1 -0
  6. package/dist/backend/components/button.d.ts +1 -0
  7. package/dist/backend/components/button.js +3 -3
  8. package/dist/backend/components/button.mjs +2 -2
  9. package/dist/backend/components/group.d.mts +1 -0
  10. package/dist/backend/components/group.d.ts +1 -0
  11. package/dist/backend/components/group.js +3 -3
  12. package/dist/backend/components/group.mjs +2 -2
  13. package/dist/backend/components/label.d.mts +1 -0
  14. package/dist/backend/components/label.d.ts +1 -0
  15. package/dist/backend/components/label.js +3 -3
  16. package/dist/backend/components/label.mjs +2 -2
  17. package/dist/backend/components/rect.d.mts +1 -0
  18. package/dist/backend/components/rect.d.ts +1 -0
  19. package/dist/backend/components/rect.js +3 -3
  20. package/dist/backend/components/rect.mjs +2 -2
  21. package/dist/backend/components/slider-button.d.mts +1 -0
  22. package/dist/backend/components/slider-button.d.ts +1 -0
  23. package/dist/backend/components/slider-button.js +3 -3
  24. package/dist/backend/components/slider-button.mjs +2 -2
  25. package/dist/backend/components/switch.d.mts +1 -0
  26. package/dist/backend/components/switch.d.ts +1 -0
  27. package/dist/backend/components/switch.js +3 -3
  28. package/dist/backend/components/switch.mjs +2 -2
  29. package/dist/backend/components/tabs.d.mts +1 -0
  30. package/dist/backend/components/tabs.d.ts +1 -0
  31. package/dist/backend/components/tabs.js +3 -3
  32. package/dist/backend/components/tabs.mjs +2 -2
  33. package/dist/backend/components/text-input.d.mts +1 -0
  34. package/dist/backend/components/text-input.d.ts +1 -0
  35. package/dist/backend/components/text-input.js +3 -3
  36. package/dist/backend/components/text-input.mjs +2 -2
  37. package/dist/backend/components/timeline.d.mts +1 -0
  38. package/dist/backend/components/timeline.d.ts +1 -0
  39. package/dist/backend/components/timeline.js +3 -3
  40. package/dist/backend/components/timeline.mjs +2 -2
  41. package/dist/{chunk-3O4P67DM.mjs → chunk-3Y3HRYLC.mjs} +1 -1
  42. package/dist/{chunk-HNEUZVCX.mjs → chunk-7ITSSJE2.mjs} +1 -1
  43. package/dist/{chunk-M6EFK4GP.js → chunk-DNCHAOYH.js} +3 -3
  44. package/dist/{chunk-OEIGZ3NQ.js → chunk-DV5WTSFW.js} +2 -2
  45. package/dist/{chunk-ZCHM3JJJ.mjs → chunk-EDTJ75FT.mjs} +4 -3
  46. package/dist/{chunk-TAZH4BBH.mjs → chunk-EH73E5FP.mjs} +1 -1
  47. package/dist/{chunk-JW4GXS54.mjs → chunk-H2UQDFTS.mjs} +1 -1
  48. package/dist/{chunk-MDFDWKGW.js → chunk-IW3JCC73.js} +3 -3
  49. package/dist/{chunk-KVJU3EAD.js → chunk-J46AJUGE.js} +3 -3
  50. package/dist/{chunk-IXTM35YM.mjs → chunk-NKNDCRUR.mjs} +1 -1
  51. package/dist/{chunk-UBWCVW2U.js → chunk-NZUYU32Z.js} +21 -20
  52. package/dist/{chunk-SOC4TF3J.mjs → chunk-POUQGJN4.mjs} +1 -1
  53. package/dist/{chunk-K24YPCR5.js → chunk-QUA3NBLD.js} +4 -4
  54. package/dist/{chunk-ZU5H6SVA.mjs → chunk-SMTUN6HG.mjs} +1 -1
  55. package/dist/{chunk-P43QUQ4T.js → chunk-TSC5C5XR.js} +2 -2
  56. package/dist/{chunk-RGIB65TI.js → chunk-WIPEQNWR.js} +2 -2
  57. package/dist/{chunk-RJS32OOA.js → chunk-WXSKMMCV.js} +3 -3
  58. package/dist/{chunk-TQ27Y7F4.mjs → chunk-YIXRQHTA.mjs} +1 -1
  59. package/dist/{chunk-T2PJEXYO.js → chunk-YN3FZMXY.js} +3 -3
  60. package/dist/{chunk-APCR3ITH.mjs → chunk-YYM7PBRN.mjs} +1 -1
  61. package/dist/frontend.js +0 -3
  62. package/dist/frontend.js.map +2 -2
  63. package/dist/index.d.mts +21 -3
  64. package/dist/index.d.ts +21 -3
  65. package/dist/index.js +30 -26
  66. package/dist/index.mjs +28 -24
  67. package/package.json +4 -4
@@ -1,5 +1,6 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
+ import { Logger } from '@arcanejs/protocol/logging';
3
4
 
4
5
  interface Component {
5
6
  getProtoInfo(idMap: IDMap): proto.Component;
@@ -15,6 +16,7 @@ declare abstract class Base<Props> implements Component {
15
16
  /** @hidden */
16
17
  private _props;
17
18
  constructor(defaultProps: Props, props?: Partial<Props>);
19
+ log: () => Logger | null;
18
20
  get props(): Props;
19
21
  set props(props: Partial<Props>);
20
22
  setProps: (props: Partial<Props>) => void;
@@ -26,13 +28,14 @@ declare abstract class Base<Props> implements Component {
26
28
  /** @hidden */
27
29
  abstract getProtoInfo(idMap: IDMap): proto.Component;
28
30
  /** @hidden */
29
- handleMessage(message: proto.ClientComponentMessage): void;
31
+ handleMessage(_message: proto.ClientComponentMessage): void;
30
32
  routeMessage(_idMap: IDMap, _message: proto.ClientComponentMessage): void;
31
33
  }
32
34
  /** @hidden */
33
35
  interface Parent {
34
36
  updateTree(): void;
35
37
  removeChild(component: Component): void;
38
+ log(): Logger | null;
36
39
  }
37
40
  declare abstract class BaseParent<T> extends Base<T> implements Parent {
38
41
  /** @hidden */
@@ -1,5 +1,6 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
+ import { Logger } from '@arcanejs/protocol/logging';
3
4
 
4
5
  interface Component {
5
6
  getProtoInfo(idMap: IDMap): proto.Component;
@@ -15,6 +16,7 @@ declare abstract class Base<Props> implements Component {
15
16
  /** @hidden */
16
17
  private _props;
17
18
  constructor(defaultProps: Props, props?: Partial<Props>);
19
+ log: () => Logger | null;
18
20
  get props(): Props;
19
21
  set props(props: Partial<Props>);
20
22
  setProps: (props: Partial<Props>) => void;
@@ -26,13 +28,14 @@ declare abstract class Base<Props> implements Component {
26
28
  /** @hidden */
27
29
  abstract getProtoInfo(idMap: IDMap): proto.Component;
28
30
  /** @hidden */
29
- handleMessage(message: proto.ClientComponentMessage): void;
31
+ handleMessage(_message: proto.ClientComponentMessage): void;
30
32
  routeMessage(_idMap: IDMap, _message: proto.ClientComponentMessage): void;
31
33
  }
32
34
  /** @hidden */
33
35
  interface Parent {
34
36
  updateTree(): void;
35
37
  removeChild(component: Component): void;
38
+ log(): Logger | null;
36
39
  }
37
40
  declare abstract class BaseParent<T> extends Base<T> implements Parent {
38
41
  /** @hidden */
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUBWCVW2Ujs = require('../../chunk-UBWCVW2U.js');
5
+ var _chunkNZUYU32Zjs = require('../../chunk-NZUYU32Z.js');
6
6
  require('../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.Base = _chunkUBWCVW2Ujs.Base; exports.BaseParent = _chunkUBWCVW2Ujs.BaseParent; exports.EventEmitter = _chunkUBWCVW2Ujs.EventEmitter;
11
+ exports.Base = _chunkNZUYU32Zjs.Base; exports.BaseParent = _chunkNZUYU32Zjs.BaseParent; exports.EventEmitter = _chunkNZUYU32Zjs.EventEmitter;
@@ -2,7 +2,7 @@ import {
2
2
  Base,
3
3
  BaseParent,
4
4
  EventEmitter
5
- } from "../../chunk-ZCHM3JJJ.mjs";
5
+ } from "../../chunk-EDTJ75FT.mjs";
6
6
  import "../../chunk-Y6FXYEAI.mjs";
7
7
  export {
8
8
  Base,
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base, Listenable } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  click: () => void | Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base, Listenable } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  click: () => void | Promise<void>;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkKVJU3EADjs = require('../../chunk-KVJU3EAD.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkJ46AJUGEjs = require('../../chunk-J46AJUGE.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.Button = _chunkKVJU3EADjs.Button;
8
+ exports.Button = _chunkJ46AJUGEjs.Button;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Button
3
- } from "../../chunk-TAZH4BBH.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-EH73E5FP.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  Button
@@ -3,6 +3,7 @@ import { GroupComponentStyle } from '@arcanejs/protocol/styles';
3
3
  import { IDMap } from '../util/index.mjs';
4
4
  import { BaseParent, Listenable } from './base.mjs';
5
5
  import { Button } from './button.mjs';
6
+ import '@arcanejs/protocol/logging';
6
7
 
7
8
  type Label = (proto.GroupComponent['labels'] & Array<unknown>)[number];
8
9
  type GroupOptions = {
@@ -3,6 +3,7 @@ import { GroupComponentStyle } from '@arcanejs/protocol/styles';
3
3
  import { IDMap } from '../util/index.js';
4
4
  import { BaseParent, Listenable } from './base.js';
5
5
  import { Button } from './button.js';
6
+ import '@arcanejs/protocol/logging';
6
7
 
7
8
  type Label = (proto.GroupComponent['labels'] & Array<unknown>)[number];
8
9
  type GroupOptions = {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkK24YPCR5js = require('../../chunk-K24YPCR5.js');
5
- require('../../chunk-UBWCVW2U.js');
4
+ var _chunkQUA3NBLDjs = require('../../chunk-QUA3NBLD.js');
5
+ require('../../chunk-NZUYU32Z.js');
6
6
  require('../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
9
 
10
- exports.Group = _chunkK24YPCR5js.Group; exports.GroupHeader = _chunkK24YPCR5js.GroupHeader;
10
+ exports.Group = _chunkQUA3NBLDjs.Group; exports.GroupHeader = _chunkQUA3NBLDjs.GroupHeader;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Group,
3
3
  GroupHeader
4
- } from "../../chunk-3O4P67DM.mjs";
5
- import "../../chunk-ZCHM3JJJ.mjs";
4
+ } from "../../chunk-3Y3HRYLC.mjs";
5
+ import "../../chunk-EDTJ75FT.mjs";
6
6
  import "../../chunk-Y6FXYEAI.mjs";
7
7
  export {
8
8
  Group,
@@ -2,6 +2,7 @@ import * as proto from '@arcanejs/protocol';
2
2
  import { LabelComponentStyle } from '@arcanejs/protocol/styles';
3
3
  import { IDMap } from '../util/index.mjs';
4
4
  import { Base } from './base.mjs';
5
+ import '@arcanejs/protocol/logging';
5
6
 
6
7
  type InternalProps = LabelComponentStyle & {
7
8
  text: string | null;
@@ -2,6 +2,7 @@ import * as proto from '@arcanejs/protocol';
2
2
  import { LabelComponentStyle } from '@arcanejs/protocol/styles';
3
3
  import { IDMap } from '../util/index.js';
4
4
  import { Base } from './base.js';
5
+ import '@arcanejs/protocol/logging';
5
6
 
6
7
  type InternalProps = LabelComponentStyle & {
7
8
  text: string | null;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkP43QUQ4Tjs = require('../../chunk-P43QUQ4T.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkTSC5C5XRjs = require('../../chunk-TSC5C5XR.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.Label = _chunkP43QUQ4Tjs.Label;
8
+ exports.Label = _chunkTSC5C5XRjs.Label;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Label
3
- } from "../../chunk-HNEUZVCX.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-7ITSSJE2.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  Label
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type InternalProps = {
6
7
  color: string;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type InternalProps = {
6
7
  color: string;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGIB65TIjs = require('../../chunk-RGIB65TI.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkWIPEQNWRjs = require('../../chunk-WIPEQNWR.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.Rect = _chunkRGIB65TIjs.Rect;
8
+ exports.Rect = _chunkWIPEQNWRjs.Rect;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Rect
3
- } from "../../chunk-ZU5H6SVA.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-SMTUN6HG.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  Rect
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base, Listenable } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (value: number) => void | Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base, Listenable } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (value: number) => void | Promise<void>;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT2PJEXYOjs = require('../../chunk-T2PJEXYO.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkYN3FZMXYjs = require('../../chunk-YN3FZMXY.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.SliderButton = _chunkT2PJEXYOjs.SliderButton;
8
+ exports.SliderButton = _chunkYN3FZMXYjs.SliderButton;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SliderButton
3
- } from "../../chunk-JW4GXS54.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-H2UQDFTS.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  SliderButton
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base, Listenable } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (state: 'on' | 'off') => void | Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base, Listenable } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (state: 'on' | 'off') => void | Promise<void>;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkM6EFK4GPjs = require('../../chunk-M6EFK4GP.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkDNCHAOYHjs = require('../../chunk-DNCHAOYH.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.Switch = _chunkM6EFK4GPjs.Switch;
8
+ exports.Switch = _chunkDNCHAOYHjs.Switch;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Switch
3
- } from "../../chunk-APCR3ITH.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-YYM7PBRN.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  Switch
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { BaseParent, Component } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type TabDefinition = {
6
7
  name: string;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { BaseParent, Component } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type TabDefinition = {
6
7
  name: string;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRJS32OOAjs = require('../../chunk-RJS32OOA.js');
5
- require('../../chunk-UBWCVW2U.js');
4
+ var _chunkWXSKMMCVjs = require('../../chunk-WXSKMMCV.js');
5
+ require('../../chunk-NZUYU32Z.js');
6
6
  require('../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
9
 
10
- exports.Tab = _chunkRJS32OOAjs.Tab; exports.Tabs = _chunkRJS32OOAjs.Tabs;
10
+ exports.Tab = _chunkWXSKMMCVjs.Tab; exports.Tabs = _chunkWXSKMMCVjs.Tabs;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Tab,
3
3
  Tabs
4
- } from "../../chunk-TQ27Y7F4.mjs";
5
- import "../../chunk-ZCHM3JJJ.mjs";
4
+ } from "../../chunk-YIXRQHTA.mjs";
5
+ import "../../chunk-EDTJ75FT.mjs";
6
6
  import "../../chunk-Y6FXYEAI.mjs";
7
7
  export {
8
8
  Tab,
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base, Listenable } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (value: string) => void | Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base, Listenable } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type Events = {
6
7
  change: (value: string) => void | Promise<void>;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkMDFDWKGWjs = require('../../chunk-MDFDWKGW.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkIW3JCC73js = require('../../chunk-IW3JCC73.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.TextInput = _chunkMDFDWKGWjs.TextInput;
8
+ exports.TextInput = _chunkIW3JCC73js.TextInput;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TextInput
3
- } from "../../chunk-IXTM35YM.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-NKNDCRUR.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  TextInput
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.mjs';
3
3
  import { Base } from './base.mjs';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type InternalProps = {
6
7
  state: proto.TimelineState;
@@ -1,6 +1,7 @@
1
1
  import * as proto from '@arcanejs/protocol';
2
2
  import { IDMap } from '../util/index.js';
3
3
  import { Base } from './base.js';
4
+ import '@arcanejs/protocol/logging';
4
5
 
5
6
  type InternalProps = {
6
7
  state: proto.TimelineState;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOEIGZ3NQjs = require('../../chunk-OEIGZ3NQ.js');
4
- require('../../chunk-UBWCVW2U.js');
3
+ var _chunkDV5WTSFWjs = require('../../chunk-DV5WTSFW.js');
4
+ require('../../chunk-NZUYU32Z.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.Timeline = _chunkOEIGZ3NQjs.Timeline;
8
+ exports.Timeline = _chunkDV5WTSFWjs.Timeline;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Timeline
3
- } from "../../chunk-SOC4TF3J.mjs";
4
- import "../../chunk-ZCHM3JJJ.mjs";
3
+ } from "../../chunk-POUQGJN4.mjs";
4
+ import "../../chunk-EDTJ75FT.mjs";
5
5
  import "../../chunk-Y6FXYEAI.mjs";
6
6
  export {
7
7
  Timeline
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BaseParent,
3
3
  EventEmitter
4
- } from "./chunk-ZCHM3JJJ.mjs";
4
+ } from "./chunk-EDTJ75FT.mjs";
5
5
 
6
6
  // src/backend/components/group.ts
7
7
  var GROUP_DEFAULT_STYLE = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Base
3
- } from "./chunk-ZCHM3JJJ.mjs";
3
+ } from "./chunk-EDTJ75FT.mjs";
4
4
 
5
5
  // src/backend/components/label.ts
6
6
  var Label = class extends Base {
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;
2
2
 
3
3
 
4
- var _chunkUBWCVW2Ujs = require('./chunk-UBWCVW2U.js');
4
+ var _chunkNZUYU32Zjs = require('./chunk-NZUYU32Z.js');
5
5
 
6
6
  // src/backend/components/switch.ts
7
7
  var DEFAULT_PROPS = {
8
8
  state: "off"
9
9
  };
10
- var Switch = (_class = class extends _chunkUBWCVW2Ujs.Base {
10
+ var Switch = (_class = class extends _chunkNZUYU32Zjs.Base {
11
11
  /** @hidden */
12
- __init() {this.events = new (0, _chunkUBWCVW2Ujs.EventEmitter)()}
12
+ __init() {this.events = new (0, _chunkNZUYU32Zjs.EventEmitter)()}
13
13
  constructor(props) {
14
14
  super(DEFAULT_PROPS, props);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
2
2
 
3
- var _chunkUBWCVW2Ujs = require('./chunk-UBWCVW2U.js');
3
+ var _chunkNZUYU32Zjs = require('./chunk-NZUYU32Z.js');
4
4
 
5
5
  // src/backend/components/timeline.ts
6
6
  var DEFAULT_PROPS = {
@@ -13,7 +13,7 @@ var DEFAULT_PROPS = {
13
13
  subtitles: null,
14
14
  source: null
15
15
  };
16
- var Timeline = (_class = class extends _chunkUBWCVW2Ujs.Base {
16
+ var Timeline = (_class = class extends _chunkNZUYU32Zjs.Base {
17
17
  constructor(props) {
18
18
  super(DEFAULT_PROPS, props);_class.prototype.__init.call(this);;
19
19
  }
@@ -13,6 +13,9 @@ var Base = class {
13
13
  ...props
14
14
  });
15
15
  }
16
+ log = () => {
17
+ return this.parent?.log() || null;
18
+ };
16
19
  get props() {
17
20
  return this._props;
18
21
  }
@@ -45,8 +48,7 @@ var Base = class {
45
48
  if (this.parent) this.parent.updateTree();
46
49
  }
47
50
  /** @hidden */
48
- handleMessage(message) {
49
- console.log("Component Received Message:", message);
51
+ handleMessage(_message) {
50
52
  }
51
53
  routeMessage(_idMap, _message) {
52
54
  }
@@ -113,7 +115,6 @@ var BaseParent = class extends Base {
113
115
  insertBefore(child, beforeChild) {
114
116
  const filteredChildren = this.children.filter((c) => c !== child);
115
117
  let match = filteredChildren.findIndex((c) => c === beforeChild);
116
- console.log("match", match);
117
118
  if (match === -1) {
118
119
  match = filteredChildren.length;
119
120
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Base,
3
3
  EventEmitter
4
- } from "./chunk-ZCHM3JJJ.mjs";
4
+ } from "./chunk-EDTJ75FT.mjs";
5
5
 
6
6
  // src/backend/components/button.ts
7
7
  var DEFAULT_PROPS = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Base,
3
3
  EventEmitter
4
- } from "./chunk-ZCHM3JJJ.mjs";
4
+ } from "./chunk-EDTJ75FT.mjs";
5
5
 
6
6
  // src/backend/components/slider-button.ts
7
7
  var DEFAULT_PROPS = {
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
2
2
 
3
3
 
4
- var _chunkUBWCVW2Ujs = require('./chunk-UBWCVW2U.js');
4
+ var _chunkNZUYU32Zjs = require('./chunk-NZUYU32Z.js');
5
5
 
6
6
  // src/backend/components/text-input.ts
7
7
  var DEFAULT_PROPS = {
8
8
  value: null
9
9
  };
10
- var TextInput = (_class = class extends _chunkUBWCVW2Ujs.Base {
10
+ var TextInput = (_class = class extends _chunkNZUYU32Zjs.Base {
11
11
  /** @hidden */
12
- __init() {this.events = new (0, _chunkUBWCVW2Ujs.EventEmitter)()}
12
+ __init() {this.events = new (0, _chunkNZUYU32Zjs.EventEmitter)()}
13
13
  constructor(props) {
14
14
  super(DEFAULT_PROPS, props);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);;
15
15
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
2
2
 
3
3
 
4
- var _chunkUBWCVW2Ujs = require('./chunk-UBWCVW2U.js');
4
+ var _chunkNZUYU32Zjs = require('./chunk-NZUYU32Z.js');
5
5
 
6
6
  // src/backend/components/button.ts
7
7
  var DEFAULT_PROPS = {
@@ -10,9 +10,9 @@ var DEFAULT_PROPS = {
10
10
  mode: "normal",
11
11
  error: null
12
12
  };
13
- var Button = (_class = class extends _chunkUBWCVW2Ujs.Base {
13
+ var Button = (_class = class extends _chunkNZUYU32Zjs.Base {
14
14
  /** @hidden */
15
- __init() {this.events = new (0, _chunkUBWCVW2Ujs.EventEmitter)()}
15
+ __init() {this.events = new (0, _chunkNZUYU32Zjs.EventEmitter)()}
16
16
  constructor(props) {
17
17
  super(DEFAULT_PROPS, props);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);;
18
18
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Base,
3
3
  EventEmitter
4
- } from "./chunk-ZCHM3JJJ.mjs";
4
+ } from "./chunk-EDTJ75FT.mjs";
5
5
 
6
6
  // src/backend/components/text-input.ts
7
7
  var DEFAULT_PROPS = {