vue-devui 1.3.1 → 1.3.3-alpha.2
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 +21 -10
- package/button/index.es.js +10 -4
- package/button/index.umd.js +5 -5
- package/button/style.css +1 -1
- package/checkbox/index.es.js +2 -1
- package/checkbox/index.umd.js +3 -3
- package/date-picker-pro/index.es.js +17 -6
- package/date-picker-pro/index.umd.js +8 -8
- package/date-picker-pro/style.css +1 -1
- package/mention/index.es.js +2 -2
- package/mention/index.umd.js +1 -1
- package/message/index.es.js +2 -2
- package/message/index.umd.js +1 -1
- package/message/style.css +1 -1
- package/package.json +1 -1
- package/pagination/index.es.js +8 -2
- package/pagination/index.umd.js +1 -1
- package/pagination/style.css +1 -1
- package/select/index.es.js +2 -1
- package/select/index.umd.js +4 -4
- package/splitter/index.es.js +6 -15
- package/splitter/index.umd.js +9 -9
- package/style.css +1 -1
- package/table/index.es.js +12 -5
- package/table/index.umd.js +4 -4
- package/table/style.css +1 -1
- package/tabs/style.css +1 -1
- package/time-picker/index.es.js +10 -4
- package/time-picker/index.umd.js +5 -5
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +2 -1
- package/time-select/index.umd.js +1 -1
- package/tree/index.es.js +9 -3
- package/tree/index.umd.js +12 -12
- package/types/accordion/src/accordion-item-hreflink.d.ts +2 -2
- package/types/accordion/src/accordion-item-routerlink.d.ts +2 -2
- package/types/accordion/src/accordion-item.d.ts +2 -2
- package/types/accordion/src/accordion-list.d.ts +2 -2
- package/types/accordion/src/accordion-menu.d.ts +2 -2
- package/types/accordion/src/accordion.d.ts +2 -2
- package/types/auto-complete/src/auto-complete-types.d.ts +4 -3
- package/types/auto-complete/src/auto-complete.d.ts +1 -1
- package/types/auto-complete/src/composables/use-input-handle.d.ts +2 -2
- package/types/checkbox/src/checkbox-button.d.ts +1 -1
- package/types/checkbox/src/checkbox.d.ts +1 -1
- package/types/collapse/src/collapse.d.ts +1 -1
- package/types/date-picker/src/date-picker.d.ts +1 -1
- package/types/mention/__tests__/mention.spec.d.ts +1 -0
- package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
- package/types/progress/src/progress.d.ts +1 -1
- package/types/shared/utils/is.d.ts +1 -0
- package/types/steps-guide/src/steps-guide.d.ts +1 -1
- package/types/table/src/components/column/column.d.ts +1 -1
- package/types/tag-input/src/tag-input.d.ts +1 -1
- package/types/tree/src/components/tree-node.d.ts +1 -1
- package/types/tree/src/tree.d.ts +1 -1
- package/types/virtual-list/src/components/resize-observer.d.ts +2 -0
- package/types/vue-devui.d.ts +24 -1
- package/vue-devui.es.js +15599 -7027
- package/vue-devui.umd.js +22 -22
package/table/index.es.js
CHANGED
|
@@ -33,7 +33,7 @@ var __publicField = (obj, key, value) => {
|
|
|
33
33
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
34
34
|
return value;
|
|
35
35
|
};
|
|
36
|
-
import { computed, ref, watchEffect, watch, getCurrentInstance, unref, defineComponent, inject, createVNode, mergeProps, toRefs, onMounted, onUnmounted, Transition, nextTick, withModifiers, Comment, Text, h, Fragment, withDirectives, cloneVNode, provide, Teleport, vShow, resolveDynamicComponent, render,
|
|
36
|
+
import { computed, ref, watchEffect, watch, getCurrentInstance, unref, defineComponent, inject, createVNode, mergeProps, toRefs, onMounted, onUnmounted, Transition, nextTick, withModifiers, Comment, Text, h, Fragment, withDirectives, cloneVNode, provide, Teleport, vShow, resolveDynamicComponent, render, resolveComponent, toRef, reactive, createTextVNode, onBeforeUnmount, isVNode, onBeforeMount, onUpdated, resolveDirective } from "vue";
|
|
37
37
|
import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
|
|
38
38
|
import { onClickOutside } from "@vueuse/core";
|
|
39
39
|
const tableProps = {
|
|
@@ -7436,7 +7436,7 @@ var Button = defineComponent({
|
|
|
7436
7436
|
};
|
|
7437
7437
|
return () => {
|
|
7438
7438
|
var _a, _b;
|
|
7439
|
-
return
|
|
7439
|
+
return createVNode("button", {
|
|
7440
7440
|
"class": classes.value,
|
|
7441
7441
|
"disabled": disabled.value,
|
|
7442
7442
|
"onClick": onClick
|
|
@@ -7445,9 +7445,15 @@ var Button = defineComponent({
|
|
|
7445
7445
|
"size": "var(--devui-font-size, 12px)",
|
|
7446
7446
|
"color": "",
|
|
7447
7447
|
"class": iconClass.value
|
|
7448
|
-
}, null), createVNode("
|
|
7448
|
+
}, null), withDirectives(createVNode("div", {
|
|
7449
|
+
"class": "loading-icon__container"
|
|
7450
|
+
}, [createVNode(resolveComponent("d-icon"), {
|
|
7451
|
+
"name": "icon-loading",
|
|
7452
|
+
"class": "button-icon-loading",
|
|
7453
|
+
"color": "#BBDEFB"
|
|
7454
|
+
}, null)]), [[vShow, loading2.value]]), createVNode("span", {
|
|
7449
7455
|
"class": "button-content"
|
|
7450
|
-
}, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])])
|
|
7456
|
+
}, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])]);
|
|
7451
7457
|
};
|
|
7452
7458
|
}
|
|
7453
7459
|
});
|
|
@@ -9580,7 +9586,8 @@ function useCheckbox(props, ctx) {
|
|
|
9580
9586
|
ctx.emit("update:modelValue", current);
|
|
9581
9587
|
ctx.emit("change", current);
|
|
9582
9588
|
};
|
|
9583
|
-
const handleClick = () => {
|
|
9589
|
+
const handleClick = ($event) => {
|
|
9590
|
+
$event.stopPropagation();
|
|
9584
9591
|
canChange(!isChecked.value, props.label).then((res) => res && toggle());
|
|
9585
9592
|
};
|
|
9586
9593
|
const size = computed(() => (formContext == null ? void 0 : formContext.size) || (checkboxGroupConf == null ? void 0 : checkboxGroupConf.size.value) || props.size);
|