sctj-components 1.0.90 → 1.0.92
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 +6 -4
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1827,7 +1827,7 @@ const _sfc_main$n = {
|
|
|
1827
1827
|
};
|
|
1828
1828
|
}
|
|
1829
1829
|
};
|
|
1830
|
-
const
|
|
1830
|
+
const index_vue_vue_type_style_index_0_scoped_106bcee9_lang = "";
|
|
1831
1831
|
const _hoisted_1$h = { class: "time-line-slider-container" };
|
|
1832
1832
|
const _hoisted_2$c = { class: "time-line-slider-wrapper" };
|
|
1833
1833
|
const _sfc_main$m = {
|
|
@@ -1845,7 +1845,7 @@ const _sfc_main$m = {
|
|
|
1845
1845
|
default: void 0
|
|
1846
1846
|
}
|
|
1847
1847
|
},
|
|
1848
|
-
emits: ["update:modelValue"],
|
|
1848
|
+
emits: ["update:modelValue", "change"],
|
|
1849
1849
|
setup(__props, { emit }) {
|
|
1850
1850
|
const props = __props;
|
|
1851
1851
|
const selectDate = computed$1({
|
|
@@ -1855,9 +1855,11 @@ const _sfc_main$m = {
|
|
|
1855
1855
|
set(value) {
|
|
1856
1856
|
if (typeof props.modelValue === "string") {
|
|
1857
1857
|
emit("update:modelValue", value);
|
|
1858
|
+
emit("change", value);
|
|
1858
1859
|
} else {
|
|
1859
1860
|
const timestamp = dateStringToTimestamp(value);
|
|
1860
1861
|
emit("update:modelValue", timestamp);
|
|
1862
|
+
emit("change", timestamp);
|
|
1861
1863
|
}
|
|
1862
1864
|
}
|
|
1863
1865
|
});
|
|
@@ -2068,8 +2070,8 @@ const _sfc_main$m = {
|
|
|
2068
2070
|
const index2 = Math.round(val);
|
|
2069
2071
|
const emitValue = getValueFromIndex(index2);
|
|
2070
2072
|
lastEmittedValue = emitValue;
|
|
2071
|
-
console.log("emitValue", emitValue);
|
|
2072
2073
|
emit("update:modelValue", emitValue);
|
|
2074
|
+
emit("change", emitValue);
|
|
2073
2075
|
});
|
|
2074
2076
|
return (_ctx, _cache) => {
|
|
2075
2077
|
const _component_el_slider = resolveComponent("el-slider");
|
|
@@ -2113,7 +2115,7 @@ const _sfc_main$m = {
|
|
|
2113
2115
|
};
|
|
2114
2116
|
}
|
|
2115
2117
|
};
|
|
2116
|
-
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
2118
|
+
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-106bcee9"]]);
|
|
2117
2119
|
const index_vue_vue_type_style_index_0_scoped_0e809a5c_lang = "";
|
|
2118
2120
|
const _hoisted_1$g = { class: "table-container" };
|
|
2119
2121
|
const _sfc_main$l = {
|