@arcanejs/toolkit 3.1.0 → 4.0.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/README.md +1 -1
- 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-VEZGD2PG.js → chunk-3VAHVFJ3.js} +3 -3
- package/dist/{chunk-4OZ22IQU.js → chunk-4EOCJT6W.js} +3 -3
- package/dist/{chunk-W42AOMM6.mjs → chunk-6BVEU2NV.mjs} +5 -14
- package/dist/{chunk-CME7HZZK.js → chunk-6KPK5YOL.js} +3 -3
- package/dist/{chunk-NEQRLPXK.mjs → chunk-GIXAFIEY.mjs} +1 -1
- package/dist/{chunk-SGACFY53.js → chunk-HTM2L3DT.js} +19 -0
- package/dist/{chunk-RYR5I5FT.mjs → chunk-JKTEVA75.mjs} +19 -0
- package/dist/{chunk-7OX2FB6C.js → chunk-JSZMJCCH.js} +2 -2
- package/dist/{chunk-GMDJYFHD.js → chunk-LGIWNJQA.js} +3 -3
- package/dist/{chunk-7TTY7CBH.mjs → chunk-MMK3PCSS.mjs} +1 -1
- package/dist/{chunk-5D7OSUZ6.mjs → chunk-PIVARHCZ.mjs} +1 -1
- package/dist/{chunk-JFZXSCGK.mjs → chunk-PYJC5BFZ.mjs} +1 -1
- package/dist/{chunk-O5ZW6JYG.js → chunk-QT43ONN5.js} +4 -4
- package/dist/{chunk-YBBUC3QC.mjs → chunk-VJ3Q2HZJ.mjs} +1 -1
- package/dist/{chunk-6CWEURJP.js → chunk-VXNNW2KH.js} +2 -2
- package/dist/{chunk-N6IHYBZH.mjs → chunk-XMP5XJWR.mjs} +1 -1
- package/dist/{chunk-CUZSHFDP.mjs → chunk-XYFDH3E7.mjs} +1 -1
- package/dist/{chunk-K37TZB75.mjs → chunk-YN7LHBRI.mjs} +1 -1
- package/dist/{chunk-DRQVYGTI.js → chunk-Z3HEU534.js} +2 -2
- package/dist/{chunk-DG75CS7F.js → chunk-ZWYJEKZP.js} +7 -16
- package/dist/frontend/entrypoint.js +84 -31
- package/dist/frontend/entrypoint.js.map +3 -3
- package/dist/frontend/index.js +62 -19
- package/dist/frontend/index.mjs +62 -19
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +47 -14
- package/dist/index.mjs +43 -10
- package/dist/{toolkit-2w2SWHlT.d.ts → toolkit-BjYBFkG8.d.ts} +17 -6
- package/dist/{toolkit-DB8G2TaA.d.mts → toolkit-k-CCIw3V.d.mts} +17 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -16,4 +16,4 @@ library, that allows you to compose your control panels using server-side react.
|
|
|
16
16
|
|
|
17
17
|
For more details,
|
|
18
18
|
please see the main documentation on our GitHub repository:
|
|
19
|
-
[github.com/
|
|
19
|
+
[github.com/ArcaneWizards/arcanejs](https://github.com/ArcaneWizards/arcanejs#arcanejs)
|
|
@@ -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-k-CCIw3V.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-BjYBFkG8.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 _chunkHTM2L3DTjs = require('../../chunk-HTM2L3DT.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Base =
|
|
11
|
+
exports.Base = _chunkHTM2L3DTjs.Base; exports.BaseParent = _chunkHTM2L3DTjs.BaseParent; exports.EventEmitter = _chunkHTM2L3DTjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunkZWYJEKZPjs = require('../../chunk-ZWYJEKZP.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Button =
|
|
8
|
+
exports.Button = _chunkZWYJEKZPjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunkQT43ONN5js = require('../../chunk-QT43ONN5.js');
|
|
5
|
+
require('../../chunk-HTM2L3DT.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Group =
|
|
10
|
+
exports.Group = _chunkQT43ONN5js.Group; exports.GroupHeader = _chunkQT43ONN5js.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-k-CCIw3V.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-BjYBFkG8.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 _chunkZ3HEU534js = require('../../chunk-Z3HEU534.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Label =
|
|
8
|
+
exports.Label = _chunkZ3HEU534js.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-k-CCIw3V.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-BjYBFkG8.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 _chunkJSZMJCCHjs = require('../../chunk-JSZMJCCH.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Rect =
|
|
8
|
+
exports.Rect = _chunkJSZMJCCHjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunk6KPK5YOLjs = require('../../chunk-6KPK5YOL.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.SliderButton =
|
|
8
|
+
exports.SliderButton = _chunk6KPK5YOLjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunk3VAHVFJ3js = require('../../chunk-3VAHVFJ3.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Switch =
|
|
8
|
+
exports.Switch = _chunk3VAHVFJ3js.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-k-CCIw3V.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-BjYBFkG8.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 _chunkLGIWNJQAjs = require('../../chunk-LGIWNJQA.js');
|
|
5
|
+
require('../../chunk-HTM2L3DT.js');
|
|
6
6
|
require('../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Tab =
|
|
10
|
+
exports.Tab = _chunkLGIWNJQAjs.Tab; exports.Tabs = _chunkLGIWNJQAjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunk4EOCJT6Wjs = require('../../chunk-4EOCJT6W.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.TextInput =
|
|
8
|
+
exports.TextInput = _chunk4EOCJT6Wjs.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-k-CCIw3V.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-BjYBFkG8.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 _chunkVXNNW2KHjs = require('../../chunk-VXNNW2KH.js');
|
|
4
|
+
require('../../chunk-HTM2L3DT.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Timeline =
|
|
8
|
+
exports.Timeline = _chunkVXNNW2KHjs.Timeline;
|
|
@@ -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 _chunkHTM2L3DTjs = require('./chunk-HTM2L3DT.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 _chunkHTM2L3DTjs.Base {
|
|
10
10
|
/** @hidden */
|
|
11
|
-
__init() {this.events = new (0,
|
|
11
|
+
__init() {this.events = new (0, _chunkHTM2L3DTjs.EventEmitter)()}
|
|
12
12
|
/**
|
|
13
13
|
* Manually manage the state of the switch,
|
|
14
14
|
* to support both controlled and uncontrolled inputs.
|
|
@@ -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 _chunkHTM2L3DTjs = require('./chunk-HTM2L3DT.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 _chunkHTM2L3DTjs.Base {
|
|
12
12
|
/** @hidden */
|
|
13
|
-
__init() {this.events = new (0,
|
|
13
|
+
__init() {this.events = new (0, _chunkHTM2L3DTjs.EventEmitter)()}
|
|
14
14
|
constructor(props) {
|
|
15
15
|
super(DEFAULT_PROPS, props, {
|
|
16
16
|
onPropsUpdated: (oldProps) => this.events.processPropChanges(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Base,
|
|
3
3
|
EventEmitter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JKTEVA75.mjs";
|
|
5
5
|
|
|
6
6
|
// src/backend/components/button.ts
|
|
7
7
|
import * as proto from "@arcanejs/protocol/core";
|
|
@@ -56,20 +56,11 @@ var Button = class extends Base {
|
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
/** @hidden */
|
|
59
|
-
|
|
60
|
-
if (proto.
|
|
61
|
-
this.events.emit("click", connection).then(() =>
|
|
62
|
-
if (this.props.error) {
|
|
63
|
-
this.updateProps({
|
|
64
|
-
error: null
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}).catch((e) => {
|
|
68
|
-
this.updateProps({
|
|
69
|
-
error: `${e}`
|
|
70
|
-
});
|
|
71
|
-
});
|
|
59
|
+
handleCall = (call, connection) => {
|
|
60
|
+
if (proto.isCoreComponentCall(call, "press")) {
|
|
61
|
+
return this.events.emit("click", connection).then(() => true);
|
|
72
62
|
}
|
|
63
|
+
throw new Error(`Unhandled call action: ${call.action}`);
|
|
73
64
|
};
|
|
74
65
|
};
|
|
75
66
|
|
|
@@ -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 _chunkHTM2L3DTjs = require('./chunk-HTM2L3DT.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 _chunkHTM2L3DTjs.Base {
|
|
14
14
|
/** @hidden */
|
|
15
|
-
__init() {this.events = new (0,
|
|
15
|
+
__init() {this.events = new (0, _chunkHTM2L3DTjs.EventEmitter)()}
|
|
16
16
|
/**
|
|
17
17
|
* Manually manage the state of the slider,
|
|
18
18
|
* to support both controlled and uncontrolled inputs.
|
|
@@ -72,8 +72,14 @@ var Base = (_class = class {
|
|
|
72
72
|
/** @hidden */
|
|
73
73
|
handleMessage(_message, _connection) {
|
|
74
74
|
}
|
|
75
|
+
/** @hidden */
|
|
76
|
+
handleCall(_call, _connection) {
|
|
77
|
+
return Promise.reject(new Error(`Component does not handle calls`));
|
|
78
|
+
}
|
|
75
79
|
routeMessage(_idMap, _message, _connection) {
|
|
76
80
|
}
|
|
81
|
+
routeCall(_idMap, _call, _connection, _callbacks) {
|
|
82
|
+
}
|
|
77
83
|
}, _class);
|
|
78
84
|
var BaseParent = (_class2 = class extends Base {constructor(...args2) { super(...args2); _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); }
|
|
79
85
|
/** @hidden */
|
|
@@ -134,6 +140,19 @@ var BaseParent = (_class2 = class extends Base {constructor(...args2) { super(..
|
|
|
134
140
|
}
|
|
135
141
|
}
|
|
136
142
|
}
|
|
143
|
+
async routeCall(idMap, call, connection, callbacks) {
|
|
144
|
+
if (idMap.getId(this) === call.componentKey) {
|
|
145
|
+
this.handleCall(call, connection).then(callbacks.resolve).catch(callbacks.reject);
|
|
146
|
+
} else {
|
|
147
|
+
for (const c of this.children) {
|
|
148
|
+
if (idMap.getId(c) === call.componentKey) {
|
|
149
|
+
c.handleCall(call, connection).then(callbacks.resolve).catch(callbacks.reject);
|
|
150
|
+
} else {
|
|
151
|
+
c.routeCall(idMap, call, connection, callbacks);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
137
156
|
insertBefore(child, beforeChild) {
|
|
138
157
|
const filteredChildren = this.children.filter((c) => c !== child);
|
|
139
158
|
let match = filteredChildren.findIndex((c) => c === beforeChild);
|
|
@@ -72,8 +72,14 @@ var Base = class {
|
|
|
72
72
|
/** @hidden */
|
|
73
73
|
handleMessage(_message, _connection) {
|
|
74
74
|
}
|
|
75
|
+
/** @hidden */
|
|
76
|
+
handleCall(_call, _connection) {
|
|
77
|
+
return Promise.reject(new Error(`Component does not handle calls`));
|
|
78
|
+
}
|
|
75
79
|
routeMessage(_idMap, _message, _connection) {
|
|
76
80
|
}
|
|
81
|
+
routeCall(_idMap, _call, _connection, _callbacks) {
|
|
82
|
+
}
|
|
77
83
|
};
|
|
78
84
|
var BaseParent = class extends Base {
|
|
79
85
|
/** @hidden */
|
|
@@ -134,6 +140,19 @@ var BaseParent = class extends Base {
|
|
|
134
140
|
}
|
|
135
141
|
}
|
|
136
142
|
}
|
|
143
|
+
async routeCall(idMap, call, connection, callbacks) {
|
|
144
|
+
if (idMap.getId(this) === call.componentKey) {
|
|
145
|
+
this.handleCall(call, connection).then(callbacks.resolve).catch(callbacks.reject);
|
|
146
|
+
} else {
|
|
147
|
+
for (const c of this.children) {
|
|
148
|
+
if (idMap.getId(c) === call.componentKey) {
|
|
149
|
+
c.handleCall(call, connection).then(callbacks.resolve).catch(callbacks.reject);
|
|
150
|
+
} else {
|
|
151
|
+
c.routeCall(idMap, call, connection, callbacks);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
137
156
|
insertBefore(child, beforeChild) {
|
|
138
157
|
const filteredChildren = this.children.filter((c) => c !== child);
|
|
139
158
|
let match = filteredChildren.findIndex((c) => c === beforeChild);
|