@mieweb/ui 0.9.0-datavis → 0.9.0-datavis-submodule-test.2
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/{CsvBlock-DXIZ3FEF.cjs → CsvBlock-CVYA3HYS.cjs} +3 -3
- package/dist/{CsvBlock-DXIZ3FEF.cjs.map → CsvBlock-CVYA3HYS.cjs.map} +1 -1
- package/dist/{CsvBlock-URR5MQH3.js → CsvBlock-SM4NKSHA.js} +3 -3
- package/dist/{CsvBlock-URR5MQH3.js.map → CsvBlock-SM4NKSHA.js.map} +1 -1
- package/dist/{HtmlPreviewBlock-HOMAY5CZ.js → HtmlPreviewBlock-FAMF4W24.js} +3 -3
- package/dist/{HtmlPreviewBlock-HOMAY5CZ.js.map → HtmlPreviewBlock-FAMF4W24.js.map} +1 -1
- package/dist/{HtmlPreviewBlock-W7ZRU4GR.cjs → HtmlPreviewBlock-JF454L2L.cjs} +3 -3
- package/dist/{HtmlPreviewBlock-W7ZRU4GR.cjs.map → HtmlPreviewBlock-JF454L2L.cjs.map} +1 -1
- package/dist/{MermaidBlock-F5UMHHL5.js → MermaidBlock-7V5G4K5A.js} +3 -3
- package/dist/{MermaidBlock-F5UMHHL5.js.map → MermaidBlock-7V5G4K5A.js.map} +1 -1
- package/dist/{MermaidBlock-SGAN5CSV.cjs → MermaidBlock-FR5SQX4Q.cjs} +3 -3
- package/dist/{MermaidBlock-SGAN5CSV.cjs.map → MermaidBlock-FR5SQX4Q.cjs.map} +1 -1
- package/dist/{SurveyBlock-MMBGLOWQ.js → SurveyBlock-6K2POV7S.js} +3 -3
- package/dist/{SurveyBlock-MMBGLOWQ.js.map → SurveyBlock-6K2POV7S.js.map} +1 -1
- package/dist/{SurveyBlock-SQXOESDF.cjs → SurveyBlock-MCJVWR7H.cjs} +3 -3
- package/dist/{SurveyBlock-SQXOESDF.cjs.map → SurveyBlock-MCJVWR7H.cjs.map} +1 -1
- package/dist/ag-grid.cjs +1 -1
- package/dist/ag-grid.js +1 -1
- package/dist/brands/bluehive.cjs +1 -1
- package/dist/brands/bluehive.js +1 -1
- package/dist/brands/ccme.cjs +1 -1
- package/dist/brands/ccme.js +1 -1
- package/dist/brands/index.cjs +3 -3
- package/dist/brands/index.js +2 -2
- package/dist/brands/ozwell.cjs +1 -1
- package/dist/brands/ozwell.js +1 -1
- package/dist/brands/types.cjs +1 -1
- package/dist/brands/types.js +1 -1
- package/dist/{chunk-GXZG2COF.cjs → chunk-AZP3DDBT.cjs} +6 -6
- package/dist/{chunk-GXZG2COF.cjs.map → chunk-AZP3DDBT.cjs.map} +1 -1
- package/dist/{chunk-ZKMTKJFC.js → chunk-DRZ36ROW.js} +76 -501
- package/dist/chunk-DRZ36ROW.js.map +1 -0
- package/dist/{chunk-WX2O47TS.cjs → chunk-EUAMEVVI.cjs} +3 -10
- package/dist/{chunk-WX2O47TS.cjs.map → chunk-EUAMEVVI.cjs.map} +1 -1
- package/dist/chunk-LECJMLNE.js +15 -0
- package/dist/{chunk-LSMDP7OV.js.map → chunk-LECJMLNE.js.map} +1 -1
- package/dist/{chunk-CGQDCCTT.cjs → chunk-PSBYYZCW.cjs} +82 -507
- package/dist/chunk-PSBYYZCW.cjs.map +1 -0
- package/dist/{chunk-ZPWHCABL.js → chunk-PX6F3LHL.js} +4 -10
- package/dist/{chunk-ZPWHCABL.js.map → chunk-PX6F3LHL.js.map} +1 -1
- package/dist/chunk-VNAREBLV.cjs +17 -0
- package/dist/{chunk-MMG7KPYK.cjs.map → chunk-VNAREBLV.cjs.map} +1 -1
- package/dist/{chunk-4BAS7275.js → chunk-ZX2XRFE5.js} +6 -6
- package/dist/{chunk-4BAS7275.js.map → chunk-ZX2XRFE5.js.map} +1 -1
- package/dist/{collabKit-423J5OJC.cjs → collabKit-GCRHP25F.cjs} +3 -3
- package/dist/{collabKit-423J5OJC.cjs.map → collabKit-GCRHP25F.cjs.map} +1 -1
- package/dist/{collabKit-ATVRE4G3.js → collabKit-SJPDPXU4.js} +3 -3
- package/dist/{collabKit-ATVRE4G3.js.map → collabKit-SJPDPXU4.js.map} +1 -1
- package/dist/components/Accordion/index.cjs +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AlertDialog/index.cjs +1 -1
- package/dist/components/AlertDialog/index.js +1 -1
- package/dist/components/AudioPlayer/index.cjs +1 -1
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/AudioRecorder/index.cjs +1 -1
- package/dist/components/AudioRecorder/index.js +1 -1
- package/dist/components/Autocomplete/index.cjs +1 -1
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.cjs +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumb/index.cjs +1 -1
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.cjs +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Checkbox/index.cjs +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/ClampedText/index.cjs +1 -1
- package/dist/components/ClampedText/index.js +1 -1
- package/dist/components/CollabStatus/index.cjs +1 -1
- package/dist/components/CollabStatus/index.js +1 -1
- package/dist/components/Collapsible/index.cjs +1 -1
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/CopyButton/index.cjs +1 -1
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +1 -1
- package/dist/components/CountryCodeDropdown/index.js +1 -1
- package/dist/components/CustomizableDashboard/index.cjs +1 -1
- package/dist/components/CustomizableDashboard/index.js +1 -1
- package/dist/components/DateInput/index.cjs +1 -1
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/FilterSummaryBar/index.cjs +1 -1
- package/dist/components/FilterSummaryBar/index.js +1 -1
- package/dist/components/FloatingWindow/index.cjs +1 -1
- package/dist/components/FloatingWindow/index.js +1 -1
- package/dist/components/FreshnessBadge/index.cjs +1 -1
- package/dist/components/FreshnessBadge/index.js +1 -1
- package/dist/components/GlossaryTooltip/index.cjs +1 -1
- package/dist/components/GlossaryTooltip/index.js +1 -1
- package/dist/components/Input/index.cjs +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +1 -1
- package/dist/components/KeyboardShortcutsOverlay/index.js +1 -1
- package/dist/components/Label/index.cjs +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Markdown/index.cjs +6 -6
- package/dist/components/Markdown/index.js +2 -2
- package/dist/components/MediaEditor/index.cjs +1 -1
- package/dist/components/MediaEditor/index.js +1 -1
- package/dist/components/MediaPlayer/index.cjs +1 -1
- package/dist/components/MediaPlayer/index.js +1 -1
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Pagination/index.cjs +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PhoneInput/index.cjs +1 -1
- package/dist/components/PhoneInput/index.js +1 -1
- package/dist/components/Progress/index.cjs +1 -1
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/Q/index.cjs +1 -1
- package/dist/components/Q/index.js +1 -1
- package/dist/components/QuickAction/index.cjs +1 -1
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/Radio/index.cjs +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/ReadingProgressBar/index.cjs +1 -1
- package/dist/components/ReadingProgressBar/index.js +1 -1
- package/dist/components/RecordButton/index.cjs +1 -1
- package/dist/components/RecordButton/index.js +1 -1
- package/dist/components/RichTextEditor/index.cjs +1 -1
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/SchedulePicker/index.cjs +1 -1
- package/dist/components/SchedulePicker/index.js +1 -1
- package/dist/components/ScrollArea/index.cjs +1 -1
- package/dist/components/ScrollArea/index.js +1 -1
- package/dist/components/SectionSpyNav/index.cjs +1 -1
- package/dist/components/SectionSpyNav/index.js +1 -1
- package/dist/components/Select/index.cjs +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Separator/index.cjs +1 -1
- package/dist/components/Separator/index.js +1 -1
- package/dist/components/Sheet/index.cjs +1 -1
- package/dist/components/Sheet/index.js +1 -1
- package/dist/components/Skeleton/index.cjs +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slider/index.cjs +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SourceTip/index.cjs +1 -1
- package/dist/components/SourceTip/index.js +1 -1
- package/dist/components/Sparkline/index.cjs +1 -1
- package/dist/components/Sparkline/index.js +1 -1
- package/dist/components/Spinner/index.cjs +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +1 -1
- package/dist/components/SuperChat/index.js +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +2 -2
- package/dist/components/SuperChat/plugins/index.js +2 -2
- package/dist/components/Switch/index.cjs +1 -1
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.cjs +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Text/index.cjs +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Textarea/index.cjs +1 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/ThemeProvider/index.cjs +1 -1
- package/dist/components/ThemeProvider/index.js +1 -1
- package/dist/components/Toggle/index.cjs +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/Tooltip/index.cjs +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/TranscriptView/index.cjs +1 -1
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/components/VisuallyHidden/index.cjs +1 -1
- package/dist/components/VisuallyHidden/index.js +1 -1
- package/dist/datavis.cjs +10 -10
- package/dist/datavis.js +3 -3
- package/dist/{default-MPS6GUYS.cjs → default-CCMUBXP6.cjs} +3 -3
- package/dist/{default-MPS6GUYS.cjs.map → default-CCMUBXP6.cjs.map} +1 -1
- package/dist/default-N2LW7ZFU.js +4 -0
- package/dist/{default-RYDRUCB5.js.map → default-N2LW7ZFU.js.map} +1 -1
- package/dist/{enterprise-health-ZDEXT55R.cjs → enterprise-health-75VYWAVG.cjs} +3 -3
- package/dist/{enterprise-health-ZDEXT55R.cjs.map → enterprise-health-75VYWAVG.cjs.map} +1 -1
- package/dist/enterprise-health-CWLUB77O.js +4 -0
- package/dist/{enterprise-health-XCVC3GSI.js.map → enterprise-health-CWLUB77O.js.map} +1 -1
- package/dist/esheet.cjs +1 -1
- package/dist/esheet.js +1 -1
- package/dist/{hey-buddy-TK63WPIG.cjs → hey-buddy-INNUFFJJ.cjs} +3 -3
- package/dist/{hey-buddy-TK63WPIG.cjs.map → hey-buddy-INNUFFJJ.cjs.map} +1 -1
- package/dist/{hey-buddy-RL5G75UO.js → hey-buddy-V6FC5UKB.js} +3 -3
- package/dist/{hey-buddy-RL5G75UO.js.map → hey-buddy-V6FC5UKB.js.map} +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.js +4 -4
- package/dist/kerebron.cjs +2 -2
- package/dist/kerebron.js +2 -2
- package/dist/{mieweb-RBVTC5TE.cjs → mieweb-72YOL44I.cjs} +3 -3
- package/dist/{mieweb-RBVTC5TE.cjs.map → mieweb-72YOL44I.cjs.map} +1 -1
- package/dist/mieweb-EZDLSSA6.js +4 -0
- package/dist/{mieweb-H7LRJWSG.js.map → mieweb-EZDLSSA6.js.map} +1 -1
- package/dist/motion.cjs +1 -1
- package/dist/motion.js +1 -1
- package/dist/{nitroTableGrid-DAFRBF6B.cjs → nitroTableGrid-67HMJQDT.cjs} +5 -5
- package/dist/{nitroTableGrid-DAFRBF6B.cjs.map → nitroTableGrid-67HMJQDT.cjs.map} +1 -1
- package/dist/{nitroTableGrid-VUDKRZ5Z.js → nitroTableGrid-ONHROAFX.js} +4 -4
- package/dist/{nitroTableGrid-VUDKRZ5Z.js.map → nitroTableGrid-ONHROAFX.js.map} +1 -1
- package/dist/q.cjs +1 -1
- package/dist/q.js +1 -1
- package/dist/tailwind-preset.cjs +1 -1
- package/dist/tailwind-preset.js +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/{waggleline-GMUWK4AI.cjs → waggleline-5CBT4MNN.cjs} +3 -3
- package/dist/{waggleline-GMUWK4AI.cjs.map → waggleline-5CBT4MNN.cjs.map} +1 -1
- package/dist/waggleline-JMPCNV3J.js +4 -0
- package/dist/{waggleline-BAVAV3VZ.js.map → waggleline-JMPCNV3J.js.map} +1 -1
- package/dist/webchart-2CVQ2TT3.js +4 -0
- package/dist/{webchart-JVJJOI33.js.map → webchart-2CVQ2TT3.js.map} +1 -1
- package/dist/{webchart-G4VWFPSK.cjs → webchart-AXXOQHU6.cjs} +3 -3
- package/dist/{webchart-G4VWFPSK.cjs.map → webchart-AXXOQHU6.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-CGQDCCTT.cjs.map +0 -1
- package/dist/chunk-LSMDP7OV.js +0 -15
- package/dist/chunk-MMG7KPYK.cjs +0 -17
- package/dist/chunk-ZKMTKJFC.js.map +0 -1
- package/dist/default-RYDRUCB5.js +0 -4
- package/dist/enterprise-health-XCVC3GSI.js +0 -4
- package/dist/mieweb-H7LRJWSG.js +0 -4
- package/dist/waggleline-BAVAV3VZ.js +0 -4
- package/dist/webchart-JVJJOI33.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __commonJS,
|
|
1
|
+
import { __commonJS, __export, __toESM } from './chunk-PX6F3LHL.js';
|
|
2
2
|
import * as React27 from 'react';
|
|
3
|
-
import React27__default, { createContext, forwardRef, useMemo, useState, useRef, useImperativeHandle, useCallback, useContext, useEffect, useLayoutEffect, memo, isValidElement, cloneElement, Component, PureComponent, Children, createElement, Fragment as Fragment$1, startTransition, useReducer } from 'react';
|
|
3
|
+
import React27__default, { createContext, forwardRef, useMemo, useState, useRef, useImperativeHandle, useCallback, useContext, useEffect, useLayoutEffect, memo, isValidElement, useSyncExternalStore, useDebugValue, cloneElement, Component, PureComponent, Children, createElement, Fragment as Fragment$1, startTransition, useReducer } from 'react';
|
|
4
4
|
import { Source, ComputedView, AGGREGATE_REGISTRY, AggregateInfo } from 'datavis-ace';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { Button } from '@mieweb/ui/components/Button';
|
|
@@ -23,421 +23,6 @@ import { clsx } from 'clsx';
|
|
|
23
23
|
import { Progress } from '@mieweb/ui/components/Progress';
|
|
24
24
|
import '@mieweb/ui';
|
|
25
25
|
|
|
26
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
|
|
27
|
-
var require_use_sync_external_store_shim_production = __commonJS({
|
|
28
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports$1) {
|
|
29
|
-
var React55 = __require("react");
|
|
30
|
-
function is4(x3, y3) {
|
|
31
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
32
|
-
}
|
|
33
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is4;
|
|
34
|
-
var useState15 = React55.useState;
|
|
35
|
-
var useEffect22 = React55.useEffect;
|
|
36
|
-
var useLayoutEffect10 = React55.useLayoutEffect;
|
|
37
|
-
var useDebugValue2 = React55.useDebugValue;
|
|
38
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
39
|
-
var value = getSnapshot(), _useState = useState15({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
40
|
-
useLayoutEffect10(
|
|
41
|
-
function() {
|
|
42
|
-
inst.value = value;
|
|
43
|
-
inst.getSnapshot = getSnapshot;
|
|
44
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
45
|
-
},
|
|
46
|
-
[subscribe, value, getSnapshot]
|
|
47
|
-
);
|
|
48
|
-
useEffect22(
|
|
49
|
-
function() {
|
|
50
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
51
|
-
return subscribe(function() {
|
|
52
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
[subscribe]
|
|
56
|
-
);
|
|
57
|
-
useDebugValue2(value);
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
function checkIfSnapshotChanged(inst) {
|
|
61
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
62
|
-
inst = inst.value;
|
|
63
|
-
try {
|
|
64
|
-
var nextValue = latestGetSnapshot();
|
|
65
|
-
return !objectIs(inst, nextValue);
|
|
66
|
-
} catch (error) {
|
|
67
|
-
return true;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
71
|
-
return getSnapshot();
|
|
72
|
-
}
|
|
73
|
-
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
74
|
-
exports$1.useSyncExternalStore = void 0 !== React55.useSyncExternalStore ? React55.useSyncExternalStore : shim;
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
|
79
|
-
var require_use_sync_external_store_shim_development = __commonJS({
|
|
80
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports$1) {
|
|
81
|
-
"production" !== process.env.NODE_ENV && (function() {
|
|
82
|
-
function is4(x3, y3) {
|
|
83
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
84
|
-
}
|
|
85
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
86
|
-
didWarnOld18Alpha || void 0 === React55.startTransition || (didWarnOld18Alpha = true, console.error(
|
|
87
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
88
|
-
));
|
|
89
|
-
var value = getSnapshot();
|
|
90
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
91
|
-
var cachedValue = getSnapshot();
|
|
92
|
-
objectIs(value, cachedValue) || (console.error(
|
|
93
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
94
|
-
), didWarnUncachedGetSnapshot = true);
|
|
95
|
-
}
|
|
96
|
-
cachedValue = useState15({
|
|
97
|
-
inst: { value, getSnapshot }
|
|
98
|
-
});
|
|
99
|
-
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
100
|
-
useLayoutEffect10(
|
|
101
|
-
function() {
|
|
102
|
-
inst.value = value;
|
|
103
|
-
inst.getSnapshot = getSnapshot;
|
|
104
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
105
|
-
},
|
|
106
|
-
[subscribe, value, getSnapshot]
|
|
107
|
-
);
|
|
108
|
-
useEffect22(
|
|
109
|
-
function() {
|
|
110
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
111
|
-
return subscribe(function() {
|
|
112
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
113
|
-
});
|
|
114
|
-
},
|
|
115
|
-
[subscribe]
|
|
116
|
-
);
|
|
117
|
-
useDebugValue2(value);
|
|
118
|
-
return value;
|
|
119
|
-
}
|
|
120
|
-
function checkIfSnapshotChanged(inst) {
|
|
121
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
122
|
-
inst = inst.value;
|
|
123
|
-
try {
|
|
124
|
-
var nextValue = latestGetSnapshot();
|
|
125
|
-
return !objectIs(inst, nextValue);
|
|
126
|
-
} catch (error) {
|
|
127
|
-
return true;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
131
|
-
return getSnapshot();
|
|
132
|
-
}
|
|
133
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
134
|
-
var React55 = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is4, useState15 = React55.useState, useEffect22 = React55.useEffect, useLayoutEffect10 = React55.useLayoutEffect, useDebugValue2 = React55.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
135
|
-
exports$1.useSyncExternalStore = void 0 !== React55.useSyncExternalStore ? React55.useSyncExternalStore : shim;
|
|
136
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
137
|
-
})();
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
// packages/datavis/node_modules/use-sync-external-store/shim/index.js
|
|
142
|
-
var require_shim = __commonJS({
|
|
143
|
-
"packages/datavis/node_modules/use-sync-external-store/shim/index.js"(exports$1, module) {
|
|
144
|
-
if (process.env.NODE_ENV === "production") {
|
|
145
|
-
module.exports = require_use_sync_external_store_shim_production();
|
|
146
|
-
} else {
|
|
147
|
-
module.exports = require_use_sync_external_store_shim_development();
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
|
|
153
|
-
var require_with_selector_production = __commonJS({
|
|
154
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"(exports$1) {
|
|
155
|
-
var React55 = __require("react");
|
|
156
|
-
var shim = require_shim();
|
|
157
|
-
function is4(x3, y3) {
|
|
158
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
159
|
-
}
|
|
160
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is4;
|
|
161
|
-
var useSyncExternalStore3 = shim.useSyncExternalStore;
|
|
162
|
-
var useRef24 = React55.useRef;
|
|
163
|
-
var useEffect22 = React55.useEffect;
|
|
164
|
-
var useMemo16 = React55.useMemo;
|
|
165
|
-
var useDebugValue2 = React55.useDebugValue;
|
|
166
|
-
exports$1.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual2) {
|
|
167
|
-
var instRef = useRef24(null);
|
|
168
|
-
if (null === instRef.current) {
|
|
169
|
-
var inst = { hasValue: false, value: null };
|
|
170
|
-
instRef.current = inst;
|
|
171
|
-
} else inst = instRef.current;
|
|
172
|
-
instRef = useMemo16(
|
|
173
|
-
function() {
|
|
174
|
-
function memoizedSelector(nextSnapshot) {
|
|
175
|
-
if (!hasMemo) {
|
|
176
|
-
hasMemo = true;
|
|
177
|
-
memoizedSnapshot = nextSnapshot;
|
|
178
|
-
nextSnapshot = selector(nextSnapshot);
|
|
179
|
-
if (void 0 !== isEqual2 && inst.hasValue) {
|
|
180
|
-
var currentSelection = inst.value;
|
|
181
|
-
if (isEqual2(currentSelection, nextSnapshot))
|
|
182
|
-
return memoizedSelection = currentSelection;
|
|
183
|
-
}
|
|
184
|
-
return memoizedSelection = nextSnapshot;
|
|
185
|
-
}
|
|
186
|
-
currentSelection = memoizedSelection;
|
|
187
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
188
|
-
var nextSelection = selector(nextSnapshot);
|
|
189
|
-
if (void 0 !== isEqual2 && isEqual2(currentSelection, nextSelection))
|
|
190
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
191
|
-
memoizedSnapshot = nextSnapshot;
|
|
192
|
-
return memoizedSelection = nextSelection;
|
|
193
|
-
}
|
|
194
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
195
|
-
return [
|
|
196
|
-
function() {
|
|
197
|
-
return memoizedSelector(getSnapshot());
|
|
198
|
-
},
|
|
199
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
200
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
201
|
-
}
|
|
202
|
-
];
|
|
203
|
-
},
|
|
204
|
-
[getSnapshot, getServerSnapshot, selector, isEqual2]
|
|
205
|
-
);
|
|
206
|
-
var value = useSyncExternalStore3(subscribe, instRef[0], instRef[1]);
|
|
207
|
-
useEffect22(
|
|
208
|
-
function() {
|
|
209
|
-
inst.hasValue = true;
|
|
210
|
-
inst.value = value;
|
|
211
|
-
},
|
|
212
|
-
[value]
|
|
213
|
-
);
|
|
214
|
-
useDebugValue2(value);
|
|
215
|
-
return value;
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js
|
|
221
|
-
var require_with_selector_development = __commonJS({
|
|
222
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"(exports$1) {
|
|
223
|
-
"production" !== process.env.NODE_ENV && (function() {
|
|
224
|
-
function is4(x3, y3) {
|
|
225
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
226
|
-
}
|
|
227
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
228
|
-
var React55 = __require("react"), shim = require_shim(), objectIs = "function" === typeof Object.is ? Object.is : is4, useSyncExternalStore3 = shim.useSyncExternalStore, useRef24 = React55.useRef, useEffect22 = React55.useEffect, useMemo16 = React55.useMemo, useDebugValue2 = React55.useDebugValue;
|
|
229
|
-
exports$1.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual2) {
|
|
230
|
-
var instRef = useRef24(null);
|
|
231
|
-
if (null === instRef.current) {
|
|
232
|
-
var inst = { hasValue: false, value: null };
|
|
233
|
-
instRef.current = inst;
|
|
234
|
-
} else inst = instRef.current;
|
|
235
|
-
instRef = useMemo16(
|
|
236
|
-
function() {
|
|
237
|
-
function memoizedSelector(nextSnapshot) {
|
|
238
|
-
if (!hasMemo) {
|
|
239
|
-
hasMemo = true;
|
|
240
|
-
memoizedSnapshot = nextSnapshot;
|
|
241
|
-
nextSnapshot = selector(nextSnapshot);
|
|
242
|
-
if (void 0 !== isEqual2 && inst.hasValue) {
|
|
243
|
-
var currentSelection = inst.value;
|
|
244
|
-
if (isEqual2(currentSelection, nextSnapshot))
|
|
245
|
-
return memoizedSelection = currentSelection;
|
|
246
|
-
}
|
|
247
|
-
return memoizedSelection = nextSnapshot;
|
|
248
|
-
}
|
|
249
|
-
currentSelection = memoizedSelection;
|
|
250
|
-
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
251
|
-
return currentSelection;
|
|
252
|
-
var nextSelection = selector(nextSnapshot);
|
|
253
|
-
if (void 0 !== isEqual2 && isEqual2(currentSelection, nextSelection))
|
|
254
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
255
|
-
memoizedSnapshot = nextSnapshot;
|
|
256
|
-
return memoizedSelection = nextSelection;
|
|
257
|
-
}
|
|
258
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
259
|
-
return [
|
|
260
|
-
function() {
|
|
261
|
-
return memoizedSelector(getSnapshot());
|
|
262
|
-
},
|
|
263
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
264
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
265
|
-
}
|
|
266
|
-
];
|
|
267
|
-
},
|
|
268
|
-
[getSnapshot, getServerSnapshot, selector, isEqual2]
|
|
269
|
-
);
|
|
270
|
-
var value = useSyncExternalStore3(subscribe, instRef[0], instRef[1]);
|
|
271
|
-
useEffect22(
|
|
272
|
-
function() {
|
|
273
|
-
inst.hasValue = true;
|
|
274
|
-
inst.value = value;
|
|
275
|
-
},
|
|
276
|
-
[value]
|
|
277
|
-
);
|
|
278
|
-
useDebugValue2(value);
|
|
279
|
-
return value;
|
|
280
|
-
};
|
|
281
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
282
|
-
})();
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
|
|
286
|
-
// packages/datavis/node_modules/use-sync-external-store/shim/with-selector.js
|
|
287
|
-
var require_with_selector = __commonJS({
|
|
288
|
-
"packages/datavis/node_modules/use-sync-external-store/shim/with-selector.js"(exports$1, module) {
|
|
289
|
-
if (process.env.NODE_ENV === "production") {
|
|
290
|
-
module.exports = require_with_selector_production();
|
|
291
|
-
} else {
|
|
292
|
-
module.exports = require_with_selector_development();
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
|
|
297
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js
|
|
298
|
-
var require_use_sync_external_store_with_selector_production = __commonJS({
|
|
299
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js"(exports$1) {
|
|
300
|
-
var React55 = __require("react");
|
|
301
|
-
function is4(x3, y3) {
|
|
302
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
303
|
-
}
|
|
304
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is4;
|
|
305
|
-
var useSyncExternalStore3 = React55.useSyncExternalStore;
|
|
306
|
-
var useRef24 = React55.useRef;
|
|
307
|
-
var useEffect22 = React55.useEffect;
|
|
308
|
-
var useMemo16 = React55.useMemo;
|
|
309
|
-
var useDebugValue2 = React55.useDebugValue;
|
|
310
|
-
exports$1.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual2) {
|
|
311
|
-
var instRef = useRef24(null);
|
|
312
|
-
if (null === instRef.current) {
|
|
313
|
-
var inst = { hasValue: false, value: null };
|
|
314
|
-
instRef.current = inst;
|
|
315
|
-
} else inst = instRef.current;
|
|
316
|
-
instRef = useMemo16(
|
|
317
|
-
function() {
|
|
318
|
-
function memoizedSelector(nextSnapshot) {
|
|
319
|
-
if (!hasMemo) {
|
|
320
|
-
hasMemo = true;
|
|
321
|
-
memoizedSnapshot = nextSnapshot;
|
|
322
|
-
nextSnapshot = selector(nextSnapshot);
|
|
323
|
-
if (void 0 !== isEqual2 && inst.hasValue) {
|
|
324
|
-
var currentSelection = inst.value;
|
|
325
|
-
if (isEqual2(currentSelection, nextSnapshot))
|
|
326
|
-
return memoizedSelection = currentSelection;
|
|
327
|
-
}
|
|
328
|
-
return memoizedSelection = nextSnapshot;
|
|
329
|
-
}
|
|
330
|
-
currentSelection = memoizedSelection;
|
|
331
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
332
|
-
var nextSelection = selector(nextSnapshot);
|
|
333
|
-
if (void 0 !== isEqual2 && isEqual2(currentSelection, nextSelection))
|
|
334
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
335
|
-
memoizedSnapshot = nextSnapshot;
|
|
336
|
-
return memoizedSelection = nextSelection;
|
|
337
|
-
}
|
|
338
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
339
|
-
return [
|
|
340
|
-
function() {
|
|
341
|
-
return memoizedSelector(getSnapshot());
|
|
342
|
-
},
|
|
343
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
344
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
345
|
-
}
|
|
346
|
-
];
|
|
347
|
-
},
|
|
348
|
-
[getSnapshot, getServerSnapshot, selector, isEqual2]
|
|
349
|
-
);
|
|
350
|
-
var value = useSyncExternalStore3(subscribe, instRef[0], instRef[1]);
|
|
351
|
-
useEffect22(
|
|
352
|
-
function() {
|
|
353
|
-
inst.hasValue = true;
|
|
354
|
-
inst.value = value;
|
|
355
|
-
},
|
|
356
|
-
[value]
|
|
357
|
-
);
|
|
358
|
-
useDebugValue2(value);
|
|
359
|
-
return value;
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
});
|
|
363
|
-
|
|
364
|
-
// packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js
|
|
365
|
-
var require_use_sync_external_store_with_selector_development = __commonJS({
|
|
366
|
-
"packages/datavis/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js"(exports$1) {
|
|
367
|
-
"production" !== process.env.NODE_ENV && (function() {
|
|
368
|
-
function is4(x3, y3) {
|
|
369
|
-
return x3 === y3 && (0 !== x3 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
370
|
-
}
|
|
371
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
372
|
-
var React55 = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is4, useSyncExternalStore3 = React55.useSyncExternalStore, useRef24 = React55.useRef, useEffect22 = React55.useEffect, useMemo16 = React55.useMemo, useDebugValue2 = React55.useDebugValue;
|
|
373
|
-
exports$1.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual2) {
|
|
374
|
-
var instRef = useRef24(null);
|
|
375
|
-
if (null === instRef.current) {
|
|
376
|
-
var inst = { hasValue: false, value: null };
|
|
377
|
-
instRef.current = inst;
|
|
378
|
-
} else inst = instRef.current;
|
|
379
|
-
instRef = useMemo16(
|
|
380
|
-
function() {
|
|
381
|
-
function memoizedSelector(nextSnapshot) {
|
|
382
|
-
if (!hasMemo) {
|
|
383
|
-
hasMemo = true;
|
|
384
|
-
memoizedSnapshot = nextSnapshot;
|
|
385
|
-
nextSnapshot = selector(nextSnapshot);
|
|
386
|
-
if (void 0 !== isEqual2 && inst.hasValue) {
|
|
387
|
-
var currentSelection = inst.value;
|
|
388
|
-
if (isEqual2(currentSelection, nextSnapshot))
|
|
389
|
-
return memoizedSelection = currentSelection;
|
|
390
|
-
}
|
|
391
|
-
return memoizedSelection = nextSnapshot;
|
|
392
|
-
}
|
|
393
|
-
currentSelection = memoizedSelection;
|
|
394
|
-
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
395
|
-
return currentSelection;
|
|
396
|
-
var nextSelection = selector(nextSnapshot);
|
|
397
|
-
if (void 0 !== isEqual2 && isEqual2(currentSelection, nextSelection))
|
|
398
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
399
|
-
memoizedSnapshot = nextSnapshot;
|
|
400
|
-
return memoizedSelection = nextSelection;
|
|
401
|
-
}
|
|
402
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
403
|
-
return [
|
|
404
|
-
function() {
|
|
405
|
-
return memoizedSelector(getSnapshot());
|
|
406
|
-
},
|
|
407
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
408
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
409
|
-
}
|
|
410
|
-
];
|
|
411
|
-
},
|
|
412
|
-
[getSnapshot, getServerSnapshot, selector, isEqual2]
|
|
413
|
-
);
|
|
414
|
-
var value = useSyncExternalStore3(subscribe, instRef[0], instRef[1]);
|
|
415
|
-
useEffect22(
|
|
416
|
-
function() {
|
|
417
|
-
inst.hasValue = true;
|
|
418
|
-
inst.value = value;
|
|
419
|
-
},
|
|
420
|
-
[value]
|
|
421
|
-
);
|
|
422
|
-
useDebugValue2(value);
|
|
423
|
-
return value;
|
|
424
|
-
};
|
|
425
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
426
|
-
})();
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
|
|
430
|
-
// packages/datavis/node_modules/use-sync-external-store/with-selector.js
|
|
431
|
-
var require_with_selector2 = __commonJS({
|
|
432
|
-
"packages/datavis/node_modules/use-sync-external-store/with-selector.js"(exports$1, module) {
|
|
433
|
-
if (process.env.NODE_ENV === "production") {
|
|
434
|
-
module.exports = require_use_sync_external_store_with_selector_production();
|
|
435
|
-
} else {
|
|
436
|
-
module.exports = require_use_sync_external_store_with_selector_development();
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
});
|
|
440
|
-
|
|
441
26
|
// packages/datavis/node_modules/eventemitter3/index.js
|
|
442
27
|
var require_eventemitter3 = __commonJS({
|
|
443
28
|
"packages/datavis/node_modules/eventemitter3/index.js"(exports$1, module) {
|
|
@@ -3436,7 +3021,6 @@ var commonEntities = {
|
|
|
3436
3021
|
new RegExp(Object.keys(commonEntities).map((entity) => entity.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|"), "g");
|
|
3437
3022
|
|
|
3438
3023
|
// packages/datavis/node_modules/react-i18next/dist/es/useTranslation.js
|
|
3439
|
-
var import_shim = __toESM(require_shim(), 1);
|
|
3440
3024
|
var notReadyT = (k3, optsOrDefaultValue) => {
|
|
3441
3025
|
if (isString2(optsOrDefaultValue)) return optsOrDefaultValue;
|
|
3442
3026
|
if (isObject(optsOrDefaultValue) && isString2(optsOrDefaultValue.defaultValue)) return optsOrDefaultValue.defaultValue;
|
|
@@ -3526,7 +3110,7 @@ var useTranslation = (ns2, props = {}) => {
|
|
|
3526
3110
|
const {
|
|
3527
3111
|
t: t2,
|
|
3528
3112
|
ready
|
|
3529
|
-
} =
|
|
3113
|
+
} = useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
3530
3114
|
useEffect(() => {
|
|
3531
3115
|
if (i18n && !ready && !useSuspense) {
|
|
3532
3116
|
const onLoaded = () => setLoadCount((c3) => c3 + 1);
|
|
@@ -6385,9 +5969,69 @@ function getUniqPayload(payload, option, defaultUniqBy3) {
|
|
|
6385
5969
|
}
|
|
6386
5970
|
return payload;
|
|
6387
5971
|
}
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
5972
|
+
function is(x3, y3) {
|
|
5973
|
+
return x3 === y3 && (x3 !== 0 || 1 / x3 === 1 / y3) || x3 !== x3 && y3 !== y3;
|
|
5974
|
+
}
|
|
5975
|
+
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
5976
|
+
function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual2) {
|
|
5977
|
+
const instRef = useRef(null);
|
|
5978
|
+
let inst;
|
|
5979
|
+
if (instRef.current === null) {
|
|
5980
|
+
inst = { hasValue: false, value: null };
|
|
5981
|
+
instRef.current = inst;
|
|
5982
|
+
} else {
|
|
5983
|
+
inst = instRef.current;
|
|
5984
|
+
}
|
|
5985
|
+
const [getSelection, getServerSelection] = useMemo(() => {
|
|
5986
|
+
let hasMemo = false;
|
|
5987
|
+
let memoizedSnapshot;
|
|
5988
|
+
let memoizedSelection;
|
|
5989
|
+
const memoizedSelector = (nextSnapshot) => {
|
|
5990
|
+
if (!hasMemo) {
|
|
5991
|
+
hasMemo = true;
|
|
5992
|
+
memoizedSnapshot = nextSnapshot;
|
|
5993
|
+
const firstSelection = selector(nextSnapshot);
|
|
5994
|
+
if (isEqual2 !== void 0 && inst.hasValue) {
|
|
5995
|
+
const currentSelection2 = inst.value;
|
|
5996
|
+
if (isEqual2(currentSelection2, firstSelection)) {
|
|
5997
|
+
memoizedSelection = currentSelection2;
|
|
5998
|
+
return currentSelection2;
|
|
5999
|
+
}
|
|
6000
|
+
}
|
|
6001
|
+
memoizedSelection = firstSelection;
|
|
6002
|
+
return firstSelection;
|
|
6003
|
+
}
|
|
6004
|
+
const currentSelection = memoizedSelection;
|
|
6005
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) {
|
|
6006
|
+
return currentSelection;
|
|
6007
|
+
}
|
|
6008
|
+
const nextSelection = selector(nextSnapshot);
|
|
6009
|
+
if (isEqual2 !== void 0 && isEqual2(currentSelection, nextSelection)) {
|
|
6010
|
+
memoizedSnapshot = nextSnapshot;
|
|
6011
|
+
return currentSelection;
|
|
6012
|
+
}
|
|
6013
|
+
memoizedSnapshot = nextSnapshot;
|
|
6014
|
+
memoizedSelection = nextSelection;
|
|
6015
|
+
return nextSelection;
|
|
6016
|
+
};
|
|
6017
|
+
const maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot;
|
|
6018
|
+
return [
|
|
6019
|
+
() => memoizedSelector(getSnapshot()),
|
|
6020
|
+
maybeGetServerSnapshot === null ? void 0 : () => memoizedSelector(maybeGetServerSnapshot())
|
|
6021
|
+
];
|
|
6022
|
+
}, [getSnapshot, getServerSnapshot, selector, isEqual2]);
|
|
6023
|
+
const value = useSyncExternalStore(
|
|
6024
|
+
subscribe,
|
|
6025
|
+
getSelection,
|
|
6026
|
+
getServerSelection
|
|
6027
|
+
);
|
|
6028
|
+
useEffect(() => {
|
|
6029
|
+
inst.hasValue = true;
|
|
6030
|
+
inst.value = value;
|
|
6031
|
+
}, [value]);
|
|
6032
|
+
useDebugValue(value);
|
|
6033
|
+
return value;
|
|
6034
|
+
}
|
|
6391
6035
|
var RechartsReduxContext = /* @__PURE__ */ createContext(null);
|
|
6392
6036
|
|
|
6393
6037
|
// packages/datavis/node_modules/recharts/es6/state/hooks.js
|
|
@@ -6416,7 +6060,7 @@ function useAppSelector(selector) {
|
|
|
6416
6060
|
return selector(state);
|
|
6417
6061
|
};
|
|
6418
6062
|
}, [context, selector]);
|
|
6419
|
-
return
|
|
6063
|
+
return useSyncExternalStoreWithSelector(context ? context.subscription.addNestedSub : addNestedSubNoop, context ? context.store.getState : noop3, context ? context.store.getState : noop3, outOfContextSelector, refEquality);
|
|
6420
6064
|
}
|
|
6421
6065
|
|
|
6422
6066
|
// packages/datavis/node_modules/reselect/dist/reselect.mjs
|
|
@@ -7374,7 +7018,7 @@ var set = (thing, propOrOldValue, value, type = getArchtype(thing)) => {
|
|
|
7374
7018
|
} else
|
|
7375
7019
|
thing[propOrOldValue] = value;
|
|
7376
7020
|
};
|
|
7377
|
-
function
|
|
7021
|
+
function is2(x3, y3) {
|
|
7378
7022
|
if (x3 === y3) {
|
|
7379
7023
|
return x3 !== 0 || 1 / x3 === 1 / y3;
|
|
7380
7024
|
} else {
|
|
@@ -7805,7 +7449,7 @@ var objectTraps = {
|
|
|
7805
7449
|
state.assigned_.set(prop, false);
|
|
7806
7450
|
return true;
|
|
7807
7451
|
}
|
|
7808
|
-
if (
|
|
7452
|
+
if (is2(value, current2) && (value !== void 0 || has2(state.base_, prop, state.type_)))
|
|
7809
7453
|
return true;
|
|
7810
7454
|
prepareCopy(state);
|
|
7811
7455
|
markChanged(state);
|
|
@@ -10716,9 +10360,6 @@ var addLegendPayload = _legendSlice$actions.addLegendPayload;
|
|
|
10716
10360
|
var replaceLegendPayload = _legendSlice$actions.replaceLegendPayload;
|
|
10717
10361
|
var removeLegendPayload = _legendSlice$actions.removeLegendPayload;
|
|
10718
10362
|
var legendReducer = legendSlice.reducer;
|
|
10719
|
-
|
|
10720
|
-
// packages/datavis/node_modules/react-redux/dist/react-redux.mjs
|
|
10721
|
-
__toESM(require_with_selector2(), 1);
|
|
10722
10363
|
function defaultNoopBatch(callback) {
|
|
10723
10364
|
callback();
|
|
10724
10365
|
}
|
|
@@ -10855,7 +10496,7 @@ var isRunningInReactNative = () => typeof navigator !== "undefined" && navigator
|
|
|
10855
10496
|
var isReactNative = /* @__PURE__ */ isRunningInReactNative();
|
|
10856
10497
|
var getUseIsomorphicLayoutEffect = () => isDOM || isReactNative ? React27.useLayoutEffect : React27.useEffect;
|
|
10857
10498
|
var useIsomorphicLayoutEffect = /* @__PURE__ */ getUseIsomorphicLayoutEffect();
|
|
10858
|
-
function
|
|
10499
|
+
function is3(x3, y3) {
|
|
10859
10500
|
if (x3 === y3) {
|
|
10860
10501
|
return x3 !== 0 || y3 !== 0 || 1 / x3 === 1 / y3;
|
|
10861
10502
|
} else {
|
|
@@ -10863,7 +10504,7 @@ function is2(x3, y3) {
|
|
|
10863
10504
|
}
|
|
10864
10505
|
}
|
|
10865
10506
|
function shallowEqual(objA, objB) {
|
|
10866
|
-
if (
|
|
10507
|
+
if (is3(objA, objB)) return true;
|
|
10867
10508
|
if (typeof objA !== "object" || objA === null || typeof objB !== "object" || objB === null) {
|
|
10868
10509
|
return false;
|
|
10869
10510
|
}
|
|
@@ -10871,7 +10512,7 @@ function shallowEqual(objA, objB) {
|
|
|
10871
10512
|
const keysB = Object.keys(objB);
|
|
10872
10513
|
if (keysA.length !== keysB.length) return false;
|
|
10873
10514
|
for (let i2 = 0; i2 < keysA.length; i2++) {
|
|
10874
|
-
if (!Object.prototype.hasOwnProperty.call(objB, keysA[i2]) || !
|
|
10515
|
+
if (!Object.prototype.hasOwnProperty.call(objB, keysA[i2]) || !is3(objA[keysA[i2]], objB[keysA[i2]])) {
|
|
10875
10516
|
return false;
|
|
10876
10517
|
}
|
|
10877
10518
|
}
|
|
@@ -39854,7 +39495,7 @@ function ts({ options: e, selectedValues: t2, onSelectedValuesChange: r2, label:
|
|
|
39854
39495
|
});
|
|
39855
39496
|
}
|
|
39856
39497
|
function ns({ field: e, label: t2, widget: n = "textbox", includeOperators: r2, excludeOperators: i2, value: a3, onChange: o2, autoFocusOperator: s3 }) {
|
|
39857
|
-
return n === "checkbox" ? /* @__PURE__ */ jsx(
|
|
39498
|
+
return n === "checkbox" ? /* @__PURE__ */ jsx(is4, {
|
|
39858
39499
|
field: e,
|
|
39859
39500
|
label: t2,
|
|
39860
39501
|
value: a3,
|
|
@@ -39936,7 +39577,7 @@ function rs({ field: e, label: t2, includeOperators: r2, excludeOperators: i2, v
|
|
|
39936
39577
|
]
|
|
39937
39578
|
});
|
|
39938
39579
|
}
|
|
39939
|
-
function
|
|
39580
|
+
function is4({ field: e, label: t2, value: n, onChange: r2 }) {
|
|
39940
39581
|
let i2 = n?.$eq === 1;
|
|
39941
39582
|
return /* @__PURE__ */ jsx("div", {
|
|
39942
39583
|
className: "wcdv-filter wcdv-filter-number-checkbox flex items-center",
|
|
@@ -44966,72 +44607,6 @@ function vl({ value: e, onLanguageChange: t2, className: r2 }) {
|
|
|
44966
44607
|
He();
|
|
44967
44608
|
/*! Bundled license information:
|
|
44968
44609
|
|
|
44969
|
-
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
|
|
44970
|
-
(**
|
|
44971
|
-
* @license React
|
|
44972
|
-
* use-sync-external-store-shim.production.js
|
|
44973
|
-
*
|
|
44974
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
44975
|
-
*
|
|
44976
|
-
* This source code is licensed under the MIT license found in the
|
|
44977
|
-
* LICENSE file in the root directory of this source tree.
|
|
44978
|
-
*)
|
|
44979
|
-
|
|
44980
|
-
use-sync-external-store/cjs/use-sync-external-store-shim.development.js:
|
|
44981
|
-
(**
|
|
44982
|
-
* @license React
|
|
44983
|
-
* use-sync-external-store-shim.development.js
|
|
44984
|
-
*
|
|
44985
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
44986
|
-
*
|
|
44987
|
-
* This source code is licensed under the MIT license found in the
|
|
44988
|
-
* LICENSE file in the root directory of this source tree.
|
|
44989
|
-
*)
|
|
44990
|
-
|
|
44991
|
-
use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js:
|
|
44992
|
-
(**
|
|
44993
|
-
* @license React
|
|
44994
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
44995
|
-
*
|
|
44996
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
44997
|
-
*
|
|
44998
|
-
* This source code is licensed under the MIT license found in the
|
|
44999
|
-
* LICENSE file in the root directory of this source tree.
|
|
45000
|
-
*)
|
|
45001
|
-
|
|
45002
|
-
use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js:
|
|
45003
|
-
(**
|
|
45004
|
-
* @license React
|
|
45005
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
45006
|
-
*
|
|
45007
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
45008
|
-
*
|
|
45009
|
-
* This source code is licensed under the MIT license found in the
|
|
45010
|
-
* LICENSE file in the root directory of this source tree.
|
|
45011
|
-
*)
|
|
45012
|
-
|
|
45013
|
-
use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js:
|
|
45014
|
-
(**
|
|
45015
|
-
* @license React
|
|
45016
|
-
* use-sync-external-store-with-selector.production.js
|
|
45017
|
-
*
|
|
45018
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
45019
|
-
*
|
|
45020
|
-
* This source code is licensed under the MIT license found in the
|
|
45021
|
-
* LICENSE file in the root directory of this source tree.
|
|
45022
|
-
*)
|
|
45023
|
-
|
|
45024
|
-
use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js:
|
|
45025
|
-
(**
|
|
45026
|
-
* @license React
|
|
45027
|
-
* use-sync-external-store-with-selector.development.js
|
|
45028
|
-
*
|
|
45029
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
45030
|
-
*
|
|
45031
|
-
* This source code is licensed under the MIT license found in the
|
|
45032
|
-
* LICENSE file in the root directory of this source tree.
|
|
45033
|
-
*)
|
|
45034
|
-
|
|
45035
44610
|
react-is/cjs/react-is.production.js:
|
|
45036
44611
|
(**
|
|
45037
44612
|
* @license React
|
|
@@ -45056,5 +44631,5 @@ react-is/cjs/react-is.development.js:
|
|
|
45056
44631
|
*/
|
|
45057
44632
|
|
|
45058
44633
|
export { cl, fl, gl, ml, vl };
|
|
45059
|
-
//# sourceMappingURL=chunk-
|
|
45060
|
-
//# sourceMappingURL=chunk-
|
|
44634
|
+
//# sourceMappingURL=chunk-DRZ36ROW.js.map
|
|
44635
|
+
//# sourceMappingURL=chunk-DRZ36ROW.js.map
|