sctj-components 1.0.74 → 1.0.75
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/lib/sctj-components.es.js +8 -3
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -4263,7 +4263,7 @@ const _sfc_main$b = {
|
|
|
4263
4263
|
}
|
|
4264
4264
|
};
|
|
4265
4265
|
const SCTJCommonChart = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-2f3b9e13"]]);
|
|
4266
|
-
const
|
|
4266
|
+
const PieChart_vue_vue_type_style_index_0_scoped_c3a3e060_lang = "";
|
|
4267
4267
|
const _hoisted_1$9 = ["element-loading-background"];
|
|
4268
4268
|
const _sfc_main$a = {
|
|
4269
4269
|
__name: "PieChart",
|
|
@@ -4318,7 +4318,8 @@ const _sfc_main$a = {
|
|
|
4318
4318
|
default: () => []
|
|
4319
4319
|
}
|
|
4320
4320
|
},
|
|
4321
|
-
|
|
4321
|
+
emits: ["chartClick"],
|
|
4322
|
+
setup(__props, { emit }) {
|
|
4322
4323
|
const props = __props;
|
|
4323
4324
|
const baseChart = ref$1(null);
|
|
4324
4325
|
const resizeObserver = ref$1(null);
|
|
@@ -4373,6 +4374,9 @@ const _sfc_main$a = {
|
|
|
4373
4374
|
color: "#000"
|
|
4374
4375
|
};
|
|
4375
4376
|
});
|
|
4377
|
+
const handleChartClick = (params) => {
|
|
4378
|
+
emit("chartClick", params);
|
|
4379
|
+
};
|
|
4376
4380
|
const loadingColor = computed$1(() => {
|
|
4377
4381
|
return props.mode === "dark" ? "rgba(25, 70, 144, .9)" : "rgba(255, 255, 255, .9)";
|
|
4378
4382
|
});
|
|
@@ -4491,6 +4495,7 @@ const _sfc_main$a = {
|
|
|
4491
4495
|
class: "card-body"
|
|
4492
4496
|
}, [
|
|
4493
4497
|
createVNode(_sfc_main$c, {
|
|
4498
|
+
onChartClick: handleChartClick,
|
|
4494
4499
|
ref_key: "baseChart",
|
|
4495
4500
|
ref: baseChart,
|
|
4496
4501
|
option: unref(chartOption),
|
|
@@ -4505,7 +4510,7 @@ const _sfc_main$a = {
|
|
|
4505
4510
|
};
|
|
4506
4511
|
}
|
|
4507
4512
|
};
|
|
4508
|
-
const SCTJPieChart = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
4513
|
+
const SCTJPieChart = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c3a3e060"]]);
|
|
4509
4514
|
const generateShortId = () => {
|
|
4510
4515
|
return Math.random().toString(36).substring(2, 8);
|
|
4511
4516
|
};
|