pptx-react-viewer 4.1.6 → 4.2.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/CHANGELOG.md +6 -0
- package/dist/{AiChatPanel-Y2RKSHOO.mjs → AiChatPanel-SEIRQ3XP.mjs} +3 -3
- package/dist/AiChatPanel-SEIRQ3XP.mjs.br +0 -0
- package/dist/AiChatPanel-SEIRQ3XP.mjs.gz +0 -0
- package/dist/{AiChatPanel-DRCY3T2Z.js → AiChatPanel-VVTLQXQ5.js} +27 -27
- package/dist/AiChatPanel-VVTLQXQ5.js.br +0 -0
- package/dist/AiChatPanel-VVTLQXQ5.js.gz +0 -0
- package/dist/{Model3DScene-ITHRMCLT.mjs → Model3DScene-DCTVSK2F.mjs} +1 -1
- package/dist/Model3DScene-DCTVSK2F.mjs.br +0 -0
- package/dist/Model3DScene-DCTVSK2F.mjs.gz +0 -0
- package/dist/{Model3DScene-VJZS726S.js → Model3DScene-SCWQXMEA.js} +2 -2
- package/dist/Model3DScene-SCWQXMEA.js.br +0 -0
- package/dist/Model3DScene-SCWQXMEA.js.gz +0 -0
- package/dist/{chunk-IXS7DALE.js → OrbitControls-4TDJCTBA.js} +1 -0
- package/dist/OrbitControls-4TDJCTBA.js.br +0 -0
- package/dist/OrbitControls-4TDJCTBA.js.gz +0 -0
- package/dist/{chunk-MV2GCDBR.mjs → OrbitControls-WCOIJFFL.mjs} +1 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.br +0 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.gz +0 -0
- package/dist/{chunk-2O66VMWK.js → chunk-3WYNGYB6.js} +5 -5
- package/dist/chunk-3WYNGYB6.js.br +0 -0
- package/dist/chunk-3WYNGYB6.js.gz +0 -0
- package/dist/{chunk-OFSKGB3W.mjs → chunk-4GTDG2FH.mjs} +157 -579
- package/dist/chunk-4GTDG2FH.mjs.br +0 -0
- package/dist/chunk-4GTDG2FH.mjs.gz +0 -0
- package/dist/{chunk-P5LF34BT.js → chunk-5MRNT4V6.js} +173 -173
- package/dist/chunk-5MRNT4V6.js.br +0 -0
- package/dist/chunk-5MRNT4V6.js.gz +0 -0
- package/dist/{chunk-KDTE5JOW.mjs → chunk-B5YZABYX.mjs} +1 -1
- package/dist/chunk-B5YZABYX.mjs.br +0 -0
- package/dist/chunk-B5YZABYX.mjs.gz +0 -0
- package/dist/{chunk-LNSYROED.js → chunk-KTSDPBQZ.js} +1309 -1210
- package/dist/chunk-KTSDPBQZ.js.br +0 -0
- package/dist/chunk-KTSDPBQZ.js.gz +0 -0
- package/dist/{chunk-QEYWSHNE.mjs → chunk-L4XBWL7J.mjs} +1 -1
- package/dist/chunk-L4XBWL7J.mjs.br +0 -0
- package/dist/chunk-L4XBWL7J.mjs.gz +0 -0
- package/dist/{chunk-VWGJXNMR.js → chunk-P2SBIMYF.js} +1645 -2073
- package/dist/chunk-P2SBIMYF.js.br +0 -0
- package/dist/chunk-P2SBIMYF.js.gz +0 -0
- package/dist/{chunk-QMSSDBKN.js → chunk-S65QSO6T.js} +26522 -22546
- package/dist/chunk-S65QSO6T.js.br +0 -0
- package/dist/chunk-S65QSO6T.js.gz +0 -0
- package/dist/{chunk-FT3MMIXW.mjs → chunk-VPJOJJ36.mjs} +26518 -22532
- package/dist/chunk-VPJOJJ36.mjs.br +0 -0
- package/dist/chunk-VPJOJJ36.mjs.gz +0 -0
- package/dist/{chunk-YHTDDCSC.mjs → chunk-ZYIJODUR.mjs} +254 -155
- package/dist/chunk-ZYIJODUR.mjs.br +0 -0
- package/dist/chunk-ZYIJODUR.mjs.gz +0 -0
- package/dist/index.d.ts +65 -18
- package/dist/index.js +47 -47
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +65 -18
- package/dist/internals.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +48 -1
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-DRCY3T2Z.js.br +0 -0
- package/dist/AiChatPanel-DRCY3T2Z.js.gz +0 -0
- package/dist/AiChatPanel-Y2RKSHOO.mjs.br +0 -0
- package/dist/AiChatPanel-Y2RKSHOO.mjs.gz +0 -0
- package/dist/Area3DChartScene-J4LMNSGM.js +0 -64
- package/dist/Area3DChartScene-J4LMNSGM.js.br +0 -0
- package/dist/Area3DChartScene-J4LMNSGM.js.gz +0 -0
- package/dist/Area3DChartScene-TDACCSOI.mjs +0 -62
- package/dist/Area3DChartScene-TDACCSOI.mjs.br +0 -0
- package/dist/Area3DChartScene-TDACCSOI.mjs.gz +0 -0
- package/dist/Bar3DChartScene-AD72DLBJ.mjs +0 -62
- package/dist/Bar3DChartScene-AD72DLBJ.mjs.br +0 -0
- package/dist/Bar3DChartScene-AD72DLBJ.mjs.gz +0 -0
- package/dist/Bar3DChartScene-T7334CTK.js +0 -64
- package/dist/Bar3DChartScene-T7334CTK.js.br +0 -0
- package/dist/Bar3DChartScene-T7334CTK.js.gz +0 -0
- package/dist/Line3DChartScene-2ZQSCHK3.mjs +0 -62
- package/dist/Line3DChartScene-2ZQSCHK3.mjs.br +0 -0
- package/dist/Line3DChartScene-2ZQSCHK3.mjs.gz +0 -0
- package/dist/Line3DChartScene-ELVKCFJZ.js +0 -64
- package/dist/Line3DChartScene-ELVKCFJZ.js.br +0 -0
- package/dist/Line3DChartScene-ELVKCFJZ.js.gz +0 -0
- package/dist/Model3DScene-ITHRMCLT.mjs.br +0 -0
- package/dist/Model3DScene-ITHRMCLT.mjs.gz +0 -0
- package/dist/Model3DScene-VJZS726S.js.br +0 -0
- package/dist/Model3DScene-VJZS726S.js.gz +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs +0 -3
- package/dist/OrbitControls-2XOMWUVE.mjs.br +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs.gz +0 -0
- package/dist/OrbitControls-CGYUF3BY.js +0 -12
- package/dist/OrbitControls-CGYUF3BY.js.br +0 -0
- package/dist/OrbitControls-CGYUF3BY.js.gz +0 -0
- package/dist/PieChart3DScene-N3DM33FW.js +0 -58
- package/dist/PieChart3DScene-N3DM33FW.js.br +0 -0
- package/dist/PieChart3DScene-N3DM33FW.js.gz +0 -0
- package/dist/PieChart3DScene-PYHOA7BO.mjs +0 -56
- package/dist/PieChart3DScene-PYHOA7BO.mjs.br +0 -0
- package/dist/PieChart3DScene-PYHOA7BO.mjs.gz +0 -0
- package/dist/SmartArt3DScene-D4VNNPHS.mjs +0 -500
- package/dist/SmartArt3DScene-D4VNNPHS.mjs.br +0 -0
- package/dist/SmartArt3DScene-D4VNNPHS.mjs.gz +0 -0
- package/dist/SmartArt3DScene-NHD7CZJ5.js +0 -502
- package/dist/SmartArt3DScene-NHD7CZJ5.js.br +0 -0
- package/dist/SmartArt3DScene-NHD7CZJ5.js.gz +0 -0
- package/dist/SurfaceChart3DScene-IFBUOLNB.mjs +0 -62
- package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-PUWIMT7V.js +0 -64
- package/dist/SurfaceChart3DScene-PUWIMT7V.js.br +0 -0
- package/dist/SurfaceChart3DScene-PUWIMT7V.js.gz +0 -0
- package/dist/chunk-2O66VMWK.js.br +0 -0
- package/dist/chunk-2O66VMWK.js.gz +0 -0
- package/dist/chunk-DNR6CH6I.js +0 -30
- package/dist/chunk-DNR6CH6I.js.br +0 -0
- package/dist/chunk-DNR6CH6I.js.gz +0 -0
- package/dist/chunk-FT3MMIXW.mjs.br +0 -0
- package/dist/chunk-FT3MMIXW.mjs.gz +0 -0
- package/dist/chunk-IXS7DALE.js.br +0 -0
- package/dist/chunk-IXS7DALE.js.gz +0 -0
- package/dist/chunk-KDTE5JOW.mjs.br +0 -0
- package/dist/chunk-KDTE5JOW.mjs.gz +0 -0
- package/dist/chunk-LNSYROED.js.br +0 -0
- package/dist/chunk-LNSYROED.js.gz +0 -0
- package/dist/chunk-MV2GCDBR.mjs.br +0 -0
- package/dist/chunk-MV2GCDBR.mjs.gz +0 -0
- package/dist/chunk-OFSKGB3W.mjs.br +0 -0
- package/dist/chunk-OFSKGB3W.mjs.gz +0 -0
- package/dist/chunk-P5LF34BT.js.br +0 -0
- package/dist/chunk-P5LF34BT.js.gz +0 -0
- package/dist/chunk-QEYWSHNE.mjs.br +0 -0
- package/dist/chunk-QEYWSHNE.mjs.gz +0 -0
- package/dist/chunk-QMSSDBKN.js.br +0 -0
- package/dist/chunk-QMSSDBKN.js.gz +0 -0
- package/dist/chunk-T6GFCLSM.mjs +0 -27
- package/dist/chunk-T6GFCLSM.mjs.br +0 -4
- package/dist/chunk-T6GFCLSM.mjs.gz +0 -0
- package/dist/chunk-VWGJXNMR.js.br +0 -0
- package/dist/chunk-VWGJXNMR.js.gz +0 -0
- package/dist/chunk-YHTDDCSC.mjs.br +0 -0
- package/dist/chunk-YHTDDCSC.mjs.gz +0 -0
package/dist/viewer/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkKTSDPBQZ_js = require('../chunk-KTSDPBQZ.js');
|
|
4
|
+
require('../chunk-3WYNGYB6.js');
|
|
5
|
+
var chunkP2SBIMYF_js = require('../chunk-P2SBIMYF.js');
|
|
6
|
+
var chunk5MRNT4V6_js = require('../chunk-5MRNT4V6.js');
|
|
7
|
+
var chunkS65QSO6T_js = require('../chunk-S65QSO6T.js');
|
|
8
8
|
require('../chunk-NXGUR2DO.js');
|
|
9
9
|
require('../chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
@@ -12,85 +12,85 @@ require('../chunk-4VNS5WPM.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "CollaborationStatusIndicator", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkKTSDPBQZ_js.CollaborationStatusIndicator; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkKTSDPBQZ_js.PowerPointViewer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKTSDPBQZ_js.UserAvatarBar; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkP2SBIMYF_js.CollaborationProvider; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkP2SBIMYF_js.RemoteUserCursors; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkP2SBIMYF_js.isAudienceTab; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "parseAudienceNonce", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkP2SBIMYF_js.parseAudienceNonce; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkP2SBIMYF_js.useCollaborativeHistory; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useCollaborativeState", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkP2SBIMYF_js.useCollaborativeState; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "usePresenceTracking", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkP2SBIMYF_js.usePresenceTracking; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "useThemeSwitching", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkP2SBIMYF_js.useThemeSwitching; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "useYjsProvider", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkP2SBIMYF_js.useYjsProvider; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk5MRNT4V6_js.getAnimationInitialStyle; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "clearAudienceContent", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkS65QSO6T_js.clearAudienceContent; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "forgetSessionDeck", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkS65QSO6T_js.forgetSessionDeck; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "getSessionTabId", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkS65QSO6T_js.getSessionTabId; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "loadAudienceContent", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkS65QSO6T_js.loadAudienceContent; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "loadSessionDeck", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkS65QSO6T_js.loadSessionDeck; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "rememberSessionDeck", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkS65QSO6T_js.rememberSessionDeck; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "restoreSessionDeck", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkS65QSO6T_js.restoreSessionDeck; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "storeAudienceContent", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkS65QSO6T_js.storeAudienceContent; }
|
|
96
96
|
});
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
export { CollaborationProvider, RemoteUserCursors, isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from '../chunk-
|
|
5
|
-
export { clearAudienceContent, forgetSessionDeck, getSessionTabId, loadAudienceContent, loadSessionDeck, rememberSessionDeck, restoreSessionDeck, storeAudienceContent } from '../chunk-
|
|
1
|
+
export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-ZYIJODUR.mjs';
|
|
2
|
+
import '../chunk-L4XBWL7J.mjs';
|
|
3
|
+
export { CollaborationProvider, RemoteUserCursors, isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-4GTDG2FH.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from '../chunk-B5YZABYX.mjs';
|
|
5
|
+
export { clearAudienceContent, forgetSessionDeck, getSessionTabId, loadAudienceContent, loadSessionDeck, rememberSessionDeck, restoreSessionDeck, storeAudienceContent } from '../chunk-VPJOJJ36.mjs';
|
|
6
6
|
import '../chunk-PC7H3C5W.mjs';
|
|
7
7
|
import '../chunk-XGB3TDIC.mjs';
|
package/dist/viewer/index.mjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var chunkQMSSDBKN_js = require('./chunk-QMSSDBKN.js');
|
|
5
|
-
require('./chunk-4VNS5WPM.js');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
-
|
|
9
|
-
function Area3DChartScene({
|
|
10
|
-
options,
|
|
11
|
-
interaction,
|
|
12
|
-
selectedPart = null,
|
|
13
|
-
textStyle
|
|
14
|
-
}) {
|
|
15
|
-
const containerRef = react.useRef(null);
|
|
16
|
-
const handleRef = react.useRef(null);
|
|
17
|
-
const stableInteraction = chunkDNR6CH6I_js.useStableChart3DInteraction(interaction);
|
|
18
|
-
const selectedPartRef = chunkDNR6CH6I_js.useLatestRef(selectedPart);
|
|
19
|
-
const textStyleRef = chunkDNR6CH6I_js.useLatestRef(textStyle);
|
|
20
|
-
react.useEffect(() => {
|
|
21
|
-
const container = containerRef.current;
|
|
22
|
-
if (!container) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
let disposed = false;
|
|
26
|
-
void chunkQMSSDBKN_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
|
-
if (disposed) {
|
|
28
|
-
handle.dispose();
|
|
29
|
-
} else {
|
|
30
|
-
handleRef.current = handle;
|
|
31
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
32
|
-
handle.setTextStyle(textStyleRef.current);
|
|
33
|
-
}
|
|
34
|
-
return void 0;
|
|
35
|
-
});
|
|
36
|
-
return () => {
|
|
37
|
-
disposed = true;
|
|
38
|
-
handleRef.current?.dispose();
|
|
39
|
-
handleRef.current = null;
|
|
40
|
-
};
|
|
41
|
-
}, [options, stableInteraction]);
|
|
42
|
-
react.useEffect(() => {
|
|
43
|
-
handleRef.current?.resize(options.width, options.height);
|
|
44
|
-
}, [options.width, options.height]);
|
|
45
|
-
react.useEffect(() => {
|
|
46
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
47
|
-
}, [selectedPart]);
|
|
48
|
-
react.useEffect(() => {
|
|
49
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
50
|
-
}, [textStyle]);
|
|
51
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
ref: containerRef,
|
|
55
|
-
style: {
|
|
56
|
-
width: options.width,
|
|
57
|
-
height: options.height,
|
|
58
|
-
willChange: "transform"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
module.exports = Area3DChartScene;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountAreaChart3D } from './chunk-FT3MMIXW.mjs';
|
|
3
|
-
import './chunk-XGB3TDIC.mjs';
|
|
4
|
-
import { useRef, useEffect } from 'react';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
function Area3DChartScene({
|
|
8
|
-
options,
|
|
9
|
-
interaction,
|
|
10
|
-
selectedPart = null,
|
|
11
|
-
textStyle
|
|
12
|
-
}) {
|
|
13
|
-
const containerRef = useRef(null);
|
|
14
|
-
const handleRef = useRef(null);
|
|
15
|
-
const stableInteraction = useStableChart3DInteraction(interaction);
|
|
16
|
-
const selectedPartRef = useLatestRef(selectedPart);
|
|
17
|
-
const textStyleRef = useLatestRef(textStyle);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
const container = containerRef.current;
|
|
20
|
-
if (!container) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
let disposed = false;
|
|
24
|
-
void mountAreaChart3D(container, options, stableInteraction).then((handle) => {
|
|
25
|
-
if (disposed) {
|
|
26
|
-
handle.dispose();
|
|
27
|
-
} else {
|
|
28
|
-
handleRef.current = handle;
|
|
29
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
30
|
-
handle.setTextStyle(textStyleRef.current);
|
|
31
|
-
}
|
|
32
|
-
return void 0;
|
|
33
|
-
});
|
|
34
|
-
return () => {
|
|
35
|
-
disposed = true;
|
|
36
|
-
handleRef.current?.dispose();
|
|
37
|
-
handleRef.current = null;
|
|
38
|
-
};
|
|
39
|
-
}, [options, stableInteraction]);
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
handleRef.current?.resize(options.width, options.height);
|
|
42
|
-
}, [options.width, options.height]);
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
45
|
-
}, [selectedPart]);
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
48
|
-
}, [textStyle]);
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
ref: containerRef,
|
|
53
|
-
style: {
|
|
54
|
-
width: options.width,
|
|
55
|
-
height: options.height,
|
|
56
|
-
willChange: "transform"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { Area3DChartScene as default };
|
|
Binary file
|
|
Binary file
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountBarChart3D } from './chunk-FT3MMIXW.mjs';
|
|
3
|
-
import './chunk-XGB3TDIC.mjs';
|
|
4
|
-
import { useRef, useEffect } from 'react';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
function Bar3DChartScene({
|
|
8
|
-
options,
|
|
9
|
-
interaction,
|
|
10
|
-
selectedPart = null,
|
|
11
|
-
textStyle
|
|
12
|
-
}) {
|
|
13
|
-
const containerRef = useRef(null);
|
|
14
|
-
const handleRef = useRef(null);
|
|
15
|
-
const stableInteraction = useStableChart3DInteraction(interaction);
|
|
16
|
-
const selectedPartRef = useLatestRef(selectedPart);
|
|
17
|
-
const textStyleRef = useLatestRef(textStyle);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
const container = containerRef.current;
|
|
20
|
-
if (!container) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
let disposed = false;
|
|
24
|
-
void mountBarChart3D(container, options, stableInteraction).then((handle) => {
|
|
25
|
-
if (disposed) {
|
|
26
|
-
handle.dispose();
|
|
27
|
-
} else {
|
|
28
|
-
handleRef.current = handle;
|
|
29
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
30
|
-
handle.setTextStyle(textStyleRef.current);
|
|
31
|
-
}
|
|
32
|
-
return void 0;
|
|
33
|
-
});
|
|
34
|
-
return () => {
|
|
35
|
-
disposed = true;
|
|
36
|
-
handleRef.current?.dispose();
|
|
37
|
-
handleRef.current = null;
|
|
38
|
-
};
|
|
39
|
-
}, [options, stableInteraction]);
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
handleRef.current?.resize(options.width, options.height);
|
|
42
|
-
}, [options.width, options.height]);
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
45
|
-
}, [selectedPart]);
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
48
|
-
}, [textStyle]);
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
ref: containerRef,
|
|
53
|
-
style: {
|
|
54
|
-
width: options.width,
|
|
55
|
-
height: options.height,
|
|
56
|
-
willChange: "transform"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { Bar3DChartScene as default };
|
|
Binary file
|
|
Binary file
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var chunkQMSSDBKN_js = require('./chunk-QMSSDBKN.js');
|
|
5
|
-
require('./chunk-4VNS5WPM.js');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
-
|
|
9
|
-
function Bar3DChartScene({
|
|
10
|
-
options,
|
|
11
|
-
interaction,
|
|
12
|
-
selectedPart = null,
|
|
13
|
-
textStyle
|
|
14
|
-
}) {
|
|
15
|
-
const containerRef = react.useRef(null);
|
|
16
|
-
const handleRef = react.useRef(null);
|
|
17
|
-
const stableInteraction = chunkDNR6CH6I_js.useStableChart3DInteraction(interaction);
|
|
18
|
-
const selectedPartRef = chunkDNR6CH6I_js.useLatestRef(selectedPart);
|
|
19
|
-
const textStyleRef = chunkDNR6CH6I_js.useLatestRef(textStyle);
|
|
20
|
-
react.useEffect(() => {
|
|
21
|
-
const container = containerRef.current;
|
|
22
|
-
if (!container) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
let disposed = false;
|
|
26
|
-
void chunkQMSSDBKN_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
|
-
if (disposed) {
|
|
28
|
-
handle.dispose();
|
|
29
|
-
} else {
|
|
30
|
-
handleRef.current = handle;
|
|
31
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
32
|
-
handle.setTextStyle(textStyleRef.current);
|
|
33
|
-
}
|
|
34
|
-
return void 0;
|
|
35
|
-
});
|
|
36
|
-
return () => {
|
|
37
|
-
disposed = true;
|
|
38
|
-
handleRef.current?.dispose();
|
|
39
|
-
handleRef.current = null;
|
|
40
|
-
};
|
|
41
|
-
}, [options, stableInteraction]);
|
|
42
|
-
react.useEffect(() => {
|
|
43
|
-
handleRef.current?.resize(options.width, options.height);
|
|
44
|
-
}, [options.width, options.height]);
|
|
45
|
-
react.useEffect(() => {
|
|
46
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
47
|
-
}, [selectedPart]);
|
|
48
|
-
react.useEffect(() => {
|
|
49
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
50
|
-
}, [textStyle]);
|
|
51
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
ref: containerRef,
|
|
55
|
-
style: {
|
|
56
|
-
width: options.width,
|
|
57
|
-
height: options.height,
|
|
58
|
-
willChange: "transform"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
module.exports = Bar3DChartScene;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountLineChart3D } from './chunk-FT3MMIXW.mjs';
|
|
3
|
-
import './chunk-XGB3TDIC.mjs';
|
|
4
|
-
import { useRef, useEffect } from 'react';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
function Line3DChartScene({
|
|
8
|
-
options,
|
|
9
|
-
interaction,
|
|
10
|
-
selectedPart = null,
|
|
11
|
-
textStyle
|
|
12
|
-
}) {
|
|
13
|
-
const containerRef = useRef(null);
|
|
14
|
-
const handleRef = useRef(null);
|
|
15
|
-
const stableInteraction = useStableChart3DInteraction(interaction);
|
|
16
|
-
const selectedPartRef = useLatestRef(selectedPart);
|
|
17
|
-
const textStyleRef = useLatestRef(textStyle);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
const container = containerRef.current;
|
|
20
|
-
if (!container) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
let disposed = false;
|
|
24
|
-
void mountLineChart3D(container, options, stableInteraction).then((handle) => {
|
|
25
|
-
if (disposed) {
|
|
26
|
-
handle.dispose();
|
|
27
|
-
} else {
|
|
28
|
-
handleRef.current = handle;
|
|
29
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
30
|
-
handle.setTextStyle(textStyleRef.current);
|
|
31
|
-
}
|
|
32
|
-
return void 0;
|
|
33
|
-
});
|
|
34
|
-
return () => {
|
|
35
|
-
disposed = true;
|
|
36
|
-
handleRef.current?.dispose();
|
|
37
|
-
handleRef.current = null;
|
|
38
|
-
};
|
|
39
|
-
}, [options, stableInteraction]);
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
handleRef.current?.resize(options.width, options.height);
|
|
42
|
-
}, [options.width, options.height]);
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
45
|
-
}, [selectedPart]);
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
48
|
-
}, [textStyle]);
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
ref: containerRef,
|
|
53
|
-
style: {
|
|
54
|
-
width: options.width,
|
|
55
|
-
height: options.height,
|
|
56
|
-
willChange: "transform"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { Line3DChartScene as default };
|
|
Binary file
|
|
Binary file
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var chunkQMSSDBKN_js = require('./chunk-QMSSDBKN.js');
|
|
5
|
-
require('./chunk-4VNS5WPM.js');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
-
|
|
9
|
-
function Line3DChartScene({
|
|
10
|
-
options,
|
|
11
|
-
interaction,
|
|
12
|
-
selectedPart = null,
|
|
13
|
-
textStyle
|
|
14
|
-
}) {
|
|
15
|
-
const containerRef = react.useRef(null);
|
|
16
|
-
const handleRef = react.useRef(null);
|
|
17
|
-
const stableInteraction = chunkDNR6CH6I_js.useStableChart3DInteraction(interaction);
|
|
18
|
-
const selectedPartRef = chunkDNR6CH6I_js.useLatestRef(selectedPart);
|
|
19
|
-
const textStyleRef = chunkDNR6CH6I_js.useLatestRef(textStyle);
|
|
20
|
-
react.useEffect(() => {
|
|
21
|
-
const container = containerRef.current;
|
|
22
|
-
if (!container) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
let disposed = false;
|
|
26
|
-
void chunkQMSSDBKN_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
|
-
if (disposed) {
|
|
28
|
-
handle.dispose();
|
|
29
|
-
} else {
|
|
30
|
-
handleRef.current = handle;
|
|
31
|
-
handle.setSelectedPart(selectedPartRef.current);
|
|
32
|
-
handle.setTextStyle(textStyleRef.current);
|
|
33
|
-
}
|
|
34
|
-
return void 0;
|
|
35
|
-
});
|
|
36
|
-
return () => {
|
|
37
|
-
disposed = true;
|
|
38
|
-
handleRef.current?.dispose();
|
|
39
|
-
handleRef.current = null;
|
|
40
|
-
};
|
|
41
|
-
}, [options, stableInteraction]);
|
|
42
|
-
react.useEffect(() => {
|
|
43
|
-
handleRef.current?.resize(options.width, options.height);
|
|
44
|
-
}, [options.width, options.height]);
|
|
45
|
-
react.useEffect(() => {
|
|
46
|
-
handleRef.current?.setSelectedPart(selectedPart);
|
|
47
|
-
}, [selectedPart]);
|
|
48
|
-
react.useEffect(() => {
|
|
49
|
-
handleRef.current?.setTextStyle(textStyle);
|
|
50
|
-
}, [textStyle]);
|
|
51
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
ref: containerRef,
|
|
55
|
-
style: {
|
|
56
|
-
width: options.width,
|
|
57
|
-
height: options.height,
|
|
58
|
-
willChange: "transform"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
module.exports = Line3DChartScene;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkIXS7DALE_js = require('./chunk-IXS7DALE.js');
|
|
4
|
-
require('./chunk-3N6AC4HA.js');
|
|
5
|
-
require('./chunk-4VNS5WPM.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "OrbitControls", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkIXS7DALE_js.OrbitControls; }
|
|
12
|
-
});
|
|
Binary file
|
|
Binary file
|