@arcanejs/toolkit 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/components/base.d.mts +6 -2
- package/dist/backend/components/base.d.ts +6 -2
- package/dist/backend/components/base.js +2 -2
- package/dist/backend/components/base.mjs +1 -1
- package/dist/backend/components/button.d.mts +1 -1
- package/dist/backend/components/button.d.ts +1 -1
- package/dist/backend/components/button.js +3 -3
- package/dist/backend/components/button.mjs +2 -2
- package/dist/backend/components/group.d.mts +1 -1
- package/dist/backend/components/group.d.ts +1 -1
- package/dist/backend/components/group.js +3 -3
- package/dist/backend/components/group.mjs +2 -2
- package/dist/backend/components/label.d.mts +1 -1
- package/dist/backend/components/label.d.ts +1 -1
- package/dist/backend/components/label.js +3 -3
- package/dist/backend/components/label.mjs +2 -2
- package/dist/backend/components/rect.d.mts +2 -4
- package/dist/backend/components/rect.d.ts +2 -4
- package/dist/backend/components/rect.js +3 -3
- package/dist/backend/components/rect.mjs +2 -2
- package/dist/backend/components/slider-button.d.mts +11 -9
- package/dist/backend/components/slider-button.d.ts +11 -9
- package/dist/backend/components/slider-button.js +3 -3
- package/dist/backend/components/slider-button.mjs +2 -2
- package/dist/backend/components/switch.d.mts +9 -2
- package/dist/backend/components/switch.d.ts +9 -2
- package/dist/backend/components/switch.js +3 -3
- package/dist/backend/components/switch.mjs +2 -2
- package/dist/backend/components/tabs.d.mts +1 -1
- package/dist/backend/components/tabs.d.ts +1 -1
- package/dist/backend/components/tabs.js +3 -3
- package/dist/backend/components/tabs.mjs +2 -2
- package/dist/backend/components/text-input.d.mts +1 -1
- package/dist/backend/components/text-input.d.ts +1 -1
- package/dist/backend/components/text-input.js +3 -3
- package/dist/backend/components/text-input.mjs +2 -2
- package/dist/backend/components/timeline.d.mts +1 -1
- package/dist/backend/components/timeline.d.ts +1 -1
- package/dist/backend/components/timeline.js +3 -3
- package/dist/backend/components/timeline.mjs +2 -2
- package/dist/backend/util/index.d.mts +8 -6
- package/dist/backend/util/index.d.ts +8 -6
- package/dist/backend/util/index.js +13 -1
- package/dist/backend/util/index.mjs +12 -0
- package/dist/{chunk-QUA3NBLD.js → chunk-4HHKW7VA.js} +4 -4
- package/dist/{chunk-J46AJUGE.js → chunk-4X3QY5EP.js} +3 -3
- package/dist/chunk-53DEDXHG.js +78 -0
- package/dist/{chunk-WXSKMMCV.js → chunk-C2TVGO43.js} +3 -3
- package/dist/{chunk-NZUYU32Z.js → chunk-CFO5PSSK.js} +25 -20
- package/dist/{chunk-POUQGJN4.mjs → chunk-DBSYI5Z4.mjs} +1 -1
- package/dist/{chunk-IW3JCC73.js → chunk-DONU33U4.js} +3 -3
- package/dist/{chunk-SMTUN6HG.mjs → chunk-ESMRIWOM.mjs} +2 -2
- package/dist/{chunk-TSC5C5XR.js → chunk-FLRGYURV.js} +2 -2
- package/dist/{chunk-DV5WTSFW.js → chunk-FUINWM5H.js} +2 -2
- package/dist/{chunk-EH73E5FP.mjs → chunk-G5QXW2L3.mjs} +1 -1
- package/dist/{chunk-YIXRQHTA.mjs → chunk-H734NV65.mjs} +1 -1
- package/dist/{chunk-WIPEQNWR.js → chunk-IQ4SDDYP.js} +3 -3
- package/dist/{chunk-7ITSSJE2.mjs → chunk-JOW3XRQI.mjs} +1 -1
- package/dist/{chunk-3Y3HRYLC.mjs → chunk-KBPQZJKE.mjs} +1 -1
- package/dist/{chunk-NKNDCRUR.mjs → chunk-KR6LSBBX.mjs} +1 -1
- package/dist/{chunk-EDTJ75FT.mjs → chunk-PW7QVLLF.mjs} +6 -1
- package/dist/chunk-Q3NG5UUN.mjs +61 -0
- package/dist/chunk-Q5TEM6MM.js +61 -0
- package/dist/{chunk-H2UQDFTS.mjs → chunk-SN2XKRYX.mjs} +30 -11
- package/dist/frontend.js +146 -69
- package/dist/frontend.js.map +4 -4
- package/dist/id-map-DxQ3_gyA.d.mts +7 -0
- package/dist/id-map-DxQ3_gyA.d.ts +7 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +10 -10
- package/package.json +7 -5
- package/dist/chunk-DNCHAOYH.js +0 -42
- package/dist/chunk-YN3FZMXY.js +0 -59
- package/dist/chunk-YYM7PBRN.mjs +0 -42
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
3
|
import { Logger } from '@arcanejs/protocol/logging';
|
|
4
4
|
|
|
5
5
|
interface Component {
|
|
@@ -15,7 +15,11 @@ declare abstract class Base<Props> implements Component {
|
|
|
15
15
|
private readonly defaultProps;
|
|
16
16
|
/** @hidden */
|
|
17
17
|
private _props;
|
|
18
|
-
|
|
18
|
+
/** @hidden */
|
|
19
|
+
private _onPropsUpdated;
|
|
20
|
+
constructor(defaultProps: Props, props?: Partial<Props>, options?: {
|
|
21
|
+
onPropsUpdated?: () => void;
|
|
22
|
+
});
|
|
19
23
|
log: () => Logger | null;
|
|
20
24
|
get props(): Props;
|
|
21
25
|
set props(props: Partial<Props>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
3
|
import { Logger } from '@arcanejs/protocol/logging';
|
|
4
4
|
|
|
5
5
|
interface Component {
|
|
@@ -15,7 +15,11 @@ declare abstract class Base<Props> implements Component {
|
|
|
15
15
|
private readonly defaultProps;
|
|
16
16
|
/** @hidden */
|
|
17
17
|
private _props;
|
|
18
|
-
|
|
18
|
+
/** @hidden */
|
|
19
|
+
private _onPropsUpdated;
|
|
20
|
+
constructor(defaultProps: Props, props?: Partial<Props>, options?: {
|
|
21
|
+
onPropsUpdated?: () => void;
|
|
22
|
+
});
|
|
19
23
|
log: () => Logger | null;
|
|
20
24
|
get props(): Props;
|
|
21
25
|
set props(props: Partial<Props>);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkCFO5PSSKjs = require('../../chunk-CFO5PSSK.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Base =
|
|
11
|
+
exports.Base = _chunkCFO5PSSKjs.Base; exports.BaseParent = _chunkCFO5PSSKjs.BaseParent; exports.EventEmitter = _chunkCFO5PSSKjs.EventEmitter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk4X3QY5EPjs = require('../../chunk-4X3QY5EP.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Button =
|
|
8
|
+
exports.Button = _chunk4X3QY5EPjs.Button;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
2
|
import { GroupComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
|
-
import { IDMap } from '
|
|
3
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
4
4
|
import { BaseParent, Listenable } from './base.mjs';
|
|
5
5
|
import { Button } from './button.mjs';
|
|
6
6
|
import '@arcanejs/protocol/logging';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
2
|
import { GroupComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
|
-
import { IDMap } from '
|
|
3
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
4
4
|
import { BaseParent, Listenable } from './base.js';
|
|
5
5
|
import { Button } from './button.js';
|
|
6
6
|
import '@arcanejs/protocol/logging';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var _chunk4HHKW7VAjs = require('../../chunk-4HHKW7VA.js');
|
|
5
|
+
require('../../chunk-CFO5PSSK.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Group =
|
|
10
|
+
exports.Group = _chunk4HHKW7VAjs.Group; exports.GroupHeader = _chunk4HHKW7VAjs.GroupHeader;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
2
|
import { LabelComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
|
-
import { IDMap } from '
|
|
3
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
4
4
|
import { Base } from './base.mjs';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
2
|
import { LabelComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
|
-
import { IDMap } from '
|
|
3
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
4
4
|
import { Base } from './base.js';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkFLRGYURVjs = require('../../chunk-FLRGYURV.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Label =
|
|
8
|
+
exports.Label = _chunkFLRGYURVjs.Label;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
3
|
import { Base } from './base.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
6
|
-
type InternalProps =
|
|
7
|
-
color: string;
|
|
8
|
-
};
|
|
6
|
+
type InternalProps = Pick<proto.RectComponent, 'color' | 'grow'>;
|
|
9
7
|
type Props = Partial<InternalProps>;
|
|
10
8
|
/**
|
|
11
9
|
* A simple rectangle component. Could be used for example to indicate
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
3
|
import { Base } from './base.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
6
|
-
type InternalProps =
|
|
7
|
-
color: string;
|
|
8
|
-
};
|
|
6
|
+
type InternalProps = Pick<proto.RectComponent, 'color' | 'grow'>;
|
|
9
7
|
type Props = Partial<InternalProps>;
|
|
10
8
|
/**
|
|
11
9
|
* A simple rectangle component. Could be used for example to indicate
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkIQ4SDDYPjs = require('../../chunk-IQ4SDDYP.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Rect =
|
|
8
|
+
exports.Rect = _chunkIQ4SDDYPjs.Rect;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
3
|
import { Base, Listenable } from './base.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
6
6
|
type Events = {
|
|
7
7
|
change: (value: number) => void | Promise<void>;
|
|
8
8
|
};
|
|
9
|
-
type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
max: number;
|
|
13
|
-
step: number;
|
|
14
|
-
value: number | null;
|
|
15
|
-
mode: SliderMode;
|
|
9
|
+
type InternalProps = Pick<proto.SliderButtonComponent, 'min' | 'max' | 'step' | 'gradient' | 'grow'> & {
|
|
10
|
+
value?: number;
|
|
11
|
+
defaultValue?: number;
|
|
16
12
|
};
|
|
17
13
|
type RequiredProps = 'value';
|
|
18
14
|
type Props = Pick<InternalProps, RequiredProps> & Partial<Omit<InternalProps, RequiredProps>>;
|
|
19
15
|
declare class SliderButton extends Base<InternalProps> implements Listenable<Events> {
|
|
20
16
|
/** @hidden */
|
|
21
17
|
private readonly events;
|
|
18
|
+
/**
|
|
19
|
+
* Manually manage the state of the slider,
|
|
20
|
+
* to support both controlled and uncontrolled inputs.
|
|
21
|
+
*/
|
|
22
|
+
private _value;
|
|
22
23
|
constructor(props?: Props);
|
|
23
24
|
addListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
24
25
|
removeListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
@@ -28,6 +29,7 @@ declare class SliderButton extends Base<InternalProps> implements Listenable<Eve
|
|
|
28
29
|
handleMessage(message: proto.ClientComponentMessage): void;
|
|
29
30
|
setValue(value: number): void;
|
|
30
31
|
private sanitizeNumber;
|
|
32
|
+
private onPropsUpdated;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export { type Events, type Props, SliderButton
|
|
35
|
+
export { type Events, type Props, SliderButton };
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
3
|
import { Base, Listenable } from './base.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
6
6
|
type Events = {
|
|
7
7
|
change: (value: number) => void | Promise<void>;
|
|
8
8
|
};
|
|
9
|
-
type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
max: number;
|
|
13
|
-
step: number;
|
|
14
|
-
value: number | null;
|
|
15
|
-
mode: SliderMode;
|
|
9
|
+
type InternalProps = Pick<proto.SliderButtonComponent, 'min' | 'max' | 'step' | 'gradient' | 'grow'> & {
|
|
10
|
+
value?: number;
|
|
11
|
+
defaultValue?: number;
|
|
16
12
|
};
|
|
17
13
|
type RequiredProps = 'value';
|
|
18
14
|
type Props = Pick<InternalProps, RequiredProps> & Partial<Omit<InternalProps, RequiredProps>>;
|
|
19
15
|
declare class SliderButton extends Base<InternalProps> implements Listenable<Events> {
|
|
20
16
|
/** @hidden */
|
|
21
17
|
private readonly events;
|
|
18
|
+
/**
|
|
19
|
+
* Manually manage the state of the slider,
|
|
20
|
+
* to support both controlled and uncontrolled inputs.
|
|
21
|
+
*/
|
|
22
|
+
private _value;
|
|
22
23
|
constructor(props?: Props);
|
|
23
24
|
addListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
24
25
|
removeListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
@@ -28,6 +29,7 @@ declare class SliderButton extends Base<InternalProps> implements Listenable<Eve
|
|
|
28
29
|
handleMessage(message: proto.ClientComponentMessage): void;
|
|
29
30
|
setValue(value: number): void;
|
|
30
31
|
private sanitizeNumber;
|
|
32
|
+
private onPropsUpdated;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export { type Events, type Props, SliderButton
|
|
35
|
+
export { type Events, type Props, SliderButton };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk53DEDXHGjs = require('../../chunk-53DEDXHG.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.SliderButton =
|
|
8
|
+
exports.SliderButton = _chunk53DEDXHGjs.SliderButton;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
3
|
import { Base, Listenable } from './base.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
@@ -7,12 +7,18 @@ type Events = {
|
|
|
7
7
|
change: (state: 'on' | 'off') => void | Promise<void>;
|
|
8
8
|
};
|
|
9
9
|
type InternalProps = {
|
|
10
|
-
|
|
10
|
+
value?: 'on' | 'off';
|
|
11
|
+
defaultValue?: 'on' | 'off';
|
|
11
12
|
};
|
|
12
13
|
type Props = Partial<InternalProps>;
|
|
13
14
|
declare class Switch extends Base<InternalProps> implements Listenable<Events> {
|
|
14
15
|
/** @hidden */
|
|
15
16
|
private readonly events;
|
|
17
|
+
/**
|
|
18
|
+
* Manually manage the state of the switch,
|
|
19
|
+
* to support both controlled and uncontrolled inputs.
|
|
20
|
+
*/
|
|
21
|
+
private _value;
|
|
16
22
|
constructor(props?: Props);
|
|
17
23
|
addListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
18
24
|
removeListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
@@ -21,6 +27,7 @@ declare class Switch extends Base<InternalProps> implements Listenable<Events> {
|
|
|
21
27
|
/** @hidden */
|
|
22
28
|
handleMessage(message: proto.ClientComponentMessage): void;
|
|
23
29
|
setValue(state: 'on' | 'off'): void;
|
|
30
|
+
private onPropsUpdated;
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
export { type Events, type Props, Switch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol';
|
|
2
|
-
import { IDMap } from '
|
|
2
|
+
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
3
|
import { Base, Listenable } from './base.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
|
|
@@ -7,12 +7,18 @@ type Events = {
|
|
|
7
7
|
change: (state: 'on' | 'off') => void | Promise<void>;
|
|
8
8
|
};
|
|
9
9
|
type InternalProps = {
|
|
10
|
-
|
|
10
|
+
value?: 'on' | 'off';
|
|
11
|
+
defaultValue?: 'on' | 'off';
|
|
11
12
|
};
|
|
12
13
|
type Props = Partial<InternalProps>;
|
|
13
14
|
declare class Switch extends Base<InternalProps> implements Listenable<Events> {
|
|
14
15
|
/** @hidden */
|
|
15
16
|
private readonly events;
|
|
17
|
+
/**
|
|
18
|
+
* Manually manage the state of the switch,
|
|
19
|
+
* to support both controlled and uncontrolled inputs.
|
|
20
|
+
*/
|
|
21
|
+
private _value;
|
|
16
22
|
constructor(props?: Props);
|
|
17
23
|
addListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
18
24
|
removeListener: <T extends "change">(type: T, listener: Events[T]) => void;
|
|
@@ -21,6 +27,7 @@ declare class Switch extends Base<InternalProps> implements Listenable<Events> {
|
|
|
21
27
|
/** @hidden */
|
|
22
28
|
handleMessage(message: proto.ClientComponentMessage): void;
|
|
23
29
|
setValue(state: 'on' | 'off'): void;
|
|
30
|
+
private onPropsUpdated;
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
export { type Events, type Props, Switch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkQ5TEM6MMjs = require('../../chunk-Q5TEM6MM.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Switch =
|
|
8
|
+
exports.Switch = _chunkQ5TEM6MMjs.Switch;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var _chunkC2TVGO43js = require('../../chunk-C2TVGO43.js');
|
|
5
|
+
require('../../chunk-CFO5PSSK.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Tab =
|
|
10
|
+
exports.Tab = _chunkC2TVGO43js.Tab; exports.Tabs = _chunkC2TVGO43js.Tabs;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkDONU33U4js = require('../../chunk-DONU33U4.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.TextInput =
|
|
8
|
+
exports.TextInput = _chunkDONU33U4js.TextInput;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkFUINWM5Hjs = require('../../chunk-FUINWM5H.js');
|
|
4
|
+
require('../../chunk-CFO5PSSK.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Timeline =
|
|
8
|
+
exports.Timeline = _chunkFUINWM5Hjs.Timeline;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
private nextId;
|
|
4
|
-
getId(object: object): number;
|
|
5
|
-
}
|
|
1
|
+
export { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
2
|
+
import { Gradient } from '@arcanejs/protocol';
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Rainbow gradient used for hue slider values.
|
|
6
|
+
*/
|
|
7
|
+
declare const HUE_GRADIENT: Gradient;
|
|
8
|
+
|
|
9
|
+
export { HUE_GRADIENT };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
private nextId;
|
|
4
|
-
getId(object: object): number;
|
|
5
|
-
}
|
|
1
|
+
export { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
2
|
+
import { Gradient } from '@arcanejs/protocol';
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Rainbow gradient used for hue slider values.
|
|
6
|
+
*/
|
|
7
|
+
declare const HUE_GRADIENT: Gradient;
|
|
8
|
+
|
|
9
|
+
export { HUE_GRADIENT };
|
|
@@ -3,5 +3,17 @@
|
|
|
3
3
|
var _chunkEABM5X65js = require('../../chunk-EABM5X65.js');
|
|
4
4
|
require('../../chunk-3RG5ZIWI.js');
|
|
5
5
|
|
|
6
|
+
// src/backend/util/color.ts
|
|
7
|
+
var HUE_GRADIENT = [
|
|
8
|
+
{ color: "red", position: 0 },
|
|
9
|
+
{ color: "yellow", position: 60 / 360 },
|
|
10
|
+
{ color: "green", position: 120 / 360 },
|
|
11
|
+
{ color: "cyan", position: 180 / 360 },
|
|
12
|
+
{ color: "blue", position: 240 / 360 },
|
|
13
|
+
{ color: "magenta", position: 300 / 360 },
|
|
14
|
+
{ color: "red", position: 1 }
|
|
15
|
+
];
|
|
6
16
|
|
|
7
|
-
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.HUE_GRADIENT = HUE_GRADIENT; exports.IDMap = _chunkEABM5X65js.IDMap;
|