@rfkit/charts 1.1.29 → 1.1.31
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 +2 -0
- package/components/AxisY/spectrum/useRanging/ranging.d.ts +2 -6
- package/components/AxisYByCanvas/index.d.ts +6 -0
- package/components/AxisYByCanvas/useCanvasAxisY.d.ts +30 -0
- package/components/Dropdown/index.d.ts +4 -1
- package/config/constants.d.ts +28 -0
- package/engine/fluorescence.d.ts +38 -0
- package/engine/index.d.ts +2 -1
- package/engine/type.d.ts +2 -0
- package/index.d.ts +1 -1
- package/index.js +1507 -673
- package/modules/Fluorescence/Switch/index.d.ts +3 -0
- package/modules/Fluorescence/index.d.ts +6 -0
- package/modules/Fluorescence/render.d.ts +42 -0
- package/modules/Spectrum/render.d.ts +1 -0
- package/package.json +1 -1
- package/store/reducer.d.ts +2 -0
- package/types/publish.d.ts +5 -1
- package/types/store.d.ts +8 -0
- package/utils/index.d.ts +1 -0
package/index.js
CHANGED
|
@@ -18,6 +18,7 @@ var __webpack_modules__ = {
|
|
|
18
18
|
kL: ()=>getDimInfo,
|
|
19
19
|
lj: ()=>getFrequencyToFixed,
|
|
20
20
|
or: ()=>leftPoints2frequency,
|
|
21
|
+
pe: ()=>getThemeColor,
|
|
21
22
|
r2: ()=>scopeLeftSegments2bandwidth,
|
|
22
23
|
sl: ()=>generateGreatSegments,
|
|
23
24
|
uA: ()=>throttleRequestAnimationFrame,
|
|
@@ -444,8 +445,14 @@ var __webpack_modules__ = {
|
|
|
444
445
|
}
|
|
445
446
|
};
|
|
446
447
|
}
|
|
448
|
+
const getThemeColor = (property, opacity)=>{
|
|
449
|
+
const computedStyles = getComputedStyle(document.documentElement);
|
|
450
|
+
const themeColorBase = computedStyles.getPropertyValue(property).trim();
|
|
451
|
+
if (void 0 !== opacity) return `${themeColorBase}${Math.round(255 * opacity).toString(16).padStart(2, '0')}`;
|
|
452
|
+
return themeColorBase;
|
|
453
|
+
};
|
|
447
454
|
},
|
|
448
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
455
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisX/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
449
456
|
__webpack_require__.d(__webpack_exports__, {
|
|
450
457
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
451
458
|
});
|
|
@@ -536,7 +543,7 @@ var __webpack_modules__ = {
|
|
|
536
543
|
};
|
|
537
544
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
538
545
|
},
|
|
539
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
546
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/components/FullTicks/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
540
547
|
__webpack_require__.d(__webpack_exports__, {
|
|
541
548
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
542
549
|
});
|
|
@@ -590,7 +597,7 @@ var __webpack_modules__ = {
|
|
|
590
597
|
};
|
|
591
598
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
592
599
|
},
|
|
593
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
600
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/components/Ticks/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
594
601
|
__webpack_require__.d(__webpack_exports__, {
|
|
595
602
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
596
603
|
});
|
|
@@ -624,7 +631,7 @@ var __webpack_modules__ = {
|
|
|
624
631
|
};
|
|
625
632
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
626
633
|
},
|
|
627
|
-
"../../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
634
|
+
"../../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/type/Default/GradientRibbon/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
628
635
|
__webpack_require__.d(__webpack_exports__, {
|
|
629
636
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
630
637
|
});
|
|
@@ -678,7 +685,7 @@ var __webpack_modules__ = {
|
|
|
678
685
|
};
|
|
679
686
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
680
687
|
},
|
|
681
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
688
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/type/Default/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
682
689
|
__webpack_require__.d(__webpack_exports__, {
|
|
683
690
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
684
691
|
});
|
|
@@ -722,7 +729,7 @@ var __webpack_modules__ = {
|
|
|
722
729
|
};
|
|
723
730
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
724
731
|
},
|
|
725
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
732
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/occupancy/components/Ticks/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
726
733
|
__webpack_require__.d(__webpack_exports__, {
|
|
727
734
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
728
735
|
});
|
|
@@ -761,7 +768,7 @@ var __webpack_modules__ = {
|
|
|
761
768
|
};
|
|
762
769
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
763
770
|
},
|
|
764
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
771
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/occupancy/type/Default/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
765
772
|
__webpack_require__.d(__webpack_exports__, {
|
|
766
773
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
767
774
|
});
|
|
@@ -787,7 +794,7 @@ var __webpack_modules__ = {
|
|
|
787
794
|
};
|
|
788
795
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
789
796
|
},
|
|
790
|
-
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
797
|
+
"../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/spectrum/components/Ticks/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
791
798
|
__webpack_require__.d(__webpack_exports__, {
|
|
792
799
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
793
800
|
});
|
|
@@ -894,7 +901,7 @@ var __webpack_modules__ = {
|
|
|
894
901
|
};
|
|
895
902
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
896
903
|
},
|
|
897
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
904
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/spectrum/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
898
905
|
__webpack_require__.d(__webpack_exports__, {
|
|
899
906
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
900
907
|
});
|
|
@@ -943,7 +950,49 @@ var __webpack_modules__ = {
|
|
|
943
950
|
};
|
|
944
951
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
945
952
|
},
|
|
946
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
953
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisYByCanvas/index.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
954
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
955
|
+
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
956
|
+
});
|
|
957
|
+
var _node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
958
|
+
var _node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
959
|
+
var _node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
960
|
+
var _node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
961
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_pnpm_rsbuild_core_1_3_18_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());
|
|
962
|
+
___CSS_LOADER_EXPORT___.push([
|
|
963
|
+
module.id,
|
|
964
|
+
`.canvasAxisY-NPDVdH {
|
|
965
|
+
cursor: ns-resize;
|
|
966
|
+
-webkit-user-select: none;
|
|
967
|
+
user-select: none;
|
|
968
|
+
width: 60px;
|
|
969
|
+
height: 100%;
|
|
970
|
+
position: relative;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.canvasAxisY-NPDVdH.dragging-lpgsEH {
|
|
974
|
+
cursor: grabbing;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.canvas-fxZWMF {
|
|
978
|
+
pointer-events: none;
|
|
979
|
+
width: 100%;
|
|
980
|
+
height: 100%;
|
|
981
|
+
position: absolute;
|
|
982
|
+
top: 0;
|
|
983
|
+
left: 0;
|
|
984
|
+
}
|
|
985
|
+
`,
|
|
986
|
+
""
|
|
987
|
+
]);
|
|
988
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
989
|
+
canvasAxisY: "canvasAxisY-NPDVdH",
|
|
990
|
+
dragging: "dragging-lpgsEH",
|
|
991
|
+
canvas: "canvas-fxZWMF"
|
|
992
|
+
};
|
|
993
|
+
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
994
|
+
},
|
|
995
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Background/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
947
996
|
__webpack_require__.d(__webpack_exports__, {
|
|
948
997
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
949
998
|
});
|
|
@@ -976,7 +1025,7 @@ var __webpack_modules__ = {
|
|
|
976
1025
|
};
|
|
977
1026
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
978
1027
|
},
|
|
979
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1028
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Band/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
980
1029
|
__webpack_require__.d(__webpack_exports__, {
|
|
981
1030
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
982
1031
|
});
|
|
@@ -1006,7 +1055,7 @@ var __webpack_modules__ = {
|
|
|
1006
1055
|
};
|
|
1007
1056
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1008
1057
|
},
|
|
1009
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1058
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Blaze/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1010
1059
|
__webpack_require__.d(__webpack_exports__, {
|
|
1011
1060
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1012
1061
|
});
|
|
@@ -1049,7 +1098,7 @@ var __webpack_modules__ = {
|
|
|
1049
1098
|
};
|
|
1050
1099
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1051
1100
|
},
|
|
1052
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1101
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Container/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1053
1102
|
__webpack_require__.d(__webpack_exports__, {
|
|
1054
1103
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1055
1104
|
});
|
|
@@ -1075,7 +1124,7 @@ var __webpack_modules__ = {
|
|
|
1075
1124
|
};
|
|
1076
1125
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1077
1126
|
},
|
|
1078
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1127
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Cursor/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1079
1128
|
__webpack_require__.d(__webpack_exports__, {
|
|
1080
1129
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1081
1130
|
});
|
|
@@ -1119,7 +1168,7 @@ var __webpack_modules__ = {
|
|
|
1119
1168
|
};
|
|
1120
1169
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1121
1170
|
},
|
|
1122
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1171
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Dashed/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1123
1172
|
__webpack_require__.d(__webpack_exports__, {
|
|
1124
1173
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1125
1174
|
});
|
|
@@ -1156,7 +1205,7 @@ var __webpack_modules__ = {
|
|
|
1156
1205
|
};
|
|
1157
1206
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1158
1207
|
},
|
|
1159
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1208
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/DragFrame/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1160
1209
|
__webpack_require__.d(__webpack_exports__, {
|
|
1161
1210
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1162
1211
|
});
|
|
@@ -1215,7 +1264,7 @@ var __webpack_modules__ = {
|
|
|
1215
1264
|
};
|
|
1216
1265
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1217
1266
|
},
|
|
1218
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1267
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Dropdown/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1219
1268
|
__webpack_require__.d(__webpack_exports__, {
|
|
1220
1269
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1221
1270
|
});
|
|
@@ -1284,10 +1333,16 @@ var __webpack_modules__ = {
|
|
|
1284
1333
|
transition: all .2s;
|
|
1285
1334
|
}
|
|
1286
1335
|
|
|
1287
|
-
.dropdownItem-zMSmwJ:hover {
|
|
1336
|
+
.dropdownItem-zMSmwJ:hover, .dropdownItem-zMSmwJ.active-Zp_tkM {
|
|
1288
1337
|
background: var(--theme-bg-second);
|
|
1289
1338
|
color: var(--theme-color-primary);
|
|
1290
1339
|
}
|
|
1340
|
+
|
|
1341
|
+
.placeholder-HJjztE {
|
|
1342
|
+
flex: 1;
|
|
1343
|
+
align-items: center;
|
|
1344
|
+
display: flex;
|
|
1345
|
+
}
|
|
1291
1346
|
`,
|
|
1292
1347
|
""
|
|
1293
1348
|
]);
|
|
@@ -1297,11 +1352,13 @@ var __webpack_modules__ = {
|
|
|
1297
1352
|
arrow: "arrow-zYvvn_",
|
|
1298
1353
|
open: "open-l84wEQ",
|
|
1299
1354
|
dropdownMenu: "dropdownMenu-GR9Ypc",
|
|
1300
|
-
dropdownItem: "dropdownItem-zMSmwJ"
|
|
1355
|
+
dropdownItem: "dropdownItem-zMSmwJ",
|
|
1356
|
+
active: "active-Zp_tkM",
|
|
1357
|
+
placeholder: "placeholder-HJjztE"
|
|
1301
1358
|
};
|
|
1302
1359
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1303
1360
|
},
|
|
1304
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1361
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/EventBus/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1305
1362
|
__webpack_require__.d(__webpack_exports__, {
|
|
1306
1363
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1307
1364
|
});
|
|
@@ -1334,7 +1391,7 @@ var __webpack_modules__ = {
|
|
|
1334
1391
|
};
|
|
1335
1392
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1336
1393
|
},
|
|
1337
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1394
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FlexBox/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1338
1395
|
__webpack_require__.d(__webpack_exports__, {
|
|
1339
1396
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1340
1397
|
});
|
|
@@ -1361,7 +1418,7 @@ var __webpack_modules__ = {
|
|
|
1361
1418
|
};
|
|
1362
1419
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1363
1420
|
},
|
|
1364
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1421
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyAllocation/Tooltip/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1365
1422
|
__webpack_require__.d(__webpack_exports__, {
|
|
1366
1423
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1367
1424
|
});
|
|
@@ -1413,7 +1470,7 @@ var __webpack_modules__ = {
|
|
|
1413
1470
|
};
|
|
1414
1471
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1415
1472
|
},
|
|
1416
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1473
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyAllocation/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1417
1474
|
__webpack_require__.d(__webpack_exports__, {
|
|
1418
1475
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1419
1476
|
});
|
|
@@ -1497,7 +1554,7 @@ var __webpack_modules__ = {
|
|
|
1497
1554
|
};
|
|
1498
1555
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1499
1556
|
},
|
|
1500
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1557
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyDataBoard/StationInfo/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1501
1558
|
__webpack_require__.d(__webpack_exports__, {
|
|
1502
1559
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1503
1560
|
});
|
|
@@ -1522,7 +1579,7 @@ var __webpack_modules__ = {
|
|
|
1522
1579
|
};
|
|
1523
1580
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1524
1581
|
},
|
|
1525
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1582
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyDataBoard/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1526
1583
|
__webpack_require__.d(__webpack_exports__, {
|
|
1527
1584
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1528
1585
|
});
|
|
@@ -1573,7 +1630,7 @@ var __webpack_modules__ = {
|
|
|
1573
1630
|
};
|
|
1574
1631
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1575
1632
|
},
|
|
1576
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1633
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyTagLine/Board/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1577
1634
|
__webpack_require__.d(__webpack_exports__, {
|
|
1578
1635
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1579
1636
|
});
|
|
@@ -1600,7 +1657,7 @@ var __webpack_modules__ = {
|
|
|
1600
1657
|
};
|
|
1601
1658
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1602
1659
|
},
|
|
1603
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1660
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyTagLine/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1604
1661
|
__webpack_require__.d(__webpack_exports__, {
|
|
1605
1662
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1606
1663
|
});
|
|
@@ -1633,7 +1690,7 @@ var __webpack_modules__ = {
|
|
|
1633
1690
|
};
|
|
1634
1691
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1635
1692
|
},
|
|
1636
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1693
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/Boundary/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1637
1694
|
__webpack_require__.d(__webpack_exports__, {
|
|
1638
1695
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1639
1696
|
});
|
|
@@ -1669,7 +1726,7 @@ var __webpack_modules__ = {
|
|
|
1669
1726
|
};
|
|
1670
1727
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1671
1728
|
},
|
|
1672
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1729
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/Occdahsed/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1673
1730
|
__webpack_require__.d(__webpack_exports__, {
|
|
1674
1731
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1675
1732
|
});
|
|
@@ -1717,7 +1774,7 @@ var __webpack_modules__ = {
|
|
|
1717
1774
|
};
|
|
1718
1775
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1719
1776
|
},
|
|
1720
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1777
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1721
1778
|
__webpack_require__.d(__webpack_exports__, {
|
|
1722
1779
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1723
1780
|
});
|
|
@@ -1780,7 +1837,7 @@ var __webpack_modules__ = {
|
|
|
1780
1837
|
};
|
|
1781
1838
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1782
1839
|
},
|
|
1783
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1840
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GuageBox/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1784
1841
|
__webpack_require__.d(__webpack_exports__, {
|
|
1785
1842
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1786
1843
|
});
|
|
@@ -1813,7 +1870,7 @@ var __webpack_modules__ = {
|
|
|
1813
1870
|
};
|
|
1814
1871
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1815
1872
|
},
|
|
1816
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1873
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/Area/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1817
1874
|
__webpack_require__.d(__webpack_exports__, {
|
|
1818
1875
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1819
1876
|
});
|
|
@@ -1876,7 +1933,7 @@ var __webpack_modules__ = {
|
|
|
1876
1933
|
};
|
|
1877
1934
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1878
1935
|
},
|
|
1879
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
1936
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/RowIndex/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1880
1937
|
__webpack_require__.d(__webpack_exports__, {
|
|
1881
1938
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1882
1939
|
});
|
|
@@ -1945,7 +2002,7 @@ var __webpack_modules__ = {
|
|
|
1945
2002
|
};
|
|
1946
2003
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
1947
2004
|
},
|
|
1948
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2005
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/Slider/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
1949
2006
|
__webpack_require__.d(__webpack_exports__, {
|
|
1950
2007
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
1951
2008
|
});
|
|
@@ -2062,7 +2119,7 @@ var __webpack_modules__ = {
|
|
|
2062
2119
|
};
|
|
2063
2120
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2064
2121
|
},
|
|
2065
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2122
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Legend/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2066
2123
|
__webpack_require__.d(__webpack_exports__, {
|
|
2067
2124
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2068
2125
|
});
|
|
@@ -2091,7 +2148,7 @@ var __webpack_modules__ = {
|
|
|
2091
2148
|
};
|
|
2092
2149
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2093
2150
|
},
|
|
2094
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2151
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Limit/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2095
2152
|
__webpack_require__.d(__webpack_exports__, {
|
|
2096
2153
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2097
2154
|
});
|
|
@@ -2210,7 +2267,7 @@ var __webpack_modules__ = {
|
|
|
2210
2267
|
};
|
|
2211
2268
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2212
2269
|
},
|
|
2213
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2270
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Markers/MarkerItem/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2214
2271
|
__webpack_require__.d(__webpack_exports__, {
|
|
2215
2272
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2216
2273
|
});
|
|
@@ -2280,7 +2337,7 @@ var __webpack_modules__ = {
|
|
|
2280
2337
|
};
|
|
2281
2338
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2282
2339
|
},
|
|
2283
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2340
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Markers/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2284
2341
|
__webpack_require__.d(__webpack_exports__, {
|
|
2285
2342
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2286
2343
|
});
|
|
@@ -2307,7 +2364,7 @@ var __webpack_modules__ = {
|
|
|
2307
2364
|
};
|
|
2308
2365
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2309
2366
|
},
|
|
2310
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2367
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Mask/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2311
2368
|
__webpack_require__.d(__webpack_exports__, {
|
|
2312
2369
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2313
2370
|
});
|
|
@@ -2371,7 +2428,7 @@ var __webpack_modules__ = {
|
|
|
2371
2428
|
};
|
|
2372
2429
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2373
2430
|
},
|
|
2374
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2431
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/PluginBox/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2375
2432
|
__webpack_require__.d(__webpack_exports__, {
|
|
2376
2433
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2377
2434
|
});
|
|
@@ -2402,7 +2459,7 @@ var __webpack_modules__ = {
|
|
|
2402
2459
|
};
|
|
2403
2460
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2404
2461
|
},
|
|
2405
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2462
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Popover/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2406
2463
|
__webpack_require__.d(__webpack_exports__, {
|
|
2407
2464
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2408
2465
|
});
|
|
@@ -2429,7 +2486,7 @@ var __webpack_modules__ = {
|
|
|
2429
2486
|
};
|
|
2430
2487
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2431
2488
|
},
|
|
2432
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2489
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/RulerTicks/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2433
2490
|
__webpack_require__.d(__webpack_exports__, {
|
|
2434
2491
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2435
2492
|
});
|
|
@@ -2457,7 +2514,7 @@ var __webpack_modules__ = {
|
|
|
2457
2514
|
};
|
|
2458
2515
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2459
2516
|
},
|
|
2460
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2517
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Scope/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2461
2518
|
__webpack_require__.d(__webpack_exports__, {
|
|
2462
2519
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2463
2520
|
});
|
|
@@ -2487,7 +2544,7 @@ var __webpack_modules__ = {
|
|
|
2487
2544
|
};
|
|
2488
2545
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2489
2546
|
},
|
|
2490
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2547
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/SegmentsZebra/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2491
2548
|
__webpack_require__.d(__webpack_exports__, {
|
|
2492
2549
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2493
2550
|
});
|
|
@@ -2518,7 +2575,7 @@ var __webpack_modules__ = {
|
|
|
2518
2575
|
};
|
|
2519
2576
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2520
2577
|
},
|
|
2521
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2578
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Signal/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2522
2579
|
__webpack_require__.d(__webpack_exports__, {
|
|
2523
2580
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2524
2581
|
});
|
|
@@ -2560,7 +2617,7 @@ var __webpack_modules__ = {
|
|
|
2560
2617
|
};
|
|
2561
2618
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2562
2619
|
},
|
|
2563
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2620
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Square/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2564
2621
|
__webpack_require__.d(__webpack_exports__, {
|
|
2565
2622
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2566
2623
|
});
|
|
@@ -2594,7 +2651,7 @@ var __webpack_modules__ = {
|
|
|
2594
2651
|
};
|
|
2595
2652
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2596
2653
|
},
|
|
2597
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2654
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/StationAllocation/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2598
2655
|
__webpack_require__.d(__webpack_exports__, {
|
|
2599
2656
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2600
2657
|
});
|
|
@@ -2673,7 +2730,7 @@ var __webpack_modules__ = {
|
|
|
2673
2730
|
};
|
|
2674
2731
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2675
2732
|
},
|
|
2676
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2733
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Stripe/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2677
2734
|
__webpack_require__.d(__webpack_exports__, {
|
|
2678
2735
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2679
2736
|
});
|
|
@@ -2709,7 +2766,7 @@ var __webpack_modules__ = {
|
|
|
2709
2766
|
};
|
|
2710
2767
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2711
2768
|
},
|
|
2712
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2769
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/GradientRibbon/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2713
2770
|
__webpack_require__.d(__webpack_exports__, {
|
|
2714
2771
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2715
2772
|
});
|
|
@@ -2763,7 +2820,7 @@ var __webpack_modules__ = {
|
|
|
2763
2820
|
};
|
|
2764
2821
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2765
2822
|
},
|
|
2766
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2823
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/SeriesDisplayControl/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2767
2824
|
__webpack_require__.d(__webpack_exports__, {
|
|
2768
2825
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2769
2826
|
});
|
|
@@ -2775,51 +2832,73 @@ var __webpack_modules__ = {
|
|
|
2775
2832
|
___CSS_LOADER_EXPORT___.push([
|
|
2776
2833
|
module.id,
|
|
2777
2834
|
`.SeriesDisplayControl-ah9Ctx {
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
background: var(--theme-bg-base);
|
|
2781
|
-
transition: all .35s;
|
|
2782
|
-
display: flex;
|
|
2835
|
+
display: inline-block;
|
|
2836
|
+
position: relative;
|
|
2783
2837
|
}
|
|
2784
2838
|
|
|
2785
|
-
.
|
|
2786
|
-
|
|
2839
|
+
.dropdownMenu-TKGLPg {
|
|
2840
|
+
z-index: 11;
|
|
2841
|
+
background: var(--theme-bg-base);
|
|
2842
|
+
border: 1px solid var(--theme-border-base);
|
|
2787
2843
|
border-radius: var(--size-border-radius-base);
|
|
2788
|
-
|
|
2844
|
+
min-width: 200px;
|
|
2845
|
+
max-height: 300px;
|
|
2846
|
+
margin-top: 4px;
|
|
2847
|
+
position: absolute;
|
|
2848
|
+
top: 100%;
|
|
2849
|
+
left: 0;
|
|
2850
|
+
overflow-y: auto;
|
|
2789
2851
|
}
|
|
2790
2852
|
|
|
2791
|
-
.
|
|
2853
|
+
.dropdownItem-jxnvXU {
|
|
2792
2854
|
cursor: pointer;
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2855
|
+
white-space: nowrap;
|
|
2856
|
+
padding: 8px 12px;
|
|
2857
|
+
transition: background-color .2s;
|
|
2796
2858
|
}
|
|
2797
2859
|
|
|
2798
|
-
.
|
|
2799
|
-
|
|
2860
|
+
.dropdownItem-jxnvXU:last-child {
|
|
2861
|
+
border-bottom: none;
|
|
2800
2862
|
}
|
|
2801
2863
|
|
|
2802
|
-
.
|
|
2803
|
-
|
|
2864
|
+
.dropdownItem-jxnvXU:hover {
|
|
2865
|
+
background: var(--theme-bg-second);
|
|
2804
2866
|
}
|
|
2805
2867
|
|
|
2806
|
-
.
|
|
2868
|
+
.dropdownItem-jxnvXU.active-JQ5gpd {
|
|
2869
|
+
background: var(--theme-bg-second);
|
|
2807
2870
|
color: var(--theme-color-primary);
|
|
2808
2871
|
}
|
|
2809
2872
|
|
|
2810
|
-
.
|
|
2811
|
-
|
|
2812
|
-
|
|
2873
|
+
.seriesOption-Zk6mWv {
|
|
2874
|
+
align-items: center;
|
|
2875
|
+
gap: var(--size-gap-base);
|
|
2813
2876
|
display: flex;
|
|
2814
2877
|
}
|
|
2815
2878
|
|
|
2816
|
-
.
|
|
2817
|
-
|
|
2818
|
-
|
|
2879
|
+
.seriesIndicator-VknIJ7 {
|
|
2880
|
+
width: var(--size-gap-base);
|
|
2881
|
+
height: var(--size-gap-base);
|
|
2882
|
+
border: 1px solid var(--theme-color-base);
|
|
2819
2883
|
}
|
|
2820
2884
|
|
|
2821
|
-
.
|
|
2822
|
-
|
|
2885
|
+
.seriesIndicator-VknIJ7.displayed-IeAjv9 {
|
|
2886
|
+
opacity: 1;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
.seriesIndicator-VknIJ7.hidden-v95ete {
|
|
2890
|
+
opacity: .3;
|
|
2891
|
+
background-color: #0000;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
.seriesLabel-fzQ2U1.displayed-IeAjv9 {
|
|
2895
|
+
opacity: 1;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
.seriesLabel-fzQ2U1.hidden-v95ete {
|
|
2899
|
+
color: var(--theme-color-base);
|
|
2900
|
+
opacity: .5;
|
|
2901
|
+
font-weight: normal;
|
|
2823
2902
|
}
|
|
2824
2903
|
`,
|
|
2825
2904
|
""
|
|
@@ -2827,15 +2906,18 @@ var __webpack_modules__ = {
|
|
|
2827
2906
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2828
2907
|
SeriesDisplayControl: "SeriesDisplayControl-ah9Ctx",
|
|
2829
2908
|
seriesDisplayControl: "SeriesDisplayControl-ah9Ctx",
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2909
|
+
dropdownMenu: "dropdownMenu-TKGLPg",
|
|
2910
|
+
dropdownItem: "dropdownItem-jxnvXU",
|
|
2911
|
+
active: "active-JQ5gpd",
|
|
2912
|
+
seriesOption: "seriesOption-Zk6mWv",
|
|
2913
|
+
seriesIndicator: "seriesIndicator-VknIJ7",
|
|
2914
|
+
displayed: "displayed-IeAjv9",
|
|
2915
|
+
hidden: "hidden-v95ete",
|
|
2916
|
+
seriesLabel: "seriesLabel-fzQ2U1"
|
|
2835
2917
|
};
|
|
2836
2918
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2837
2919
|
},
|
|
2838
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
2920
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2839
2921
|
__webpack_require__.d(__webpack_exports__, {
|
|
2840
2922
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2841
2923
|
});
|
|
@@ -2928,7 +3010,7 @@ var __webpack_modules__ = {
|
|
|
2928
3010
|
};
|
|
2929
3011
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2930
3012
|
},
|
|
2931
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
3013
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Tooltip/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
2932
3014
|
__webpack_require__.d(__webpack_exports__, {
|
|
2933
3015
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
2934
3016
|
});
|
|
@@ -2997,7 +3079,7 @@ var __webpack_modules__ = {
|
|
|
2997
3079
|
};
|
|
2998
3080
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
2999
3081
|
},
|
|
3000
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
3082
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Zoom/Switch/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
3001
3083
|
__webpack_require__.d(__webpack_exports__, {
|
|
3002
3084
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
3003
3085
|
});
|
|
@@ -3030,7 +3112,7 @@ var __webpack_modules__ = {
|
|
|
3030
3112
|
};
|
|
3031
3113
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
3032
3114
|
},
|
|
3033
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
3115
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Zoom/ZoomOffsetContainer/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
3034
3116
|
__webpack_require__.d(__webpack_exports__, {
|
|
3035
3117
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
3036
3118
|
});
|
|
@@ -3075,7 +3157,7 @@ var __webpack_modules__ = {
|
|
|
3075
3157
|
};
|
|
3076
3158
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
3077
3159
|
},
|
|
3078
|
-
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
3160
|
+
"../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/hooks/useChart/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
3079
3161
|
__webpack_require__.d(__webpack_exports__, {
|
|
3080
3162
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
3081
3163
|
});
|
|
@@ -3109,7 +3191,7 @@ var __webpack_modules__ = {
|
|
|
3109
3191
|
};
|
|
3110
3192
|
const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
|
|
3111
3193
|
},
|
|
3112
|
-
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
3194
|
+
"../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/modules/Occupancy/TotalLine/styles.module.less": function(module, __webpack_exports__, __webpack_require__) {
|
|
3113
3195
|
__webpack_require__.d(__webpack_exports__, {
|
|
3114
3196
|
Z: ()=>__WEBPACK_DEFAULT_EXPORT__
|
|
3115
3197
|
});
|
|
@@ -3604,6 +3686,7 @@ var constants_ChartType = /*#__PURE__*/ function(ChartType) {
|
|
|
3604
3686
|
ChartType["ScanDF360"] = "scanDF360";
|
|
3605
3687
|
ChartType["DDC"] = "ddc";
|
|
3606
3688
|
ChartType["Lite"] = "lite";
|
|
3689
|
+
ChartType["LiteNormalized"] = "liteNormalized";
|
|
3607
3690
|
ChartType["LevelStream"] = "levelStream";
|
|
3608
3691
|
ChartType["IQEye"] = "iqEye";
|
|
3609
3692
|
ChartType["IQLine"] = "iqLine";
|
|
@@ -3616,6 +3699,7 @@ var constants_ChartType = /*#__PURE__*/ function(ChartType) {
|
|
|
3616
3699
|
var constants_ModuleType = /*#__PURE__*/ function(ModuleType) {
|
|
3617
3700
|
ModuleType["Spectrum"] = "spectrum";
|
|
3618
3701
|
ModuleType["Heatmap"] = "heatmap";
|
|
3702
|
+
ModuleType["Fluorescence"] = "fluorescence";
|
|
3619
3703
|
ModuleType["Occupancy"] = "occupancy";
|
|
3620
3704
|
ModuleType["LevelStream"] = "levelStream";
|
|
3621
3705
|
ModuleType["Dial"] = "dial";
|
|
@@ -3635,6 +3719,7 @@ var constants_PSType = /*#__PURE__*/ function(PSType) {
|
|
|
3635
3719
|
PSType["Occupancy"] = "occupancy";
|
|
3636
3720
|
PSType["LevelStream"] = "levelStream";
|
|
3637
3721
|
PSType["Heatmap"] = "heatmap";
|
|
3722
|
+
PSType["Fluorescence"] = "fluorescence";
|
|
3638
3723
|
PSType["IQ"] = "iq";
|
|
3639
3724
|
PSType["Dial"] = "dial";
|
|
3640
3725
|
PSType["Gauge"] = "gauge";
|
|
@@ -3695,6 +3780,32 @@ var constants_ToolType = /*#__PURE__*/ function(ToolType) {
|
|
|
3695
3780
|
ToolType["Area"] = "area";
|
|
3696
3781
|
return ToolType;
|
|
3697
3782
|
}({});
|
|
3783
|
+
var constants_ToolsBarItemType = /*#__PURE__*/ function(ToolsBarItemType) {
|
|
3784
|
+
ToolsBarItemType["AutorangingSwitch"] = "AutorangingSwitch";
|
|
3785
|
+
ToolsBarItemType["UnitSwitch"] = "UnitSwitch";
|
|
3786
|
+
ToolsBarItemType["StepSwitch"] = "StepSwitch";
|
|
3787
|
+
ToolsBarItemType["GradientRibbon"] = "GradientRibbon";
|
|
3788
|
+
ToolsBarItemType["HeatmapCaptureSwitch"] = "HeatmapCaptureSwitch";
|
|
3789
|
+
ToolsBarItemType["TimeRangeSwitch"] = "TimeRangeSwitch";
|
|
3790
|
+
ToolsBarItemType["SpacerLine"] = "SpacerLine";
|
|
3791
|
+
ToolsBarItemType["Reset"] = "Reset";
|
|
3792
|
+
ToolsBarItemType["StationAllocationSwitch"] = "StationAllocationSwitch";
|
|
3793
|
+
ToolsBarItemType["SeriesControl"] = "SeriesControl";
|
|
3794
|
+
ToolsBarItemType["FrequencyAllocationSwitch"] = "FrequencyAllocationSwitch";
|
|
3795
|
+
ToolsBarItemType["ZoomSwitch"] = "ZoomSwitch";
|
|
3796
|
+
ToolsBarItemType["LimitSwitch"] = "LimitSwitch";
|
|
3797
|
+
ToolsBarItemType["MarkersSwitch"] = "MarkersSwitch";
|
|
3798
|
+
ToolsBarItemType["FrequencyTagLineSwitch"] = "FrequencyTagLineSwitch";
|
|
3799
|
+
ToolsBarItemType["SignalAnalysisSwitch"] = "SignalAnalysisSwitch";
|
|
3800
|
+
ToolsBarItemType["StripeSwitch"] = "StripeSwitch";
|
|
3801
|
+
ToolsBarItemType["CursorSwitch"] = "CursorSwitch";
|
|
3802
|
+
ToolsBarItemType["CursorFindRowSwitch"] = "CursorFindRowSwitch";
|
|
3803
|
+
ToolsBarItemType["SignalSwitch"] = "SignalSwitch";
|
|
3804
|
+
ToolsBarItemType["SegmentsDisplayControl"] = "SegmentsDisplayControl";
|
|
3805
|
+
ToolsBarItemType["SeriesDisplayControl"] = "SeriesDisplayControl";
|
|
3806
|
+
ToolsBarItemType["FluorescenceSwitch"] = "FluorescenceSwitch";
|
|
3807
|
+
return ToolsBarItemType;
|
|
3808
|
+
}({});
|
|
3698
3809
|
var constants_SeriesType = /*#__PURE__*/ function(SeriesType) {
|
|
3699
3810
|
SeriesType["RealData"] = "realData";
|
|
3700
3811
|
SeriesType["MaxData"] = "maxData";
|
|
@@ -3878,7 +3989,7 @@ const constants_unitList = [
|
|
|
3878
3989
|
'dBm',
|
|
3879
3990
|
'dBm/m'
|
|
3880
3991
|
];
|
|
3881
|
-
const
|
|
3992
|
+
const constants_RANGE_DEFAULT = [
|
|
3882
3993
|
-20,
|
|
3883
3994
|
100
|
|
3884
3995
|
];
|
|
@@ -3910,10 +4021,11 @@ function defaultState_createParams() {
|
|
|
3910
4021
|
},
|
|
3911
4022
|
axisY: {
|
|
3912
4023
|
show: true,
|
|
4024
|
+
disabled: false,
|
|
3913
4025
|
gradientRibbon: true,
|
|
3914
|
-
realRange:
|
|
3915
|
-
range:
|
|
3916
|
-
renderRange:
|
|
4026
|
+
realRange: constants_RANGE_DEFAULT,
|
|
4027
|
+
range: constants_RANGE_DEFAULT,
|
|
4028
|
+
renderRange: constants_RANGE_DEFAULT,
|
|
3917
4029
|
restrict: restrictList["dBμV"],
|
|
3918
4030
|
autoranging: false,
|
|
3919
4031
|
step: stepDefault,
|
|
@@ -3936,7 +4048,8 @@ function defaultState_createParams() {
|
|
|
3936
4048
|
frequencyFormat: ()=>null
|
|
3937
4049
|
},
|
|
3938
4050
|
toolsBar: {
|
|
3939
|
-
show: true
|
|
4051
|
+
show: true,
|
|
4052
|
+
hiddenTools: []
|
|
3940
4053
|
},
|
|
3941
4054
|
series: {
|
|
3942
4055
|
weaken: weakenDefault,
|
|
@@ -4063,6 +4176,10 @@ function defaultState_createParams() {
|
|
|
4063
4176
|
stationInfo: {
|
|
4064
4177
|
show: true,
|
|
4065
4178
|
data: []
|
|
4179
|
+
},
|
|
4180
|
+
fluorescence: {
|
|
4181
|
+
show: false,
|
|
4182
|
+
display: false
|
|
4066
4183
|
}
|
|
4067
4184
|
};
|
|
4068
4185
|
}
|
|
@@ -4346,7 +4463,7 @@ var insertStyleElement = __webpack_require__("./node_modules/.pnpm/@rsbuild+core
|
|
|
4346
4463
|
var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
|
|
4347
4464
|
var styleTagTransform = __webpack_require__("./node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
|
|
4348
4465
|
var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
|
|
4349
|
-
var styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
4466
|
+
var styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Background/styles.module.less");
|
|
4350
4467
|
var styles_module_options = {};
|
|
4351
4468
|
styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
4352
4469
|
styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -4395,7 +4512,7 @@ const usePublish = ({ publish, subscribe = ()=>{} })=>{
|
|
|
4395
4512
|
]);
|
|
4396
4513
|
};
|
|
4397
4514
|
const hooks_usePublish = usePublish;
|
|
4398
|
-
var Container_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
4515
|
+
var Container_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Container/styles.module.less");
|
|
4399
4516
|
var Container_styles_module_options = {};
|
|
4400
4517
|
Container_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
4401
4518
|
Container_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -4464,7 +4581,7 @@ const Container = (props)=>{
|
|
|
4464
4581
|
});
|
|
4465
4582
|
};
|
|
4466
4583
|
const components_Container = Container;
|
|
4467
|
-
var Square_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
4584
|
+
var Square_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Square/styles.module.less");
|
|
4468
4585
|
var Square_styles_module_options = {};
|
|
4469
4586
|
Square_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
4470
4587
|
Square_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -4507,7 +4624,7 @@ const Square = ({ children })=>{
|
|
|
4507
4624
|
});
|
|
4508
4625
|
};
|
|
4509
4626
|
const components_Square = Square;
|
|
4510
|
-
var useChart_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
4627
|
+
var useChart_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/hooks/useChart/styles.module.less");
|
|
4511
4628
|
var useChart_styles_module_options = {};
|
|
4512
4629
|
useChart_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
4513
4630
|
useChart_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -4867,116 +4984,7 @@ function getCoordinates(radius, padding, angle) {
|
|
|
4867
4984
|
y
|
|
4868
4985
|
];
|
|
4869
4986
|
}
|
|
4870
|
-
|
|
4871
|
-
init(props) {
|
|
4872
|
-
super.init(props);
|
|
4873
|
-
this.state.canvas.style.transform = 'scaleY(1)';
|
|
4874
|
-
const baseWidth = 6;
|
|
4875
|
-
this.updateProps({
|
|
4876
|
-
baseWidth,
|
|
4877
|
-
padding: props.padding,
|
|
4878
|
-
step: props.step,
|
|
4879
|
-
lineWidth: 1,
|
|
4880
|
-
data: {
|
|
4881
|
-
value: 0,
|
|
4882
|
-
limit: 0
|
|
4883
|
-
}
|
|
4884
|
-
});
|
|
4885
|
-
}
|
|
4886
|
-
clear() {
|
|
4887
|
-
this.clearRect();
|
|
4888
|
-
const { ctx, BGCanvas } = this.state;
|
|
4889
|
-
if (BGCanvas) ctx.drawImage(BGCanvas, 0, 0);
|
|
4890
|
-
}
|
|
4891
|
-
resize() {
|
|
4892
|
-
super.resize();
|
|
4893
|
-
if (this.state.lineWidth) this.drawBackground();
|
|
4894
|
-
}
|
|
4895
|
-
render(data) {
|
|
4896
|
-
this.state.data = {
|
|
4897
|
-
...this.state.data,
|
|
4898
|
-
...data
|
|
4899
|
-
};
|
|
4900
|
-
this.draw();
|
|
4901
|
-
}
|
|
4902
|
-
draw() {
|
|
4903
|
-
const { data: { value }, range: [min, max], canvas, ctx, baseWidth, padding, BGCanvas, fillStylePrimary } = this.state;
|
|
4904
|
-
this.clearRect();
|
|
4905
|
-
if (BGCanvas) ctx.drawImage(BGCanvas, 0, 0);
|
|
4906
|
-
const width = 3 * baseWidth;
|
|
4907
|
-
const height = canvas.height - 2 * padding;
|
|
4908
|
-
const x = (canvas.width - width) / 2;
|
|
4909
|
-
const renderHeight = (value - min) / (max - min) * height;
|
|
4910
|
-
const y = height - renderHeight + padding;
|
|
4911
|
-
ctx.fillStyle = fillStylePrimary;
|
|
4912
|
-
ctx.fillRect(x, y, width, renderHeight);
|
|
4913
|
-
this.drawLimit();
|
|
4914
|
-
}
|
|
4915
|
-
drawLimit() {
|
|
4916
|
-
const { data: { limit }, range: [min, max], canvas, ctx, baseWidth, padding, lineWidth, fillStylePrimary } = this.state;
|
|
4917
|
-
if (!(0, utils.Ri)(limit)) return;
|
|
4918
|
-
const width = 3 * baseWidth;
|
|
4919
|
-
const height = canvas.height - 2 * padding;
|
|
4920
|
-
const x = (canvas.width - width) / 2;
|
|
4921
|
-
const y = height * (max - limit) / (max - min) + padding;
|
|
4922
|
-
const limitTagHeight = 9;
|
|
4923
|
-
const triangleWidth = 9;
|
|
4924
|
-
const rectangleWidth = 30;
|
|
4925
|
-
ctx.beginPath();
|
|
4926
|
-
ctx.moveTo(x + width, y);
|
|
4927
|
-
ctx.lineTo(x + width + triangleWidth, y - limitTagHeight);
|
|
4928
|
-
ctx.lineTo(x + width + triangleWidth + rectangleWidth, y - limitTagHeight);
|
|
4929
|
-
ctx.lineTo(x + width + triangleWidth + rectangleWidth, y + limitTagHeight);
|
|
4930
|
-
ctx.lineTo(x + width + triangleWidth, y + limitTagHeight);
|
|
4931
|
-
ctx.lineTo(x + width, y);
|
|
4932
|
-
ctx.lineTo(x, y);
|
|
4933
|
-
ctx.lineWidth = lineWidth;
|
|
4934
|
-
ctx.strokeStyle = fillStylePrimary;
|
|
4935
|
-
ctx.stroke();
|
|
4936
|
-
ctx.fillStyle = fillStylePrimary;
|
|
4937
|
-
ctx.font = '12px Arial';
|
|
4938
|
-
ctx.textAlign = 'center';
|
|
4939
|
-
ctx.textBaseline = 'middle';
|
|
4940
|
-
ctx.fillText(limit.toString(), x + width + triangleWidth + rectangleWidth / 2, y + 1);
|
|
4941
|
-
}
|
|
4942
|
-
drawBackground() {
|
|
4943
|
-
const { canvas, baseWidth, padding, lineWidth, step, range: [min, max], fillStyle, fillStyleTransparentBase } = this.state;
|
|
4944
|
-
const BGCanvas = document.createElement('canvas');
|
|
4945
|
-
BGCanvas.width = canvas.width;
|
|
4946
|
-
BGCanvas.height = canvas.height;
|
|
4947
|
-
const BGCtx = BGCanvas.getContext('2d');
|
|
4948
|
-
if (!BGCtx) return;
|
|
4949
|
-
const width = 3 * baseWidth;
|
|
4950
|
-
const height = canvas.height - 2 * padding;
|
|
4951
|
-
const x = (canvas.width - width) / 2;
|
|
4952
|
-
const y = padding;
|
|
4953
|
-
const tagNun = 11;
|
|
4954
|
-
const markedAngles = Array.from({
|
|
4955
|
-
length: tagNun
|
|
4956
|
-
}, (_, i)=>min + Math.round(i * (max - min) / (tagNun - 1) / step) * step);
|
|
4957
|
-
BGCtx.fillStyle = fillStyleTransparentBase;
|
|
4958
|
-
BGCtx.fillRect(x, y, width, height);
|
|
4959
|
-
for(let i = min; i <= max; i += step){
|
|
4960
|
-
const isMarked = markedAngles.includes(i);
|
|
4961
|
-
const tagY = height * (max - i) / (max - min) + padding;
|
|
4962
|
-
BGCtx.beginPath();
|
|
4963
|
-
BGCtx.moveTo(x - (isMarked ? baseWidth : baseWidth / 2), tagY);
|
|
4964
|
-
BGCtx.lineTo(x, tagY);
|
|
4965
|
-
BGCtx.strokeStyle = fillStyle;
|
|
4966
|
-
BGCtx.lineWidth = isMarked ? lineWidth : lineWidth / 2;
|
|
4967
|
-
BGCtx.stroke();
|
|
4968
|
-
if (isMarked) {
|
|
4969
|
-
BGCtx.fillStyle = fillStyle;
|
|
4970
|
-
BGCtx.font = '12px Arial';
|
|
4971
|
-
BGCtx.textAlign = 'right';
|
|
4972
|
-
BGCtx.textBaseline = 'middle';
|
|
4973
|
-
BGCtx.fillText(i.toString(), x - 1.2 * baseWidth, tagY);
|
|
4974
|
-
}
|
|
4975
|
-
}
|
|
4976
|
-
this.state.BGCanvas = BGCanvas;
|
|
4977
|
-
}
|
|
4978
|
-
}
|
|
4979
|
-
var Mask_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.4/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Mask/styles.module.less");
|
|
4987
|
+
var Mask_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Mask/styles.module.less");
|
|
4980
4988
|
var Mask_styles_module_options = {};
|
|
4981
4989
|
Mask_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
4982
4990
|
Mask_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -4985,7 +4993,7 @@ Mask_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
4985
4993
|
Mask_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
4986
4994
|
injectStylesIntoStyleTag_default()(Mask_styles_module.Z, Mask_styles_module_options);
|
|
4987
4995
|
const components_Mask_styles_module = Mask_styles_module.Z && Mask_styles_module.Z.locals ? Mask_styles_module.Z.locals : void 0;
|
|
4988
|
-
const
|
|
4996
|
+
const Mask_Mask = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(({ children, className, style }, ref)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
4989
4997
|
className: `${components_Mask_styles_module.Mask} ${className}`,
|
|
4990
4998
|
style: style,
|
|
4991
4999
|
ref: ref,
|
|
@@ -4999,8 +5007,8 @@ const Mask = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(({
|
|
|
4999
5007
|
})
|
|
5000
5008
|
]
|
|
5001
5009
|
}));
|
|
5002
|
-
const
|
|
5003
|
-
var Tooltip_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
5010
|
+
const Mask = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(Mask_Mask);
|
|
5011
|
+
var Tooltip_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Tooltip/styles.module.less");
|
|
5004
5012
|
var Tooltip_styles_module_options = {};
|
|
5005
5013
|
Tooltip_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
5006
5014
|
Tooltip_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -5131,7 +5139,7 @@ const Tooltip_Tooltip = ({ children, content, delay = 200, duration = 3000, offs
|
|
|
5131
5139
|
onMouseEnter: handleMouseEnter,
|
|
5132
5140
|
onMouseLeave: handleMouseLeave
|
|
5133
5141
|
}),
|
|
5134
|
-
visible && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_dom_7136dc57__.createPortal)(/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
5142
|
+
visible && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_dom_7136dc57__.createPortal)(/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Mask, {
|
|
5135
5143
|
ref: tooltipRef,
|
|
5136
5144
|
className: components_Tooltip_styles_module.tooltip,
|
|
5137
5145
|
style: {
|
|
@@ -5145,8 +5153,8 @@ const Tooltip_Tooltip = ({ children, content, delay = 200, duration = 3000, offs
|
|
|
5145
5153
|
]
|
|
5146
5154
|
});
|
|
5147
5155
|
};
|
|
5148
|
-
const
|
|
5149
|
-
var ToolsBar_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
5156
|
+
const components_Tooltip = Tooltip_Tooltip;
|
|
5157
|
+
var ToolsBar_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/styles.module.less");
|
|
5150
5158
|
var ToolsBar_styles_module_options = {};
|
|
5151
5159
|
ToolsBar_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
5152
5160
|
ToolsBar_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -5155,7 +5163,7 @@ ToolsBar_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
5155
5163
|
ToolsBar_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
5156
5164
|
injectStylesIntoStyleTag_default()(ToolsBar_styles_module.Z, ToolsBar_styles_module_options);
|
|
5157
5165
|
const components_ToolsBar_styles_module = ToolsBar_styles_module.Z && ToolsBar_styles_module.Z.locals ? ToolsBar_styles_module.Z.locals : void 0;
|
|
5158
|
-
const IconBox_IconBox = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
5166
|
+
const IconBox_IconBox = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Tooltip, {
|
|
5159
5167
|
content: props.title,
|
|
5160
5168
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
5161
5169
|
className: `${components_ToolsBar_styles_module.IconBox} ${props.className}`,
|
|
@@ -5164,7 +5172,7 @@ const IconBox_IconBox = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_rea
|
|
|
5164
5172
|
})
|
|
5165
5173
|
});
|
|
5166
5174
|
const ToolsBar_IconBox = IconBox_IconBox;
|
|
5167
|
-
var GradientRibbon_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
5175
|
+
var GradientRibbon_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/GradientRibbon/styles.module.less");
|
|
5168
5176
|
var GradientRibbon_styles_module_options = {};
|
|
5169
5177
|
GradientRibbon_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
5170
5178
|
GradientRibbon_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -5245,64 +5253,8 @@ const GradientRibbon = ()=>{
|
|
|
5245
5253
|
});
|
|
5246
5254
|
};
|
|
5247
5255
|
const ToolsBar_GradientRibbon = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(GradientRibbon);
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
range = [
|
|
5251
|
-
0,
|
|
5252
|
-
0,
|
|
5253
|
-
0
|
|
5254
|
-
];
|
|
5255
|
-
transparent = {
|
|
5256
|
-
r: 0,
|
|
5257
|
-
g: 0,
|
|
5258
|
-
b: 0,
|
|
5259
|
-
a: 0
|
|
5260
|
-
};
|
|
5261
|
-
constructor(colors, rangeMin, rangeMax, stepSize = 0.1){
|
|
5262
|
-
this.setColors(colors, rangeMin, rangeMax, stepSize);
|
|
5263
|
-
}
|
|
5264
|
-
setColors(colors, rangeMin, rangeMax, stepSize) {
|
|
5265
|
-
this.colorsPresetList = [];
|
|
5266
|
-
const steps = Math.max(1, Math.floor((rangeMax - rangeMin) / stepSize));
|
|
5267
|
-
const rangeDiff = rangeMax - rangeMin;
|
|
5268
|
-
this.range = [
|
|
5269
|
-
rangeMin,
|
|
5270
|
-
rangeMax,
|
|
5271
|
-
rangeDiff
|
|
5272
|
-
];
|
|
5273
|
-
for(let i = 0; i <= steps; i++){
|
|
5274
|
-
const value = rangeMin + i * stepSize;
|
|
5275
|
-
const position = (value - rangeMin) / rangeDiff;
|
|
5276
|
-
this.colorsPresetList.push(this.interpolateColor(colors, position));
|
|
5277
|
-
}
|
|
5278
|
-
}
|
|
5279
|
-
interpolateColor(colors, position) {
|
|
5280
|
-
const index = Math.floor(position * (colors.length - 1));
|
|
5281
|
-
const ratio = position * (colors.length - 1) - index;
|
|
5282
|
-
const startColor = colors[index];
|
|
5283
|
-
const endColor = colors[index + 1] || colors[index];
|
|
5284
|
-
const rgba = {
|
|
5285
|
-
r: Math.round(startColor.r + ratio * (endColor.r - startColor.r)),
|
|
5286
|
-
g: Math.round(startColor.g + ratio * (endColor.g - startColor.g)),
|
|
5287
|
-
b: Math.round(startColor.b + ratio * (endColor.b - startColor.b)),
|
|
5288
|
-
a: Math.round(startColor.a + ratio * (endColor.a - startColor.a))
|
|
5289
|
-
};
|
|
5290
|
-
return {
|
|
5291
|
-
...rgba,
|
|
5292
|
-
hax: rgbToHex(rgba.r, rgba.g, rgba.b, rgba.a)
|
|
5293
|
-
};
|
|
5294
|
-
}
|
|
5295
|
-
getColor(value) {
|
|
5296
|
-
if (!Number.isFinite(value)) return this.transparent;
|
|
5297
|
-
const [rangeMin, , rangeDiff] = this.range;
|
|
5298
|
-
const position = (value - rangeMin) / rangeDiff;
|
|
5299
|
-
if (position <= 0) return this.colorsPresetList[0];
|
|
5300
|
-
if (position >= 1) return this.colorsPresetList.at(-1);
|
|
5301
|
-
const index = Math.min(Math.floor(position * this.colorsPresetList.length), this.colorsPresetList.length - 1);
|
|
5302
|
-
return this.colorsPresetList[index];
|
|
5303
|
-
}
|
|
5304
|
-
}
|
|
5305
|
-
class Heatmap extends engine_Engine {
|
|
5256
|
+
const BLOCK_RENDER_MODE = true;
|
|
5257
|
+
class Fluorescence extends engine_Engine {
|
|
5306
5258
|
init(props) {
|
|
5307
5259
|
super.init(props);
|
|
5308
5260
|
const { colors } = props;
|
|
@@ -5311,10 +5263,512 @@ class Heatmap extends engine_Engine {
|
|
|
5311
5263
|
data: []
|
|
5312
5264
|
});
|
|
5313
5265
|
this.resize();
|
|
5314
|
-
handleColor(props.globalID, '
|
|
5266
|
+
handleColor(props.globalID, 'Fluorescence-Engine', (colors)=>{
|
|
5315
5267
|
this.updateProps({
|
|
5316
|
-
colors
|
|
5317
|
-
|
|
5268
|
+
colors
|
|
5269
|
+
});
|
|
5270
|
+
});
|
|
5271
|
+
}
|
|
5272
|
+
updateProps(e) {
|
|
5273
|
+
super.updateProps(e);
|
|
5274
|
+
}
|
|
5275
|
+
clearImageData() {
|
|
5276
|
+
const { ctx, canvas: { height, width } } = this.state;
|
|
5277
|
+
if (height && width) this.updateProps({
|
|
5278
|
+
imageData: ctx.createImageData(width, height)
|
|
5279
|
+
});
|
|
5280
|
+
}
|
|
5281
|
+
clearRect() {
|
|
5282
|
+
super.clearRect();
|
|
5283
|
+
this.clearImageData();
|
|
5284
|
+
}
|
|
5285
|
+
clear() {
|
|
5286
|
+
this.clearRect();
|
|
5287
|
+
this.updateProps({
|
|
5288
|
+
data: []
|
|
5289
|
+
});
|
|
5290
|
+
}
|
|
5291
|
+
dispose() {
|
|
5292
|
+
this.intensityMatrixCache = null;
|
|
5293
|
+
this.gridCentersCache = null;
|
|
5294
|
+
this.weightLookupCache = null;
|
|
5295
|
+
this.colorLookupCache = null;
|
|
5296
|
+
this.colorCache.clear();
|
|
5297
|
+
this.lastRenderParams = null;
|
|
5298
|
+
this.blockPositionsCache = null;
|
|
5299
|
+
this.lastBlockRenderParams = null;
|
|
5300
|
+
}
|
|
5301
|
+
drawBlocks() {
|
|
5302
|
+
const { imageData, data, canvas, ctx, colors = [
|
|
5303
|
+
'#000080',
|
|
5304
|
+
'#0000FF',
|
|
5305
|
+
'#00FFFF',
|
|
5306
|
+
'#00FF00',
|
|
5307
|
+
'#FFFF00',
|
|
5308
|
+
'#FF0000'
|
|
5309
|
+
], range = [
|
|
5310
|
+
-20,
|
|
5311
|
+
100
|
|
5312
|
+
], fluorescenceMaxCount = 1 } = this.state;
|
|
5313
|
+
if (!data || 0 === data.length || !imageData) return;
|
|
5314
|
+
const { width, height } = canvas;
|
|
5315
|
+
const [rangeMin, rangeMax] = range;
|
|
5316
|
+
const rangeSpan = rangeMax - rangeMin;
|
|
5317
|
+
if (rangeSpan <= 0) return;
|
|
5318
|
+
const dataLength = data.length;
|
|
5319
|
+
const currentParams = {
|
|
5320
|
+
dataLength,
|
|
5321
|
+
width,
|
|
5322
|
+
height,
|
|
5323
|
+
rangeMin,
|
|
5324
|
+
rangeMax
|
|
5325
|
+
};
|
|
5326
|
+
const paramsChanged = !this.lastBlockRenderParams || Object.keys(currentParams).some((key)=>this.lastBlockRenderParams?.[key] !== currentParams[key]);
|
|
5327
|
+
if (paramsChanged || !this.blockPositionsCache || this.blockPositionsCache.length !== dataLength) {
|
|
5328
|
+
this.blockPositionsCache = new Array(dataLength);
|
|
5329
|
+
const blockWidth = Math.max(1, Math.floor(width / dataLength));
|
|
5330
|
+
for(let i = 0; i < dataLength; i++){
|
|
5331
|
+
const startX = Math.floor(i * width / dataLength);
|
|
5332
|
+
const endX = Math.min(width - 1, startX + blockWidth - 1);
|
|
5333
|
+
this.blockPositionsCache[i] = {
|
|
5334
|
+
startX,
|
|
5335
|
+
endX,
|
|
5336
|
+
width: endX - startX + 1
|
|
5337
|
+
};
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
this.lastBlockRenderParams = currentParams;
|
|
5341
|
+
const pixelData = imageData.data;
|
|
5342
|
+
pixelData.fill(0);
|
|
5343
|
+
const invRangeSpan = 1 / rangeSpan;
|
|
5344
|
+
const heightMinus1 = height - 1;
|
|
5345
|
+
for(let dataIndex = 0; dataIndex < dataLength; dataIndex++){
|
|
5346
|
+
const bin = data[dataIndex];
|
|
5347
|
+
if (!bin || 0 === bin.size) continue;
|
|
5348
|
+
const blockPos = this.blockPositionsCache[dataIndex];
|
|
5349
|
+
const { startX: blockStartX, endX: blockEndX } = blockPos;
|
|
5350
|
+
for (const [yValue, count] of bin.entries()){
|
|
5351
|
+
if (yValue < rangeMin || yValue > rangeMax || count <= 0) continue;
|
|
5352
|
+
const normalizedY = (yValue - rangeMin) * invRangeSpan;
|
|
5353
|
+
const centerY = normalizedY * heightMinus1;
|
|
5354
|
+
const yValueCount = bin.size;
|
|
5355
|
+
const blockHeight = Math.max(1, Math.floor(height / Math.max(2 * yValueCount, 20)));
|
|
5356
|
+
const blockStartY = Math.max(0, Math.floor(centerY - blockHeight / 2));
|
|
5357
|
+
const blockEndY = Math.min(heightMinus1, blockStartY + blockHeight - 1);
|
|
5358
|
+
const intensity = Math.min(count / fluorescenceMaxCount, 1);
|
|
5359
|
+
const alpha = Math.round(255 * intensity);
|
|
5360
|
+
const blockColor = this.interpolateColor(colors, intensity);
|
|
5361
|
+
const { r: colorR, g: colorG, b: colorB } = blockColor;
|
|
5362
|
+
for(let py = blockStartY; py <= blockEndY; py++){
|
|
5363
|
+
const rowIndex = py * width;
|
|
5364
|
+
for(let px = blockStartX; px <= blockEndX; px++){
|
|
5365
|
+
const pixelIndex = (rowIndex + px) * 4;
|
|
5366
|
+
pixelData[pixelIndex] = colorR;
|
|
5367
|
+
pixelData[pixelIndex + 1] = colorG;
|
|
5368
|
+
pixelData[pixelIndex + 2] = colorB;
|
|
5369
|
+
pixelData[pixelIndex + 3] = alpha;
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
}
|
|
5374
|
+
ctx.putImageData(imageData, 0, 0);
|
|
5375
|
+
}
|
|
5376
|
+
resize() {
|
|
5377
|
+
super.resize();
|
|
5378
|
+
this.clearImageData();
|
|
5379
|
+
}
|
|
5380
|
+
setRange(range) {
|
|
5381
|
+
if (!range) return;
|
|
5382
|
+
this.updateProps({
|
|
5383
|
+
range
|
|
5384
|
+
});
|
|
5385
|
+
this.draw();
|
|
5386
|
+
}
|
|
5387
|
+
render(data) {
|
|
5388
|
+
if (data?.fluorescenceData?.length >= 0) {
|
|
5389
|
+
this.state.data = data.fluorescenceData;
|
|
5390
|
+
this.state.fluorescenceMaxCount = data.fluorescenceMaxCount;
|
|
5391
|
+
this.draw();
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
interpolateColor(colors, ratio) {
|
|
5395
|
+
if (!colors || 0 === colors.length) return {
|
|
5396
|
+
r: 255,
|
|
5397
|
+
g: 255,
|
|
5398
|
+
b: 255,
|
|
5399
|
+
a: 255
|
|
5400
|
+
};
|
|
5401
|
+
ratio = Math.max(0, Math.min(1, ratio));
|
|
5402
|
+
const getColorRgb = (color)=>{
|
|
5403
|
+
if ('string' == typeof color) return this.hexToRgb(color);
|
|
5404
|
+
if (color && 'object' == typeof color && 'r' in color) return {
|
|
5405
|
+
r: color.r,
|
|
5406
|
+
g: color.g,
|
|
5407
|
+
b: color.b
|
|
5408
|
+
};
|
|
5409
|
+
return {
|
|
5410
|
+
r: 0,
|
|
5411
|
+
g: 0,
|
|
5412
|
+
b: 0
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5415
|
+
if (1 === colors.length) {
|
|
5416
|
+
const color = getColorRgb(colors[0]);
|
|
5417
|
+
return {
|
|
5418
|
+
...color,
|
|
5419
|
+
a: 255
|
|
5420
|
+
};
|
|
5421
|
+
}
|
|
5422
|
+
if (0 === ratio) {
|
|
5423
|
+
const color = getColorRgb(colors[0]);
|
|
5424
|
+
return {
|
|
5425
|
+
...color,
|
|
5426
|
+
a: 255
|
|
5427
|
+
};
|
|
5428
|
+
}
|
|
5429
|
+
if (1 === ratio) {
|
|
5430
|
+
const color = getColorRgb(colors[colors.length - 1]);
|
|
5431
|
+
return {
|
|
5432
|
+
...color,
|
|
5433
|
+
a: 255
|
|
5434
|
+
};
|
|
5435
|
+
}
|
|
5436
|
+
const scaledRatio = ratio * (colors.length - 1);
|
|
5437
|
+
const index = Math.floor(scaledRatio);
|
|
5438
|
+
const localRatio = scaledRatio - index;
|
|
5439
|
+
const safeIndex = Math.min(index, colors.length - 2);
|
|
5440
|
+
const color1 = getColorRgb(colors[safeIndex]);
|
|
5441
|
+
const color2 = getColorRgb(colors[safeIndex + 1]);
|
|
5442
|
+
return {
|
|
5443
|
+
r: Math.round(color1.r + (color2.r - color1.r) * localRatio),
|
|
5444
|
+
g: Math.round(color1.g + (color2.g - color1.g) * localRatio),
|
|
5445
|
+
b: Math.round(color1.b + (color2.b - color1.b) * localRatio),
|
|
5446
|
+
a: 255
|
|
5447
|
+
};
|
|
5448
|
+
}
|
|
5449
|
+
colorCache = new Map();
|
|
5450
|
+
hexToRgb(hex) {
|
|
5451
|
+
if (this.colorCache.has(hex)) return this.colorCache.get(hex);
|
|
5452
|
+
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
5453
|
+
const color = result ? {
|
|
5454
|
+
r: parseInt(result[1], 16),
|
|
5455
|
+
g: parseInt(result[2], 16),
|
|
5456
|
+
b: parseInt(result[3], 16)
|
|
5457
|
+
} : {
|
|
5458
|
+
r: 0,
|
|
5459
|
+
g: 0,
|
|
5460
|
+
b: 0
|
|
5461
|
+
};
|
|
5462
|
+
this.colorCache.set(hex, color);
|
|
5463
|
+
return color;
|
|
5464
|
+
}
|
|
5465
|
+
lastRenderParams = null;
|
|
5466
|
+
intensityMatrixCache = null;
|
|
5467
|
+
gridCentersCache = null;
|
|
5468
|
+
weightLookupCache = null;
|
|
5469
|
+
colorLookupCache = null;
|
|
5470
|
+
blockPositionsCache = null;
|
|
5471
|
+
lastBlockRenderParams = null;
|
|
5472
|
+
draw() {
|
|
5473
|
+
const { imageData, data, canvas, ctx, colors = [
|
|
5474
|
+
'#000080',
|
|
5475
|
+
'#0000FF',
|
|
5476
|
+
'#00FFFF',
|
|
5477
|
+
'#00FF00',
|
|
5478
|
+
'#FFFF00',
|
|
5479
|
+
'#FF0000'
|
|
5480
|
+
], range = [
|
|
5481
|
+
-20,
|
|
5482
|
+
100
|
|
5483
|
+
], fluorescenceMaxCount = 1, display } = this.state;
|
|
5484
|
+
if (!display) return;
|
|
5485
|
+
if (!data || 0 === data.length || !imageData) return;
|
|
5486
|
+
if (BLOCK_RENDER_MODE) return void this.drawBlocks();
|
|
5487
|
+
const { width, height } = canvas;
|
|
5488
|
+
const [rangeMin, rangeMax] = range;
|
|
5489
|
+
const rangeSpan = rangeMax - rangeMin;
|
|
5490
|
+
if (rangeSpan <= 0) return;
|
|
5491
|
+
const currentParams = {
|
|
5492
|
+
dataLength: data.length,
|
|
5493
|
+
rangeMin,
|
|
5494
|
+
rangeMax,
|
|
5495
|
+
width,
|
|
5496
|
+
height,
|
|
5497
|
+
maxCount: fluorescenceMaxCount
|
|
5498
|
+
};
|
|
5499
|
+
const paramsChanged = !this.lastRenderParams || Object.keys(currentParams).some((key)=>this.lastRenderParams?.[key] !== currentParams[key]);
|
|
5500
|
+
if (!paramsChanged) return;
|
|
5501
|
+
const needRecalcGridCenters = !this.lastRenderParams || this.lastRenderParams.dataLength !== currentParams.dataLength || this.lastRenderParams.width !== currentParams.width;
|
|
5502
|
+
const needRecalcWeightLookup = !this.lastRenderParams || this.lastRenderParams.height !== currentParams.height;
|
|
5503
|
+
const needRecalcColorLookup = !this.colorLookupCache;
|
|
5504
|
+
this.lastRenderParams = currentParams;
|
|
5505
|
+
const pixelData = imageData.data;
|
|
5506
|
+
pixelData.fill(0);
|
|
5507
|
+
const interpolationRadius = Math.max(2, Math.floor(height / 50));
|
|
5508
|
+
const radiusSquared = interpolationRadius * interpolationRadius;
|
|
5509
|
+
const dataLength = data.length;
|
|
5510
|
+
const matrixSize = width * height;
|
|
5511
|
+
if (this.intensityMatrixCache && this.intensityMatrixCache.length === matrixSize) this.intensityMatrixCache.fill(0);
|
|
5512
|
+
else this.intensityMatrixCache = new Float32Array(matrixSize);
|
|
5513
|
+
const intensityMatrix = this.intensityMatrixCache;
|
|
5514
|
+
if (needRecalcGridCenters || !this.gridCentersCache || this.gridCentersCache.length !== dataLength) {
|
|
5515
|
+
this.gridCentersCache = new Float32Array(dataLength);
|
|
5516
|
+
const cellWidth = width / dataLength;
|
|
5517
|
+
for(let i = 0; i < dataLength; i++){
|
|
5518
|
+
const startX = Math.floor(cellWidth * i);
|
|
5519
|
+
const endX = Math.ceil(cellWidth * (i + 1));
|
|
5520
|
+
this.gridCentersCache[i] = (startX + endX) / 2;
|
|
5521
|
+
}
|
|
5522
|
+
}
|
|
5523
|
+
const gridCenters = this.gridCentersCache;
|
|
5524
|
+
const maxDistance = interpolationRadius;
|
|
5525
|
+
const lookupSize = Math.ceil(10 * maxDistance) + 1;
|
|
5526
|
+
if (needRecalcWeightLookup || !this.weightLookupCache || this.weightLookupCache.length !== lookupSize) {
|
|
5527
|
+
this.weightLookupCache = new Float32Array(lookupSize);
|
|
5528
|
+
for(let i = 0; i <= 10 * maxDistance; i++){
|
|
5529
|
+
const distance = i / 10;
|
|
5530
|
+
this.weightLookupCache[i] = Math.exp(-(distance * distance) / (2 * radiusSquared));
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5533
|
+
const weightLookup = this.weightLookupCache;
|
|
5534
|
+
let maxIntensity = 0;
|
|
5535
|
+
for(let dataIndex = 0; dataIndex < dataLength; dataIndex++){
|
|
5536
|
+
const bin = data[dataIndex];
|
|
5537
|
+
if (!bin || 0 === bin.size) continue;
|
|
5538
|
+
const centerX = gridCenters[dataIndex];
|
|
5539
|
+
for (const [yValue, count] of bin.entries()){
|
|
5540
|
+
if (yValue < rangeMin || yValue > rangeMax || count <= 0) continue;
|
|
5541
|
+
const normalizedY = (yValue - rangeMin) / rangeSpan;
|
|
5542
|
+
const centerY = normalizedY * (height - 1);
|
|
5543
|
+
const intensity = Math.min(count / fluorescenceMaxCount, 1);
|
|
5544
|
+
const expandStartX = Math.max(0, Math.floor(centerX - interpolationRadius));
|
|
5545
|
+
const expandEndX = Math.min(width - 1, Math.ceil(centerX + interpolationRadius));
|
|
5546
|
+
const startY = Math.max(0, Math.floor(centerY - interpolationRadius));
|
|
5547
|
+
const endY = Math.min(height - 1, Math.ceil(centerY + interpolationRadius));
|
|
5548
|
+
for(let py = startY; py <= endY; py++){
|
|
5549
|
+
const dy = py - centerY;
|
|
5550
|
+
const dySquared = dy * dy;
|
|
5551
|
+
const rowIndex = py * width;
|
|
5552
|
+
for(let px = expandStartX; px <= expandEndX; px++){
|
|
5553
|
+
const dx = px - centerX;
|
|
5554
|
+
const distanceSquared = dx * dx + dySquared;
|
|
5555
|
+
if (distanceSquared > radiusSquared) continue;
|
|
5556
|
+
const distance = Math.sqrt(distanceSquared);
|
|
5557
|
+
const lookupIndex = Math.floor(10 * distance);
|
|
5558
|
+
const weight = lookupIndex < weightLookup.length ? weightLookup[lookupIndex] : 0;
|
|
5559
|
+
const matrixIndex = rowIndex + px;
|
|
5560
|
+
const newIntensity = intensityMatrix[matrixIndex] + intensity * weight;
|
|
5561
|
+
intensityMatrix[matrixIndex] = newIntensity;
|
|
5562
|
+
if (newIntensity > maxIntensity) maxIntensity = newIntensity;
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
}
|
|
5567
|
+
const intensityThreshold = 0.001;
|
|
5568
|
+
const invMaxIntensity = maxIntensity > 0 ? 1 / maxIntensity : 0;
|
|
5569
|
+
const colorSteps = 256;
|
|
5570
|
+
if (needRecalcColorLookup || !this.colorLookupCache || this.colorLookupCache.length !== colorSteps) {
|
|
5571
|
+
this.colorLookupCache = new Array(colorSteps);
|
|
5572
|
+
for(let i = 0; i < colorSteps; i++){
|
|
5573
|
+
const ratio = i / (colorSteps - 1);
|
|
5574
|
+
this.colorLookupCache[i] = this.interpolateColor(colors, ratio);
|
|
5575
|
+
}
|
|
5576
|
+
}
|
|
5577
|
+
const colorLookup = this.colorLookupCache;
|
|
5578
|
+
for(let i = 0; i < intensityMatrix.length; i++){
|
|
5579
|
+
const rawIntensity = intensityMatrix[i];
|
|
5580
|
+
if (rawIntensity <= intensityThreshold) continue;
|
|
5581
|
+
const intensity = rawIntensity * invMaxIntensity;
|
|
5582
|
+
const colorIndex = Math.floor(intensity * (colorSteps - 1));
|
|
5583
|
+
const color = colorLookup[colorIndex];
|
|
5584
|
+
const pixelIndex = 4 * i;
|
|
5585
|
+
pixelData[pixelIndex] = color.r;
|
|
5586
|
+
pixelData[pixelIndex + 1] = color.g;
|
|
5587
|
+
pixelData[pixelIndex + 2] = color.b;
|
|
5588
|
+
pixelData[pixelIndex + 3] = Math.round(255 * intensity);
|
|
5589
|
+
}
|
|
5590
|
+
ctx.putImageData(imageData, 0, 0);
|
|
5591
|
+
}
|
|
5592
|
+
}
|
|
5593
|
+
class Gauge extends engine_Engine {
|
|
5594
|
+
init(props) {
|
|
5595
|
+
super.init(props);
|
|
5596
|
+
this.state.canvas.style.transform = 'scaleY(1)';
|
|
5597
|
+
const baseWidth = 6;
|
|
5598
|
+
this.updateProps({
|
|
5599
|
+
baseWidth,
|
|
5600
|
+
padding: props.padding,
|
|
5601
|
+
step: props.step,
|
|
5602
|
+
lineWidth: 1,
|
|
5603
|
+
data: {
|
|
5604
|
+
value: 0,
|
|
5605
|
+
limit: 0
|
|
5606
|
+
}
|
|
5607
|
+
});
|
|
5608
|
+
}
|
|
5609
|
+
clear() {
|
|
5610
|
+
this.clearRect();
|
|
5611
|
+
const { ctx, BGCanvas } = this.state;
|
|
5612
|
+
if (BGCanvas) ctx.drawImage(BGCanvas, 0, 0);
|
|
5613
|
+
}
|
|
5614
|
+
resize() {
|
|
5615
|
+
super.resize();
|
|
5616
|
+
if (this.state.lineWidth) this.drawBackground();
|
|
5617
|
+
}
|
|
5618
|
+
render(data) {
|
|
5619
|
+
this.state.data = {
|
|
5620
|
+
...this.state.data,
|
|
5621
|
+
...data
|
|
5622
|
+
};
|
|
5623
|
+
this.draw();
|
|
5624
|
+
}
|
|
5625
|
+
draw() {
|
|
5626
|
+
const { data: { value }, range: [min, max], canvas, ctx, baseWidth, padding, BGCanvas, fillStylePrimary } = this.state;
|
|
5627
|
+
this.clearRect();
|
|
5628
|
+
if (BGCanvas) ctx.drawImage(BGCanvas, 0, 0);
|
|
5629
|
+
const width = 3 * baseWidth;
|
|
5630
|
+
const height = canvas.height - 2 * padding;
|
|
5631
|
+
const x = (canvas.width - width) / 2;
|
|
5632
|
+
const renderHeight = (value - min) / (max - min) * height;
|
|
5633
|
+
const y = height - renderHeight + padding;
|
|
5634
|
+
ctx.fillStyle = fillStylePrimary;
|
|
5635
|
+
ctx.fillRect(x, y, width, renderHeight);
|
|
5636
|
+
this.drawLimit();
|
|
5637
|
+
}
|
|
5638
|
+
drawLimit() {
|
|
5639
|
+
const { data: { limit }, range: [min, max], canvas, ctx, baseWidth, padding, lineWidth, fillStylePrimary } = this.state;
|
|
5640
|
+
if (!(0, utils.Ri)(limit)) return;
|
|
5641
|
+
const width = 3 * baseWidth;
|
|
5642
|
+
const height = canvas.height - 2 * padding;
|
|
5643
|
+
const x = (canvas.width - width) / 2;
|
|
5644
|
+
const y = height * (max - limit) / (max - min) + padding;
|
|
5645
|
+
const limitTagHeight = 9;
|
|
5646
|
+
const triangleWidth = 9;
|
|
5647
|
+
const rectangleWidth = 30;
|
|
5648
|
+
ctx.beginPath();
|
|
5649
|
+
ctx.moveTo(x + width, y);
|
|
5650
|
+
ctx.lineTo(x + width + triangleWidth, y - limitTagHeight);
|
|
5651
|
+
ctx.lineTo(x + width + triangleWidth + rectangleWidth, y - limitTagHeight);
|
|
5652
|
+
ctx.lineTo(x + width + triangleWidth + rectangleWidth, y + limitTagHeight);
|
|
5653
|
+
ctx.lineTo(x + width + triangleWidth, y + limitTagHeight);
|
|
5654
|
+
ctx.lineTo(x + width, y);
|
|
5655
|
+
ctx.lineTo(x, y);
|
|
5656
|
+
ctx.lineWidth = lineWidth;
|
|
5657
|
+
ctx.strokeStyle = fillStylePrimary;
|
|
5658
|
+
ctx.stroke();
|
|
5659
|
+
ctx.fillStyle = fillStylePrimary;
|
|
5660
|
+
ctx.font = '12px Arial';
|
|
5661
|
+
ctx.textAlign = 'center';
|
|
5662
|
+
ctx.textBaseline = 'middle';
|
|
5663
|
+
ctx.fillText(limit.toString(), x + width + triangleWidth + rectangleWidth / 2, y + 1);
|
|
5664
|
+
}
|
|
5665
|
+
drawBackground() {
|
|
5666
|
+
const { canvas, baseWidth, padding, lineWidth, step, range: [min, max], fillStyle, fillStyleTransparentBase } = this.state;
|
|
5667
|
+
const BGCanvas = document.createElement('canvas');
|
|
5668
|
+
BGCanvas.width = canvas.width;
|
|
5669
|
+
BGCanvas.height = canvas.height;
|
|
5670
|
+
const BGCtx = BGCanvas.getContext('2d');
|
|
5671
|
+
if (!BGCtx) return;
|
|
5672
|
+
const width = 3 * baseWidth;
|
|
5673
|
+
const height = canvas.height - 2 * padding;
|
|
5674
|
+
const x = (canvas.width - width) / 2;
|
|
5675
|
+
const y = padding;
|
|
5676
|
+
const tagNun = 11;
|
|
5677
|
+
const markedAngles = Array.from({
|
|
5678
|
+
length: tagNun
|
|
5679
|
+
}, (_, i)=>min + Math.round(i * (max - min) / (tagNun - 1) / step) * step);
|
|
5680
|
+
BGCtx.fillStyle = fillStyleTransparentBase;
|
|
5681
|
+
BGCtx.fillRect(x, y, width, height);
|
|
5682
|
+
for(let i = min; i <= max; i += step){
|
|
5683
|
+
const isMarked = markedAngles.includes(i);
|
|
5684
|
+
const tagY = height * (max - i) / (max - min) + padding;
|
|
5685
|
+
BGCtx.beginPath();
|
|
5686
|
+
BGCtx.moveTo(x - (isMarked ? baseWidth : baseWidth / 2), tagY);
|
|
5687
|
+
BGCtx.lineTo(x, tagY);
|
|
5688
|
+
BGCtx.strokeStyle = fillStyle;
|
|
5689
|
+
BGCtx.lineWidth = isMarked ? lineWidth : lineWidth / 2;
|
|
5690
|
+
BGCtx.stroke();
|
|
5691
|
+
if (isMarked) {
|
|
5692
|
+
BGCtx.fillStyle = fillStyle;
|
|
5693
|
+
BGCtx.font = '12px Arial';
|
|
5694
|
+
BGCtx.textAlign = 'right';
|
|
5695
|
+
BGCtx.textBaseline = 'middle';
|
|
5696
|
+
BGCtx.fillText(i.toString(), x - 1.2 * baseWidth, tagY);
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
this.state.BGCanvas = BGCanvas;
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
class ColorInterpolator_ColorInterpolator {
|
|
5703
|
+
colorsPresetList = [];
|
|
5704
|
+
range = [
|
|
5705
|
+
0,
|
|
5706
|
+
0,
|
|
5707
|
+
0
|
|
5708
|
+
];
|
|
5709
|
+
transparent = {
|
|
5710
|
+
r: 0,
|
|
5711
|
+
g: 0,
|
|
5712
|
+
b: 0,
|
|
5713
|
+
a: 0
|
|
5714
|
+
};
|
|
5715
|
+
constructor(colors, rangeMin, rangeMax, stepSize = 0.1){
|
|
5716
|
+
this.setColors(colors, rangeMin, rangeMax, stepSize);
|
|
5717
|
+
}
|
|
5718
|
+
setColors(colors, rangeMin, rangeMax, stepSize) {
|
|
5719
|
+
this.colorsPresetList = [];
|
|
5720
|
+
const steps = Math.max(1, Math.floor((rangeMax - rangeMin) / stepSize));
|
|
5721
|
+
const rangeDiff = rangeMax - rangeMin;
|
|
5722
|
+
this.range = [
|
|
5723
|
+
rangeMin,
|
|
5724
|
+
rangeMax,
|
|
5725
|
+
rangeDiff
|
|
5726
|
+
];
|
|
5727
|
+
for(let i = 0; i <= steps; i++){
|
|
5728
|
+
const value = rangeMin + i * stepSize;
|
|
5729
|
+
const position = (value - rangeMin) / rangeDiff;
|
|
5730
|
+
this.colorsPresetList.push(this.interpolateColor(colors, position));
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
interpolateColor(colors, position) {
|
|
5734
|
+
const index = Math.floor(position * (colors.length - 1));
|
|
5735
|
+
const ratio = position * (colors.length - 1) - index;
|
|
5736
|
+
const startColor = colors[index];
|
|
5737
|
+
const endColor = colors[index + 1] || colors[index];
|
|
5738
|
+
const rgba = {
|
|
5739
|
+
r: Math.round(startColor.r + ratio * (endColor.r - startColor.r)),
|
|
5740
|
+
g: Math.round(startColor.g + ratio * (endColor.g - startColor.g)),
|
|
5741
|
+
b: Math.round(startColor.b + ratio * (endColor.b - startColor.b)),
|
|
5742
|
+
a: Math.round(startColor.a + ratio * (endColor.a - startColor.a))
|
|
5743
|
+
};
|
|
5744
|
+
return {
|
|
5745
|
+
...rgba,
|
|
5746
|
+
hax: rgbToHex(rgba.r, rgba.g, rgba.b, rgba.a)
|
|
5747
|
+
};
|
|
5748
|
+
}
|
|
5749
|
+
getColor(value) {
|
|
5750
|
+
if (!Number.isFinite(value)) return this.transparent;
|
|
5751
|
+
const [rangeMin, , rangeDiff] = this.range;
|
|
5752
|
+
const position = (value - rangeMin) / rangeDiff;
|
|
5753
|
+
if (position <= 0) return this.colorsPresetList[0];
|
|
5754
|
+
if (position >= 1) return this.colorsPresetList.at(-1);
|
|
5755
|
+
const index = Math.min(Math.floor(position * this.colorsPresetList.length), this.colorsPresetList.length - 1);
|
|
5756
|
+
return this.colorsPresetList[index];
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5759
|
+
class Heatmap extends engine_Engine {
|
|
5760
|
+
init(props) {
|
|
5761
|
+
super.init(props);
|
|
5762
|
+
const { colors } = props;
|
|
5763
|
+
this.updateProps({
|
|
5764
|
+
colors,
|
|
5765
|
+
data: []
|
|
5766
|
+
});
|
|
5767
|
+
this.resize();
|
|
5768
|
+
handleColor(props.globalID, 'Heatmap-Engine', (colors)=>{
|
|
5769
|
+
this.updateProps({
|
|
5770
|
+
colors,
|
|
5771
|
+
range: this.state.range
|
|
5318
5772
|
});
|
|
5319
5773
|
});
|
|
5320
5774
|
}
|
|
@@ -5323,7 +5777,7 @@ class Heatmap extends engine_Engine {
|
|
|
5323
5777
|
const { range = this.state.range, colors = this.state.colors } = e;
|
|
5324
5778
|
if (range && colors) {
|
|
5325
5779
|
const [rangeMin, rangeMax] = range;
|
|
5326
|
-
if ((0, utils.Ri)(
|
|
5780
|
+
if ((0, utils.Ri)(rangeMin) && (0, utils.Ri)(rangeMax) && rangeMin < rangeMax) if (this.state.CI) this.state.CI.setColors(colors, rangeMin, rangeMax, 0.1);
|
|
5327
5781
|
else this.updateProps({
|
|
5328
5782
|
CI: new ColorInterpolator_ColorInterpolator(colors, rangeMin, rangeMax, 0.1)
|
|
5329
5783
|
});
|
|
@@ -6409,7 +6863,7 @@ const DialChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx
|
|
|
6409
6863
|
});
|
|
6410
6864
|
const lib_Dial_Dial = withChartPublisher(DialChart, 'Dial');
|
|
6411
6865
|
const lib_Dial = lib_Dial_Dial;
|
|
6412
|
-
var GuageBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
6866
|
+
var GuageBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GuageBox/styles.module.less");
|
|
6413
6867
|
var GuageBox_styles_module_options = {};
|
|
6414
6868
|
GuageBox_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6415
6869
|
GuageBox_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6615,7 +7069,7 @@ const GaugeChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_js
|
|
|
6615
7069
|
const lib_Gauge_Gauge = withChartPublisher(GaugeChart, 'Gauge');
|
|
6616
7070
|
const lib_Gauge = lib_Gauge_Gauge;
|
|
6617
7071
|
const useAxisYWidth_width = 40;
|
|
6618
|
-
function
|
|
7072
|
+
function useAxisYWidth_useAxisYWidth() {
|
|
6619
7073
|
const { state: { system: { padding }, axisY: { show } } } = useStore_useStore();
|
|
6620
7074
|
const w = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>show ? useAxisYWidth_width : 0, [
|
|
6621
7075
|
show
|
|
@@ -6627,7 +7081,7 @@ function useAxisYWidth() {
|
|
|
6627
7081
|
pluginBoxWidth: `calc(100% - ${w}px`
|
|
6628
7082
|
};
|
|
6629
7083
|
}
|
|
6630
|
-
var FullTicks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7084
|
+
var FullTicks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/components/FullTicks/styles.module.less");
|
|
6631
7085
|
var FullTicks_styles_module_options = {};
|
|
6632
7086
|
FullTicks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6633
7087
|
FullTicks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6638,7 +7092,7 @@ injectStylesIntoStyleTag_default()(FullTicks_styles_module.Z, FullTicks_styles_m
|
|
|
6638
7092
|
const components_FullTicks_styles_module = FullTicks_styles_module.Z && FullTicks_styles_module.Z.locals ? FullTicks_styles_module.Z.locals : void 0;
|
|
6639
7093
|
const COMPONENT_KEY = 'AxisYHeatmapTicks';
|
|
6640
7094
|
const HEATMAP_FULL_TICKS = 10;
|
|
6641
|
-
const
|
|
7095
|
+
const FullTicks_Ticks = (props)=>{
|
|
6642
7096
|
const { id } = props;
|
|
6643
7097
|
const { state: { globalID } } = useStore_useStore();
|
|
6644
7098
|
const [timeValues, setTimeValues] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(Array(HEATMAP_FULL_TICKS).fill(''));
|
|
@@ -6675,8 +7129,8 @@ const Ticks = (props)=>{
|
|
|
6675
7129
|
}, index))
|
|
6676
7130
|
});
|
|
6677
7131
|
};
|
|
6678
|
-
const FullTicks = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(
|
|
6679
|
-
var Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7132
|
+
const FullTicks = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(FullTicks_Ticks);
|
|
7133
|
+
var Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/components/Ticks/styles.module.less");
|
|
6680
7134
|
var Ticks_styles_module_options = {};
|
|
6681
7135
|
Ticks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6682
7136
|
Ticks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6723,7 +7177,7 @@ const Ticks_Ticks = (props)=>{
|
|
|
6723
7177
|
});
|
|
6724
7178
|
};
|
|
6725
7179
|
const components_Ticks = Ticks_Ticks;
|
|
6726
|
-
var Default_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7180
|
+
var Default_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/type/Default/styles.module.less");
|
|
6727
7181
|
var Default_styles_module_options = {};
|
|
6728
7182
|
Default_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6729
7183
|
Default_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6734,7 +7188,7 @@ injectStylesIntoStyleTag_default()(Default_styles_module.Z, Default_styles_modul
|
|
|
6734
7188
|
const type_Default_styles_module = Default_styles_module.Z && Default_styles_module.Z.locals ? Default_styles_module.Z.locals : void 0;
|
|
6735
7189
|
const Default = (props)=>{
|
|
6736
7190
|
const { state: { axisY: { heatmapFullTicks } } } = useStore_useStore();
|
|
6737
|
-
const { axisYWidth, marginLeft } =
|
|
7191
|
+
const { axisYWidth, marginLeft } = useAxisYWidth_useAxisYWidth();
|
|
6738
7192
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
6739
7193
|
className: type_Default_styles_module.axisyheatmapdefault,
|
|
6740
7194
|
style: {
|
|
@@ -6749,7 +7203,7 @@ const Default = (props)=>{
|
|
|
6749
7203
|
});
|
|
6750
7204
|
};
|
|
6751
7205
|
const type_Default = Default;
|
|
6752
|
-
var Default_GradientRibbon_styles_module = __webpack_require__("../../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7206
|
+
var Default_GradientRibbon_styles_module = __webpack_require__("../../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/heatmap/type/Default/GradientRibbon/styles.module.less");
|
|
6753
7207
|
var Default_GradientRibbon_styles_module_options = {};
|
|
6754
7208
|
Default_GradientRibbon_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6755
7209
|
Default_GradientRibbon_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6854,7 +7308,7 @@ function resetEventLevel(id, level) {
|
|
|
6854
7308
|
const currentLevel = getEventLevel(id);
|
|
6855
7309
|
if (level && currentLevel === level) getEventLevel(id, EVENT_PRIORITY_LEVEL_DEFAULT);
|
|
6856
7310
|
}
|
|
6857
|
-
var Popover_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7311
|
+
var Popover_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Popover/styles.module.less");
|
|
6858
7312
|
var Popover_styles_module_options = {};
|
|
6859
7313
|
Popover_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6860
7314
|
Popover_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6892,7 +7346,7 @@ const Popover = ({ children })=>{
|
|
|
6892
7346
|
});
|
|
6893
7347
|
};
|
|
6894
7348
|
const components_Popover = Popover;
|
|
6895
|
-
var ZoomOffsetContainer_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7349
|
+
var ZoomOffsetContainer_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Zoom/ZoomOffsetContainer/styles.module.less");
|
|
6896
7350
|
var ZoomOffsetContainer_styles_module_options = {};
|
|
6897
7351
|
ZoomOffsetContainer_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6898
7352
|
ZoomOffsetContainer_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6914,7 +7368,7 @@ const ZoomOffsetContainer = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.
|
|
|
6914
7368
|
});
|
|
6915
7369
|
});
|
|
6916
7370
|
const Zoom_ZoomOffsetContainer = ZoomOffsetContainer;
|
|
6917
|
-
var StationInfo_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7371
|
+
var StationInfo_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyDataBoard/StationInfo/styles.module.less");
|
|
6918
7372
|
var StationInfo_styles_module_options = {};
|
|
6919
7373
|
StationInfo_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6920
7374
|
StationInfo_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6923,7 +7377,7 @@ StationInfo_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
6923
7377
|
StationInfo_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
6924
7378
|
injectStylesIntoStyleTag_default()(StationInfo_styles_module.Z, StationInfo_styles_module_options);
|
|
6925
7379
|
const FrequencyDataBoard_StationInfo_styles_module = StationInfo_styles_module.Z && StationInfo_styles_module.Z.locals ? StationInfo_styles_module.Z.locals : void 0;
|
|
6926
|
-
const
|
|
7380
|
+
const StationInfo_StationInfo = ({ stationInfo })=>{
|
|
6927
7381
|
if (!stationInfo) return null;
|
|
6928
7382
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
6929
7383
|
className: FrequencyDataBoard_StationInfo_styles_module.stationInfo,
|
|
@@ -6975,8 +7429,8 @@ const StationInfo = ({ stationInfo })=>{
|
|
|
6975
7429
|
]
|
|
6976
7430
|
});
|
|
6977
7431
|
};
|
|
6978
|
-
const
|
|
6979
|
-
var FrequencyDataBoard_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7432
|
+
const StationInfo = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(StationInfo_StationInfo);
|
|
7433
|
+
var FrequencyDataBoard_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyDataBoard/styles.module.less");
|
|
6980
7434
|
var FrequencyDataBoard_styles_module_options = {};
|
|
6981
7435
|
FrequencyDataBoard_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6982
7436
|
FrequencyDataBoard_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7080,7 +7534,7 @@ const FrequencyDataBoard = ({ left, updateKey, onChange })=>{
|
|
|
7080
7534
|
stationInfo
|
|
7081
7535
|
]);
|
|
7082
7536
|
if (!frequency || left < 0) return null;
|
|
7083
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7537
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7084
7538
|
children: [
|
|
7085
7539
|
frequency && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
7086
7540
|
className: components_FrequencyDataBoard_styles_module.frequency,
|
|
@@ -7090,7 +7544,7 @@ const FrequencyDataBoard = ({ left, updateKey, onChange })=>{
|
|
|
7090
7544
|
]
|
|
7091
7545
|
}),
|
|
7092
7546
|
value,
|
|
7093
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
7547
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(StationInfo, {
|
|
7094
7548
|
stationInfo: sf
|
|
7095
7549
|
})
|
|
7096
7550
|
]
|
|
@@ -7157,7 +7611,7 @@ const HeatmapPopover = ({ id })=>{
|
|
|
7157
7611
|
const attr = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>seriesData.get(REAL_DATA_NAME), [
|
|
7158
7612
|
seriesData
|
|
7159
7613
|
]);
|
|
7160
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7614
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7161
7615
|
children: [
|
|
7162
7616
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyDisplay, {
|
|
7163
7617
|
frequency: frequency,
|
|
@@ -7216,7 +7670,7 @@ const OccupancyPopover = ()=>{
|
|
|
7216
7670
|
left,
|
|
7217
7671
|
frequencyFormat
|
|
7218
7672
|
]);
|
|
7219
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7673
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7220
7674
|
children: [
|
|
7221
7675
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyDisplay, {
|
|
7222
7676
|
frequency: frequency,
|
|
@@ -7244,7 +7698,7 @@ const OccupancyPopover = ()=>{
|
|
|
7244
7698
|
]
|
|
7245
7699
|
});
|
|
7246
7700
|
};
|
|
7247
|
-
var Cursor_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7701
|
+
var Cursor_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Cursor/styles.module.less");
|
|
7248
7702
|
var Cursor_styles_module_options = {};
|
|
7249
7703
|
Cursor_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7250
7704
|
Cursor_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7343,7 +7797,7 @@ const Cursor = ({ id, type })=>{
|
|
|
7343
7797
|
});
|
|
7344
7798
|
};
|
|
7345
7799
|
const components_Cursor = Cursor;
|
|
7346
|
-
var EventBus_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7800
|
+
var EventBus_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/EventBus/styles.module.less");
|
|
7347
7801
|
var EventBus_styles_module_options = {};
|
|
7348
7802
|
EventBus_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7349
7803
|
EventBus_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7515,7 +7969,7 @@ const EventBus_EventBus = ({ id })=>{
|
|
|
7515
7969
|
});
|
|
7516
7970
|
};
|
|
7517
7971
|
const EventBus = EventBus_EventBus;
|
|
7518
|
-
var FlexBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7972
|
+
var FlexBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FlexBox/styles.module.less");
|
|
7519
7973
|
var FlexBox_styles_module_options = {};
|
|
7520
7974
|
FlexBox_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7521
7975
|
FlexBox_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7533,7 +7987,7 @@ const FlexBox = (props)=>{
|
|
|
7533
7987
|
});
|
|
7534
7988
|
};
|
|
7535
7989
|
const components_FlexBox = FlexBox;
|
|
7536
|
-
var Boundary_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
7990
|
+
var Boundary_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/Boundary/styles.module.less");
|
|
7537
7991
|
var Boundary_styles_module_options = {};
|
|
7538
7992
|
Boundary_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7539
7993
|
Boundary_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7611,7 +8065,7 @@ function calculateAreaInfo({ endLeft, startLeft, startTop, endTop, frequencyForm
|
|
|
7611
8065
|
return result;
|
|
7612
8066
|
}
|
|
7613
8067
|
const heatmapCaptureUpdate = (globalID, func)=>subscription_createSubscriptionManager(`heatmapCaptureUpdate-${globalID}`, '0', func);
|
|
7614
|
-
var Area_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
8068
|
+
var Area_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/Area/styles.module.less");
|
|
7615
8069
|
var Area_styles_module_options = {};
|
|
7616
8070
|
Area_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7617
8071
|
Area_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7621,7 +8075,7 @@ Area_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
|
7621
8075
|
injectStylesIntoStyleTag_default()(Area_styles_module.Z, Area_styles_module_options);
|
|
7622
8076
|
const HeatmapCapture_Area_styles_module = Area_styles_module.Z && Area_styles_module.Z.locals ? Area_styles_module.Z.locals : void 0;
|
|
7623
8077
|
const Area_COMPONENT_KEY = constants_ToolType.HeatmapCapture;
|
|
7624
|
-
const
|
|
8078
|
+
const Area_Area = (props)=>{
|
|
7625
8079
|
const { state: { heatmapCapture, segments, axisX: { frequencyFormat, unit }, system, globalID } } = useStore_useStore();
|
|
7626
8080
|
const { id } = props;
|
|
7627
8081
|
const { type, show, sync, onChange } = heatmapCapture;
|
|
@@ -7694,7 +8148,7 @@ const Area = (props)=>{
|
|
|
7694
8148
|
children: [
|
|
7695
8149
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
7696
8150
|
className: HeatmapCapture_Area_styles_module.value,
|
|
7697
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
8151
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7698
8152
|
children: [
|
|
7699
8153
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
7700
8154
|
className: HeatmapCapture_Area_styles_module.item,
|
|
@@ -7788,8 +8242,8 @@ const Area = (props)=>{
|
|
|
7788
8242
|
]
|
|
7789
8243
|
});
|
|
7790
8244
|
};
|
|
7791
|
-
const
|
|
7792
|
-
var RowIndex_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
8245
|
+
const Area = Area_Area;
|
|
8246
|
+
var RowIndex_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/RowIndex/styles.module.less");
|
|
7793
8247
|
var RowIndex_styles_module_options = {};
|
|
7794
8248
|
RowIndex_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7795
8249
|
RowIndex_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7915,7 +8369,7 @@ const RowIndex = ({ id })=>{
|
|
|
7915
8369
|
});
|
|
7916
8370
|
};
|
|
7917
8371
|
const HeatmapCapture_RowIndex = RowIndex;
|
|
7918
|
-
var Slider_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
8372
|
+
var Slider_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/HeatmapCapture/Slider/styles.module.less");
|
|
7919
8373
|
var Slider_styles_module_options = {};
|
|
7920
8374
|
Slider_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7921
8375
|
Slider_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8172,12 +8626,12 @@ const HeatmapCapture_HeatmapCapture = (props)=>{
|
|
|
8172
8626
|
...props
|
|
8173
8627
|
}) : type === store_HeatmapCaptureType.RowIndex ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapCapture_RowIndex, {
|
|
8174
8628
|
...props
|
|
8175
|
-
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
8629
|
+
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Area, {
|
|
8176
8630
|
...props
|
|
8177
8631
|
});
|
|
8178
8632
|
};
|
|
8179
8633
|
const HeatmapCapture = HeatmapCapture_HeatmapCapture;
|
|
8180
|
-
var PluginBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
8634
|
+
var PluginBox_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/PluginBox/styles.module.less");
|
|
8181
8635
|
var PluginBox_styles_module_options = {};
|
|
8182
8636
|
PluginBox_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8183
8637
|
PluginBox_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8186,9 +8640,9 @@ PluginBox_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
8186
8640
|
PluginBox_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8187
8641
|
injectStylesIntoStyleTag_default()(PluginBox_styles_module.Z, PluginBox_styles_module_options);
|
|
8188
8642
|
const components_PluginBox_styles_module = PluginBox_styles_module.Z && PluginBox_styles_module.Z.locals ? PluginBox_styles_module.Z.locals : void 0;
|
|
8189
|
-
const
|
|
8643
|
+
const PluginBox = (props)=>{
|
|
8190
8644
|
const { children } = props;
|
|
8191
|
-
const { pluginBoxWidth } =
|
|
8645
|
+
const { pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
8192
8646
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
8193
8647
|
className: components_PluginBox_styles_module.PluginBox,
|
|
8194
8648
|
style: {
|
|
@@ -8197,7 +8651,7 @@ const PluginBox_PluginBox = (props)=>{
|
|
|
8197
8651
|
children: children
|
|
8198
8652
|
});
|
|
8199
8653
|
};
|
|
8200
|
-
const
|
|
8654
|
+
const components_PluginBox = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(PluginBox);
|
|
8201
8655
|
const info2step = (info)=>{
|
|
8202
8656
|
const { min, max } = info;
|
|
8203
8657
|
const diff = max - min;
|
|
@@ -8224,7 +8678,7 @@ class Range {
|
|
|
8224
8678
|
state = {
|
|
8225
8679
|
axisY: {
|
|
8226
8680
|
step: stepDefault,
|
|
8227
|
-
realRange:
|
|
8681
|
+
realRange: constants_RANGE_DEFAULT,
|
|
8228
8682
|
restrict: restrictList["dBμV"]
|
|
8229
8683
|
},
|
|
8230
8684
|
onChange: ()=>{}
|
|
@@ -8326,36 +8780,33 @@ class Range {
|
|
|
8326
8780
|
});
|
|
8327
8781
|
this.onChange();
|
|
8328
8782
|
}
|
|
8329
|
-
moveWheel(
|
|
8330
|
-
const {
|
|
8331
|
-
const
|
|
8332
|
-
const
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
const newRangeSize = maxY - minY + (isAdd ? step : -step);
|
|
8353
|
-
const newMinAdjusted = mouseY - percentage * newRangeSize;
|
|
8354
|
-
const newMaxAdjusted = mouseY + (1 - percentage) * newRangeSize;
|
|
8783
|
+
moveWheel(e) {
|
|
8784
|
+
const { axisY: { realRange: [min, max], step, restrict } } = this.state;
|
|
8785
|
+
const target = e.currentTarget;
|
|
8786
|
+
const rect = target.getBoundingClientRect();
|
|
8787
|
+
const mouseY = e.clientY - rect.top;
|
|
8788
|
+
const containerHeight = rect.height;
|
|
8789
|
+
const mouseRatio = mouseY / containerHeight;
|
|
8790
|
+
const rangeSpan = max - min;
|
|
8791
|
+
const mouseValue = max - mouseRatio * rangeSpan;
|
|
8792
|
+
const zoomFactor = e.deltaY > 0 ? 1.1 : 0.9;
|
|
8793
|
+
const newRange = {
|
|
8794
|
+
min: mouseValue - (mouseValue - min) * zoomFactor,
|
|
8795
|
+
max: mouseValue + (max - mouseValue) * zoomFactor
|
|
8796
|
+
};
|
|
8797
|
+
const [restrictMin, restrictMax] = restrict;
|
|
8798
|
+
let finalMin = Math.max(restrictMin, newRange.min);
|
|
8799
|
+
let finalMax = Math.min(restrictMax, newRange.max);
|
|
8800
|
+
const minRange = step / 100;
|
|
8801
|
+
if (finalMax - finalMin < minRange) {
|
|
8802
|
+
const center = (finalMin + finalMax) / 2;
|
|
8803
|
+
finalMin = Math.max(restrictMin, center - minRange / 2);
|
|
8804
|
+
finalMax = Math.min(restrictMax, center + minRange / 2);
|
|
8805
|
+
}
|
|
8355
8806
|
this.setAxisY({
|
|
8356
8807
|
realRange: [
|
|
8357
|
-
|
|
8358
|
-
|
|
8808
|
+
finalMin,
|
|
8809
|
+
finalMax
|
|
8359
8810
|
]
|
|
8360
8811
|
});
|
|
8361
8812
|
this.onChange();
|
|
@@ -8408,6 +8859,7 @@ class Range {
|
|
|
8408
8859
|
}
|
|
8409
8860
|
const useRangeAutoFocus = (id, func)=>subscription_createSubscriptionManager(`useRangeAutoFocus-${id}`, '0', func);
|
|
8410
8861
|
const useRangeMove = (globalID, func)=>subscription_createSubscriptionManager(`useRangeMove-${globalID}`, '0', func);
|
|
8862
|
+
const useRangeSet = (globalID, func)=>subscription_createSubscriptionManager(`useRangeSet-${globalID}`, '0', func);
|
|
8411
8863
|
const useZoomEvent_COMPONENT_KEY = constants_ToolType.Zoom;
|
|
8412
8864
|
function useZoomEvent(id, name) {
|
|
8413
8865
|
const { state: { zoom, segments, globalID }, dispatch } = useStore_useStore();
|
|
@@ -8534,7 +8986,7 @@ class render_Heatmap {
|
|
|
8534
8986
|
constructor(props){
|
|
8535
8987
|
this.state = {
|
|
8536
8988
|
chart: null,
|
|
8537
|
-
realRange:
|
|
8989
|
+
realRange: constants_RANGE_DEFAULT,
|
|
8538
8990
|
heatmapDefaultData: [],
|
|
8539
8991
|
...props
|
|
8540
8992
|
};
|
|
@@ -8629,7 +9081,7 @@ const Heatmap_Heatmap = (props)=>{
|
|
|
8629
9081
|
id: id,
|
|
8630
9082
|
chart: chart
|
|
8631
9083
|
}),
|
|
8632
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
9084
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
8633
9085
|
children: [
|
|
8634
9086
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Boundary, {}),
|
|
8635
9087
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
@@ -8837,7 +9289,7 @@ const GridLinesSVG = ({ row = 10, col = 10, strokeColor = 'var(--theme-border-ba
|
|
|
8837
9289
|
});
|
|
8838
9290
|
};
|
|
8839
9291
|
const GridLines_GridLinesSVG = GridLinesSVG;
|
|
8840
|
-
var GridLines_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
9292
|
+
var GridLines_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/styles.module.less");
|
|
8841
9293
|
var GridLines_styles_module_options = {};
|
|
8842
9294
|
GridLines_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8843
9295
|
GridLines_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8896,7 +9348,7 @@ const GridLines = ()=>{
|
|
|
8896
9348
|
});
|
|
8897
9349
|
};
|
|
8898
9350
|
const components_GridLines = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(GridLines);
|
|
8899
|
-
var RulerTicks_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
9351
|
+
var RulerTicks_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/RulerTicks/styles.module.less");
|
|
8900
9352
|
var RulerTicks_styles_module_options = {};
|
|
8901
9353
|
RulerTicks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8902
9354
|
RulerTicks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8905,7 +9357,7 @@ RulerTicks_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
8905
9357
|
RulerTicks_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8906
9358
|
injectStylesIntoStyleTag_default()(RulerTicks_styles_module.Z, RulerTicks_styles_module_options);
|
|
8907
9359
|
const components_RulerTicks_styles_module = RulerTicks_styles_module.Z && RulerTicks_styles_module.Z.locals ? RulerTicks_styles_module.Z.locals : void 0;
|
|
8908
|
-
const
|
|
9360
|
+
const RulerTicks_RulerTicks = ({ length = 10, tickColor = 'var(--theme-color-base)', tickHeight = 8, strokeWidth = 1, orientation = 'horizontal', split = 2 })=>{
|
|
8909
9361
|
const renderTick = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((index)=>{
|
|
8910
9362
|
const tickSpacing = 100 / length;
|
|
8911
9363
|
const position = index * tickSpacing;
|
|
@@ -8965,8 +9417,8 @@ const RulerTicks = ({ length = 10, tickColor = 'var(--theme-color-base)', tickHe
|
|
|
8965
9417
|
]
|
|
8966
9418
|
});
|
|
8967
9419
|
};
|
|
8968
|
-
const components_RulerTicks =
|
|
8969
|
-
var spectrum_components_Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
9420
|
+
const components_RulerTicks = RulerTicks_RulerTicks;
|
|
9421
|
+
var spectrum_components_Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/spectrum/components/Ticks/styles.module.less");
|
|
8970
9422
|
var components_Ticks_styles_module_options = {};
|
|
8971
9423
|
components_Ticks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8972
9424
|
components_Ticks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8974,155 +9426,8 @@ components_Ticks_styles_module_options.insert = insertBySelector_default().bind(
|
|
|
8974
9426
|
components_Ticks_styles_module_options.domAPI = styleDomAPI_default();
|
|
8975
9427
|
components_Ticks_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8976
9428
|
injectStylesIntoStyleTag_default()(spectrum_components_Ticks_styles_module.Z, components_Ticks_styles_module_options);
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
const { state: { axisY, system: { height }, globalID } } = useStore_useStore();
|
|
8980
|
-
const { range, autoranging, step, restrict, onChange } = axisY;
|
|
8981
|
-
const containerRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
8982
|
-
const [restrictMin, restrictMax] = restrict;
|
|
8983
|
-
const restrictRange = restrictMax - restrictMin;
|
|
8984
|
-
const [min, max] = range;
|
|
8985
|
-
const len = restrictRange / step + 1;
|
|
8986
|
-
const viewRange = max - min;
|
|
8987
|
-
const ticks = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>Array.from({
|
|
8988
|
-
length: len
|
|
8989
|
-
}, (_, index)=>{
|
|
8990
|
-
const value = (restrictMax - index * step).toFixed(0);
|
|
8991
|
-
if (!(0, utils.Ri)(value)) return null;
|
|
8992
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
8993
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
8994
|
-
children: value
|
|
8995
|
-
})
|
|
8996
|
-
}, value);
|
|
8997
|
-
}), [
|
|
8998
|
-
restrictMax,
|
|
8999
|
-
step,
|
|
9000
|
-
len
|
|
9001
|
-
]);
|
|
9002
|
-
const ticksStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
9003
|
-
const containerHeight = containerRef.current?.offsetHeight ?? 0;
|
|
9004
|
-
const actualHeight = (restrictRange + step) / viewRange * containerHeight;
|
|
9005
|
-
const tickOffset = step / (restrictRange + step) * actualHeight / 2;
|
|
9006
|
-
const rangeOffset = (restrictMax - max) / viewRange * containerHeight;
|
|
9007
|
-
return {
|
|
9008
|
-
height: `${actualHeight}px`,
|
|
9009
|
-
transform: `translateY(-${tickOffset + rangeOffset}px)`
|
|
9010
|
-
};
|
|
9011
|
-
}, [
|
|
9012
|
-
restrict,
|
|
9013
|
-
range,
|
|
9014
|
-
step,
|
|
9015
|
-
height
|
|
9016
|
-
]);
|
|
9017
|
-
const [isDragging, setIsDragging] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
9018
|
-
const [dragStartY, setDragStartY] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(0);
|
|
9019
|
-
const handleMouseDown = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
9020
|
-
setIsDragging(true);
|
|
9021
|
-
setDragStartY(e.clientY);
|
|
9022
|
-
}, []);
|
|
9023
|
-
const handleMouseUp = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
9024
|
-
setIsDragging(false);
|
|
9025
|
-
}, []);
|
|
9026
|
-
const handleMouseMove = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
9027
|
-
if (!isDragging || !containerRef.current) return;
|
|
9028
|
-
const offset = (e.clientY - dragStartY) / containerRef.current.offsetHeight;
|
|
9029
|
-
if (Math.abs(offset) > 0.01) {
|
|
9030
|
-
ranging.move?.(offset);
|
|
9031
|
-
setDragStartY(e.clientY);
|
|
9032
|
-
}
|
|
9033
|
-
}, [
|
|
9034
|
-
isDragging,
|
|
9035
|
-
dragStartY,
|
|
9036
|
-
ranging
|
|
9037
|
-
]);
|
|
9038
|
-
const handleWheelWithBorder = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e, isTop)=>{
|
|
9039
|
-
if (isDragging) return;
|
|
9040
|
-
e.stopPropagation();
|
|
9041
|
-
ranging.moveBoundary?.(e.deltaY > 0, isTop);
|
|
9042
|
-
}, [
|
|
9043
|
-
isDragging,
|
|
9044
|
-
step,
|
|
9045
|
-
axisY,
|
|
9046
|
-
onChange
|
|
9047
|
-
]);
|
|
9048
|
-
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9049
|
-
if (!globalID) return;
|
|
9050
|
-
const handleKeyEvent = (e)=>{
|
|
9051
|
-
if ('ArrowUp' === e.code) ranging.move?.(true);
|
|
9052
|
-
if ('ArrowDown' === e.code) ranging.move?.(false);
|
|
9053
|
-
};
|
|
9054
|
-
subscriptionKeyBus(globalID, 'ticks', handleKeyEvent);
|
|
9055
|
-
}, [
|
|
9056
|
-
ranging,
|
|
9057
|
-
globalID
|
|
9058
|
-
]);
|
|
9059
|
-
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9060
|
-
if (globalID) useRangeMove(globalID, (offset)=>{
|
|
9061
|
-
ranging.move?.(offset);
|
|
9062
|
-
});
|
|
9063
|
-
}, [
|
|
9064
|
-
ranging,
|
|
9065
|
-
globalID
|
|
9066
|
-
]);
|
|
9067
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9068
|
-
ref: containerRef,
|
|
9069
|
-
className: AxisY_spectrum_components_Ticks_styles_module.ticks,
|
|
9070
|
-
style: {
|
|
9071
|
-
cursor: isDragging ? 'ns-resize' : 'auto',
|
|
9072
|
-
pointerEvents: autoranging ? 'none' : 'auto'
|
|
9073
|
-
},
|
|
9074
|
-
onMouseDown: handleMouseDown,
|
|
9075
|
-
onMouseUp: handleMouseUp,
|
|
9076
|
-
onMouseLeave: handleMouseUp,
|
|
9077
|
-
onMouseMove: handleMouseMove,
|
|
9078
|
-
onDoubleClick: ()=>{
|
|
9079
|
-
ranging.setAxisY?.({
|
|
9080
|
-
realRange: RANGE_DEFAULT
|
|
9081
|
-
});
|
|
9082
|
-
ranging.onChange?.();
|
|
9083
|
-
},
|
|
9084
|
-
children: [
|
|
9085
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Tooltip, {
|
|
9086
|
-
content: "\u6ED1\u52A8\u9F20\u6807\u6EDA\u8F6E\u4EE5\u6539\u53D8\u8FB9\u754C\u8303\u56F4",
|
|
9087
|
-
duration: 1500,
|
|
9088
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9089
|
-
className: AxisY_spectrum_components_Ticks_styles_module.wheelContainerTop,
|
|
9090
|
-
style: {
|
|
9091
|
-
pointerEvents: isDragging ? 'none' : 'auto'
|
|
9092
|
-
},
|
|
9093
|
-
onWheel: (e)=>handleWheelWithBorder(e, true)
|
|
9094
|
-
})
|
|
9095
|
-
}),
|
|
9096
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Tooltip, {
|
|
9097
|
-
content: "\u6ED1\u52A8\u9F20\u6807\u6EDA\u8F6E\u4EE5\u6539\u53D8\u8FB9\u754C\u8303\u56F4",
|
|
9098
|
-
duration: 1500,
|
|
9099
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9100
|
-
className: AxisY_spectrum_components_Ticks_styles_module.wheelContainerBottom,
|
|
9101
|
-
style: {
|
|
9102
|
-
pointerEvents: isDragging ? 'none' : 'auto'
|
|
9103
|
-
},
|
|
9104
|
-
onWheel: (e)=>handleWheelWithBorder(e, false)
|
|
9105
|
-
})
|
|
9106
|
-
}),
|
|
9107
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9108
|
-
className: AxisY_spectrum_components_Ticks_styles_module.ticksContainer,
|
|
9109
|
-
style: ticksStyle,
|
|
9110
|
-
title: `${autoranging ? "\u8303\u56F4\u63A7\u5236\u5DF2\u5168\u81EA\u52A8" : "\u6309\u4F4F\u9F20\u6807\u5DE6\u952E\u4E0A\u4E0B\u62D6\u52A8\n\u5728\u8FB9\u754C\u6EDA\u52A8\u9F20\u6807\u6EDA\u8F6E\u4EE5\u6539\u53D8\u89C6\u89C9\u8303\u56F4"}
|
|
9111
|
-
\u{53CC}\u{51FB}\u{56DE}\u{5230}\u{9ED8}\u{8BA4}\u{8303}\u{56F4}${RANGE_DEFAULT}`,
|
|
9112
|
-
children: [
|
|
9113
|
-
ticks,
|
|
9114
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_RulerTicks, {
|
|
9115
|
-
orientation: "vertical",
|
|
9116
|
-
length: 2 * len,
|
|
9117
|
-
split: 2
|
|
9118
|
-
})
|
|
9119
|
-
]
|
|
9120
|
-
})
|
|
9121
|
-
]
|
|
9122
|
-
});
|
|
9123
|
-
};
|
|
9124
|
-
const spectrum_components_Ticks = components_Ticks_Ticks;
|
|
9125
|
-
var spectrum_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.4/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/spectrum/styles.module.less");
|
|
9429
|
+
spectrum_components_Ticks_styles_module.Z && spectrum_components_Ticks_styles_module.Z.locals && spectrum_components_Ticks_styles_module.Z.locals;
|
|
9430
|
+
var spectrum_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/spectrum/styles.module.less");
|
|
9126
9431
|
var spectrum_styles_module_options = {};
|
|
9127
9432
|
spectrum_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
9128
9433
|
spectrum_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -9130,10 +9435,10 @@ spectrum_styles_module_options.insert = insertBySelector_default().bind(null, "h
|
|
|
9130
9435
|
spectrum_styles_module_options.domAPI = styleDomAPI_default();
|
|
9131
9436
|
spectrum_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
9132
9437
|
injectStylesIntoStyleTag_default()(spectrum_styles_module.Z, spectrum_styles_module_options);
|
|
9133
|
-
|
|
9438
|
+
spectrum_styles_module.Z && spectrum_styles_module.Z.locals && spectrum_styles_module.Z.locals;
|
|
9134
9439
|
const useRange = ({ chart })=>{
|
|
9135
9440
|
const { state: { axisY, series, globalID }, dispatch } = useStore_useStore();
|
|
9136
|
-
const { realRange, renderRange, step, unit, onChange, autoranging } = axisY;
|
|
9441
|
+
const { realRange, renderRange, step, unit, onChange, autoranging, disabled } = axisY;
|
|
9137
9442
|
const ranging = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>new Range({
|
|
9138
9443
|
axisY
|
|
9139
9444
|
}), [
|
|
@@ -9234,42 +9539,34 @@ const useRange = ({ chart })=>{
|
|
|
9234
9539
|
}, [
|
|
9235
9540
|
autoranging
|
|
9236
9541
|
]);
|
|
9542
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9543
|
+
if (globalID) useRangeMove(globalID, (offset)=>{
|
|
9544
|
+
if (!disabled) ranging.move?.(offset);
|
|
9545
|
+
});
|
|
9546
|
+
}, [
|
|
9547
|
+
ranging,
|
|
9548
|
+
globalID,
|
|
9549
|
+
disabled
|
|
9550
|
+
]);
|
|
9551
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9552
|
+
if (!globalID) return;
|
|
9553
|
+
const handleKeyEvent = (e)=>{
|
|
9554
|
+
if ('ArrowUp' === e.code) ranging.move?.(0.1);
|
|
9555
|
+
if ('ArrowDown' === e.code) ranging.move?.(-0.1);
|
|
9556
|
+
};
|
|
9557
|
+
subscriptionKeyBus(globalID, 'ticks', handleKeyEvent);
|
|
9558
|
+
}, [
|
|
9559
|
+
ranging,
|
|
9560
|
+
globalID
|
|
9561
|
+
]);
|
|
9237
9562
|
return ranging;
|
|
9238
9563
|
};
|
|
9239
|
-
const
|
|
9240
|
-
const AxisYSpectrum = (props)=>{
|
|
9241
|
-
const { chart } = props;
|
|
9242
|
-
const { state: { axisY, toolsBar: { show: showToolsBar }, axisX: { show: showAxisX } } } = useStore_useStore();
|
|
9243
|
-
const { show } = axisY;
|
|
9244
|
-
const ranging = useRanging({
|
|
9245
|
-
chart
|
|
9246
|
-
});
|
|
9247
|
-
const { axisYWidth, marginLeft } = useAxisYWidth();
|
|
9248
|
-
if (false === show) return null;
|
|
9249
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9250
|
-
className: AxisY_spectrum_styles_module.axisyspectrum,
|
|
9251
|
-
style: {
|
|
9252
|
-
width: axisYWidth,
|
|
9253
|
-
marginLeft
|
|
9254
|
-
},
|
|
9255
|
-
children: [
|
|
9256
|
-
showToolsBar && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9257
|
-
className: AxisY_spectrum_styles_module.before
|
|
9258
|
-
}),
|
|
9259
|
-
showAxisX && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9260
|
-
className: AxisY_spectrum_styles_module.after
|
|
9261
|
-
}),
|
|
9262
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(spectrum_components_Ticks, {
|
|
9263
|
-
ranging: ranging
|
|
9264
|
-
})
|
|
9265
|
-
]
|
|
9266
|
-
});
|
|
9267
|
-
};
|
|
9268
|
-
const spectrum = AxisYSpectrum;
|
|
9564
|
+
const spectrum_useRanging = useRange;
|
|
9269
9565
|
const passThroughSeries = (globalID, series)=>subscription_openData(`passThroughSeries-${globalID}`, series, {});
|
|
9270
9566
|
class Spectrum {
|
|
9271
9567
|
state;
|
|
9272
9568
|
useRangeAutoFocus;
|
|
9569
|
+
useRangeSet;
|
|
9273
9570
|
firstRenderAutoFocus;
|
|
9274
9571
|
constructor(props){
|
|
9275
9572
|
this.state = {
|
|
@@ -9277,7 +9574,7 @@ class Spectrum {
|
|
|
9277
9574
|
autoranging: false,
|
|
9278
9575
|
prevAutoRangeTime: 0,
|
|
9279
9576
|
id: 'id',
|
|
9280
|
-
renderRange:
|
|
9577
|
+
renderRange: constants_RANGE_DEFAULT,
|
|
9281
9578
|
interval: 1,
|
|
9282
9579
|
series: {},
|
|
9283
9580
|
globalID: '',
|
|
@@ -9297,6 +9594,9 @@ class Spectrum {
|
|
|
9297
9594
|
this.useRangeAutoFocus = ()=>{
|
|
9298
9595
|
useRangeAutoFocus(this.state.globalID)();
|
|
9299
9596
|
};
|
|
9597
|
+
useRangeSet(this.state.globalID, (range)=>{
|
|
9598
|
+
this.state.chart?.setRange(range);
|
|
9599
|
+
});
|
|
9300
9600
|
}
|
|
9301
9601
|
initSeries() {
|
|
9302
9602
|
Object.values(SERIES).forEach((config)=>{
|
|
@@ -10080,7 +10380,7 @@ const TimeRange_Switch_Switch = ()=>{
|
|
|
10080
10380
|
});
|
|
10081
10381
|
};
|
|
10082
10382
|
const TimeRange_Switch = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(TimeRange_Switch_Switch);
|
|
10083
|
-
var Switch_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
10383
|
+
var Switch_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Zoom/Switch/styles.module.less");
|
|
10084
10384
|
var Switch_styles_module_options = {};
|
|
10085
10385
|
Switch_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10086
10386
|
Switch_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10172,6 +10472,45 @@ const ZoomSwitch = ()=>{
|
|
|
10172
10472
|
});
|
|
10173
10473
|
};
|
|
10174
10474
|
const Zoom_Switch = ZoomSwitch;
|
|
10475
|
+
const FluorescenceSwitch = ()=>{
|
|
10476
|
+
const { state: { fluorescence }, dispatch } = useStore_useStore();
|
|
10477
|
+
const { show, display } = fluorescence;
|
|
10478
|
+
const setActive = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
10479
|
+
dispatch({
|
|
10480
|
+
payload: {
|
|
10481
|
+
fluorescence: {
|
|
10482
|
+
...fluorescence,
|
|
10483
|
+
display: !!e
|
|
10484
|
+
}
|
|
10485
|
+
}
|
|
10486
|
+
});
|
|
10487
|
+
}, [
|
|
10488
|
+
fluorescence,
|
|
10489
|
+
dispatch
|
|
10490
|
+
]);
|
|
10491
|
+
if (!show) return null;
|
|
10492
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_IconBox, {
|
|
10493
|
+
onClick: ()=>{
|
|
10494
|
+
setActive(!display);
|
|
10495
|
+
},
|
|
10496
|
+
title: `\u{94F6}\u{5149}\u{8C31}-\u{5DF2}${display ? "\u663E\u793A" : "\u9690\u85CF"}`,
|
|
10497
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("svg", {
|
|
10498
|
+
viewBox: "0 0 1024 1024",
|
|
10499
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10500
|
+
children: [
|
|
10501
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10502
|
+
fill: display ? 'var(--theme-color-primary)' : 'var(--theme-color-base)',
|
|
10503
|
+
d: "M905.7 588.2C760 439.5 774.8 382.9 796.2 323.6c21.5-59.3-30.6-320.6-223.6-219C379.5 206.2 437 342.1 299.3 336c-137.7-6-306.9 67.8-206 340.2 39.5 106.4 114.5 209.7 230.6 224.6s306.8-23 422.9 34.7c116.2 57.6 304.5-198.6 158.9-347.3zM715.5 867c-98-45.6-258.3-18.8-356.8-29.7S184.3 757.8 152 671.8C69.2 452 229.3 389.9 346.2 393.5 463 397 413.5 260.9 578.3 176.7c164.9-84.2 175.4 133.9 156.6 182.2C713.1 414.7 715 467.7 842.5 592c122.3 119.1-28.9 320.7-127 275z"
|
|
10504
|
+
}),
|
|
10505
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10506
|
+
fill: display ? 'var(--theme-color-primary)' : 'var(--theme-color-base)',
|
|
10507
|
+
d: "M433.4 501c-88.1 41.2-99.5-56.2-207.6 36.8-53 45.6-7.5 153.6 60.8 175.7 68.4 22.2 135.9-2.3 189-48.4 53-46.3 46-205.5-42.2-164.1zM665.8 464.6c-4.3-103.8 47.5-259.5-55.4-233-63.3 16.3-122.9 122.4-97.3 169.7 25.6 47.1 80.7 130.9 62.6 191.6-18 60.6-4.6 134.2 55.7 156 60.4 21.8 189.4 14.5 191.1-49.1 1.6-63.6-152.3-131.3-156.7-235.2z"
|
|
10508
|
+
})
|
|
10509
|
+
]
|
|
10510
|
+
})
|
|
10511
|
+
});
|
|
10512
|
+
};
|
|
10513
|
+
const Fluorescence_Switch = FluorescenceSwitch;
|
|
10175
10514
|
const Reset_modes = Object.values(constants_ModuleType);
|
|
10176
10515
|
const Reset_Reset = ()=>{
|
|
10177
10516
|
const { state: { globalID, publish } } = useStore_useStore();
|
|
@@ -10201,7 +10540,7 @@ const Reset_Reset = ()=>{
|
|
|
10201
10540
|
});
|
|
10202
10541
|
};
|
|
10203
10542
|
const Reset = Reset_Reset;
|
|
10204
|
-
var Dropdown_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
10543
|
+
var Dropdown_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Dropdown/styles.module.less");
|
|
10205
10544
|
var Dropdown_styles_module_options = {};
|
|
10206
10545
|
Dropdown_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10207
10546
|
Dropdown_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10210,13 +10549,14 @@ Dropdown_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
10210
10549
|
Dropdown_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
10211
10550
|
injectStylesIntoStyleTag_default()(Dropdown_styles_module.Z, Dropdown_styles_module_options);
|
|
10212
10551
|
const components_Dropdown_styles_module = Dropdown_styles_module.Z && Dropdown_styles_module.Z.locals ? Dropdown_styles_module.Z.locals : void 0;
|
|
10213
|
-
const
|
|
10552
|
+
const Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u9009\u62E9", closeOnSelect = true })=>{
|
|
10214
10553
|
const [isOpen, setIsOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
10215
10554
|
const handleSelect = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((value)=>{
|
|
10216
10555
|
onChange(value);
|
|
10217
|
-
setIsOpen(false);
|
|
10556
|
+
if (closeOnSelect) setIsOpen(false);
|
|
10218
10557
|
}, [
|
|
10219
|
-
onChange
|
|
10558
|
+
onChange,
|
|
10559
|
+
closeOnSelect
|
|
10220
10560
|
]);
|
|
10221
10561
|
const selectedOption = options.find((option)=>option.value === value);
|
|
10222
10562
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
@@ -10226,9 +10566,15 @@ const Dropdown_Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u90
|
|
|
10226
10566
|
className: components_Dropdown_styles_module.dropdown,
|
|
10227
10567
|
onClick: ()=>setIsOpen(!isOpen),
|
|
10228
10568
|
children: [
|
|
10229
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
10569
|
+
selectedOption?.label ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
10230
10570
|
className: components_Dropdown_styles_module.selectedText,
|
|
10231
|
-
children: selectedOption
|
|
10571
|
+
children: selectedOption.label
|
|
10572
|
+
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10573
|
+
className: components_Dropdown_styles_module.placeholder,
|
|
10574
|
+
children: 'string' == typeof placeholder ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
10575
|
+
className: components_Dropdown_styles_module.selectedText,
|
|
10576
|
+
children: placeholder
|
|
10577
|
+
}) : placeholder
|
|
10232
10578
|
}),
|
|
10233
10579
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
10234
10580
|
className: `${components_Dropdown_styles_module.arrow} ${isOpen ? components_Dropdown_styles_module.open : ''}`,
|
|
@@ -10240,14 +10586,15 @@ const Dropdown_Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u90
|
|
|
10240
10586
|
className: components_Dropdown_styles_module.dropdownMenu,
|
|
10241
10587
|
children: options.map((option, index)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10242
10588
|
className: `${components_Dropdown_styles_module.dropdownItem} ${value === option.value ? components_Dropdown_styles_module.active : ''}`,
|
|
10589
|
+
style: option.style,
|
|
10243
10590
|
onClick: ()=>handleSelect(option.value),
|
|
10244
|
-
children: option.label
|
|
10245
|
-
}, index))
|
|
10591
|
+
children: option.render ? option.render() : option.label
|
|
10592
|
+
}, null !== option.value ? option.value : `null-option-${index}`))
|
|
10246
10593
|
})
|
|
10247
10594
|
]
|
|
10248
10595
|
});
|
|
10249
10596
|
};
|
|
10250
|
-
const
|
|
10597
|
+
const components_Dropdown = Dropdown;
|
|
10251
10598
|
function useChannel() {
|
|
10252
10599
|
const { state: { marker, globalID }, dispatch } = useStore_useStore();
|
|
10253
10600
|
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
@@ -10436,7 +10783,7 @@ const SegmentsDisplayControl_SegmentsDisplayControl = ()=>{
|
|
|
10436
10783
|
label: `\u{9891}\u{6BB5} ${segment.start} - ${segment.stop}`
|
|
10437
10784
|
}))
|
|
10438
10785
|
];
|
|
10439
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
10786
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Dropdown, {
|
|
10440
10787
|
value: selectedIndex,
|
|
10441
10788
|
options: options,
|
|
10442
10789
|
onChange: handleSelect
|
|
@@ -10591,7 +10938,7 @@ const SeriesControl = ({ type })=>{
|
|
|
10591
10938
|
});
|
|
10592
10939
|
};
|
|
10593
10940
|
const ToolsBar_SeriesControl = SeriesControl;
|
|
10594
|
-
var SeriesDisplayControl_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
10941
|
+
var SeriesDisplayControl_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/ToolsBar/SeriesDisplayControl/styles.module.less");
|
|
10595
10942
|
var SeriesDisplayControl_styles_module_options = {};
|
|
10596
10943
|
SeriesDisplayControl_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10597
10944
|
SeriesDisplayControl_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10607,7 +10954,27 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10607
10954
|
data,
|
|
10608
10955
|
legendExternal
|
|
10609
10956
|
]);
|
|
10610
|
-
const
|
|
10957
|
+
const [updateCounter, setUpdateCounter] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(0);
|
|
10958
|
+
const seriesDataSnapshot = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
10959
|
+
const snapshot = {};
|
|
10960
|
+
seriesArray.forEach((name)=>{
|
|
10961
|
+
const item = data.get(name);
|
|
10962
|
+
if (item) snapshot[name] = {
|
|
10963
|
+
display: item.display,
|
|
10964
|
+
label: item.label || name,
|
|
10965
|
+
color: item.color || 'var(--theme-color-primary)'
|
|
10966
|
+
};
|
|
10967
|
+
});
|
|
10968
|
+
return snapshot;
|
|
10969
|
+
}, [
|
|
10970
|
+
seriesArray,
|
|
10971
|
+
data,
|
|
10972
|
+
updateCounter
|
|
10973
|
+
]);
|
|
10974
|
+
const handleDropdownClick = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
10975
|
+
setUpdateCounter((prev)=>prev + 1);
|
|
10976
|
+
}, []);
|
|
10977
|
+
const handleSeriesToggle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((name, isDisplayTrue)=>{
|
|
10611
10978
|
if (globalID) {
|
|
10612
10979
|
const item = data.get(name);
|
|
10613
10980
|
if (item) {
|
|
@@ -10617,6 +10984,7 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10617
10984
|
display: newDisplay
|
|
10618
10985
|
});
|
|
10619
10986
|
series.data = data;
|
|
10987
|
+
setUpdateCounter((prev)=>prev + 1);
|
|
10620
10988
|
dispatch({
|
|
10621
10989
|
payload: {
|
|
10622
10990
|
series
|
|
@@ -10632,86 +11000,130 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10632
11000
|
}, [
|
|
10633
11001
|
series,
|
|
10634
11002
|
data,
|
|
10635
|
-
globalID
|
|
11003
|
+
globalID,
|
|
11004
|
+
dispatch
|
|
10636
11005
|
]);
|
|
10637
11006
|
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
10638
11007
|
if (forceDisplay) Object.values(SERIES).filter((s)=>!s.display).map((s)=>s.name).forEach((s)=>{
|
|
10639
11008
|
if (!legendExternal.includes(s)) setTimeout(()=>{
|
|
10640
|
-
|
|
11009
|
+
handleSeriesToggle(s, true);
|
|
10641
11010
|
}, 1);
|
|
10642
11011
|
});
|
|
10643
11012
|
}, [
|
|
10644
|
-
forceDisplay,
|
|
10645
|
-
seriesArray
|
|
11013
|
+
forceDisplay,
|
|
11014
|
+
seriesArray,
|
|
11015
|
+
handleSeriesToggle
|
|
11016
|
+
]);
|
|
11017
|
+
const handleSelect = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((value)=>{
|
|
11018
|
+
if (null === value) {
|
|
11019
|
+
const allDisplayed = seriesArray.every((name)=>{
|
|
11020
|
+
const item = data.get(name);
|
|
11021
|
+
return item?.display;
|
|
11022
|
+
});
|
|
11023
|
+
seriesArray.forEach((name)=>{
|
|
11024
|
+
handleSeriesToggle(name, !allDisplayed);
|
|
11025
|
+
});
|
|
11026
|
+
} else if ('string' == typeof value) handleSeriesToggle(value);
|
|
11027
|
+
}, [
|
|
11028
|
+
seriesArray,
|
|
11029
|
+
data,
|
|
11030
|
+
handleSeriesToggle
|
|
11031
|
+
]);
|
|
11032
|
+
const displayedSeries = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
11033
|
+
const displayed = seriesArray.filter((name)=>{
|
|
11034
|
+
const isDisplayed = seriesDataSnapshot[name]?.display;
|
|
11035
|
+
return isDisplayed;
|
|
11036
|
+
});
|
|
11037
|
+
return displayed;
|
|
11038
|
+
}, [
|
|
11039
|
+
seriesArray,
|
|
11040
|
+
seriesDataSnapshot
|
|
11041
|
+
]);
|
|
11042
|
+
const options = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
11043
|
+
const allDisplayed = seriesArray.every((name)=>seriesDataSnapshot[name]?.display);
|
|
11044
|
+
const baseOptions = [
|
|
11045
|
+
{
|
|
11046
|
+
value: null,
|
|
11047
|
+
label: allDisplayed ? "\u9690\u85CF\u6240\u6709\u7CFB\u5217" : "\u663E\u793A\u6240\u6709\u7CFB\u5217"
|
|
11048
|
+
}
|
|
11049
|
+
];
|
|
11050
|
+
const seriesOptions = seriesArray.map((name)=>{
|
|
11051
|
+
const itemSnapshot = seriesDataSnapshot[name];
|
|
11052
|
+
return {
|
|
11053
|
+
value: name,
|
|
11054
|
+
label: itemSnapshot?.label || name,
|
|
11055
|
+
render: ()=>{
|
|
11056
|
+
const currentSnapshot = seriesDataSnapshot[name];
|
|
11057
|
+
const isDisplayed = currentSnapshot?.display;
|
|
11058
|
+
if (!currentSnapshot) return null;
|
|
11059
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
11060
|
+
className: ToolsBar_SeriesDisplayControl_styles_module.seriesOption,
|
|
11061
|
+
children: [
|
|
11062
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
11063
|
+
className: `${ToolsBar_SeriesDisplayControl_styles_module.seriesIndicator} ${isDisplayed ? ToolsBar_SeriesDisplayControl_styles_module.displayed : ToolsBar_SeriesDisplayControl_styles_module.hidden}`,
|
|
11064
|
+
style: {
|
|
11065
|
+
backgroundColor: isDisplayed ? currentSnapshot.color : 'transparent'
|
|
11066
|
+
}
|
|
11067
|
+
}),
|
|
11068
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
11069
|
+
className: `${ToolsBar_SeriesDisplayControl_styles_module.seriesLabel} ${isDisplayed ? ToolsBar_SeriesDisplayControl_styles_module.displayed : ToolsBar_SeriesDisplayControl_styles_module.hidden}`,
|
|
11070
|
+
children: currentSnapshot.label
|
|
11071
|
+
})
|
|
11072
|
+
]
|
|
11073
|
+
});
|
|
11074
|
+
}
|
|
11075
|
+
};
|
|
11076
|
+
});
|
|
11077
|
+
return [
|
|
11078
|
+
...baseOptions,
|
|
11079
|
+
...seriesOptions
|
|
11080
|
+
];
|
|
11081
|
+
}, [
|
|
11082
|
+
seriesArray,
|
|
11083
|
+
seriesDataSnapshot
|
|
10646
11084
|
]);
|
|
10647
|
-
const
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
}, 10000);
|
|
10657
|
-
return ()=>{
|
|
10658
|
-
clearTimeout(timeout);
|
|
10659
|
-
};
|
|
11085
|
+
const currentValue = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
11086
|
+
if (0 === displayedSeries.length) return "\u65E0\u7CFB\u5217\u663E\u793A";
|
|
11087
|
+
if (1 === displayedSeries.length) {
|
|
11088
|
+
const singleSeries = displayedSeries[0];
|
|
11089
|
+
const label = seriesDataSnapshot[singleSeries]?.label || singleSeries;
|
|
11090
|
+
return label;
|
|
11091
|
+
}
|
|
11092
|
+
const value = `${displayedSeries.length} \u{4E2A}\u{7CFB}\u{5217}`;
|
|
11093
|
+
return value;
|
|
10660
11094
|
}, [
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
const CollapsedIcon = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_IconBox, {
|
|
10664
|
-
onClick: toggleCollapse,
|
|
10665
|
-
title: `\u{56FE}\u{4F8B}\u{5DF2}${!isCollapsed ? "\u5C55\u5F00" : "\u6298\u53E0"}`,
|
|
10666
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("svg", {
|
|
10667
|
-
className: ToolsBar_SeriesDisplayControl_styles_module.collapseIcon,
|
|
10668
|
-
viewBox: "0 0 1024 1024",
|
|
10669
|
-
version: "1.1",
|
|
10670
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10671
|
-
width: "16",
|
|
10672
|
-
height: "16",
|
|
10673
|
-
children: [
|
|
10674
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10675
|
-
d: "M930.909091 896H93.090909c-18.618182 0-34.909091-16.290909-34.909091-34.909091V162.909091c0-18.618182 16.290909-34.909091 34.909091-34.909091h837.818182c18.618182 0 34.909091 16.290909 34.909091 34.909091v698.181818c0 18.618182-16.290909 34.909091-34.909091 34.909091z m-802.909091-69.818182h770.327273v-628.363636H128v628.363636z",
|
|
10676
|
-
fill: isCollapsed ? 'var(--theme-color-base)' : 'var(--theme-color-primary)'
|
|
10677
|
-
}),
|
|
10678
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10679
|
-
d: "M232.727273 640c-4.654545 0-9.309091 0-13.963637-2.327273-16.290909-6.981818-25.6-27.927273-18.618181-44.218182l116.363636-279.272727c4.654545-11.636364 16.290909-20.945455 30.254545-20.945454 13.963636 0 25.6 4.654545 32.581819 16.290909l83.781818 146.618182H814.545455c18.618182 0 34.909091 16.290909 34.90909 34.90909s-16.290909 34.909091-34.90909 34.909091H442.181818c-11.636364 0-23.272727-6.981818-30.254545-16.290909l-58.181818-102.4-90.763637 216.436364c-4.654545 6.981818-16.290909 16.290909-30.254545 16.290909zM814.545455 663.272727H488.727273c-18.618182 0-34.909091-16.290909-34.909091-34.909091s16.290909-34.909091 34.909091-34.909091h325.818182c18.618182 0 34.909091 16.290909 34.90909 34.909091s-16.290909 34.909091-34.90909 34.909091z",
|
|
10680
|
-
fill: isCollapsed ? 'var(--theme-color-base)' : 'var(--theme-color-primary)'
|
|
10681
|
-
})
|
|
10682
|
-
]
|
|
10683
|
-
})
|
|
10684
|
-
}), [
|
|
10685
|
-
isCollapsed
|
|
11095
|
+
displayedSeries,
|
|
11096
|
+
seriesDataSnapshot
|
|
10686
11097
|
]);
|
|
10687
11098
|
if (!(data instanceof Map)) return null;
|
|
10688
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.
|
|
10689
|
-
|
|
10690
|
-
children:
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
11099
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
11100
|
+
onClick: handleDropdownClick,
|
|
11101
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Dropdown, {
|
|
11102
|
+
value: currentValue,
|
|
11103
|
+
options: options,
|
|
11104
|
+
onChange: handleSelect,
|
|
11105
|
+
placeholder: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_IconBox, {
|
|
11106
|
+
title: "\u7CFB\u5217\u663E\u793A\u63A7\u5236",
|
|
11107
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("svg", {
|
|
11108
|
+
viewBox: "0 0 1024 1024",
|
|
11109
|
+
version: "1.1",
|
|
11110
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11111
|
+
width: "16",
|
|
11112
|
+
height: "16",
|
|
11113
|
+
children: [
|
|
11114
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
11115
|
+
d: "M930.909091 896H93.090909c-18.618182 0-34.909091-16.290909-34.909091-34.909091V162.909091c0-18.618182 16.290909-34.909091 34.909091-34.909091h837.818182c18.618182 0 34.909091 16.290909 34.909091 34.909091v698.181818c0 18.618182-16.290909 34.909091-34.909091 34.909091z m-802.909091-69.818182h770.327273v-628.363636H128v628.363636z",
|
|
11116
|
+
fill: "var(--theme-color-primary)"
|
|
11117
|
+
}),
|
|
11118
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
11119
|
+
d: "M232.727273 640c-4.654545 0-9.309091 0-13.963637-2.327273-16.290909-6.981818-25.6-27.927273-18.618181-44.218182l116.363636-279.272727c4.654545-11.636364 16.290909-20.945455 30.254545-20.945454 13.963636 0 25.6 4.654545 32.581819 16.290909l83.781818 146.618182H814.545455c18.618182 0 34.909091 16.290909 34.90909 34.90909s-16.290909 34.909091-34.90909 34.909091H442.181818c-11.636364 0-23.272727-6.981818-30.254545-16.290909l-58.181818-102.4-90.763637 216.436364c-4.654545 6.981818-16.290909 16.290909-30.254545 16.290909zM814.545455 663.272727H488.727273c-18.618182 0-34.909091-16.290909-34.909091-34.909091s16.290909-34.909091 34.909091-34.909091h325.818182c18.618182 0 34.909091 16.290909 34.90909 34.909091s-16.290909 34.909091-34.90909 34.909091z",
|
|
11120
|
+
fill: "var(--theme-color-primary)"
|
|
10710
11121
|
})
|
|
10711
|
-
|
|
11122
|
+
]
|
|
10712
11123
|
})
|
|
10713
|
-
})
|
|
10714
|
-
|
|
11124
|
+
}),
|
|
11125
|
+
closeOnSelect: false
|
|
11126
|
+
})
|
|
10715
11127
|
});
|
|
10716
11128
|
};
|
|
10717
11129
|
const SeriesDisplayControl = SeriesDisplayControl_SeriesDisplayControl;
|
|
@@ -10719,9 +11131,9 @@ const SpacerLine = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_run
|
|
|
10719
11131
|
className: components_ToolsBar_styles_module.spacerLine
|
|
10720
11132
|
});
|
|
10721
11133
|
const ToolsBar_SpacerLine = SpacerLine;
|
|
10722
|
-
const
|
|
10723
|
-
const { state: { toolsBar: { show } } } = useStore_useStore();
|
|
10724
|
-
const { width, pluginBoxWidth } =
|
|
11134
|
+
const ToolsBar_ToolsBar = ({ type })=>{
|
|
11135
|
+
const { state: { toolsBar: { show, hiddenTools = [] } } } = useStore_useStore();
|
|
11136
|
+
const { width, pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
10725
11137
|
const axisStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
10726
11138
|
marginLeft: width,
|
|
10727
11139
|
width: pluginBoxWidth
|
|
@@ -10729,6 +11141,9 @@ const ToolsBar = ({ type })=>{
|
|
|
10729
11141
|
width,
|
|
10730
11142
|
pluginBoxWidth
|
|
10731
11143
|
]);
|
|
11144
|
+
const isToolHidden = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((toolType)=>hiddenTools.includes(toolType), [
|
|
11145
|
+
hiddenTools
|
|
11146
|
+
]);
|
|
10732
11147
|
if (type === constants_ChartType.Occupancy || !show) return null;
|
|
10733
11148
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10734
11149
|
className: components_ToolsBar_styles_module.ToolsBar,
|
|
@@ -10736,38 +11151,39 @@ const ToolsBar = ({ type })=>{
|
|
|
10736
11151
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
10737
11152
|
className: components_ToolsBar_styles_module.fun,
|
|
10738
11153
|
children: [
|
|
10739
|
-
type !== constants_ChartType.Heatmap && type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Autoranging, {}),
|
|
10740
|
-
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Unit, {}),
|
|
10741
|
-
type === constants_ChartType.Heatmap && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_GradientRibbon, {}),
|
|
10742
|
-
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_SpacerLine, {}),
|
|
10743
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Reset, {}),
|
|
11154
|
+
type !== constants_ChartType.Heatmap && type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && !isToolHidden(constants_ToolsBarItemType.AutorangingSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Autoranging, {}),
|
|
11155
|
+
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && !isToolHidden(constants_ToolsBarItemType.UnitSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Unit, {}),
|
|
11156
|
+
type === constants_ChartType.Heatmap && !isToolHidden(constants_ToolsBarItemType.GradientRibbon) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_GradientRibbon, {}),
|
|
11157
|
+
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && !isToolHidden(constants_ToolsBarItemType.SpacerLine) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_SpacerLine, {}),
|
|
11158
|
+
!isToolHidden(constants_ToolsBarItemType.Reset) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Reset, {}),
|
|
10744
11159
|
(type === constants_ChartType.SingleFrequency || type === constants_ChartType.Scan || type === constants_ChartType.MScan) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
10745
11160
|
children: [
|
|
10746
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(StationAllocation_Switch, {}),
|
|
10747
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_SeriesControl, {
|
|
11161
|
+
!isToolHidden(constants_ToolsBarItemType.StationAllocationSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(StationAllocation_Switch, {}),
|
|
11162
|
+
!isToolHidden(constants_ToolsBarItemType.SeriesControl) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_SeriesControl, {
|
|
10748
11163
|
type: type
|
|
10749
11164
|
}),
|
|
10750
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyAllocation_Switch, {}),
|
|
10751
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Zoom_Switch, {}),
|
|
10752
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Limit_Switch, {}),
|
|
10753
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Markers_Switch, {})
|
|
11165
|
+
!isToolHidden(constants_ToolsBarItemType.FrequencyAllocationSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyAllocation_Switch, {}),
|
|
11166
|
+
!isToolHidden(constants_ToolsBarItemType.ZoomSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Zoom_Switch, {}),
|
|
11167
|
+
!isToolHidden(constants_ToolsBarItemType.LimitSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Limit_Switch, {}),
|
|
11168
|
+
!isToolHidden(constants_ToolsBarItemType.MarkersSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Markers_Switch, {})
|
|
10754
11169
|
]
|
|
10755
11170
|
}),
|
|
10756
11171
|
type === constants_ChartType.Scan && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
10757
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(SegmentsDisplayControl, {})
|
|
11172
|
+
children: !isToolHidden(constants_ToolsBarItemType.SegmentsDisplayControl) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(SegmentsDisplayControl, {})
|
|
10758
11173
|
}),
|
|
10759
11174
|
type === constants_ChartType.Heatmap && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
10760
11175
|
children: [
|
|
10761
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapCapture_Switch, {}),
|
|
10762
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(TimeRange_Switch, {})
|
|
11176
|
+
!isToolHidden(constants_ToolsBarItemType.HeatmapCaptureSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapCapture_Switch, {}),
|
|
11177
|
+
!isToolHidden(constants_ToolsBarItemType.TimeRangeSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(TimeRange_Switch, {})
|
|
10763
11178
|
]
|
|
10764
11179
|
}),
|
|
10765
|
-
(type === constants_ChartType.SingleFrequency || type === constants_ChartType.Scan || type === constants_ChartType.MScan) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(SeriesDisplayControl, {})
|
|
11180
|
+
(type === constants_ChartType.SingleFrequency || type === constants_ChartType.Scan || type === constants_ChartType.MScan) && !isToolHidden(constants_ToolsBarItemType.SeriesDisplayControl) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(SeriesDisplayControl, {}),
|
|
11181
|
+
type === constants_ChartType.SingleFrequency && !isToolHidden(constants_ToolsBarItemType.FluorescenceSwitch) && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Fluorescence_Switch, {})
|
|
10766
11182
|
]
|
|
10767
11183
|
})
|
|
10768
11184
|
});
|
|
10769
11185
|
};
|
|
10770
|
-
const
|
|
11186
|
+
const ToolsBar = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.memo)(ToolsBar_ToolsBar);
|
|
10771
11187
|
function uselevelStreamAnalyzer() {
|
|
10772
11188
|
const { state: { globalID, axisY: { range }, levelStream: { cacheTime, granularity } } } = useStore_useStore();
|
|
10773
11189
|
const analyzer = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
@@ -10929,7 +11345,286 @@ const Level_Level = (props)=>{
|
|
|
10929
11345
|
});
|
|
10930
11346
|
};
|
|
10931
11347
|
const Level = Level_Level;
|
|
10932
|
-
var
|
|
11348
|
+
var index_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisYByCanvas/index.module.less");
|
|
11349
|
+
var index_module_options = {};
|
|
11350
|
+
index_module_options.styleTagTransform = styleTagTransform_default();
|
|
11351
|
+
index_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
11352
|
+
index_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
11353
|
+
index_module_options.domAPI = styleDomAPI_default();
|
|
11354
|
+
index_module_options.insertStyleElement = insertStyleElement_default();
|
|
11355
|
+
injectStylesIntoStyleTag_default()(index_module.Z, index_module_options);
|
|
11356
|
+
const AxisYByCanvas_index_module = index_module.Z && index_module.Z.locals ? index_module.Z.locals : void 0;
|
|
11357
|
+
const LINE_WIDTH_BASE = 0.5;
|
|
11358
|
+
const MAJOR_TICK_LENGTH = 6;
|
|
11359
|
+
const MINOR_TICK_LENGTH = 4;
|
|
11360
|
+
const TEXT_OFFSET = 8;
|
|
11361
|
+
const MINOR_TICK_DIVISIONS = 4;
|
|
11362
|
+
const MIN_TICK_SPACING = 4;
|
|
11363
|
+
const MIN_CONTAINER_HEIGHT = 100;
|
|
11364
|
+
function useCanvasAxisY(options = {}) {
|
|
11365
|
+
const { ranging } = options;
|
|
11366
|
+
const { state: { axisY } } = useStore_useStore();
|
|
11367
|
+
const { range: axisYRange, disabled } = axisY;
|
|
11368
|
+
const canvasRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
11369
|
+
const containerRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
11370
|
+
const [containerHeight, setContainerHeight] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(0);
|
|
11371
|
+
const [devicePixelRatio, setDevicePixelRatio] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(window.devicePixelRatio || 1);
|
|
11372
|
+
const [isDragging, setIsDragging] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
11373
|
+
const [dragStartY, setDragStartY] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(0);
|
|
11374
|
+
const range = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
11375
|
+
const [min, max] = axisYRange;
|
|
11376
|
+
return {
|
|
11377
|
+
min,
|
|
11378
|
+
max
|
|
11379
|
+
};
|
|
11380
|
+
}, [
|
|
11381
|
+
axisYRange
|
|
11382
|
+
]);
|
|
11383
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
11384
|
+
const mediaQuery = window.matchMedia(`(resolution: ${devicePixelRatio}dppx)`);
|
|
11385
|
+
const handleChange = ()=>setDevicePixelRatio(window.devicePixelRatio || 1);
|
|
11386
|
+
mediaQuery.addEventListener('change', handleChange);
|
|
11387
|
+
return ()=>mediaQuery.removeEventListener('change', handleChange);
|
|
11388
|
+
}, [
|
|
11389
|
+
devicePixelRatio
|
|
11390
|
+
]);
|
|
11391
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
11392
|
+
const container = containerRef.current;
|
|
11393
|
+
if (!container) return;
|
|
11394
|
+
const resizeObserver = new ResizeObserver((entries)=>{
|
|
11395
|
+
const entry = entries[0];
|
|
11396
|
+
if (entry) setContainerHeight(entry.contentRect.height);
|
|
11397
|
+
});
|
|
11398
|
+
resizeObserver.observe(container);
|
|
11399
|
+
return ()=>resizeObserver.disconnect();
|
|
11400
|
+
}, []);
|
|
11401
|
+
const formatTickLabel = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((value)=>{
|
|
11402
|
+
if (Math.abs(value) >= 1000) return `${(value / 1000).toFixed(1)}k`;
|
|
11403
|
+
if (Math.abs(value) < 0.01 && 0 !== value) return value.toExponential(1);
|
|
11404
|
+
return value.toFixed(Math.abs(value) < 1 ? 2 : 1);
|
|
11405
|
+
}, []);
|
|
11406
|
+
const ticksData = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
11407
|
+
if (0 === containerHeight) return {
|
|
11408
|
+
majorTicks: [],
|
|
11409
|
+
minorTicks: []
|
|
11410
|
+
};
|
|
11411
|
+
const rangeSpan = range.max - range.min;
|
|
11412
|
+
const minTickSpacing = 25;
|
|
11413
|
+
const maxTicks = Math.floor(containerHeight / minTickSpacing);
|
|
11414
|
+
const idealTickCount = Math.max(5, Math.min(maxTicks, 20));
|
|
11415
|
+
const roughInterval = rangeSpan / idealTickCount;
|
|
11416
|
+
const magnitude = 10 ** Math.floor(Math.log10(roughInterval));
|
|
11417
|
+
const normalizedInterval = roughInterval / magnitude;
|
|
11418
|
+
let interval;
|
|
11419
|
+
interval = normalizedInterval <= 1 ? magnitude : normalizedInterval <= 2 ? 2 * magnitude : normalizedInterval <= 5 ? 5 * magnitude : 10 * magnitude;
|
|
11420
|
+
const majorTicks = [];
|
|
11421
|
+
const startTick = Math.ceil(range.min / interval) * interval;
|
|
11422
|
+
for(let value = startTick; value <= range.max; value += interval){
|
|
11423
|
+
const position = (range.max - value) / rangeSpan * containerHeight;
|
|
11424
|
+
let textPosition = position;
|
|
11425
|
+
let shouldShow = true;
|
|
11426
|
+
let isAdjusted = false;
|
|
11427
|
+
const fontSize = 10;
|
|
11428
|
+
const fontHalfHeight = fontSize / 2;
|
|
11429
|
+
const topBoundary = fontHalfHeight;
|
|
11430
|
+
const bottomBoundary = containerHeight - fontHalfHeight;
|
|
11431
|
+
const overflowThreshold = 0.3 * containerHeight;
|
|
11432
|
+
if (position < -overflowThreshold || position > containerHeight + overflowThreshold) shouldShow = false;
|
|
11433
|
+
else if (position < topBoundary) {
|
|
11434
|
+
textPosition = topBoundary;
|
|
11435
|
+
isAdjusted = true;
|
|
11436
|
+
} else if (position > bottomBoundary) {
|
|
11437
|
+
textPosition = bottomBoundary;
|
|
11438
|
+
isAdjusted = true;
|
|
11439
|
+
}
|
|
11440
|
+
if (shouldShow) majorTicks.push({
|
|
11441
|
+
value,
|
|
11442
|
+
position,
|
|
11443
|
+
textPosition,
|
|
11444
|
+
label: formatTickLabel(value),
|
|
11445
|
+
isAdjusted
|
|
11446
|
+
});
|
|
11447
|
+
}
|
|
11448
|
+
const minorTicks = [];
|
|
11449
|
+
const minorInterval = interval / MINOR_TICK_DIVISIONS;
|
|
11450
|
+
const minorTickSpacing = minorInterval / rangeSpan * containerHeight;
|
|
11451
|
+
if (minorTickSpacing >= MIN_TICK_SPACING && containerHeight > MIN_CONTAINER_HEIGHT) {
|
|
11452
|
+
const minorStart = Math.ceil(range.min / minorInterval) * minorInterval;
|
|
11453
|
+
for(let value = minorStart; value <= range.max; value += minorInterval){
|
|
11454
|
+
if (Math.abs(value % interval) < 0.1 * minorInterval) continue;
|
|
11455
|
+
const position = (range.max - value) / rangeSpan * containerHeight;
|
|
11456
|
+
if (position >= 0 && position <= containerHeight) minorTicks.push({
|
|
11457
|
+
value,
|
|
11458
|
+
position,
|
|
11459
|
+
textPosition: position,
|
|
11460
|
+
label: ''
|
|
11461
|
+
});
|
|
11462
|
+
}
|
|
11463
|
+
}
|
|
11464
|
+
return {
|
|
11465
|
+
majorTicks,
|
|
11466
|
+
minorTicks
|
|
11467
|
+
};
|
|
11468
|
+
}, [
|
|
11469
|
+
range,
|
|
11470
|
+
containerHeight,
|
|
11471
|
+
formatTickLabel
|
|
11472
|
+
]);
|
|
11473
|
+
const drawAxis = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
11474
|
+
const canvas = canvasRef.current;
|
|
11475
|
+
if (!canvas || 0 === containerHeight) return;
|
|
11476
|
+
const ctx = canvas.getContext('2d');
|
|
11477
|
+
if (!ctx) return;
|
|
11478
|
+
const rect = canvas.getBoundingClientRect();
|
|
11479
|
+
const width = rect.width;
|
|
11480
|
+
const height = containerHeight;
|
|
11481
|
+
canvas.width = width * devicePixelRatio;
|
|
11482
|
+
canvas.height = height * devicePixelRatio;
|
|
11483
|
+
canvas.style.width = `${width}px`;
|
|
11484
|
+
canvas.style.height = `${height}px`;
|
|
11485
|
+
ctx.scale(devicePixelRatio, devicePixelRatio);
|
|
11486
|
+
ctx.imageSmoothingEnabled = true;
|
|
11487
|
+
ctx.imageSmoothingQuality = 'high';
|
|
11488
|
+
ctx.clearRect(0, 0, width, height);
|
|
11489
|
+
ctx.font = '12px -apple-system, BlinkMacSystemFont, sans-serif';
|
|
11490
|
+
ctx.textAlign = 'right';
|
|
11491
|
+
ctx.textBaseline = 'middle';
|
|
11492
|
+
ctx.lineWidth = 2 * LINE_WIDTH_BASE;
|
|
11493
|
+
const color = (0, utils.pe)('--theme-color-base', 0.5);
|
|
11494
|
+
ticksData.majorTicks.forEach((tick)=>{
|
|
11495
|
+
ctx.fillStyle = color;
|
|
11496
|
+
ctx.strokeStyle = color;
|
|
11497
|
+
ctx.fillText(tick.label, width - TEXT_OFFSET, tick.textPosition);
|
|
11498
|
+
ctx.beginPath();
|
|
11499
|
+
const tickY = Math.floor(tick.position) + 0.5;
|
|
11500
|
+
ctx.moveTo(width - MAJOR_TICK_LENGTH, tickY);
|
|
11501
|
+
ctx.lineTo(width, tickY);
|
|
11502
|
+
ctx.stroke();
|
|
11503
|
+
});
|
|
11504
|
+
ctx.strokeStyle = color;
|
|
11505
|
+
ctx.lineWidth = LINE_WIDTH_BASE;
|
|
11506
|
+
ticksData.minorTicks.forEach((tick)=>{
|
|
11507
|
+
ctx.beginPath();
|
|
11508
|
+
const tickY = Math.floor(tick.position) + 0.5;
|
|
11509
|
+
ctx.moveTo(width - MINOR_TICK_LENGTH, tickY);
|
|
11510
|
+
ctx.lineTo(width, tickY);
|
|
11511
|
+
ctx.stroke();
|
|
11512
|
+
});
|
|
11513
|
+
ctx.strokeStyle = color;
|
|
11514
|
+
ctx.lineWidth = LINE_WIDTH_BASE;
|
|
11515
|
+
ctx.beginPath();
|
|
11516
|
+
const axisX = Math.floor(width - 1) + 0.5;
|
|
11517
|
+
ctx.moveTo(axisX, 0);
|
|
11518
|
+
ctx.lineTo(axisX, height);
|
|
11519
|
+
ctx.stroke();
|
|
11520
|
+
}, [
|
|
11521
|
+
ticksData,
|
|
11522
|
+
containerHeight,
|
|
11523
|
+
devicePixelRatio
|
|
11524
|
+
]);
|
|
11525
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
11526
|
+
drawAxis();
|
|
11527
|
+
}, [
|
|
11528
|
+
drawAxis
|
|
11529
|
+
]);
|
|
11530
|
+
const handleMouseDown = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
11531
|
+
if (disabled) return;
|
|
11532
|
+
setIsDragging(true);
|
|
11533
|
+
setDragStartY(e.clientY);
|
|
11534
|
+
}, [
|
|
11535
|
+
disabled
|
|
11536
|
+
]);
|
|
11537
|
+
const handleWheel = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
11538
|
+
if (disabled) return;
|
|
11539
|
+
ranging.moveWheel?.(e);
|
|
11540
|
+
}, [
|
|
11541
|
+
ranging,
|
|
11542
|
+
disabled
|
|
11543
|
+
]);
|
|
11544
|
+
const handleMouseMove = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
11545
|
+
if (disabled || !isDragging || !containerRef.current) return;
|
|
11546
|
+
const offset = (e.clientY - dragStartY) / containerRef.current.offsetHeight;
|
|
11547
|
+
if (Math.abs(offset) > 0.01) {
|
|
11548
|
+
ranging.move?.(offset);
|
|
11549
|
+
setDragStartY(e.clientY);
|
|
11550
|
+
}
|
|
11551
|
+
}, [
|
|
11552
|
+
disabled,
|
|
11553
|
+
isDragging,
|
|
11554
|
+
dragStartY,
|
|
11555
|
+
ranging
|
|
11556
|
+
]);
|
|
11557
|
+
const handleMouseUp = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
11558
|
+
if (disabled) return;
|
|
11559
|
+
setIsDragging(false);
|
|
11560
|
+
}, [
|
|
11561
|
+
disabled
|
|
11562
|
+
]);
|
|
11563
|
+
const handleMouseLeave = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
11564
|
+
if (disabled) return;
|
|
11565
|
+
setIsDragging(false);
|
|
11566
|
+
}, [
|
|
11567
|
+
disabled
|
|
11568
|
+
]);
|
|
11569
|
+
return {
|
|
11570
|
+
canvasRef,
|
|
11571
|
+
containerRef,
|
|
11572
|
+
isDragging,
|
|
11573
|
+
range,
|
|
11574
|
+
handleMouseDown,
|
|
11575
|
+
handleMouseMove,
|
|
11576
|
+
handleMouseUp,
|
|
11577
|
+
handleMouseLeave,
|
|
11578
|
+
handleWheel,
|
|
11579
|
+
ticksData
|
|
11580
|
+
};
|
|
11581
|
+
}
|
|
11582
|
+
function AxisYByCanvas(props) {
|
|
11583
|
+
const { chart } = props;
|
|
11584
|
+
const { state: { axisY, toolsBar: { show: showToolsBar }, axisX: { show: showAxisX } } } = useStore_useStore();
|
|
11585
|
+
const { show } = axisY;
|
|
11586
|
+
const ranging = spectrum_useRanging({
|
|
11587
|
+
chart
|
|
11588
|
+
});
|
|
11589
|
+
const { axisYWidth, marginLeft } = useAxisYWidth_useAxisYWidth();
|
|
11590
|
+
const { canvasRef, containerRef, isDragging, handleMouseDown, handleMouseMove, handleMouseUp, handleMouseLeave, handleWheel } = useCanvasAxisY({
|
|
11591
|
+
ranging
|
|
11592
|
+
});
|
|
11593
|
+
if (false === show) return null;
|
|
11594
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
11595
|
+
ref: containerRef,
|
|
11596
|
+
className: `${AxisYByCanvas_index_module.canvasAxisY} ${isDragging ? AxisYByCanvas_index_module.dragging : ''}`,
|
|
11597
|
+
style: {
|
|
11598
|
+
width: axisYWidth,
|
|
11599
|
+
marginLeft,
|
|
11600
|
+
cursor: isDragging ? 'ns-resize' : 'auto'
|
|
11601
|
+
},
|
|
11602
|
+
onMouseDown: handleMouseDown,
|
|
11603
|
+
onMouseMove: handleMouseMove,
|
|
11604
|
+
onMouseUp: handleMouseUp,
|
|
11605
|
+
onMouseLeave: handleMouseLeave,
|
|
11606
|
+
onWheel: handleWheel,
|
|
11607
|
+
onDoubleClick: ()=>{
|
|
11608
|
+
ranging.setAxisY?.({
|
|
11609
|
+
realRange: constants_RANGE_DEFAULT
|
|
11610
|
+
});
|
|
11611
|
+
ranging.onChange?.();
|
|
11612
|
+
},
|
|
11613
|
+
children: [
|
|
11614
|
+
showToolsBar && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
11615
|
+
className: AxisYByCanvas_index_module.before
|
|
11616
|
+
}),
|
|
11617
|
+
showAxisX && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
11618
|
+
className: AxisYByCanvas_index_module.after
|
|
11619
|
+
}),
|
|
11620
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("canvas", {
|
|
11621
|
+
ref: canvasRef,
|
|
11622
|
+
className: AxisYByCanvas_index_module.canvas
|
|
11623
|
+
})
|
|
11624
|
+
]
|
|
11625
|
+
});
|
|
11626
|
+
}
|
|
11627
|
+
var Band_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Band/styles.module.less");
|
|
10933
11628
|
var Band_styles_module_options = {};
|
|
10934
11629
|
Band_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10935
11630
|
Band_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10972,7 +11667,7 @@ const Band_Band = ()=>{
|
|
|
10972
11667
|
});
|
|
10973
11668
|
};
|
|
10974
11669
|
const Band = Band_Band;
|
|
10975
|
-
var DragFrame_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
11670
|
+
var DragFrame_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/DragFrame/styles.module.less");
|
|
10976
11671
|
var DragFrame_styles_module_options = {};
|
|
10977
11672
|
DragFrame_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10978
11673
|
DragFrame_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11704,7 +12399,7 @@ const FrequencyAllocation_data = [
|
|
|
11704
12399
|
description: "WIFI\u3001\u65E0\u4EBA\u673A\u7B49\u4F7F\u7528\u9891\u6BB5"
|
|
11705
12400
|
}
|
|
11706
12401
|
];
|
|
11707
|
-
var FrequencyAllocation_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
12402
|
+
var FrequencyAllocation_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyAllocation/styles.module.less");
|
|
11708
12403
|
var FrequencyAllocation_styles_module_options = {};
|
|
11709
12404
|
FrequencyAllocation_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11710
12405
|
FrequencyAllocation_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11730,7 +12425,7 @@ const SegmentContainer = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.mem
|
|
|
11730
12425
|
}, `band-${band.title}-${index}`))
|
|
11731
12426
|
}));
|
|
11732
12427
|
const FrequencyAllocation_SegmentContainer = SegmentContainer;
|
|
11733
|
-
var FrequencyAllocation_Tooltip_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
12428
|
+
var FrequencyAllocation_Tooltip_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyAllocation/Tooltip/styles.module.less");
|
|
11734
12429
|
var FrequencyAllocation_Tooltip_styles_module_options = {};
|
|
11735
12430
|
FrequencyAllocation_Tooltip_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11736
12431
|
FrequencyAllocation_Tooltip_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11970,7 +12665,7 @@ const FrequencyAllocation_FrequencyAllocation = ()=>{
|
|
|
11970
12665
|
});
|
|
11971
12666
|
};
|
|
11972
12667
|
const FrequencyAllocation = FrequencyAllocation_FrequencyAllocation;
|
|
11973
|
-
var Board_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
12668
|
+
var Board_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyTagLine/Board/styles.module.less");
|
|
11974
12669
|
var Board_styles_module_options = {};
|
|
11975
12670
|
Board_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11976
12671
|
Board_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12016,7 +12711,7 @@ const Board_Board = ({ id })=>{
|
|
|
12016
12711
|
});
|
|
12017
12712
|
};
|
|
12018
12713
|
const Board = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(Board_Board);
|
|
12019
|
-
var FrequencyTagLine_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
12714
|
+
var FrequencyTagLine_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/FrequencyTagLine/styles.module.less");
|
|
12020
12715
|
var FrequencyTagLine_styles_module_options = {};
|
|
12021
12716
|
FrequencyTagLine_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12022
12717
|
FrequencyTagLine_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12101,7 +12796,7 @@ const FrequencyTagLine_FrequencyTagLine = (props)=>{
|
|
|
12101
12796
|
});
|
|
12102
12797
|
};
|
|
12103
12798
|
const FrequencyTagLine = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(FrequencyTagLine_FrequencyTagLine);
|
|
12104
|
-
var Limit_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
12799
|
+
var Limit_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Limit/styles.module.less");
|
|
12105
12800
|
var Limit_styles_module_options = {};
|
|
12106
12801
|
Limit_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12107
12802
|
Limit_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12742,7 +13437,7 @@ const useMarkers = (props)=>{
|
|
|
12742
13437
|
setState
|
|
12743
13438
|
};
|
|
12744
13439
|
};
|
|
12745
|
-
var Dashed_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13440
|
+
var Dashed_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Dashed/styles.module.less");
|
|
12746
13441
|
var Dashed_styles_module_options = {};
|
|
12747
13442
|
Dashed_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12748
13443
|
Dashed_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12773,7 +13468,7 @@ const Dashed_Dashed = (props)=>{
|
|
|
12773
13468
|
});
|
|
12774
13469
|
};
|
|
12775
13470
|
const Dashed = Dashed_Dashed;
|
|
12776
|
-
var MarkerItem_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13471
|
+
var MarkerItem_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Markers/MarkerItem/styles.module.less");
|
|
12777
13472
|
var MarkerItem_styles_module_options = {};
|
|
12778
13473
|
MarkerItem_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12779
13474
|
MarkerItem_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12884,7 +13579,7 @@ const MarkerItem = ({ marker })=>{
|
|
|
12884
13579
|
}, marker.id);
|
|
12885
13580
|
};
|
|
12886
13581
|
const Markers_MarkerItem = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(MarkerItem);
|
|
12887
|
-
var Markers_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13582
|
+
var Markers_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Markers/styles.module.less");
|
|
12888
13583
|
var Markers_styles_module_options = {};
|
|
12889
13584
|
Markers_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12890
13585
|
Markers_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12988,7 +13683,7 @@ const Markers = ({ id })=>{
|
|
|
12988
13683
|
});
|
|
12989
13684
|
};
|
|
12990
13685
|
const components_Markers = Markers;
|
|
12991
|
-
var Scope_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13686
|
+
var Scope_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Scope/styles.module.less");
|
|
12992
13687
|
var Scope_styles_module_options = {};
|
|
12993
13688
|
Scope_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12994
13689
|
Scope_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13054,7 +13749,7 @@ const Scope = ()=>{
|
|
|
13054
13749
|
});
|
|
13055
13750
|
};
|
|
13056
13751
|
const components_Scope = Scope;
|
|
13057
|
-
var Signal_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13752
|
+
var Signal_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Signal/styles.module.less");
|
|
13058
13753
|
var Signal_styles_module_options = {};
|
|
13059
13754
|
Signal_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13060
13755
|
Signal_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13186,7 +13881,7 @@ const Signal = ({ id })=>{
|
|
|
13186
13881
|
});
|
|
13187
13882
|
};
|
|
13188
13883
|
const components_Signal = Signal;
|
|
13189
|
-
var StationAllocation_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
13884
|
+
var StationAllocation_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/StationAllocation/styles.module.less");
|
|
13190
13885
|
var StationAllocation_styles_module_options = {};
|
|
13191
13886
|
StationAllocation_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13192
13887
|
StationAllocation_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13316,7 +14011,7 @@ const StationAllocation_StationAllocation = ({ show = true, display = true })=>{
|
|
|
13316
14011
|
});
|
|
13317
14012
|
};
|
|
13318
14013
|
const StationAllocation = StationAllocation_StationAllocation;
|
|
13319
|
-
var Stripe_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14014
|
+
var Stripe_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Stripe/styles.module.less");
|
|
13320
14015
|
var Stripe_styles_module_options = {};
|
|
13321
14016
|
Stripe_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13322
14017
|
Stripe_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13524,10 +14219,10 @@ const Spectrum_Spectrum = (props)=>{
|
|
|
13524
14219
|
]);
|
|
13525
14220
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_FlexBox, {
|
|
13526
14221
|
children: [
|
|
13527
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14222
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisYByCanvas, {
|
|
13528
14223
|
chart: chart
|
|
13529
14224
|
}),
|
|
13530
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
14225
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
13531
14226
|
children: [
|
|
13532
14227
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_GridLines, {}),
|
|
13533
14228
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
@@ -13583,12 +14278,12 @@ const LevelStream_Chart_Chart = (props)=>{
|
|
|
13583
14278
|
});
|
|
13584
14279
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_Container, {
|
|
13585
14280
|
children: [
|
|
13586
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14281
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
13587
14282
|
type: constants_ChartType.LevelStream
|
|
13588
14283
|
}),
|
|
13589
14284
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_FlexBox, {
|
|
13590
14285
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
13591
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14286
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_PluginBox, {
|
|
13592
14287
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Level, {
|
|
13593
14288
|
opacity: 0.5
|
|
13594
14289
|
})
|
|
@@ -13616,7 +14311,7 @@ const LevelStreamChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_re
|
|
|
13616
14311
|
});
|
|
13617
14312
|
const LevelStream_LevelStream = withChartPublisher(LevelStreamChart, 'LevelStream');
|
|
13618
14313
|
const LevelStream = LevelStream_LevelStream;
|
|
13619
|
-
var occupancy_components_Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14314
|
+
var occupancy_components_Ticks_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/occupancy/components/Ticks/styles.module.less");
|
|
13620
14315
|
var occupancy_components_Ticks_styles_module_options = {};
|
|
13621
14316
|
occupancy_components_Ticks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13622
14317
|
occupancy_components_Ticks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13645,7 +14340,7 @@ const occupancy_components_Ticks_Ticks = (props)=>{
|
|
|
13645
14340
|
});
|
|
13646
14341
|
};
|
|
13647
14342
|
const occupancy_components_Ticks = occupancy_components_Ticks_Ticks;
|
|
13648
|
-
var occupancy_type_Default_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14343
|
+
var occupancy_type_Default_styles_module = __webpack_require__("../../../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisY/occupancy/type/Default/styles.module.less");
|
|
13649
14344
|
var type_Default_styles_module_options = {};
|
|
13650
14345
|
type_Default_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13651
14346
|
type_Default_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13655,7 +14350,7 @@ type_Default_styles_module_options.insertStyleElement = insertStyleElement_defau
|
|
|
13655
14350
|
injectStylesIntoStyleTag_default()(occupancy_type_Default_styles_module.Z, type_Default_styles_module_options);
|
|
13656
14351
|
const AxisY_occupancy_type_Default_styles_module = occupancy_type_Default_styles_module.Z && occupancy_type_Default_styles_module.Z.locals ? occupancy_type_Default_styles_module.Z.locals : void 0;
|
|
13657
14352
|
const Default_Default = ()=>{
|
|
13658
|
-
const { axisYWidth, marginLeft } =
|
|
14353
|
+
const { axisYWidth, marginLeft } = useAxisYWidth_useAxisYWidth();
|
|
13659
14354
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
13660
14355
|
className: AxisY_occupancy_type_Default_styles_module.axisyoccupancydefault,
|
|
13661
14356
|
style: {
|
|
@@ -13674,7 +14369,7 @@ const AxisYOccupancy = (props)=>{
|
|
|
13674
14369
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(occupancy_type_Default, {});
|
|
13675
14370
|
};
|
|
13676
14371
|
const AxisY_occupancy = AxisYOccupancy;
|
|
13677
|
-
var Occdahsed_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14372
|
+
var Occdahsed_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/GridLines/Occdahsed/styles.module.less");
|
|
13678
14373
|
var Occdahsed_styles_module_options = {};
|
|
13679
14374
|
Occdahsed_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13680
14375
|
Occdahsed_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13699,7 +14394,7 @@ const Occdahsed_Occdahsed = ()=>{
|
|
|
13699
14394
|
});
|
|
13700
14395
|
};
|
|
13701
14396
|
const Occdahsed = Occdahsed_Occdahsed;
|
|
13702
|
-
var TotalLine_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14397
|
+
var TotalLine_styles_module = __webpack_require__("../../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/modules/Occupancy/TotalLine/styles.module.less");
|
|
13703
14398
|
var TotalLine_styles_module_options = {};
|
|
13704
14399
|
TotalLine_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13705
14400
|
TotalLine_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13708,7 +14403,7 @@ TotalLine_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
13708
14403
|
TotalLine_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
13709
14404
|
injectStylesIntoStyleTag_default()(TotalLine_styles_module.Z, TotalLine_styles_module_options);
|
|
13710
14405
|
const Occupancy_TotalLine_styles_module = TotalLine_styles_module.Z && TotalLine_styles_module.Z.locals ? TotalLine_styles_module.Z.locals : void 0;
|
|
13711
|
-
const
|
|
14406
|
+
const TotalLine_TotalLine = (props)=>{
|
|
13712
14407
|
const { value } = props;
|
|
13713
14408
|
const style = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
13714
14409
|
bottom: `${value || -200}%`
|
|
@@ -13732,7 +14427,7 @@ const TotalLine = (props)=>{
|
|
|
13732
14427
|
})
|
|
13733
14428
|
});
|
|
13734
14429
|
};
|
|
13735
|
-
const
|
|
14430
|
+
const TotalLine = TotalLine_TotalLine;
|
|
13736
14431
|
const Occupancy_Occupancy = (props)=>{
|
|
13737
14432
|
const { occupancyAxisYDisabled } = props;
|
|
13738
14433
|
const { state: { globalID } } = useStore_useStore();
|
|
@@ -13771,14 +14466,14 @@ const Occupancy_Occupancy = (props)=>{
|
|
|
13771
14466
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisY_occupancy, {
|
|
13772
14467
|
disabled: occupancyAxisYDisabled
|
|
13773
14468
|
}),
|
|
13774
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
14469
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
13775
14470
|
children: [
|
|
13776
14471
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Occdahsed, {}),
|
|
13777
14472
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
13778
14473
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(EventBus, {
|
|
13779
14474
|
id: id
|
|
13780
14475
|
}),
|
|
13781
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14476
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(TotalLine, {
|
|
13782
14477
|
value: value
|
|
13783
14478
|
}),
|
|
13784
14479
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Cursor, {
|
|
@@ -13818,7 +14513,7 @@ const OccupancyChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_reac
|
|
|
13818
14513
|
});
|
|
13819
14514
|
const lib_Occupancy_Occupancy = withChartPublisher(OccupancyChart, 'Occupancy');
|
|
13820
14515
|
const lib_Occupancy = lib_Occupancy_Occupancy;
|
|
13821
|
-
var AxisX_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14516
|
+
var AxisX_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/AxisX/styles.module.less");
|
|
13822
14517
|
var AxisX_styles_module_options = {};
|
|
13823
14518
|
AxisX_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13824
14519
|
AxisX_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13972,10 +14667,10 @@ const AxisXTicks = ({ type })=>{
|
|
|
13972
14667
|
});
|
|
13973
14668
|
};
|
|
13974
14669
|
const AxisX_Ticks = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.memo)(AxisXTicks);
|
|
13975
|
-
const
|
|
14670
|
+
const AxisX_AxisX = ({ type })=>{
|
|
13976
14671
|
const { state: { axisX } } = useStore_useStore();
|
|
13977
14672
|
const { children, unit, ticks } = axisX;
|
|
13978
|
-
const { width, pluginBoxWidth } =
|
|
14673
|
+
const { width, pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
13979
14674
|
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
13980
14675
|
const axisStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
13981
14676
|
marginLeft: width,
|
|
@@ -13985,7 +14680,7 @@ const AxisX = ({ type })=>{
|
|
|
13985
14680
|
pluginBoxWidth
|
|
13986
14681
|
]);
|
|
13987
14682
|
if (!axisX) return null;
|
|
13988
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14683
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Tooltip, {
|
|
13989
14684
|
content: `\u{5355}\u{4F4D}${unit}`,
|
|
13990
14685
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
13991
14686
|
ref: ref,
|
|
@@ -14010,8 +14705,8 @@ const AxisX = ({ type })=>{
|
|
|
14010
14705
|
})
|
|
14011
14706
|
});
|
|
14012
14707
|
};
|
|
14013
|
-
const
|
|
14014
|
-
var Blaze_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14708
|
+
const AxisX = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.memo)(AxisX_AxisX);
|
|
14709
|
+
var Blaze_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Blaze/styles.module.less");
|
|
14015
14710
|
var Blaze_styles_module_options = {};
|
|
14016
14711
|
Blaze_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14017
14712
|
Blaze_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14061,7 +14756,7 @@ const Blaze = ()=>{
|
|
|
14061
14756
|
});
|
|
14062
14757
|
};
|
|
14063
14758
|
const components_Blaze = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(Blaze);
|
|
14064
|
-
var Legend_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14759
|
+
var Legend_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/Legend/styles.module.less");
|
|
14065
14760
|
var Legend_styles_module_options = {};
|
|
14066
14761
|
Legend_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14067
14762
|
Legend_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14078,7 +14773,7 @@ const Legend = ()=>{
|
|
|
14078
14773
|
});
|
|
14079
14774
|
};
|
|
14080
14775
|
const components_Legend = Legend;
|
|
14081
|
-
var SegmentsZebra_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.
|
|
14776
|
+
var SegmentsZebra_styles_module = __webpack_require__("../../../node_modules/.pnpm/@rsbuild+core@1.3.18/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.5.12/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[11].use[3]!./src/components/SegmentsZebra/styles.module.less");
|
|
14082
14777
|
var SegmentsZebra_styles_module_options = {};
|
|
14083
14778
|
SegmentsZebra_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14084
14779
|
SegmentsZebra_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14298,7 +14993,7 @@ function useTemplateComparison() {
|
|
|
14298
14993
|
};
|
|
14299
14994
|
}
|
|
14300
14995
|
function useSpectrumAnalyzer(props) {
|
|
14301
|
-
const { state: { globalID, series: { enableMetrics, enableWaterfall }, axisY: { unit }, zoom: { interval }, heatmapCapture: { display: heatmapCaptureDisplay }, system: { width }, stationInfo }, dispatch } = useStore_useStore();
|
|
14996
|
+
const { state: { globalID, series: { enableMetrics, enableWaterfall }, fluorescence: { show: enableFluorescence }, axisY: { unit }, zoom: { interval }, heatmapCapture: { display: heatmapCaptureDisplay }, system: { width }, stationInfo }, dispatch } = useStore_useStore();
|
|
14302
14997
|
const analyzer = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
14303
14998
|
const globalIDRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(globalID);
|
|
14304
14999
|
const intervalRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(interval);
|
|
@@ -14415,8 +15110,15 @@ function useSpectrumAnalyzer(props) {
|
|
|
14415
15110
|
templateData: data.templateData
|
|
14416
15111
|
});
|
|
14417
15112
|
if (data.scanProgress) updateProgress(data.scanProgress);
|
|
14418
|
-
if (data.waterfallData) updateWaterfall(data.waterfallData);
|
|
14419
15113
|
if (data.templateOverData) updateTemplateOverData(data.templateOverData);
|
|
15114
|
+
if (data.waterfallData) updateWaterfall(data.waterfallData);
|
|
15115
|
+
if (data.fluorescenceData) tools(globalIDRef.current, constants_ModuleType.Fluorescence)({
|
|
15116
|
+
pstype: constants_PSType.Fluorescence,
|
|
15117
|
+
data: {
|
|
15118
|
+
fluorescenceData: data.fluorescenceData,
|
|
15119
|
+
fluorescenceMaxCount: data.fluorescenceMaxCount
|
|
15120
|
+
}
|
|
15121
|
+
});
|
|
14420
15122
|
}, [
|
|
14421
15123
|
updateSpectrum,
|
|
14422
15124
|
updateWaterfall,
|
|
@@ -14437,7 +15139,8 @@ function useSpectrumAnalyzer(props) {
|
|
|
14437
15139
|
processing: {
|
|
14438
15140
|
...props?.processing,
|
|
14439
15141
|
enableMetrics: getEnableOption(enableMetrics, props?.processing?.enableMetrics),
|
|
14440
|
-
enableWaterfall: getEnableOption(enableWaterfall, props?.processing?.enableWaterfall)
|
|
15142
|
+
enableWaterfall: getEnableOption(enableWaterfall, props?.processing?.enableWaterfall),
|
|
15143
|
+
enableFluorescence
|
|
14441
15144
|
},
|
|
14442
15145
|
onSpectrumUpdate: handleSpectrumUpdate
|
|
14443
15146
|
});
|
|
@@ -14590,6 +15293,17 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14590
15293
|
signal.show = false;
|
|
14591
15294
|
marker.enabled = false;
|
|
14592
15295
|
}
|
|
15296
|
+
if (type === constants_ChartType.LiteNormalized) {
|
|
15297
|
+
limit.show = false;
|
|
15298
|
+
signal.show = false;
|
|
15299
|
+
marker.enabled = false;
|
|
15300
|
+
frequencyAllocation.show = false;
|
|
15301
|
+
toolsBar.show = false;
|
|
15302
|
+
axisY.restrict = [
|
|
15303
|
+
0,
|
|
15304
|
+
1
|
|
15305
|
+
];
|
|
15306
|
+
}
|
|
14593
15307
|
if (type === constants_ChartType.MScan) {
|
|
14594
15308
|
limit.show = false;
|
|
14595
15309
|
signal.show = false;
|
|
@@ -14635,6 +15349,21 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14635
15349
|
}, [
|
|
14636
15350
|
type
|
|
14637
15351
|
]);
|
|
15352
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15353
|
+
if (type === constants_ChartType.LiteNormalized && globalID) {
|
|
15354
|
+
if (axisY.range[0] < 0 || axisY.range[1] > 1) {
|
|
15355
|
+
axisY.range = [
|
|
15356
|
+
0,
|
|
15357
|
+
1
|
|
15358
|
+
];
|
|
15359
|
+
useRangeSet(globalID)(axisY.range);
|
|
15360
|
+
}
|
|
15361
|
+
}
|
|
15362
|
+
}, [
|
|
15363
|
+
type,
|
|
15364
|
+
axisY.range,
|
|
15365
|
+
globalID
|
|
15366
|
+
]);
|
|
14638
15367
|
return (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
14639
15368
|
let enableMetrics = false;
|
|
14640
15369
|
let enableWaterfall = false;
|
|
@@ -14651,6 +15380,109 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14651
15380
|
heatmapElementID
|
|
14652
15381
|
]);
|
|
14653
15382
|
}
|
|
15383
|
+
class FluorescenceRender {
|
|
15384
|
+
state;
|
|
15385
|
+
constructor(props){
|
|
15386
|
+
this.state = {
|
|
15387
|
+
chart: null,
|
|
15388
|
+
...props
|
|
15389
|
+
};
|
|
15390
|
+
this.init();
|
|
15391
|
+
}
|
|
15392
|
+
init() {
|
|
15393
|
+
const { id, globalID } = this.state;
|
|
15394
|
+
if (!id) return;
|
|
15395
|
+
this.state.chart = new Fluorescence({
|
|
15396
|
+
id,
|
|
15397
|
+
globalID,
|
|
15398
|
+
colors: [
|
|
15399
|
+
...getGradient()
|
|
15400
|
+
].reverse().map((c)=>hexToRGBA(c)),
|
|
15401
|
+
ignoreValue: 0
|
|
15402
|
+
});
|
|
15403
|
+
}
|
|
15404
|
+
updateParams(params) {
|
|
15405
|
+
this.clear();
|
|
15406
|
+
this.state = {
|
|
15407
|
+
...this.state,
|
|
15408
|
+
...params
|
|
15409
|
+
};
|
|
15410
|
+
}
|
|
15411
|
+
updateProps(props) {
|
|
15412
|
+
this.state.chart?.updateProps(props);
|
|
15413
|
+
}
|
|
15414
|
+
updateSeries(data) {
|
|
15415
|
+
if (!this.state.chart || !data) return;
|
|
15416
|
+
this.state.chart.render(data);
|
|
15417
|
+
}
|
|
15418
|
+
reset() {
|
|
15419
|
+
this.resize();
|
|
15420
|
+
this.clear();
|
|
15421
|
+
}
|
|
15422
|
+
resize() {
|
|
15423
|
+
this.state.chart?.resize();
|
|
15424
|
+
}
|
|
15425
|
+
clear() {
|
|
15426
|
+
this.state.chart?.clear();
|
|
15427
|
+
}
|
|
15428
|
+
}
|
|
15429
|
+
const Fluorescence_Fluorescence = ()=>{
|
|
15430
|
+
const { state: { globalID, axisY: { range }, fluorescence: { display } } } = useStore_useStore();
|
|
15431
|
+
const { chart, Chart } = useChart({
|
|
15432
|
+
Render: FluorescenceRender
|
|
15433
|
+
});
|
|
15434
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15435
|
+
chart?.updateProps({
|
|
15436
|
+
range
|
|
15437
|
+
});
|
|
15438
|
+
}, [
|
|
15439
|
+
range
|
|
15440
|
+
]);
|
|
15441
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15442
|
+
if (chart && globalID) tools(globalID, constants_ModuleType.Fluorescence, (d)=>{
|
|
15443
|
+
if (!globalID) return;
|
|
15444
|
+
const { pstype } = d;
|
|
15445
|
+
switch(pstype){
|
|
15446
|
+
case constants_PSType.Fluorescence:
|
|
15447
|
+
chart.updateSeries(d.data);
|
|
15448
|
+
break;
|
|
15449
|
+
case constants_PSType.Reset:
|
|
15450
|
+
chart.reset();
|
|
15451
|
+
break;
|
|
15452
|
+
case constants_PSType.Resize:
|
|
15453
|
+
chart.resize();
|
|
15454
|
+
break;
|
|
15455
|
+
default:
|
|
15456
|
+
}
|
|
15457
|
+
});
|
|
15458
|
+
}, [
|
|
15459
|
+
chart,
|
|
15460
|
+
globalID
|
|
15461
|
+
]);
|
|
15462
|
+
const style = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
15463
|
+
height: '100%',
|
|
15464
|
+
width: '100%',
|
|
15465
|
+
display: 'flex',
|
|
15466
|
+
visibility: display ? 'visible' : 'hidden'
|
|
15467
|
+
}), [
|
|
15468
|
+
display
|
|
15469
|
+
]);
|
|
15470
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15471
|
+
if (chart) chart.updateProps({
|
|
15472
|
+
display
|
|
15473
|
+
});
|
|
15474
|
+
}, [
|
|
15475
|
+
chart,
|
|
15476
|
+
display
|
|
15477
|
+
]);
|
|
15478
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
15479
|
+
style: style,
|
|
15480
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_FlexBox, {
|
|
15481
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {})
|
|
15482
|
+
})
|
|
15483
|
+
});
|
|
15484
|
+
};
|
|
15485
|
+
const modules_Fluorescence = Fluorescence_Fluorescence;
|
|
14654
15486
|
const Portal_Portal = ({ id, children })=>{
|
|
14655
15487
|
if (id) {
|
|
14656
15488
|
const element = document.getElementById(id);
|
|
@@ -14665,11 +15497,11 @@ const HeatmapPortal_Chart = (props)=>{
|
|
|
14665
15497
|
id: heatmapElementID,
|
|
14666
15498
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Background, {
|
|
14667
15499
|
children: [
|
|
14668
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15500
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14669
15501
|
type: constants_ChartType.Heatmap
|
|
14670
15502
|
}),
|
|
14671
15503
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Heatmap, {}),
|
|
14672
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15504
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14673
15505
|
type: type
|
|
14674
15506
|
})
|
|
14675
15507
|
]
|
|
@@ -14683,11 +15515,11 @@ const OccupancyPortal_Chart = (props)=>{
|
|
|
14683
15515
|
id: occupancyElementID,
|
|
14684
15516
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Background, {
|
|
14685
15517
|
children: [
|
|
14686
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15518
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14687
15519
|
type: constants_ChartType.Occupancy
|
|
14688
15520
|
}),
|
|
14689
15521
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Occupancy, {}),
|
|
14690
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15522
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14691
15523
|
type: type
|
|
14692
15524
|
})
|
|
14693
15525
|
]
|
|
@@ -14725,12 +15557,14 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14725
15557
|
});
|
|
14726
15558
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_Container, {
|
|
14727
15559
|
children: [
|
|
14728
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15560
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14729
15561
|
type: type
|
|
14730
15562
|
}),
|
|
14731
15563
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_FlexBox, {
|
|
14732
15564
|
children: [
|
|
14733
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
15565
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
15566
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Fluorescence, {})
|
|
15567
|
+
}),
|
|
14734
15568
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapPortal, {
|
|
14735
15569
|
type: type,
|
|
14736
15570
|
heatmapElementID: heatmapElementID
|
|
@@ -14739,7 +15573,7 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14739
15573
|
type: type,
|
|
14740
15574
|
occupancyElementID: occupancyElementID
|
|
14741
15575
|
}),
|
|
14742
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
15576
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
14743
15577
|
children: [
|
|
14744
15578
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Zoom, {}),
|
|
14745
15579
|
type === constants_ChartType.Scan && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
@@ -14753,7 +15587,7 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14753
15587
|
})
|
|
14754
15588
|
]
|
|
14755
15589
|
}),
|
|
14756
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15590
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14757
15591
|
type: type
|
|
14758
15592
|
})
|
|
14759
15593
|
]
|
|
@@ -14768,4 +15602,4 @@ const SpectrumChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react
|
|
|
14768
15602
|
});
|
|
14769
15603
|
const lib_Spectrum_Spectrum = withChartPublisher(SpectrumChart, 'Spectrum');
|
|
14770
15604
|
const lib_Spectrum = lib_Spectrum_Spectrum;
|
|
14771
|
-
export { constants_ChartType as ChartType, lib_Dial as Dial, lib_Gauge as Gauge, lib_Heatmap as Heatmap, store_HeatmapCaptureType as HeatmapCaptureType, lib_IQ as IQ, LevelStream, constants_MarkerEventType as MarkerEventType, store_MarkerMode as MarkerMode, lib_Occupancy as Occupancy, constants_OptionKey as OptionKey, constants_PSType as PSType, constants_SegmentsEvent as SegmentsEvent, constants_SeriesType as SeriesType, lib_Spectrum as Spectrum, setFrequencyAllocationToCache, useSafePublish };
|
|
15605
|
+
export { constants_ChartType as ChartType, lib_Dial as Dial, lib_Gauge as Gauge, lib_Heatmap as Heatmap, store_HeatmapCaptureType as HeatmapCaptureType, lib_IQ as IQ, LevelStream, constants_MarkerEventType as MarkerEventType, store_MarkerMode as MarkerMode, lib_Occupancy as Occupancy, constants_OptionKey as OptionKey, constants_PSType as PSType, constants_SegmentsEvent as SegmentsEvent, constants_SeriesType as SeriesType, lib_Spectrum as Spectrum, constants_ToolsBarItemType as ToolsBarItemType, setFrequencyAllocationToCache, useSafePublish };
|