@1337exp/taoui 1.10.4 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.mjs +14 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +32 -32
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2417,7 +2417,7 @@
|
|
|
2417
2417
|
};
|
|
2418
2418
|
}
|
|
2419
2419
|
});
|
|
2420
|
-
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
2420
|
+
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-bb1ea2fb"]]);
|
|
2421
2421
|
const _hoisted_1$z = {
|
|
2422
2422
|
key: 0,
|
|
2423
2423
|
class: "tao-tag__prefix"
|
|
@@ -2967,7 +2967,8 @@
|
|
|
2967
2967
|
placeholder: { default: "" },
|
|
2968
2968
|
modelValue: {},
|
|
2969
2969
|
disabled: { type: Boolean, default: false },
|
|
2970
|
-
size: { default: "medium" }
|
|
2970
|
+
size: { default: "medium" },
|
|
2971
|
+
wheel: { default: 0 }
|
|
2971
2972
|
},
|
|
2972
2973
|
emits: ["update:modelValue"],
|
|
2973
2974
|
setup(__props, { emit: __emit }) {
|
|
@@ -3094,6 +3095,14 @@
|
|
|
3094
3095
|
commit(props.max);
|
|
3095
3096
|
}
|
|
3096
3097
|
}
|
|
3098
|
+
function onWheel(event) {
|
|
3099
|
+
if (props.disabled || props.wheel <= 0 || showShadowModel.value) {
|
|
3100
|
+
return;
|
|
3101
|
+
}
|
|
3102
|
+
event.preventDefault();
|
|
3103
|
+
const delta = event.deltaY < 0 ? props.wheel : -props.wheel;
|
|
3104
|
+
commit(current.value + delta);
|
|
3105
|
+
}
|
|
3097
3106
|
function onBlurShadowModel() {
|
|
3098
3107
|
if (shadowModel.value) {
|
|
3099
3108
|
const newValue = packModelValue(clampValue(parseFloat(shadowModel.value) || 0));
|
|
@@ -3149,7 +3158,8 @@
|
|
|
3149
3158
|
onPointerup: onPointerEnd,
|
|
3150
3159
|
onPointercancel: onPointerEnd,
|
|
3151
3160
|
onLostpointercapture: onLostPointerCapture,
|
|
3152
|
-
onKeydown
|
|
3161
|
+
onKeydown,
|
|
3162
|
+
onWheel
|
|
3153
3163
|
}, [
|
|
3154
3164
|
_cache[2] || (_cache[2] = vue.createElementVNode("div", { class: "tao-slider__track" }, null, -1)),
|
|
3155
3165
|
vue.createElementVNode("div", {
|
|
@@ -3184,7 +3194,7 @@
|
|
|
3184
3194
|
};
|
|
3185
3195
|
}
|
|
3186
3196
|
});
|
|
3187
|
-
const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
3197
|
+
const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-a0a9cca1"]]);
|
|
3188
3198
|
const _hoisted_1$s = { class: "tao-file-drop" };
|
|
3189
3199
|
const _hoisted_2$p = { class: "tao-file-drop__row" };
|
|
3190
3200
|
const _hoisted_3$k = ["aria-label"];
|