@rfkit/charts 1.1.28 → 1.1.30
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/components/EventBus/tools.d.ts +1 -0
- 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 +1512 -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();
|
|
@@ -6814,6 +7268,7 @@ const calculateEventRelativePosition = (e)=>{
|
|
|
6814
7268
|
const EVENT_PRIORITY_LEVEL_DEFAULT = 'void';
|
|
6815
7269
|
const EVENT_PRIORITY_LEVELS = {
|
|
6816
7270
|
[EVENT_PRIORITY_LEVEL_DEFAULT]: 0,
|
|
7271
|
+
[constants_ToolType.EventBus]: 1,
|
|
6817
7272
|
[constants_ToolType.Signal]: 1,
|
|
6818
7273
|
[constants_ToolType.Zoom]: 2,
|
|
6819
7274
|
[constants_ToolType.DragFrame]: 2,
|
|
@@ -6853,7 +7308,7 @@ function resetEventLevel(id, level) {
|
|
|
6853
7308
|
const currentLevel = getEventLevel(id);
|
|
6854
7309
|
if (level && currentLevel === level) getEventLevel(id, EVENT_PRIORITY_LEVEL_DEFAULT);
|
|
6855
7310
|
}
|
|
6856
|
-
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");
|
|
6857
7312
|
var Popover_styles_module_options = {};
|
|
6858
7313
|
Popover_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6859
7314
|
Popover_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6891,7 +7346,7 @@ const Popover = ({ children })=>{
|
|
|
6891
7346
|
});
|
|
6892
7347
|
};
|
|
6893
7348
|
const components_Popover = Popover;
|
|
6894
|
-
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");
|
|
6895
7350
|
var ZoomOffsetContainer_styles_module_options = {};
|
|
6896
7351
|
ZoomOffsetContainer_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6897
7352
|
ZoomOffsetContainer_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6913,7 +7368,7 @@ const ZoomOffsetContainer = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.
|
|
|
6913
7368
|
});
|
|
6914
7369
|
});
|
|
6915
7370
|
const Zoom_ZoomOffsetContainer = ZoomOffsetContainer;
|
|
6916
|
-
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");
|
|
6917
7372
|
var StationInfo_styles_module_options = {};
|
|
6918
7373
|
StationInfo_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6919
7374
|
StationInfo_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -6922,7 +7377,7 @@ StationInfo_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
6922
7377
|
StationInfo_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
6923
7378
|
injectStylesIntoStyleTag_default()(StationInfo_styles_module.Z, StationInfo_styles_module_options);
|
|
6924
7379
|
const FrequencyDataBoard_StationInfo_styles_module = StationInfo_styles_module.Z && StationInfo_styles_module.Z.locals ? StationInfo_styles_module.Z.locals : void 0;
|
|
6925
|
-
const
|
|
7380
|
+
const StationInfo_StationInfo = ({ stationInfo })=>{
|
|
6926
7381
|
if (!stationInfo) return null;
|
|
6927
7382
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
6928
7383
|
className: FrequencyDataBoard_StationInfo_styles_module.stationInfo,
|
|
@@ -6974,8 +7429,8 @@ const StationInfo = ({ stationInfo })=>{
|
|
|
6974
7429
|
]
|
|
6975
7430
|
});
|
|
6976
7431
|
};
|
|
6977
|
-
const
|
|
6978
|
-
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");
|
|
6979
7434
|
var FrequencyDataBoard_styles_module_options = {};
|
|
6980
7435
|
FrequencyDataBoard_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
6981
7436
|
FrequencyDataBoard_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7079,7 +7534,7 @@ const FrequencyDataBoard = ({ left, updateKey, onChange })=>{
|
|
|
7079
7534
|
stationInfo
|
|
7080
7535
|
]);
|
|
7081
7536
|
if (!frequency || left < 0) return null;
|
|
7082
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7537
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7083
7538
|
children: [
|
|
7084
7539
|
frequency && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
7085
7540
|
className: components_FrequencyDataBoard_styles_module.frequency,
|
|
@@ -7089,7 +7544,7 @@ const FrequencyDataBoard = ({ left, updateKey, onChange })=>{
|
|
|
7089
7544
|
]
|
|
7090
7545
|
}),
|
|
7091
7546
|
value,
|
|
7092
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
7547
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(StationInfo, {
|
|
7093
7548
|
stationInfo: sf
|
|
7094
7549
|
})
|
|
7095
7550
|
]
|
|
@@ -7156,7 +7611,7 @@ const HeatmapPopover = ({ id })=>{
|
|
|
7156
7611
|
const attr = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>seriesData.get(REAL_DATA_NAME), [
|
|
7157
7612
|
seriesData
|
|
7158
7613
|
]);
|
|
7159
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7614
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7160
7615
|
children: [
|
|
7161
7616
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyDisplay, {
|
|
7162
7617
|
frequency: frequency,
|
|
@@ -7215,7 +7670,7 @@ const OccupancyPopover = ()=>{
|
|
|
7215
7670
|
left,
|
|
7216
7671
|
frequencyFormat
|
|
7217
7672
|
]);
|
|
7218
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
7673
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7219
7674
|
children: [
|
|
7220
7675
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyDisplay, {
|
|
7221
7676
|
frequency: frequency,
|
|
@@ -7243,7 +7698,7 @@ const OccupancyPopover = ()=>{
|
|
|
7243
7698
|
]
|
|
7244
7699
|
});
|
|
7245
7700
|
};
|
|
7246
|
-
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");
|
|
7247
7702
|
var Cursor_styles_module_options = {};
|
|
7248
7703
|
Cursor_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7249
7704
|
Cursor_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7342,7 +7797,7 @@ const Cursor = ({ id, type })=>{
|
|
|
7342
7797
|
});
|
|
7343
7798
|
};
|
|
7344
7799
|
const components_Cursor = Cursor;
|
|
7345
|
-
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");
|
|
7346
7801
|
var EventBus_styles_module_options = {};
|
|
7347
7802
|
EventBus_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7348
7803
|
EventBus_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7351,15 +7806,24 @@ EventBus_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
7351
7806
|
EventBus_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
7352
7807
|
injectStylesIntoStyleTag_default()(EventBus_styles_module.Z, EventBus_styles_module_options);
|
|
7353
7808
|
const components_EventBus_styles_module = EventBus_styles_module.Z && EventBus_styles_module.Z.locals ? EventBus_styles_module.Z.locals : void 0;
|
|
7809
|
+
const useEventBusCallback_COMPONENT_KEY = constants_ToolType.EventBus;
|
|
7354
7810
|
function useEventBusCallback(id) {
|
|
7355
7811
|
const { state: { segments, axisX: { frequencyFormat }, eventBus: { onDoubleClick } } } = useStore_useStore();
|
|
7356
7812
|
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
7357
|
-
createDoubleClickEventManager(id,
|
|
7813
|
+
createDoubleClickEventManager(id, useEventBusCallback_COMPONENT_KEY, (_, e)=>{
|
|
7814
|
+
if (!compareEventPriority(id, useEventBusCallback_COMPONENT_KEY)) return;
|
|
7358
7815
|
const { left } = e;
|
|
7359
7816
|
const frequency = frequencyFormat(left);
|
|
7360
7817
|
onDoubleClick(frequency, e);
|
|
7361
7818
|
});
|
|
7819
|
+
createMouseUpEventManager(id, useEventBusCallback_COMPONENT_KEY, ()=>{
|
|
7820
|
+
resetEventLevel(id, useEventBusCallback_COMPONENT_KEY);
|
|
7821
|
+
});
|
|
7822
|
+
createMouseLeaveEventManager(id, useEventBusCallback_COMPONENT_KEY, ()=>{
|
|
7823
|
+
resetEventLevel(id, useEventBusCallback_COMPONENT_KEY);
|
|
7824
|
+
});
|
|
7362
7825
|
}, [
|
|
7826
|
+
id,
|
|
7363
7827
|
segments,
|
|
7364
7828
|
frequencyFormat,
|
|
7365
7829
|
onDoubleClick
|
|
@@ -7505,7 +7969,7 @@ const EventBus_EventBus = ({ id })=>{
|
|
|
7505
7969
|
});
|
|
7506
7970
|
};
|
|
7507
7971
|
const EventBus = EventBus_EventBus;
|
|
7508
|
-
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");
|
|
7509
7973
|
var FlexBox_styles_module_options = {};
|
|
7510
7974
|
FlexBox_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7511
7975
|
FlexBox_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7523,7 +7987,7 @@ const FlexBox = (props)=>{
|
|
|
7523
7987
|
});
|
|
7524
7988
|
};
|
|
7525
7989
|
const components_FlexBox = FlexBox;
|
|
7526
|
-
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");
|
|
7527
7991
|
var Boundary_styles_module_options = {};
|
|
7528
7992
|
Boundary_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7529
7993
|
Boundary_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7601,7 +8065,7 @@ function calculateAreaInfo({ endLeft, startLeft, startTop, endTop, frequencyForm
|
|
|
7601
8065
|
return result;
|
|
7602
8066
|
}
|
|
7603
8067
|
const heatmapCaptureUpdate = (globalID, func)=>subscription_createSubscriptionManager(`heatmapCaptureUpdate-${globalID}`, '0', func);
|
|
7604
|
-
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");
|
|
7605
8069
|
var Area_styles_module_options = {};
|
|
7606
8070
|
Area_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7607
8071
|
Area_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7611,7 +8075,7 @@ Area_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
|
7611
8075
|
injectStylesIntoStyleTag_default()(Area_styles_module.Z, Area_styles_module_options);
|
|
7612
8076
|
const HeatmapCapture_Area_styles_module = Area_styles_module.Z && Area_styles_module.Z.locals ? Area_styles_module.Z.locals : void 0;
|
|
7613
8077
|
const Area_COMPONENT_KEY = constants_ToolType.HeatmapCapture;
|
|
7614
|
-
const
|
|
8078
|
+
const Area_Area = (props)=>{
|
|
7615
8079
|
const { state: { heatmapCapture, segments, axisX: { frequencyFormat, unit }, system, globalID } } = useStore_useStore();
|
|
7616
8080
|
const { id } = props;
|
|
7617
8081
|
const { type, show, sync, onChange } = heatmapCapture;
|
|
@@ -7684,7 +8148,7 @@ const Area = (props)=>{
|
|
|
7684
8148
|
children: [
|
|
7685
8149
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
7686
8150
|
className: HeatmapCapture_Area_styles_module.value,
|
|
7687
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
8151
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Mask, {
|
|
7688
8152
|
children: [
|
|
7689
8153
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
7690
8154
|
className: HeatmapCapture_Area_styles_module.item,
|
|
@@ -7778,8 +8242,8 @@ const Area = (props)=>{
|
|
|
7778
8242
|
]
|
|
7779
8243
|
});
|
|
7780
8244
|
};
|
|
7781
|
-
const
|
|
7782
|
-
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");
|
|
7783
8247
|
var RowIndex_styles_module_options = {};
|
|
7784
8248
|
RowIndex_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7785
8249
|
RowIndex_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -7905,7 +8369,7 @@ const RowIndex = ({ id })=>{
|
|
|
7905
8369
|
});
|
|
7906
8370
|
};
|
|
7907
8371
|
const HeatmapCapture_RowIndex = RowIndex;
|
|
7908
|
-
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");
|
|
7909
8373
|
var Slider_styles_module_options = {};
|
|
7910
8374
|
Slider_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
7911
8375
|
Slider_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8162,12 +8626,12 @@ const HeatmapCapture_HeatmapCapture = (props)=>{
|
|
|
8162
8626
|
...props
|
|
8163
8627
|
}) : type === store_HeatmapCaptureType.RowIndex ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapCapture_RowIndex, {
|
|
8164
8628
|
...props
|
|
8165
|
-
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
8629
|
+
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Area, {
|
|
8166
8630
|
...props
|
|
8167
8631
|
});
|
|
8168
8632
|
};
|
|
8169
8633
|
const HeatmapCapture = HeatmapCapture_HeatmapCapture;
|
|
8170
|
-
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");
|
|
8171
8635
|
var PluginBox_styles_module_options = {};
|
|
8172
8636
|
PluginBox_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8173
8637
|
PluginBox_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8176,9 +8640,9 @@ PluginBox_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
8176
8640
|
PluginBox_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8177
8641
|
injectStylesIntoStyleTag_default()(PluginBox_styles_module.Z, PluginBox_styles_module_options);
|
|
8178
8642
|
const components_PluginBox_styles_module = PluginBox_styles_module.Z && PluginBox_styles_module.Z.locals ? PluginBox_styles_module.Z.locals : void 0;
|
|
8179
|
-
const
|
|
8643
|
+
const PluginBox = (props)=>{
|
|
8180
8644
|
const { children } = props;
|
|
8181
|
-
const { pluginBoxWidth } =
|
|
8645
|
+
const { pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
8182
8646
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
8183
8647
|
className: components_PluginBox_styles_module.PluginBox,
|
|
8184
8648
|
style: {
|
|
@@ -8187,7 +8651,7 @@ const PluginBox_PluginBox = (props)=>{
|
|
|
8187
8651
|
children: children
|
|
8188
8652
|
});
|
|
8189
8653
|
};
|
|
8190
|
-
const
|
|
8654
|
+
const components_PluginBox = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(PluginBox);
|
|
8191
8655
|
const info2step = (info)=>{
|
|
8192
8656
|
const { min, max } = info;
|
|
8193
8657
|
const diff = max - min;
|
|
@@ -8214,7 +8678,7 @@ class Range {
|
|
|
8214
8678
|
state = {
|
|
8215
8679
|
axisY: {
|
|
8216
8680
|
step: stepDefault,
|
|
8217
|
-
realRange:
|
|
8681
|
+
realRange: constants_RANGE_DEFAULT,
|
|
8218
8682
|
restrict: restrictList["dBμV"]
|
|
8219
8683
|
},
|
|
8220
8684
|
onChange: ()=>{}
|
|
@@ -8316,36 +8780,33 @@ class Range {
|
|
|
8316
8780
|
});
|
|
8317
8781
|
this.onChange();
|
|
8318
8782
|
}
|
|
8319
|
-
moveWheel(
|
|
8320
|
-
const {
|
|
8321
|
-
const
|
|
8322
|
-
const
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
const newRangeSize = maxY - minY + (isAdd ? step : -step);
|
|
8343
|
-
const newMinAdjusted = mouseY - percentage * newRangeSize;
|
|
8344
|
-
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;
|
|
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
|
+
}
|
|
8345
8806
|
this.setAxisY({
|
|
8346
8807
|
realRange: [
|
|
8347
|
-
|
|
8348
|
-
|
|
8808
|
+
finalMin,
|
|
8809
|
+
finalMax
|
|
8349
8810
|
]
|
|
8350
8811
|
});
|
|
8351
8812
|
this.onChange();
|
|
@@ -8398,6 +8859,7 @@ class Range {
|
|
|
8398
8859
|
}
|
|
8399
8860
|
const useRangeAutoFocus = (id, func)=>subscription_createSubscriptionManager(`useRangeAutoFocus-${id}`, '0', func);
|
|
8400
8861
|
const useRangeMove = (globalID, func)=>subscription_createSubscriptionManager(`useRangeMove-${globalID}`, '0', func);
|
|
8862
|
+
const useRangeSet = (globalID, func)=>subscription_createSubscriptionManager(`useRangeSet-${globalID}`, '0', func);
|
|
8401
8863
|
const useZoomEvent_COMPONENT_KEY = constants_ToolType.Zoom;
|
|
8402
8864
|
function useZoomEvent(id, name) {
|
|
8403
8865
|
const { state: { zoom, segments, globalID }, dispatch } = useStore_useStore();
|
|
@@ -8524,7 +8986,7 @@ class render_Heatmap {
|
|
|
8524
8986
|
constructor(props){
|
|
8525
8987
|
this.state = {
|
|
8526
8988
|
chart: null,
|
|
8527
|
-
realRange:
|
|
8989
|
+
realRange: constants_RANGE_DEFAULT,
|
|
8528
8990
|
heatmapDefaultData: [],
|
|
8529
8991
|
...props
|
|
8530
8992
|
};
|
|
@@ -8619,7 +9081,7 @@ const Heatmap_Heatmap = (props)=>{
|
|
|
8619
9081
|
id: id,
|
|
8620
9082
|
chart: chart
|
|
8621
9083
|
}),
|
|
8622
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
9084
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
8623
9085
|
children: [
|
|
8624
9086
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Boundary, {}),
|
|
8625
9087
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
@@ -8827,7 +9289,7 @@ const GridLinesSVG = ({ row = 10, col = 10, strokeColor = 'var(--theme-border-ba
|
|
|
8827
9289
|
});
|
|
8828
9290
|
};
|
|
8829
9291
|
const GridLines_GridLinesSVG = GridLinesSVG;
|
|
8830
|
-
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");
|
|
8831
9293
|
var GridLines_styles_module_options = {};
|
|
8832
9294
|
GridLines_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8833
9295
|
GridLines_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8886,7 +9348,7 @@ const GridLines = ()=>{
|
|
|
8886
9348
|
});
|
|
8887
9349
|
};
|
|
8888
9350
|
const components_GridLines = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(GridLines);
|
|
8889
|
-
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");
|
|
8890
9352
|
var RulerTicks_styles_module_options = {};
|
|
8891
9353
|
RulerTicks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8892
9354
|
RulerTicks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8895,7 +9357,7 @@ RulerTicks_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
8895
9357
|
RulerTicks_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8896
9358
|
injectStylesIntoStyleTag_default()(RulerTicks_styles_module.Z, RulerTicks_styles_module_options);
|
|
8897
9359
|
const components_RulerTicks_styles_module = RulerTicks_styles_module.Z && RulerTicks_styles_module.Z.locals ? RulerTicks_styles_module.Z.locals : void 0;
|
|
8898
|
-
const
|
|
9360
|
+
const RulerTicks_RulerTicks = ({ length = 10, tickColor = 'var(--theme-color-base)', tickHeight = 8, strokeWidth = 1, orientation = 'horizontal', split = 2 })=>{
|
|
8899
9361
|
const renderTick = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((index)=>{
|
|
8900
9362
|
const tickSpacing = 100 / length;
|
|
8901
9363
|
const position = index * tickSpacing;
|
|
@@ -8955,8 +9417,8 @@ const RulerTicks = ({ length = 10, tickColor = 'var(--theme-color-base)', tickHe
|
|
|
8955
9417
|
]
|
|
8956
9418
|
});
|
|
8957
9419
|
};
|
|
8958
|
-
const components_RulerTicks =
|
|
8959
|
-
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");
|
|
8960
9422
|
var components_Ticks_styles_module_options = {};
|
|
8961
9423
|
components_Ticks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
8962
9424
|
components_Ticks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -8964,155 +9426,8 @@ components_Ticks_styles_module_options.insert = insertBySelector_default().bind(
|
|
|
8964
9426
|
components_Ticks_styles_module_options.domAPI = styleDomAPI_default();
|
|
8965
9427
|
components_Ticks_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
8966
9428
|
injectStylesIntoStyleTag_default()(spectrum_components_Ticks_styles_module.Z, components_Ticks_styles_module_options);
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
const { state: { axisY, system: { height }, globalID } } = useStore_useStore();
|
|
8970
|
-
const { range, autoranging, step, restrict, onChange } = axisY;
|
|
8971
|
-
const containerRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
8972
|
-
const [restrictMin, restrictMax] = restrict;
|
|
8973
|
-
const restrictRange = restrictMax - restrictMin;
|
|
8974
|
-
const [min, max] = range;
|
|
8975
|
-
const len = restrictRange / step + 1;
|
|
8976
|
-
const viewRange = max - min;
|
|
8977
|
-
const ticks = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>Array.from({
|
|
8978
|
-
length: len
|
|
8979
|
-
}, (_, index)=>{
|
|
8980
|
-
const value = (restrictMax - index * step).toFixed(0);
|
|
8981
|
-
if (!(0, utils.Ri)(value)) return null;
|
|
8982
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
8983
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
8984
|
-
children: value
|
|
8985
|
-
})
|
|
8986
|
-
}, value);
|
|
8987
|
-
}), [
|
|
8988
|
-
restrictMax,
|
|
8989
|
-
step,
|
|
8990
|
-
len
|
|
8991
|
-
]);
|
|
8992
|
-
const ticksStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
8993
|
-
const containerHeight = containerRef.current?.offsetHeight ?? 0;
|
|
8994
|
-
const actualHeight = (restrictRange + step) / viewRange * containerHeight;
|
|
8995
|
-
const tickOffset = step / (restrictRange + step) * actualHeight / 2;
|
|
8996
|
-
const rangeOffset = (restrictMax - max) / viewRange * containerHeight;
|
|
8997
|
-
return {
|
|
8998
|
-
height: `${actualHeight}px`,
|
|
8999
|
-
transform: `translateY(-${tickOffset + rangeOffset}px)`
|
|
9000
|
-
};
|
|
9001
|
-
}, [
|
|
9002
|
-
restrict,
|
|
9003
|
-
range,
|
|
9004
|
-
step,
|
|
9005
|
-
height
|
|
9006
|
-
]);
|
|
9007
|
-
const [isDragging, setIsDragging] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
9008
|
-
const [dragStartY, setDragStartY] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(0);
|
|
9009
|
-
const handleMouseDown = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
9010
|
-
setIsDragging(true);
|
|
9011
|
-
setDragStartY(e.clientY);
|
|
9012
|
-
}, []);
|
|
9013
|
-
const handleMouseUp = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
|
|
9014
|
-
setIsDragging(false);
|
|
9015
|
-
}, []);
|
|
9016
|
-
const handleMouseMove = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e)=>{
|
|
9017
|
-
if (!isDragging || !containerRef.current) return;
|
|
9018
|
-
const offset = (e.clientY - dragStartY) / containerRef.current.offsetHeight;
|
|
9019
|
-
if (Math.abs(offset) > 0.01) {
|
|
9020
|
-
ranging.move?.(offset);
|
|
9021
|
-
setDragStartY(e.clientY);
|
|
9022
|
-
}
|
|
9023
|
-
}, [
|
|
9024
|
-
isDragging,
|
|
9025
|
-
dragStartY,
|
|
9026
|
-
ranging
|
|
9027
|
-
]);
|
|
9028
|
-
const handleWheelWithBorder = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((e, isTop)=>{
|
|
9029
|
-
if (isDragging) return;
|
|
9030
|
-
e.stopPropagation();
|
|
9031
|
-
ranging.moveBoundary?.(e.deltaY > 0, isTop);
|
|
9032
|
-
}, [
|
|
9033
|
-
isDragging,
|
|
9034
|
-
step,
|
|
9035
|
-
axisY,
|
|
9036
|
-
onChange
|
|
9037
|
-
]);
|
|
9038
|
-
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9039
|
-
if (!globalID) return;
|
|
9040
|
-
const handleKeyEvent = (e)=>{
|
|
9041
|
-
if ('ArrowUp' === e.code) ranging.move?.(true);
|
|
9042
|
-
if ('ArrowDown' === e.code) ranging.move?.(false);
|
|
9043
|
-
};
|
|
9044
|
-
subscriptionKeyBus(globalID, 'ticks', handleKeyEvent);
|
|
9045
|
-
}, [
|
|
9046
|
-
ranging,
|
|
9047
|
-
globalID
|
|
9048
|
-
]);
|
|
9049
|
-
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
9050
|
-
if (globalID) useRangeMove(globalID, (offset)=>{
|
|
9051
|
-
ranging.move?.(offset);
|
|
9052
|
-
});
|
|
9053
|
-
}, [
|
|
9054
|
-
ranging,
|
|
9055
|
-
globalID
|
|
9056
|
-
]);
|
|
9057
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9058
|
-
ref: containerRef,
|
|
9059
|
-
className: AxisY_spectrum_components_Ticks_styles_module.ticks,
|
|
9060
|
-
style: {
|
|
9061
|
-
cursor: isDragging ? 'ns-resize' : 'auto',
|
|
9062
|
-
pointerEvents: autoranging ? 'none' : 'auto'
|
|
9063
|
-
},
|
|
9064
|
-
onMouseDown: handleMouseDown,
|
|
9065
|
-
onMouseUp: handleMouseUp,
|
|
9066
|
-
onMouseLeave: handleMouseUp,
|
|
9067
|
-
onMouseMove: handleMouseMove,
|
|
9068
|
-
onDoubleClick: ()=>{
|
|
9069
|
-
ranging.setAxisY?.({
|
|
9070
|
-
realRange: RANGE_DEFAULT
|
|
9071
|
-
});
|
|
9072
|
-
ranging.onChange?.();
|
|
9073
|
-
},
|
|
9074
|
-
children: [
|
|
9075
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Tooltip, {
|
|
9076
|
-
content: "\u6ED1\u52A8\u9F20\u6807\u6EDA\u8F6E\u4EE5\u6539\u53D8\u8FB9\u754C\u8303\u56F4",
|
|
9077
|
-
duration: 1500,
|
|
9078
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9079
|
-
className: AxisY_spectrum_components_Ticks_styles_module.wheelContainerTop,
|
|
9080
|
-
style: {
|
|
9081
|
-
pointerEvents: isDragging ? 'none' : 'auto'
|
|
9082
|
-
},
|
|
9083
|
-
onWheel: (e)=>handleWheelWithBorder(e, true)
|
|
9084
|
-
})
|
|
9085
|
-
}),
|
|
9086
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Tooltip, {
|
|
9087
|
-
content: "\u6ED1\u52A8\u9F20\u6807\u6EDA\u8F6E\u4EE5\u6539\u53D8\u8FB9\u754C\u8303\u56F4",
|
|
9088
|
-
duration: 1500,
|
|
9089
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9090
|
-
className: AxisY_spectrum_components_Ticks_styles_module.wheelContainerBottom,
|
|
9091
|
-
style: {
|
|
9092
|
-
pointerEvents: isDragging ? 'none' : 'auto'
|
|
9093
|
-
},
|
|
9094
|
-
onWheel: (e)=>handleWheelWithBorder(e, false)
|
|
9095
|
-
})
|
|
9096
|
-
}),
|
|
9097
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9098
|
-
className: AxisY_spectrum_components_Ticks_styles_module.ticksContainer,
|
|
9099
|
-
style: ticksStyle,
|
|
9100
|
-
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"}
|
|
9101
|
-
\u{53CC}\u{51FB}\u{56DE}\u{5230}\u{9ED8}\u{8BA4}\u{8303}\u{56F4}${RANGE_DEFAULT}`,
|
|
9102
|
-
children: [
|
|
9103
|
-
ticks,
|
|
9104
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_RulerTicks, {
|
|
9105
|
-
orientation: "vertical",
|
|
9106
|
-
length: 2 * len,
|
|
9107
|
-
split: 2
|
|
9108
|
-
})
|
|
9109
|
-
]
|
|
9110
|
-
})
|
|
9111
|
-
]
|
|
9112
|
-
});
|
|
9113
|
-
};
|
|
9114
|
-
const spectrum_components_Ticks = components_Ticks_Ticks;
|
|
9115
|
-
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");
|
|
9116
9431
|
var spectrum_styles_module_options = {};
|
|
9117
9432
|
spectrum_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
9118
9433
|
spectrum_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -9120,10 +9435,10 @@ spectrum_styles_module_options.insert = insertBySelector_default().bind(null, "h
|
|
|
9120
9435
|
spectrum_styles_module_options.domAPI = styleDomAPI_default();
|
|
9121
9436
|
spectrum_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
9122
9437
|
injectStylesIntoStyleTag_default()(spectrum_styles_module.Z, spectrum_styles_module_options);
|
|
9123
|
-
|
|
9438
|
+
spectrum_styles_module.Z && spectrum_styles_module.Z.locals && spectrum_styles_module.Z.locals;
|
|
9124
9439
|
const useRange = ({ chart })=>{
|
|
9125
9440
|
const { state: { axisY, series, globalID }, dispatch } = useStore_useStore();
|
|
9126
|
-
const { realRange, renderRange, step, unit, onChange, autoranging } = axisY;
|
|
9441
|
+
const { realRange, renderRange, step, unit, onChange, autoranging, disabled } = axisY;
|
|
9127
9442
|
const ranging = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>new Range({
|
|
9128
9443
|
axisY
|
|
9129
9444
|
}), [
|
|
@@ -9224,42 +9539,34 @@ const useRange = ({ chart })=>{
|
|
|
9224
9539
|
}, [
|
|
9225
9540
|
autoranging
|
|
9226
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
|
+
]);
|
|
9227
9562
|
return ranging;
|
|
9228
9563
|
};
|
|
9229
|
-
const
|
|
9230
|
-
const AxisYSpectrum = (props)=>{
|
|
9231
|
-
const { chart } = props;
|
|
9232
|
-
const { state: { axisY, toolsBar: { show: showToolsBar }, axisX: { show: showAxisX } } } = useStore_useStore();
|
|
9233
|
-
const { show } = axisY;
|
|
9234
|
-
const ranging = useRanging({
|
|
9235
|
-
chart
|
|
9236
|
-
});
|
|
9237
|
-
const { axisYWidth, marginLeft } = useAxisYWidth();
|
|
9238
|
-
if (false === show) return null;
|
|
9239
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
9240
|
-
className: AxisY_spectrum_styles_module.axisyspectrum,
|
|
9241
|
-
style: {
|
|
9242
|
-
width: axisYWidth,
|
|
9243
|
-
marginLeft
|
|
9244
|
-
},
|
|
9245
|
-
children: [
|
|
9246
|
-
showToolsBar && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9247
|
-
className: AxisY_spectrum_styles_module.before
|
|
9248
|
-
}),
|
|
9249
|
-
showAxisX && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
9250
|
-
className: AxisY_spectrum_styles_module.after
|
|
9251
|
-
}),
|
|
9252
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(spectrum_components_Ticks, {
|
|
9253
|
-
ranging: ranging
|
|
9254
|
-
})
|
|
9255
|
-
]
|
|
9256
|
-
});
|
|
9257
|
-
};
|
|
9258
|
-
const spectrum = AxisYSpectrum;
|
|
9564
|
+
const spectrum_useRanging = useRange;
|
|
9259
9565
|
const passThroughSeries = (globalID, series)=>subscription_openData(`passThroughSeries-${globalID}`, series, {});
|
|
9260
9566
|
class Spectrum {
|
|
9261
9567
|
state;
|
|
9262
9568
|
useRangeAutoFocus;
|
|
9569
|
+
useRangeSet;
|
|
9263
9570
|
firstRenderAutoFocus;
|
|
9264
9571
|
constructor(props){
|
|
9265
9572
|
this.state = {
|
|
@@ -9267,7 +9574,7 @@ class Spectrum {
|
|
|
9267
9574
|
autoranging: false,
|
|
9268
9575
|
prevAutoRangeTime: 0,
|
|
9269
9576
|
id: 'id',
|
|
9270
|
-
renderRange:
|
|
9577
|
+
renderRange: constants_RANGE_DEFAULT,
|
|
9271
9578
|
interval: 1,
|
|
9272
9579
|
series: {},
|
|
9273
9580
|
globalID: '',
|
|
@@ -9287,6 +9594,9 @@ class Spectrum {
|
|
|
9287
9594
|
this.useRangeAutoFocus = ()=>{
|
|
9288
9595
|
useRangeAutoFocus(this.state.globalID)();
|
|
9289
9596
|
};
|
|
9597
|
+
useRangeSet(this.state.globalID, (range)=>{
|
|
9598
|
+
this.state.chart?.setRange(range);
|
|
9599
|
+
});
|
|
9290
9600
|
}
|
|
9291
9601
|
initSeries() {
|
|
9292
9602
|
Object.values(SERIES).forEach((config)=>{
|
|
@@ -10070,7 +10380,7 @@ const TimeRange_Switch_Switch = ()=>{
|
|
|
10070
10380
|
});
|
|
10071
10381
|
};
|
|
10072
10382
|
const TimeRange_Switch = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(TimeRange_Switch_Switch);
|
|
10073
|
-
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");
|
|
10074
10384
|
var Switch_styles_module_options = {};
|
|
10075
10385
|
Switch_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10076
10386
|
Switch_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10162,6 +10472,45 @@ const ZoomSwitch = ()=>{
|
|
|
10162
10472
|
});
|
|
10163
10473
|
};
|
|
10164
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;
|
|
10165
10514
|
const Reset_modes = Object.values(constants_ModuleType);
|
|
10166
10515
|
const Reset_Reset = ()=>{
|
|
10167
10516
|
const { state: { globalID, publish } } = useStore_useStore();
|
|
@@ -10191,7 +10540,7 @@ const Reset_Reset = ()=>{
|
|
|
10191
10540
|
});
|
|
10192
10541
|
};
|
|
10193
10542
|
const Reset = Reset_Reset;
|
|
10194
|
-
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");
|
|
10195
10544
|
var Dropdown_styles_module_options = {};
|
|
10196
10545
|
Dropdown_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10197
10546
|
Dropdown_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10200,13 +10549,14 @@ Dropdown_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
10200
10549
|
Dropdown_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
10201
10550
|
injectStylesIntoStyleTag_default()(Dropdown_styles_module.Z, Dropdown_styles_module_options);
|
|
10202
10551
|
const components_Dropdown_styles_module = Dropdown_styles_module.Z && Dropdown_styles_module.Z.locals ? Dropdown_styles_module.Z.locals : void 0;
|
|
10203
|
-
const
|
|
10552
|
+
const Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u9009\u62E9", closeOnSelect = true })=>{
|
|
10204
10553
|
const [isOpen, setIsOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
10205
10554
|
const handleSelect = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((value)=>{
|
|
10206
10555
|
onChange(value);
|
|
10207
|
-
setIsOpen(false);
|
|
10556
|
+
if (closeOnSelect) setIsOpen(false);
|
|
10208
10557
|
}, [
|
|
10209
|
-
onChange
|
|
10558
|
+
onChange,
|
|
10559
|
+
closeOnSelect
|
|
10210
10560
|
]);
|
|
10211
10561
|
const selectedOption = options.find((option)=>option.value === value);
|
|
10212
10562
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
@@ -10216,9 +10566,15 @@ const Dropdown_Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u90
|
|
|
10216
10566
|
className: components_Dropdown_styles_module.dropdown,
|
|
10217
10567
|
onClick: ()=>setIsOpen(!isOpen),
|
|
10218
10568
|
children: [
|
|
10219
|
-
/*#__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", {
|
|
10220
10570
|
className: components_Dropdown_styles_module.selectedText,
|
|
10221
|
-
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
|
|
10222
10578
|
}),
|
|
10223
10579
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
10224
10580
|
className: `${components_Dropdown_styles_module.arrow} ${isOpen ? components_Dropdown_styles_module.open : ''}`,
|
|
@@ -10230,14 +10586,15 @@ const Dropdown_Dropdown = ({ value, options, onChange, placeholder = "\u8BF7\u90
|
|
|
10230
10586
|
className: components_Dropdown_styles_module.dropdownMenu,
|
|
10231
10587
|
children: options.map((option, index)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10232
10588
|
className: `${components_Dropdown_styles_module.dropdownItem} ${value === option.value ? components_Dropdown_styles_module.active : ''}`,
|
|
10589
|
+
style: option.style,
|
|
10233
10590
|
onClick: ()=>handleSelect(option.value),
|
|
10234
|
-
children: option.label
|
|
10235
|
-
}, index))
|
|
10591
|
+
children: option.render ? option.render() : option.label
|
|
10592
|
+
}, null !== option.value ? option.value : `null-option-${index}`))
|
|
10236
10593
|
})
|
|
10237
10594
|
]
|
|
10238
10595
|
});
|
|
10239
10596
|
};
|
|
10240
|
-
const
|
|
10597
|
+
const components_Dropdown = Dropdown;
|
|
10241
10598
|
function useChannel() {
|
|
10242
10599
|
const { state: { marker, globalID }, dispatch } = useStore_useStore();
|
|
10243
10600
|
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
@@ -10426,7 +10783,7 @@ const SegmentsDisplayControl_SegmentsDisplayControl = ()=>{
|
|
|
10426
10783
|
label: `\u{9891}\u{6BB5} ${segment.start} - ${segment.stop}`
|
|
10427
10784
|
}))
|
|
10428
10785
|
];
|
|
10429
|
-
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, {
|
|
10430
10787
|
value: selectedIndex,
|
|
10431
10788
|
options: options,
|
|
10432
10789
|
onChange: handleSelect
|
|
@@ -10581,7 +10938,7 @@ const SeriesControl = ({ type })=>{
|
|
|
10581
10938
|
});
|
|
10582
10939
|
};
|
|
10583
10940
|
const ToolsBar_SeriesControl = SeriesControl;
|
|
10584
|
-
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");
|
|
10585
10942
|
var SeriesDisplayControl_styles_module_options = {};
|
|
10586
10943
|
SeriesDisplayControl_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10587
10944
|
SeriesDisplayControl_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10597,7 +10954,27 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10597
10954
|
data,
|
|
10598
10955
|
legendExternal
|
|
10599
10956
|
]);
|
|
10600
|
-
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)=>{
|
|
10601
10978
|
if (globalID) {
|
|
10602
10979
|
const item = data.get(name);
|
|
10603
10980
|
if (item) {
|
|
@@ -10607,6 +10984,7 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10607
10984
|
display: newDisplay
|
|
10608
10985
|
});
|
|
10609
10986
|
series.data = data;
|
|
10987
|
+
setUpdateCounter((prev)=>prev + 1);
|
|
10610
10988
|
dispatch({
|
|
10611
10989
|
payload: {
|
|
10612
10990
|
series
|
|
@@ -10622,86 +11000,130 @@ const SeriesDisplayControl_SeriesDisplayControl = ()=>{
|
|
|
10622
11000
|
}, [
|
|
10623
11001
|
series,
|
|
10624
11002
|
data,
|
|
10625
|
-
globalID
|
|
11003
|
+
globalID,
|
|
11004
|
+
dispatch
|
|
10626
11005
|
]);
|
|
10627
11006
|
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
10628
11007
|
if (forceDisplay) Object.values(SERIES).filter((s)=>!s.display).map((s)=>s.name).forEach((s)=>{
|
|
10629
11008
|
if (!legendExternal.includes(s)) setTimeout(()=>{
|
|
10630
|
-
|
|
11009
|
+
handleSeriesToggle(s, true);
|
|
10631
11010
|
}, 1);
|
|
10632
11011
|
});
|
|
10633
11012
|
}, [
|
|
10634
|
-
forceDisplay,
|
|
10635
|
-
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
|
|
10636
11041
|
]);
|
|
10637
|
-
const
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
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
|
+
];
|
|
10650
11081
|
}, [
|
|
10651
|
-
|
|
11082
|
+
seriesArray,
|
|
11083
|
+
seriesDataSnapshot
|
|
10652
11084
|
]);
|
|
10653
|
-
const
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
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",
|
|
10666
|
-
fill: isCollapsed ? 'var(--theme-color-base)' : 'var(--theme-color-primary)'
|
|
10667
|
-
}),
|
|
10668
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10669
|
-
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",
|
|
10670
|
-
fill: isCollapsed ? 'var(--theme-color-base)' : 'var(--theme-color-primary)'
|
|
10671
|
-
})
|
|
10672
|
-
]
|
|
10673
|
-
})
|
|
10674
|
-
}), [
|
|
10675
|
-
isCollapsed
|
|
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;
|
|
11094
|
+
}, [
|
|
11095
|
+
displayedSeries,
|
|
11096
|
+
seriesDataSnapshot
|
|
10676
11097
|
]);
|
|
10677
11098
|
if (!(data instanceof Map)) return null;
|
|
10678
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.
|
|
10679
|
-
|
|
10680
|
-
children:
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
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)"
|
|
10700
11121
|
})
|
|
10701
|
-
|
|
11122
|
+
]
|
|
10702
11123
|
})
|
|
10703
|
-
})
|
|
10704
|
-
|
|
11124
|
+
}),
|
|
11125
|
+
closeOnSelect: false
|
|
11126
|
+
})
|
|
10705
11127
|
});
|
|
10706
11128
|
};
|
|
10707
11129
|
const SeriesDisplayControl = SeriesDisplayControl_SeriesDisplayControl;
|
|
@@ -10709,9 +11131,9 @@ const SpacerLine = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_run
|
|
|
10709
11131
|
className: components_ToolsBar_styles_module.spacerLine
|
|
10710
11132
|
});
|
|
10711
11133
|
const ToolsBar_SpacerLine = SpacerLine;
|
|
10712
|
-
const
|
|
10713
|
-
const { state: { toolsBar: { show } } } = useStore_useStore();
|
|
10714
|
-
const { width, pluginBoxWidth } =
|
|
11134
|
+
const ToolsBar_ToolsBar = ({ type })=>{
|
|
11135
|
+
const { state: { toolsBar: { show, hiddenTools = [] } } } = useStore_useStore();
|
|
11136
|
+
const { width, pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
10715
11137
|
const axisStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
10716
11138
|
marginLeft: width,
|
|
10717
11139
|
width: pluginBoxWidth
|
|
@@ -10719,6 +11141,9 @@ const ToolsBar = ({ type })=>{
|
|
|
10719
11141
|
width,
|
|
10720
11142
|
pluginBoxWidth
|
|
10721
11143
|
]);
|
|
11144
|
+
const isToolHidden = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((toolType)=>hiddenTools.includes(toolType), [
|
|
11145
|
+
hiddenTools
|
|
11146
|
+
]);
|
|
10722
11147
|
if (type === constants_ChartType.Occupancy || !show) return null;
|
|
10723
11148
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10724
11149
|
className: components_ToolsBar_styles_module.ToolsBar,
|
|
@@ -10726,38 +11151,39 @@ const ToolsBar = ({ type })=>{
|
|
|
10726
11151
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
10727
11152
|
className: components_ToolsBar_styles_module.fun,
|
|
10728
11153
|
children: [
|
|
10729
|
-
type !== constants_ChartType.Heatmap && type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Autoranging, {}),
|
|
10730
|
-
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Unit, {}),
|
|
10731
|
-
type === constants_ChartType.Heatmap && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_GradientRibbon, {}),
|
|
10732
|
-
type !== constants_ChartType.ScanDF360 && type !== constants_ChartType.LevelStream && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar_SpacerLine, {}),
|
|
10733
|
-
/*#__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, {}),
|
|
10734
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, {
|
|
10735
11160
|
children: [
|
|
10736
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(StationAllocation_Switch, {}),
|
|
10737
|
-
/*#__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, {
|
|
10738
11163
|
type: type
|
|
10739
11164
|
}),
|
|
10740
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(FrequencyAllocation_Switch, {}),
|
|
10741
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Zoom_Switch, {}),
|
|
10742
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Limit_Switch, {}),
|
|
10743
|
-
/*#__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, {})
|
|
10744
11169
|
]
|
|
10745
11170
|
}),
|
|
10746
11171
|
type === constants_ChartType.Scan && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
10747
|
-
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, {})
|
|
10748
11173
|
}),
|
|
10749
11174
|
type === constants_ChartType.Heatmap && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
10750
11175
|
children: [
|
|
10751
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapCapture_Switch, {}),
|
|
10752
|
-
/*#__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, {})
|
|
10753
11178
|
]
|
|
10754
11179
|
}),
|
|
10755
|
-
(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, {})
|
|
10756
11182
|
]
|
|
10757
11183
|
})
|
|
10758
11184
|
});
|
|
10759
11185
|
};
|
|
10760
|
-
const
|
|
11186
|
+
const ToolsBar = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.memo)(ToolsBar_ToolsBar);
|
|
10761
11187
|
function uselevelStreamAnalyzer() {
|
|
10762
11188
|
const { state: { globalID, axisY: { range }, levelStream: { cacheTime, granularity } } } = useStore_useStore();
|
|
10763
11189
|
const analyzer = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
@@ -10919,7 +11345,286 @@ const Level_Level = (props)=>{
|
|
|
10919
11345
|
});
|
|
10920
11346
|
};
|
|
10921
11347
|
const Level = Level_Level;
|
|
10922
|
-
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");
|
|
10923
11628
|
var Band_styles_module_options = {};
|
|
10924
11629
|
Band_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10925
11630
|
Band_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -10962,7 +11667,7 @@ const Band_Band = ()=>{
|
|
|
10962
11667
|
});
|
|
10963
11668
|
};
|
|
10964
11669
|
const Band = Band_Band;
|
|
10965
|
-
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");
|
|
10966
11671
|
var DragFrame_styles_module_options = {};
|
|
10967
11672
|
DragFrame_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
10968
11673
|
DragFrame_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11694,7 +12399,7 @@ const FrequencyAllocation_data = [
|
|
|
11694
12399
|
description: "WIFI\u3001\u65E0\u4EBA\u673A\u7B49\u4F7F\u7528\u9891\u6BB5"
|
|
11695
12400
|
}
|
|
11696
12401
|
];
|
|
11697
|
-
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");
|
|
11698
12403
|
var FrequencyAllocation_styles_module_options = {};
|
|
11699
12404
|
FrequencyAllocation_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11700
12405
|
FrequencyAllocation_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11720,7 +12425,7 @@ const SegmentContainer = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.mem
|
|
|
11720
12425
|
}, `band-${band.title}-${index}`))
|
|
11721
12426
|
}));
|
|
11722
12427
|
const FrequencyAllocation_SegmentContainer = SegmentContainer;
|
|
11723
|
-
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");
|
|
11724
12429
|
var FrequencyAllocation_Tooltip_styles_module_options = {};
|
|
11725
12430
|
FrequencyAllocation_Tooltip_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11726
12431
|
FrequencyAllocation_Tooltip_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -11960,7 +12665,7 @@ const FrequencyAllocation_FrequencyAllocation = ()=>{
|
|
|
11960
12665
|
});
|
|
11961
12666
|
};
|
|
11962
12667
|
const FrequencyAllocation = FrequencyAllocation_FrequencyAllocation;
|
|
11963
|
-
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");
|
|
11964
12669
|
var Board_styles_module_options = {};
|
|
11965
12670
|
Board_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
11966
12671
|
Board_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12006,7 +12711,7 @@ const Board_Board = ({ id })=>{
|
|
|
12006
12711
|
});
|
|
12007
12712
|
};
|
|
12008
12713
|
const Board = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(Board_Board);
|
|
12009
|
-
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");
|
|
12010
12715
|
var FrequencyTagLine_styles_module_options = {};
|
|
12011
12716
|
FrequencyTagLine_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12012
12717
|
FrequencyTagLine_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12091,7 +12796,7 @@ const FrequencyTagLine_FrequencyTagLine = (props)=>{
|
|
|
12091
12796
|
});
|
|
12092
12797
|
};
|
|
12093
12798
|
const FrequencyTagLine = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(FrequencyTagLine_FrequencyTagLine);
|
|
12094
|
-
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");
|
|
12095
12800
|
var Limit_styles_module_options = {};
|
|
12096
12801
|
Limit_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12097
12802
|
Limit_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12732,7 +13437,7 @@ const useMarkers = (props)=>{
|
|
|
12732
13437
|
setState
|
|
12733
13438
|
};
|
|
12734
13439
|
};
|
|
12735
|
-
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");
|
|
12736
13441
|
var Dashed_styles_module_options = {};
|
|
12737
13442
|
Dashed_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12738
13443
|
Dashed_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12763,7 +13468,7 @@ const Dashed_Dashed = (props)=>{
|
|
|
12763
13468
|
});
|
|
12764
13469
|
};
|
|
12765
13470
|
const Dashed = Dashed_Dashed;
|
|
12766
|
-
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");
|
|
12767
13472
|
var MarkerItem_styles_module_options = {};
|
|
12768
13473
|
MarkerItem_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12769
13474
|
MarkerItem_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12874,7 +13579,7 @@ const MarkerItem = ({ marker })=>{
|
|
|
12874
13579
|
}, marker.id);
|
|
12875
13580
|
};
|
|
12876
13581
|
const Markers_MarkerItem = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(MarkerItem);
|
|
12877
|
-
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");
|
|
12878
13583
|
var Markers_styles_module_options = {};
|
|
12879
13584
|
Markers_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12880
13585
|
Markers_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -12978,7 +13683,7 @@ const Markers = ({ id })=>{
|
|
|
12978
13683
|
});
|
|
12979
13684
|
};
|
|
12980
13685
|
const components_Markers = Markers;
|
|
12981
|
-
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");
|
|
12982
13687
|
var Scope_styles_module_options = {};
|
|
12983
13688
|
Scope_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
12984
13689
|
Scope_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13044,7 +13749,7 @@ const Scope = ()=>{
|
|
|
13044
13749
|
});
|
|
13045
13750
|
};
|
|
13046
13751
|
const components_Scope = Scope;
|
|
13047
|
-
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");
|
|
13048
13753
|
var Signal_styles_module_options = {};
|
|
13049
13754
|
Signal_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13050
13755
|
Signal_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13176,7 +13881,7 @@ const Signal = ({ id })=>{
|
|
|
13176
13881
|
});
|
|
13177
13882
|
};
|
|
13178
13883
|
const components_Signal = Signal;
|
|
13179
|
-
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");
|
|
13180
13885
|
var StationAllocation_styles_module_options = {};
|
|
13181
13886
|
StationAllocation_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13182
13887
|
StationAllocation_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13306,7 +14011,7 @@ const StationAllocation_StationAllocation = ({ show = true, display = true })=>{
|
|
|
13306
14011
|
});
|
|
13307
14012
|
};
|
|
13308
14013
|
const StationAllocation = StationAllocation_StationAllocation;
|
|
13309
|
-
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");
|
|
13310
14015
|
var Stripe_styles_module_options = {};
|
|
13311
14016
|
Stripe_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13312
14017
|
Stripe_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13514,10 +14219,10 @@ const Spectrum_Spectrum = (props)=>{
|
|
|
13514
14219
|
]);
|
|
13515
14220
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_FlexBox, {
|
|
13516
14221
|
children: [
|
|
13517
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14222
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisYByCanvas, {
|
|
13518
14223
|
chart: chart
|
|
13519
14224
|
}),
|
|
13520
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
14225
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
13521
14226
|
children: [
|
|
13522
14227
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_GridLines, {}),
|
|
13523
14228
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
@@ -13573,12 +14278,12 @@ const LevelStream_Chart_Chart = (props)=>{
|
|
|
13573
14278
|
});
|
|
13574
14279
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_Container, {
|
|
13575
14280
|
children: [
|
|
13576
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14281
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
13577
14282
|
type: constants_ChartType.LevelStream
|
|
13578
14283
|
}),
|
|
13579
14284
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_FlexBox, {
|
|
13580
14285
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
13581
|
-
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, {
|
|
13582
14287
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Level, {
|
|
13583
14288
|
opacity: 0.5
|
|
13584
14289
|
})
|
|
@@ -13606,7 +14311,7 @@ const LevelStreamChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_re
|
|
|
13606
14311
|
});
|
|
13607
14312
|
const LevelStream_LevelStream = withChartPublisher(LevelStreamChart, 'LevelStream');
|
|
13608
14313
|
const LevelStream = LevelStream_LevelStream;
|
|
13609
|
-
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");
|
|
13610
14315
|
var occupancy_components_Ticks_styles_module_options = {};
|
|
13611
14316
|
occupancy_components_Ticks_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13612
14317
|
occupancy_components_Ticks_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13635,7 +14340,7 @@ const occupancy_components_Ticks_Ticks = (props)=>{
|
|
|
13635
14340
|
});
|
|
13636
14341
|
};
|
|
13637
14342
|
const occupancy_components_Ticks = occupancy_components_Ticks_Ticks;
|
|
13638
|
-
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");
|
|
13639
14344
|
var type_Default_styles_module_options = {};
|
|
13640
14345
|
type_Default_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13641
14346
|
type_Default_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13645,7 +14350,7 @@ type_Default_styles_module_options.insertStyleElement = insertStyleElement_defau
|
|
|
13645
14350
|
injectStylesIntoStyleTag_default()(occupancy_type_Default_styles_module.Z, type_Default_styles_module_options);
|
|
13646
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;
|
|
13647
14352
|
const Default_Default = ()=>{
|
|
13648
|
-
const { axisYWidth, marginLeft } =
|
|
14353
|
+
const { axisYWidth, marginLeft } = useAxisYWidth_useAxisYWidth();
|
|
13649
14354
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
13650
14355
|
className: AxisY_occupancy_type_Default_styles_module.axisyoccupancydefault,
|
|
13651
14356
|
style: {
|
|
@@ -13664,7 +14369,7 @@ const AxisYOccupancy = (props)=>{
|
|
|
13664
14369
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(occupancy_type_Default, {});
|
|
13665
14370
|
};
|
|
13666
14371
|
const AxisY_occupancy = AxisYOccupancy;
|
|
13667
|
-
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");
|
|
13668
14373
|
var Occdahsed_styles_module_options = {};
|
|
13669
14374
|
Occdahsed_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13670
14375
|
Occdahsed_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13689,7 +14394,7 @@ const Occdahsed_Occdahsed = ()=>{
|
|
|
13689
14394
|
});
|
|
13690
14395
|
};
|
|
13691
14396
|
const Occdahsed = Occdahsed_Occdahsed;
|
|
13692
|
-
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");
|
|
13693
14398
|
var TotalLine_styles_module_options = {};
|
|
13694
14399
|
TotalLine_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13695
14400
|
TotalLine_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13698,7 +14403,7 @@ TotalLine_styles_module_options.domAPI = styleDomAPI_default();
|
|
|
13698
14403
|
TotalLine_styles_module_options.insertStyleElement = insertStyleElement_default();
|
|
13699
14404
|
injectStylesIntoStyleTag_default()(TotalLine_styles_module.Z, TotalLine_styles_module_options);
|
|
13700
14405
|
const Occupancy_TotalLine_styles_module = TotalLine_styles_module.Z && TotalLine_styles_module.Z.locals ? TotalLine_styles_module.Z.locals : void 0;
|
|
13701
|
-
const
|
|
14406
|
+
const TotalLine_TotalLine = (props)=>{
|
|
13702
14407
|
const { value } = props;
|
|
13703
14408
|
const style = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
13704
14409
|
bottom: `${value || -200}%`
|
|
@@ -13722,7 +14427,7 @@ const TotalLine = (props)=>{
|
|
|
13722
14427
|
})
|
|
13723
14428
|
});
|
|
13724
14429
|
};
|
|
13725
|
-
const
|
|
14430
|
+
const TotalLine = TotalLine_TotalLine;
|
|
13726
14431
|
const Occupancy_Occupancy = (props)=>{
|
|
13727
14432
|
const { occupancyAxisYDisabled } = props;
|
|
13728
14433
|
const { state: { globalID } } = useStore_useStore();
|
|
@@ -13761,14 +14466,14 @@ const Occupancy_Occupancy = (props)=>{
|
|
|
13761
14466
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisY_occupancy, {
|
|
13762
14467
|
disabled: occupancyAxisYDisabled
|
|
13763
14468
|
}),
|
|
13764
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
14469
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
13765
14470
|
children: [
|
|
13766
14471
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Occdahsed, {}),
|
|
13767
14472
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {}),
|
|
13768
14473
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(EventBus, {
|
|
13769
14474
|
id: id
|
|
13770
14475
|
}),
|
|
13771
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
14476
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(TotalLine, {
|
|
13772
14477
|
value: value
|
|
13773
14478
|
}),
|
|
13774
14479
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_Cursor, {
|
|
@@ -13808,7 +14513,7 @@ const OccupancyChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_reac
|
|
|
13808
14513
|
});
|
|
13809
14514
|
const lib_Occupancy_Occupancy = withChartPublisher(OccupancyChart, 'Occupancy');
|
|
13810
14515
|
const lib_Occupancy = lib_Occupancy_Occupancy;
|
|
13811
|
-
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");
|
|
13812
14517
|
var AxisX_styles_module_options = {};
|
|
13813
14518
|
AxisX_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
13814
14519
|
AxisX_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -13962,10 +14667,10 @@ const AxisXTicks = ({ type })=>{
|
|
|
13962
14667
|
});
|
|
13963
14668
|
};
|
|
13964
14669
|
const AxisX_Ticks = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.memo)(AxisXTicks);
|
|
13965
|
-
const
|
|
14670
|
+
const AxisX_AxisX = ({ type })=>{
|
|
13966
14671
|
const { state: { axisX } } = useStore_useStore();
|
|
13967
14672
|
const { children, unit, ticks } = axisX;
|
|
13968
|
-
const { width, pluginBoxWidth } =
|
|
14673
|
+
const { width, pluginBoxWidth } = useAxisYWidth_useAxisYWidth();
|
|
13969
14674
|
const ref = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
13970
14675
|
const axisStyle = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
13971
14676
|
marginLeft: width,
|
|
@@ -13975,7 +14680,7 @@ const AxisX = ({ type })=>{
|
|
|
13975
14680
|
pluginBoxWidth
|
|
13976
14681
|
]);
|
|
13977
14682
|
if (!axisX) return null;
|
|
13978
|
-
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, {
|
|
13979
14684
|
content: `\u{5355}\u{4F4D}${unit}`,
|
|
13980
14685
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
13981
14686
|
ref: ref,
|
|
@@ -14000,8 +14705,8 @@ const AxisX = ({ type })=>{
|
|
|
14000
14705
|
})
|
|
14001
14706
|
});
|
|
14002
14707
|
};
|
|
14003
|
-
const
|
|
14004
|
-
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");
|
|
14005
14710
|
var Blaze_styles_module_options = {};
|
|
14006
14711
|
Blaze_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14007
14712
|
Blaze_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14051,7 +14756,7 @@ const Blaze = ()=>{
|
|
|
14051
14756
|
});
|
|
14052
14757
|
};
|
|
14053
14758
|
const components_Blaze = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].memo(Blaze);
|
|
14054
|
-
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");
|
|
14055
14760
|
var Legend_styles_module_options = {};
|
|
14056
14761
|
Legend_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14057
14762
|
Legend_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14068,7 +14773,7 @@ const Legend = ()=>{
|
|
|
14068
14773
|
});
|
|
14069
14774
|
};
|
|
14070
14775
|
const components_Legend = Legend;
|
|
14071
|
-
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");
|
|
14072
14777
|
var SegmentsZebra_styles_module_options = {};
|
|
14073
14778
|
SegmentsZebra_styles_module_options.styleTagTransform = styleTagTransform_default();
|
|
14074
14779
|
SegmentsZebra_styles_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -14288,7 +14993,7 @@ function useTemplateComparison() {
|
|
|
14288
14993
|
};
|
|
14289
14994
|
}
|
|
14290
14995
|
function useSpectrumAnalyzer(props) {
|
|
14291
|
-
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();
|
|
14292
14997
|
const analyzer = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
14293
14998
|
const globalIDRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(globalID);
|
|
14294
14999
|
const intervalRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(interval);
|
|
@@ -14405,8 +15110,15 @@ function useSpectrumAnalyzer(props) {
|
|
|
14405
15110
|
templateData: data.templateData
|
|
14406
15111
|
});
|
|
14407
15112
|
if (data.scanProgress) updateProgress(data.scanProgress);
|
|
14408
|
-
if (data.waterfallData) updateWaterfall(data.waterfallData);
|
|
14409
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
|
+
});
|
|
14410
15122
|
}, [
|
|
14411
15123
|
updateSpectrum,
|
|
14412
15124
|
updateWaterfall,
|
|
@@ -14427,7 +15139,8 @@ function useSpectrumAnalyzer(props) {
|
|
|
14427
15139
|
processing: {
|
|
14428
15140
|
...props?.processing,
|
|
14429
15141
|
enableMetrics: getEnableOption(enableMetrics, props?.processing?.enableMetrics),
|
|
14430
|
-
enableWaterfall: getEnableOption(enableWaterfall, props?.processing?.enableWaterfall)
|
|
15142
|
+
enableWaterfall: getEnableOption(enableWaterfall, props?.processing?.enableWaterfall),
|
|
15143
|
+
enableFluorescence
|
|
14431
15144
|
},
|
|
14432
15145
|
onSpectrumUpdate: handleSpectrumUpdate
|
|
14433
15146
|
});
|
|
@@ -14580,6 +15293,11 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14580
15293
|
signal.show = false;
|
|
14581
15294
|
marker.enabled = false;
|
|
14582
15295
|
}
|
|
15296
|
+
if (type === constants_ChartType.LiteNormalized) {
|
|
15297
|
+
limit.show = false;
|
|
15298
|
+
signal.show = false;
|
|
15299
|
+
marker.enabled = false;
|
|
15300
|
+
}
|
|
14583
15301
|
if (type === constants_ChartType.MScan) {
|
|
14584
15302
|
limit.show = false;
|
|
14585
15303
|
signal.show = false;
|
|
@@ -14625,6 +15343,22 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14625
15343
|
}, [
|
|
14626
15344
|
type
|
|
14627
15345
|
]);
|
|
15346
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15347
|
+
if (type === constants_ChartType.LiteNormalized && globalID) {
|
|
15348
|
+
if (0 !== axisY.range[0] || 1 !== axisY.range[1]) {
|
|
15349
|
+
axisY.range = [
|
|
15350
|
+
0,
|
|
15351
|
+
1
|
|
15352
|
+
];
|
|
15353
|
+
axisY.disabled = true;
|
|
15354
|
+
useRangeSet(globalID)(axisY.range);
|
|
15355
|
+
}
|
|
15356
|
+
}
|
|
15357
|
+
}, [
|
|
15358
|
+
type,
|
|
15359
|
+
axisY.range,
|
|
15360
|
+
globalID
|
|
15361
|
+
]);
|
|
14628
15362
|
return (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
14629
15363
|
let enableMetrics = false;
|
|
14630
15364
|
let enableWaterfall = false;
|
|
@@ -14641,6 +15375,109 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
14641
15375
|
heatmapElementID
|
|
14642
15376
|
]);
|
|
14643
15377
|
}
|
|
15378
|
+
class FluorescenceRender {
|
|
15379
|
+
state;
|
|
15380
|
+
constructor(props){
|
|
15381
|
+
this.state = {
|
|
15382
|
+
chart: null,
|
|
15383
|
+
...props
|
|
15384
|
+
};
|
|
15385
|
+
this.init();
|
|
15386
|
+
}
|
|
15387
|
+
init() {
|
|
15388
|
+
const { id, globalID } = this.state;
|
|
15389
|
+
if (!id) return;
|
|
15390
|
+
this.state.chart = new Fluorescence({
|
|
15391
|
+
id,
|
|
15392
|
+
globalID,
|
|
15393
|
+
colors: [
|
|
15394
|
+
...getGradient()
|
|
15395
|
+
].reverse().map((c)=>hexToRGBA(c)),
|
|
15396
|
+
ignoreValue: 0
|
|
15397
|
+
});
|
|
15398
|
+
}
|
|
15399
|
+
updateParams(params) {
|
|
15400
|
+
this.clear();
|
|
15401
|
+
this.state = {
|
|
15402
|
+
...this.state,
|
|
15403
|
+
...params
|
|
15404
|
+
};
|
|
15405
|
+
}
|
|
15406
|
+
updateProps(props) {
|
|
15407
|
+
this.state.chart?.updateProps(props);
|
|
15408
|
+
}
|
|
15409
|
+
updateSeries(data) {
|
|
15410
|
+
if (!this.state.chart || !data) return;
|
|
15411
|
+
this.state.chart.render(data);
|
|
15412
|
+
}
|
|
15413
|
+
reset() {
|
|
15414
|
+
this.resize();
|
|
15415
|
+
this.clear();
|
|
15416
|
+
}
|
|
15417
|
+
resize() {
|
|
15418
|
+
this.state.chart?.resize();
|
|
15419
|
+
}
|
|
15420
|
+
clear() {
|
|
15421
|
+
this.state.chart?.clear();
|
|
15422
|
+
}
|
|
15423
|
+
}
|
|
15424
|
+
const Fluorescence_Fluorescence = ()=>{
|
|
15425
|
+
const { state: { globalID, axisY: { range }, fluorescence: { display } } } = useStore_useStore();
|
|
15426
|
+
const { chart, Chart } = useChart({
|
|
15427
|
+
Render: FluorescenceRender
|
|
15428
|
+
});
|
|
15429
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15430
|
+
chart?.updateProps({
|
|
15431
|
+
range
|
|
15432
|
+
});
|
|
15433
|
+
}, [
|
|
15434
|
+
range
|
|
15435
|
+
]);
|
|
15436
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15437
|
+
if (chart && globalID) tools(globalID, constants_ModuleType.Fluorescence, (d)=>{
|
|
15438
|
+
if (!globalID) return;
|
|
15439
|
+
const { pstype } = d;
|
|
15440
|
+
switch(pstype){
|
|
15441
|
+
case constants_PSType.Fluorescence:
|
|
15442
|
+
chart.updateSeries(d.data);
|
|
15443
|
+
break;
|
|
15444
|
+
case constants_PSType.Reset:
|
|
15445
|
+
chart.reset();
|
|
15446
|
+
break;
|
|
15447
|
+
case constants_PSType.Resize:
|
|
15448
|
+
chart.resize();
|
|
15449
|
+
break;
|
|
15450
|
+
default:
|
|
15451
|
+
}
|
|
15452
|
+
});
|
|
15453
|
+
}, [
|
|
15454
|
+
chart,
|
|
15455
|
+
globalID
|
|
15456
|
+
]);
|
|
15457
|
+
const style = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
15458
|
+
height: '100%',
|
|
15459
|
+
width: '100%',
|
|
15460
|
+
display: 'flex',
|
|
15461
|
+
visibility: display ? 'visible' : 'hidden'
|
|
15462
|
+
}), [
|
|
15463
|
+
display
|
|
15464
|
+
]);
|
|
15465
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
15466
|
+
if (chart) chart.updateProps({
|
|
15467
|
+
display
|
|
15468
|
+
});
|
|
15469
|
+
}, [
|
|
15470
|
+
chart,
|
|
15471
|
+
display
|
|
15472
|
+
]);
|
|
15473
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
15474
|
+
style: style,
|
|
15475
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(components_FlexBox, {
|
|
15476
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Chart, {})
|
|
15477
|
+
})
|
|
15478
|
+
});
|
|
15479
|
+
};
|
|
15480
|
+
const modules_Fluorescence = Fluorescence_Fluorescence;
|
|
14644
15481
|
const Portal_Portal = ({ id, children })=>{
|
|
14645
15482
|
if (id) {
|
|
14646
15483
|
const element = document.getElementById(id);
|
|
@@ -14655,11 +15492,11 @@ const HeatmapPortal_Chart = (props)=>{
|
|
|
14655
15492
|
id: heatmapElementID,
|
|
14656
15493
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Background, {
|
|
14657
15494
|
children: [
|
|
14658
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15495
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14659
15496
|
type: constants_ChartType.Heatmap
|
|
14660
15497
|
}),
|
|
14661
15498
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Heatmap, {}),
|
|
14662
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15499
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14663
15500
|
type: type
|
|
14664
15501
|
})
|
|
14665
15502
|
]
|
|
@@ -14673,11 +15510,11 @@ const OccupancyPortal_Chart = (props)=>{
|
|
|
14673
15510
|
id: occupancyElementID,
|
|
14674
15511
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Background, {
|
|
14675
15512
|
children: [
|
|
14676
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15513
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14677
15514
|
type: constants_ChartType.Occupancy
|
|
14678
15515
|
}),
|
|
14679
15516
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Occupancy, {}),
|
|
14680
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15517
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14681
15518
|
type: type
|
|
14682
15519
|
})
|
|
14683
15520
|
]
|
|
@@ -14715,12 +15552,14 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14715
15552
|
});
|
|
14716
15553
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_Container, {
|
|
14717
15554
|
children: [
|
|
14718
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15555
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ToolsBar, {
|
|
14719
15556
|
type: type
|
|
14720
15557
|
}),
|
|
14721
15558
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_FlexBox, {
|
|
14722
15559
|
children: [
|
|
14723
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
15560
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Spectrum, {
|
|
15561
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(modules_Fluorescence, {})
|
|
15562
|
+
}),
|
|
14724
15563
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(HeatmapPortal, {
|
|
14725
15564
|
type: type,
|
|
14726
15565
|
heatmapElementID: heatmapElementID
|
|
@@ -14729,7 +15568,7 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14729
15568
|
type: type,
|
|
14730
15569
|
occupancyElementID: occupancyElementID
|
|
14731
15570
|
}),
|
|
14732
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
15571
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(components_PluginBox, {
|
|
14733
15572
|
children: [
|
|
14734
15573
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Zoom, {}),
|
|
14735
15574
|
type === constants_ChartType.Scan && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
@@ -14743,7 +15582,7 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
14743
15582
|
})
|
|
14744
15583
|
]
|
|
14745
15584
|
}),
|
|
14746
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
15585
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(AxisX, {
|
|
14747
15586
|
type: type
|
|
14748
15587
|
})
|
|
14749
15588
|
]
|
|
@@ -14758,4 +15597,4 @@ const SpectrumChart = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react
|
|
|
14758
15597
|
});
|
|
14759
15598
|
const lib_Spectrum_Spectrum = withChartPublisher(SpectrumChart, 'Spectrum');
|
|
14760
15599
|
const lib_Spectrum = lib_Spectrum_Spectrum;
|
|
14761
|
-
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 };
|
|
15600
|
+
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 };
|