tanxin-ui 1.2.6 → 1.2.7
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/tanxin-ui.es.js +5 -3
- package/dist/tanxin-ui.umd.js +6 -6
- package/es/form/src/form-item.js +4 -2
- package/es/upload/index.d.ts +7 -3
- package/es/upload/src/upload.d.ts +2 -1
- package/es/upload/src/upload.js +1 -1
- package/lib/form/src/form-item.js +4 -2
- package/lib/upload/index.d.ts +7 -3
- package/lib/upload/src/upload.d.ts +2 -1
- package/lib/upload/src/upload.js +1 -1
- package/package.json +1 -1
package/dist/tanxin-ui.es.js
CHANGED
|
@@ -4559,12 +4559,14 @@ var FormItem = defineComponent({
|
|
|
4559
4559
|
});
|
|
4560
4560
|
const blurRules = computed(() => {
|
|
4561
4561
|
return rules2.value.filter((rule) => {
|
|
4562
|
-
|
|
4562
|
+
var _a;
|
|
4563
|
+
return (_a = rule.trigger) == null ? void 0 : _a.split(",").includes("blur");
|
|
4563
4564
|
});
|
|
4564
4565
|
});
|
|
4565
4566
|
const changeRules = computed(() => {
|
|
4566
4567
|
return rules2.value.filter((rule) => {
|
|
4567
|
-
|
|
4568
|
+
var _a;
|
|
4569
|
+
return (_a = rule.trigger) == null ? void 0 : _a.split(",").includes("change");
|
|
4568
4570
|
});
|
|
4569
4571
|
});
|
|
4570
4572
|
const defaultSlot = useGetSlot(slots, "default");
|
|
@@ -15931,7 +15933,7 @@ var Upload = defineComponent({
|
|
|
15931
15933
|
TImagePreview: ImagePreview
|
|
15932
15934
|
},
|
|
15933
15935
|
props: uploadProps,
|
|
15934
|
-
emits: ["update:fileList", "update:value"],
|
|
15936
|
+
emits: ["update:fileList", "update:value", "blur"],
|
|
15935
15937
|
setup(props, {
|
|
15936
15938
|
slots,
|
|
15937
15939
|
emit
|