@arcanejs/toolkit 4.0.0 → 4.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.
- package/dist/backend/components/base.d.mts +1 -1
- package/dist/backend/components/base.d.ts +1 -1
- 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 +1 -1
- package/dist/backend/components/rect.d.ts +1 -1
- package/dist/backend/components/rect.js +3 -3
- package/dist/backend/components/rect.mjs +2 -2
- package/dist/backend/components/slider-button.d.mts +1 -1
- package/dist/backend/components/slider-button.d.ts +1 -1
- 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 +1 -1
- package/dist/backend/components/switch.d.ts +1 -1
- 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/{chunk-Z3HEU534.js → chunk-3GTEUTFT.js} +2 -2
- package/dist/{chunk-YN7LHBRI.mjs → chunk-3TXBS2UN.mjs} +1 -1
- package/dist/{chunk-ZWYJEKZP.js → chunk-4OCRZD4F.js} +3 -3
- package/dist/{chunk-3VAHVFJ3.js → chunk-53EOA4UE.js} +3 -3
- package/dist/{chunk-XMP5XJWR.mjs → chunk-6ELB27LK.mjs} +1 -1
- package/dist/{chunk-VXNNW2KH.js → chunk-6QWYIJLM.js} +2 -2
- package/dist/{chunk-QT43ONN5.js → chunk-7JIC2XBC.js} +4 -4
- package/dist/{chunk-PIVARHCZ.mjs → chunk-E6FGU7DA.mjs} +1 -1
- package/dist/{chunk-JKTEVA75.mjs → chunk-GONHNB6V.mjs} +14 -0
- package/dist/{chunk-4EOCJT6W.js → chunk-HTCWMJUA.js} +3 -3
- package/dist/{chunk-MMK3PCSS.mjs → chunk-KMEDXCBI.mjs} +1 -1
- package/dist/{chunk-6BVEU2NV.mjs → chunk-LK6MGXYC.mjs} +1 -1
- package/dist/{chunk-6KPK5YOL.js → chunk-NL3W4M7J.js} +3 -3
- package/dist/{chunk-GIXAFIEY.mjs → chunk-PG5EAV5X.mjs} +1 -1
- package/dist/{chunk-JSZMJCCH.js → chunk-QAH2OSHR.js} +2 -2
- package/dist/{chunk-PYJC5BFZ.mjs → chunk-QB2WPBWV.mjs} +1 -1
- package/dist/{chunk-LGIWNJQA.js → chunk-U6FSQBQ3.js} +3 -3
- package/dist/{chunk-XYFDH3E7.mjs → chunk-UQWCTVMC.mjs} +1 -1
- package/dist/{chunk-VJ3Q2HZJ.mjs → chunk-WDB3IMOP.mjs} +1 -1
- package/dist/{chunk-HTM2L3DT.js → chunk-WN3GXVUE.js} +16 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/index.mjs +10 -10
- package/dist/{toolkit-BjYBFkG8.d.ts → toolkit-C37sQAkD.d.ts} +6 -1
- package/dist/{toolkit-k-CCIw3V.d.mts → toolkit-CQMnQMOF.d.mts} +6 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@arcanejs/protocol';
|
|
2
2
|
import '../../id-map-DxQ3_gyA.mjs';
|
|
3
3
|
import '@arcanejs/protocol/logging';
|
|
4
|
-
export { A as AnyComponent, d as Base, e as BaseParent, E as EventEmitter, L as Listenable, P as Parent } from '../../toolkit-
|
|
4
|
+
export { A as AnyComponent, d as Base, e as BaseParent, E as EventEmitter, L as Listenable, P as Parent } from '../../toolkit-CQMnQMOF.mjs';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
7
7
|
import 'express';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@arcanejs/protocol';
|
|
2
2
|
import '../../id-map-DxQ3_gyA.js';
|
|
3
3
|
import '@arcanejs/protocol/logging';
|
|
4
|
-
export { A as AnyComponent, d as Base, e as BaseParent, E as EventEmitter, L as Listenable, P as Parent } from '../../toolkit-
|
|
4
|
+
export { A as AnyComponent, d as Base, e as BaseParent, E as EventEmitter, L as Listenable, P as Parent } from '../../toolkit-C37sQAkD.js';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
7
7
|
import 'express';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWN3GXVUEjs = require('../../chunk-WN3GXVUE.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Base =
|
|
11
|
+
exports.Base = _chunkWN3GXVUEjs.Base; exports.BaseParent = _chunkWN3GXVUEjs.BaseParent; exports.EventEmitter = _chunkWN3GXVUEjs.EventEmitter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@arcanejs/protocol/core';
|
|
2
2
|
import '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
export { B as Button, g as ButtonMode, f as Events, I as InternalProps, h as Props } from '../../toolkit-
|
|
3
|
+
export { B as Button, g as ButtonMode, f as Events, I as InternalProps, h as Props } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@arcanejs/protocol/core';
|
|
2
2
|
import '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
export { B as Button, g as ButtonMode, f as Events, I as InternalProps, h as Props } from '../../toolkit-
|
|
3
|
+
export { B as Button, g as ButtonMode, f as Events, I as InternalProps, h as Props } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk4OCRZD4Fjs = require('../../chunk-4OCRZD4F.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Button =
|
|
8
|
+
exports.Button = _chunk4OCRZD4Fjs.Button;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@arcanejs/protocol/core';
|
|
2
2
|
import '@arcanejs/protocol/styles';
|
|
3
3
|
import '../../id-map-DxQ3_gyA.mjs';
|
|
4
|
-
export { i as Events, G as Group, c as GroupHeader, j as InternalProps, k as Props } from '../../toolkit-
|
|
4
|
+
export { i as Events, G as Group, c as GroupHeader, j as InternalProps, k as Props } from '../../toolkit-CQMnQMOF.mjs';
|
|
5
5
|
import '@arcanejs/protocol';
|
|
6
6
|
import '@arcanejs/protocol/logging';
|
|
7
7
|
import 'lodash';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@arcanejs/protocol/core';
|
|
2
2
|
import '@arcanejs/protocol/styles';
|
|
3
3
|
import '../../id-map-DxQ3_gyA.js';
|
|
4
|
-
export { i as Events, G as Group, c as GroupHeader, j as InternalProps, k as Props } from '../../toolkit-
|
|
4
|
+
export { i as Events, G as Group, c as GroupHeader, j as InternalProps, k as Props } from '../../toolkit-C37sQAkD.js';
|
|
5
5
|
import '@arcanejs/protocol';
|
|
6
6
|
import '@arcanejs/protocol/logging';
|
|
7
7
|
import 'lodash';
|
|
@@ -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 _chunk7JIC2XBCjs = require('../../chunk-7JIC2XBC.js');
|
|
5
|
+
require('../../chunk-WN3GXVUE.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Group =
|
|
10
|
+
exports.Group = _chunk7JIC2XBCjs.Group; exports.GroupHeader = _chunk7JIC2XBCjs.GroupHeader;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { LabelComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
3
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
4
|
-
import { d as Base } from '../../toolkit-
|
|
4
|
+
import { d as Base } from '../../toolkit-CQMnQMOF.mjs';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
7
7
|
import 'http';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { LabelComponentStyle } from '@arcanejs/protocol/styles';
|
|
3
3
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
4
|
-
import { d as Base } from '../../toolkit-
|
|
4
|
+
import { d as Base } from '../../toolkit-C37sQAkD.js';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
7
7
|
import 'http';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk3GTEUTFTjs = require('../../chunk-3GTEUTFT.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Label =
|
|
8
|
+
exports.Label = _chunk3GTEUTFTjs.Label;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { d as Base } from '../../toolkit-
|
|
3
|
+
import { d as Base } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { d as Base } from '../../toolkit-
|
|
3
|
+
import { d as Base } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkQAH2OSHRjs = require('../../chunk-QAH2OSHR.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Rect =
|
|
8
|
+
exports.Rect = _chunkQAH2OSHRjs.Rect;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkNL3W4M7Jjs = require('../../chunk-NL3W4M7J.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.SliderButton =
|
|
8
|
+
exports.SliderButton = _chunkNL3W4M7Jjs.SliderButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk53EOA4UEjs = require('../../chunk-53EOA4UE.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Switch =
|
|
8
|
+
exports.Switch = _chunk53EOA4UEjs.Switch;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { e as BaseParent, A as AnyComponent } from '../../toolkit-
|
|
3
|
+
import { e as BaseParent, A as AnyComponent } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { e as BaseParent, A as AnyComponent } from '../../toolkit-
|
|
3
|
+
import { e as BaseParent, A as AnyComponent } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -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 _chunkU6FSQBQ3js = require('../../chunk-U6FSQBQ3.js');
|
|
5
|
+
require('../../chunk-WN3GXVUE.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Tab =
|
|
10
|
+
exports.Tab = _chunkU6FSQBQ3js.Tab; exports.Tabs = _chunkU6FSQBQ3js.Tabs;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-
|
|
3
|
+
import { a as ToolkitConnection, d as Base, L as Listenable } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import { AnyClientComponentMessage } from '@arcanejs/protocol';
|
|
5
5
|
import '@arcanejs/protocol/logging';
|
|
6
6
|
import 'lodash';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkHTCWMJUAjs = require('../../chunk-HTCWMJUA.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.TextInput =
|
|
8
|
+
exports.TextInput = _chunkHTCWMJUAjs.TextInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.mjs';
|
|
3
|
-
import { d as Base } from '../../toolkit-
|
|
3
|
+
import { d as Base } from '../../toolkit-CQMnQMOF.mjs';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as proto from '@arcanejs/protocol/core';
|
|
2
2
|
import { I as IDMap } from '../../id-map-DxQ3_gyA.js';
|
|
3
|
-
import { d as Base } from '../../toolkit-
|
|
3
|
+
import { d as Base } from '../../toolkit-C37sQAkD.js';
|
|
4
4
|
import '@arcanejs/protocol/logging';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import 'http';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunk6QWYIJLMjs = require('../../chunk-6QWYIJLM.js');
|
|
4
|
+
require('../../chunk-WN3GXVUE.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Timeline =
|
|
8
|
+
exports.Timeline = _chunk6QWYIJLMjs.Timeline;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
4
4
|
|
|
5
5
|
// src/backend/components/label.ts
|
|
6
|
-
var Label = class extends
|
|
6
|
+
var Label = class extends _chunkWN3GXVUEjs.Base {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
super({ text: null }, props);
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
5
5
|
|
|
6
6
|
// src/backend/components/button.ts
|
|
7
7
|
var _core = require('@arcanejs/protocol/core'); var proto = _interopRequireWildcard(_core);
|
|
@@ -12,9 +12,9 @@ var DEFAULT_PROPS = {
|
|
|
12
12
|
error: null,
|
|
13
13
|
onClick: null
|
|
14
14
|
};
|
|
15
|
-
var Button = (_class = class extends
|
|
15
|
+
var Button = (_class = class extends _chunkWN3GXVUEjs.Base {
|
|
16
16
|
/** @hidden */
|
|
17
|
-
__init() {this.events = new (0,
|
|
17
|
+
__init() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
18
18
|
constructor(props) {
|
|
19
19
|
super(DEFAULT_PROPS, props, {
|
|
20
20
|
onPropsUpdated: (oldProps) => this.events.processPropChanges(
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
5
5
|
|
|
6
6
|
// src/backend/components/switch.ts
|
|
7
7
|
var _core = require('@arcanejs/protocol/core'); var proto = _interopRequireWildcard(_core);
|
|
8
8
|
var DEFAULT_PROPS = {};
|
|
9
|
-
var Switch = (_class = class extends
|
|
9
|
+
var Switch = (_class = class extends _chunkWN3GXVUEjs.Base {
|
|
10
10
|
/** @hidden */
|
|
11
|
-
__init() {this.events = new (0,
|
|
11
|
+
__init() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
12
12
|
/**
|
|
13
13
|
* Manually manage the state of the switch,
|
|
14
14
|
* to support both controlled and uncontrolled inputs.
|
|
@@ -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
|
|
3
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.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
|
|
16
|
+
var Timeline = (_class = class extends _chunkWN3GXVUEjs.Base {
|
|
17
17
|
constructor(props) {
|
|
18
18
|
super(DEFAULT_PROPS, props);_class.prototype.__init.call(this);;
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
5
5
|
|
|
6
6
|
// src/backend/components/group.ts
|
|
7
7
|
var _core = require('@arcanejs/protocol/core'); var proto = _interopRequireWildcard(_core);
|
|
@@ -13,7 +13,7 @@ var DEFAULT_PROPS = {
|
|
|
13
13
|
title: null,
|
|
14
14
|
labels: null
|
|
15
15
|
};
|
|
16
|
-
var GroupHeader = (_class = class extends
|
|
16
|
+
var GroupHeader = (_class = class extends _chunkWN3GXVUEjs.BaseParent {constructor(...args) { super(...args); _class.prototype.__init.call(this);_class.prototype.__init2.call(this); }
|
|
17
17
|
__init() {this.validateChildren = () => {
|
|
18
18
|
}}
|
|
19
19
|
/** @hidden */
|
|
@@ -24,9 +24,9 @@ var GroupHeader = (_class = class extends _chunkHTM2L3DTjs.BaseParent {construct
|
|
|
24
24
|
children: this.getChildren().map((c) => c.getProtoInfo(idMap))
|
|
25
25
|
})}
|
|
26
26
|
}, _class);
|
|
27
|
-
var Group = (_class2 = class extends
|
|
27
|
+
var Group = (_class2 = class extends _chunkWN3GXVUEjs.BaseParent {
|
|
28
28
|
/** @hidden */
|
|
29
|
-
__init3() {this.events = new (0,
|
|
29
|
+
__init3() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
30
30
|
constructor(props) {
|
|
31
31
|
super(DEFAULT_PROPS, props, {
|
|
32
32
|
onPropsUpdated: (oldProps) => this.events.processPropChanges(
|
|
@@ -196,6 +196,20 @@ var EventEmitter = class {
|
|
|
196
196
|
)
|
|
197
197
|
);
|
|
198
198
|
};
|
|
199
|
+
/**
|
|
200
|
+
* Like {@link emit},
|
|
201
|
+
* but ensures only a single listener exists and returns its result.
|
|
202
|
+
*/
|
|
203
|
+
call = async (type, ...args) => {
|
|
204
|
+
const result = await this.emit(type, ...args);
|
|
205
|
+
if (result.length > 1) {
|
|
206
|
+
throw new Error(`Multiple listeners for call: ${String(type)}`);
|
|
207
|
+
} else if (result[0]) {
|
|
208
|
+
return result[0];
|
|
209
|
+
} else {
|
|
210
|
+
throw new Error(`No listeners for call: ${String(type)}`);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
199
213
|
/**
|
|
200
214
|
* Process prop changes to update listeners
|
|
201
215
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
5
5
|
|
|
6
6
|
// src/backend/components/text-input.ts
|
|
7
7
|
var _core = require('@arcanejs/protocol/core'); var proto = _interopRequireWildcard(_core);
|
|
8
8
|
var DEFAULT_PROPS = {
|
|
9
9
|
value: null
|
|
10
10
|
};
|
|
11
|
-
var TextInput = (_class = class extends
|
|
11
|
+
var TextInput = (_class = class extends _chunkWN3GXVUEjs.Base {
|
|
12
12
|
/** @hidden */
|
|
13
|
-
__init() {this.events = new (0,
|
|
13
|
+
__init() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
14
14
|
constructor(props) {
|
|
15
15
|
super(DEFAULT_PROPS, props, {
|
|
16
16
|
onPropsUpdated: (oldProps) => this.events.processPropChanges(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
5
5
|
|
|
6
6
|
// src/backend/components/slider-button.ts
|
|
7
7
|
var _core = require('@arcanejs/protocol/core'); var proto = _interopRequireWildcard(_core);
|
|
@@ -10,9 +10,9 @@ var DEFAULT_PROPS = {
|
|
|
10
10
|
max: 255,
|
|
11
11
|
step: 5
|
|
12
12
|
};
|
|
13
|
-
var SliderButton = (_class = class extends
|
|
13
|
+
var SliderButton = (_class = class extends _chunkWN3GXVUEjs.Base {
|
|
14
14
|
/** @hidden */
|
|
15
|
-
__init() {this.events = new (0,
|
|
15
|
+
__init() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
16
16
|
/**
|
|
17
17
|
* Manually manage the state of the slider,
|
|
18
18
|
* to support both controlled and uncontrolled inputs.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
4
4
|
|
|
5
5
|
// src/backend/components/rect.ts
|
|
6
6
|
var DEFAULT_PROPS = {
|
|
7
7
|
color: "rgba(0, 0, 0, 0)"
|
|
8
8
|
};
|
|
9
|
-
var Rect = class extends
|
|
9
|
+
var Rect = class extends _chunkWN3GXVUEjs.Base {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(DEFAULT_PROPS, props);
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class; var _class2;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
4
4
|
|
|
5
5
|
// src/backend/components/tabs.ts
|
|
6
|
-
var Tab = (_class = class extends
|
|
6
|
+
var Tab = (_class = class extends _chunkWN3GXVUEjs.BaseParent {constructor(...args) { super(...args); _class.prototype.__init.call(this);_class.prototype.__init2.call(this); }
|
|
7
7
|
__init() {this.validateChildren = (children) => {
|
|
8
8
|
if (children.length > 1) {
|
|
9
9
|
throw new Error("Tab can only have one child");
|
|
@@ -18,7 +18,7 @@ var Tab = (_class = class extends _chunkHTM2L3DTjs.BaseParent {constructor(...ar
|
|
|
18
18
|
child: this.getChildren().slice(0, 1).map((c) => c.getProtoInfo(idMap))[0]
|
|
19
19
|
})}
|
|
20
20
|
}, _class);
|
|
21
|
-
var Tabs = (_class2 = class extends
|
|
21
|
+
var Tabs = (_class2 = class extends _chunkWN3GXVUEjs.BaseParent {
|
|
22
22
|
__init3() {this.validateChildren = (children) => {
|
|
23
23
|
for (const child of children) {
|
|
24
24
|
if (!(child instanceof Tab)) {
|
|
@@ -170,7 +170,7 @@ var BaseParent = (_class2 = class extends Base {constructor(...args2) { super(..
|
|
|
170
170
|
this.updateTree();
|
|
171
171
|
}
|
|
172
172
|
}, _class2);
|
|
173
|
-
var EventEmitter = (_class3 = class {constructor() { _class3.prototype.__init13.call(this);_class3.prototype.__init14.call(this);_class3.prototype.__init15.call(this);_class3.prototype.__init16.call(this);_class3.prototype.__init17.call(this); }
|
|
173
|
+
var EventEmitter = (_class3 = class {constructor() { _class3.prototype.__init13.call(this);_class3.prototype.__init14.call(this);_class3.prototype.__init15.call(this);_class3.prototype.__init16.call(this);_class3.prototype.__init17.call(this);_class3.prototype.__init18.call(this); }
|
|
174
174
|
__init13() {this.listeners = /* @__PURE__ */ new Map()}
|
|
175
175
|
__init14() {this.addListener = (type, listener) => {
|
|
176
176
|
let set = this.listeners.get(type);
|
|
@@ -196,10 +196,24 @@ var EventEmitter = (_class3 = class {constructor() { _class3.prototype.__init13.
|
|
|
196
196
|
)
|
|
197
197
|
);
|
|
198
198
|
}}
|
|
199
|
+
/**
|
|
200
|
+
* Like {@link emit},
|
|
201
|
+
* but ensures only a single listener exists and returns its result.
|
|
202
|
+
*/
|
|
203
|
+
__init17() {this.call = async (type, ...args) => {
|
|
204
|
+
const result = await this.emit(type, ...args);
|
|
205
|
+
if (result.length > 1) {
|
|
206
|
+
throw new Error(`Multiple listeners for call: ${String(type)}`);
|
|
207
|
+
} else if (result[0]) {
|
|
208
|
+
return result[0];
|
|
209
|
+
} else {
|
|
210
|
+
throw new Error(`No listeners for call: ${String(type)}`);
|
|
211
|
+
}
|
|
212
|
+
}}
|
|
199
213
|
/**
|
|
200
214
|
* Process prop changes to update listeners
|
|
201
215
|
*/
|
|
202
|
-
|
|
216
|
+
__init18() {this.processPropChanges = (mapping, oldProps, newProps) => {
|
|
203
217
|
for (const key of Object.keys(mapping)) {
|
|
204
218
|
const prev = oldProps[key];
|
|
205
219
|
const next = newProps[key];
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AnyComponent, B as Button, G as Group, c as GroupHeader, T as Toolkit, a as ToolkitConnection, b as ToolkitOptions } from './toolkit-
|
|
1
|
+
export { A as AnyComponent, B as Button, G as Group, c as GroupHeader, T as Toolkit, a as ToolkitConnection, b as ToolkitOptions } from './toolkit-CQMnQMOF.mjs';
|
|
2
2
|
export { Label } from './backend/components/label.mjs';
|
|
3
3
|
export { Rect } from './backend/components/rect.mjs';
|
|
4
4
|
export { SliderButton } from './backend/components/slider-button.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AnyComponent, B as Button, G as Group, c as GroupHeader, T as Toolkit, a as ToolkitConnection, b as ToolkitOptions } from './toolkit-
|
|
1
|
+
export { A as AnyComponent, B as Button, G as Group, c as GroupHeader, T as Toolkit, a as ToolkitConnection, b as ToolkitOptions } from './toolkit-C37sQAkD.js';
|
|
2
2
|
export { Label } from './backend/components/label.js';
|
|
3
3
|
export { Rect } from './backend/components/rect.js';
|
|
4
4
|
export { SliderButton } from './backend/components/slider-button.js';
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkU6FSQBQ3js = require('./chunk-U6FSQBQ3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHTCWMJUAjs = require('./chunk-HTCWMJUA.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk6QWYIJLMjs = require('./chunk-6QWYIJLM.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkEABM5X65js = require('./chunk-EABM5X65.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4OCRZD4Fjs = require('./chunk-4OCRZD4F.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7JIC2XBCjs = require('./chunk-7JIC2XBC.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk3GTEUTFTjs = require('./chunk-3GTEUTFT.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkQAH2OSHRjs = require('./chunk-QAH2OSHR.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkNL3W4M7Jjs = require('./chunk-NL3W4M7J.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk53EOA4UEjs = require('./chunk-53EOA4UE.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkWN3GXVUEjs = require('./chunk-WN3GXVUE.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunk3RG5ZIWIjs = require('./chunk-3RG5ZIWI.js');
|
|
@@ -189,7 +189,7 @@ var Toolkit = (_class2 = class {
|
|
|
189
189
|
__init5() {this.connections = /* @__PURE__ */ new Map()}
|
|
190
190
|
__init6() {this.rootGroup = null}
|
|
191
191
|
/** @hidden */
|
|
192
|
-
__init7() {this.events = new (0,
|
|
192
|
+
__init7() {this.events = new (0, _chunkWN3GXVUEjs.EventEmitter)()}
|
|
193
193
|
constructor(options = {}) {;_class2.prototype.__init4.call(this);_class2.prototype.__init5.call(this);_class2.prototype.__init6.call(this);_class2.prototype.__init7.call(this);_class2.prototype.__init8.call(this);_class2.prototype.__init9.call(this);_class2.prototype.__init10.call(this);_class2.prototype.__init11.call(this);_class2.prototype.__init12.call(this);_class2.prototype.__init13.call(this);_class2.prototype.__init14.call(this);_class2.prototype.__init15.call(this);_class2.prototype.__init16.call(this);_class2.prototype.__init17.call(this);_class2.prototype.__init18.call(this);
|
|
194
194
|
this.options = {
|
|
195
195
|
...DEFAULT_LIGHT_DESK_OPTIONS,
|
|
@@ -369,4 +369,4 @@ var Toolkit = (_class2 = class {
|
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
|
|
372
|
-
exports.Button =
|
|
372
|
+
exports.Button = _chunk4OCRZD4Fjs.Button; exports.Group = _chunk7JIC2XBCjs.Group; exports.GroupHeader = _chunk7JIC2XBCjs.GroupHeader; exports.Label = _chunk3GTEUTFTjs.Label; exports.Rect = _chunkQAH2OSHRjs.Rect; exports.SliderButton = _chunkNL3W4M7Jjs.SliderButton; exports.Switch = _chunk53EOA4UEjs.Switch; exports.Tab = _chunkU6FSQBQ3js.Tab; exports.Tabs = _chunkU6FSQBQ3js.Tabs; exports.TextInput = _chunkHTCWMJUAjs.TextInput; exports.Timeline = _chunk6QWYIJLMjs.Timeline; exports.Toolkit = Toolkit;
|
package/dist/index.mjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tab,
|
|
3
3
|
Tabs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KMEDXCBI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
TextInput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WDB3IMOP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Timeline
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3TXBS2UN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
IDMap
|
|
13
13
|
} from "./chunk-RGHJEMWG.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Button
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LK6MGXYC.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Group,
|
|
19
19
|
GroupHeader
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E6FGU7DA.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Label
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UQWCTVMC.mjs";
|
|
24
24
|
import {
|
|
25
25
|
Rect
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6ELB27LK.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SliderButton
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QB2WPBWV.mjs";
|
|
30
30
|
import {
|
|
31
31
|
Switch
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PG5EAV5X.mjs";
|
|
33
33
|
import {
|
|
34
34
|
EventEmitter
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GONHNB6V.mjs";
|
|
36
36
|
import {
|
|
37
37
|
__require
|
|
38
38
|
} from "./chunk-Y6FXYEAI.mjs";
|
|
@@ -165,7 +165,12 @@ declare class EventEmitter<Map extends Record<string, (...args: any[]) => void>>
|
|
|
165
165
|
private readonly listeners;
|
|
166
166
|
addListener: <T extends keyof Map>(type: T, listener: Map[T]) => void;
|
|
167
167
|
removeListener: <T extends keyof Map>(type: T, listener: Map[T]) => void;
|
|
168
|
-
emit: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<
|
|
168
|
+
emit: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<ReturnType<Map[T]>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Like {@link emit},
|
|
171
|
+
* but ensures only a single listener exists and returns its result.
|
|
172
|
+
*/
|
|
173
|
+
call: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<ReturnType<Map[T]>>;
|
|
169
174
|
/**
|
|
170
175
|
* Process prop changes to update listeners
|
|
171
176
|
*/
|
|
@@ -165,7 +165,12 @@ declare class EventEmitter<Map extends Record<string, (...args: any[]) => void>>
|
|
|
165
165
|
private readonly listeners;
|
|
166
166
|
addListener: <T extends keyof Map>(type: T, listener: Map[T]) => void;
|
|
167
167
|
removeListener: <T extends keyof Map>(type: T, listener: Map[T]) => void;
|
|
168
|
-
emit: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<
|
|
168
|
+
emit: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<ReturnType<Map[T]>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Like {@link emit},
|
|
171
|
+
* but ensures only a single listener exists and returns its result.
|
|
172
|
+
*/
|
|
173
|
+
call: <T extends keyof Map>(type: T, ...args: Parameters<Map[T]>) => Promise<ReturnType<Map[T]>>;
|
|
169
174
|
/**
|
|
170
175
|
* Process prop changes to update listeners
|
|
171
176
|
*/
|