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.
Files changed (60) hide show
  1. package/README.md +21 -10
  2. package/button/index.es.js +10 -4
  3. package/button/index.umd.js +5 -5
  4. package/button/style.css +1 -1
  5. package/checkbox/index.es.js +2 -1
  6. package/checkbox/index.umd.js +3 -3
  7. package/date-picker-pro/index.es.js +17 -6
  8. package/date-picker-pro/index.umd.js +8 -8
  9. package/date-picker-pro/style.css +1 -1
  10. package/mention/index.es.js +2 -2
  11. package/mention/index.umd.js +1 -1
  12. package/message/index.es.js +2 -2
  13. package/message/index.umd.js +1 -1
  14. package/message/style.css +1 -1
  15. package/package.json +1 -1
  16. package/pagination/index.es.js +8 -2
  17. package/pagination/index.umd.js +1 -1
  18. package/pagination/style.css +1 -1
  19. package/select/index.es.js +2 -1
  20. package/select/index.umd.js +4 -4
  21. package/splitter/index.es.js +6 -15
  22. package/splitter/index.umd.js +9 -9
  23. package/style.css +1 -1
  24. package/table/index.es.js +12 -5
  25. package/table/index.umd.js +4 -4
  26. package/table/style.css +1 -1
  27. package/tabs/style.css +1 -1
  28. package/time-picker/index.es.js +10 -4
  29. package/time-picker/index.umd.js +5 -5
  30. package/time-picker/style.css +1 -1
  31. package/time-select/index.es.js +2 -1
  32. package/time-select/index.umd.js +1 -1
  33. package/tree/index.es.js +9 -3
  34. package/tree/index.umd.js +12 -12
  35. package/types/accordion/src/accordion-item-hreflink.d.ts +2 -2
  36. package/types/accordion/src/accordion-item-routerlink.d.ts +2 -2
  37. package/types/accordion/src/accordion-item.d.ts +2 -2
  38. package/types/accordion/src/accordion-list.d.ts +2 -2
  39. package/types/accordion/src/accordion-menu.d.ts +2 -2
  40. package/types/accordion/src/accordion.d.ts +2 -2
  41. package/types/auto-complete/src/auto-complete-types.d.ts +4 -3
  42. package/types/auto-complete/src/auto-complete.d.ts +1 -1
  43. package/types/auto-complete/src/composables/use-input-handle.d.ts +2 -2
  44. package/types/checkbox/src/checkbox-button.d.ts +1 -1
  45. package/types/checkbox/src/checkbox.d.ts +1 -1
  46. package/types/collapse/src/collapse.d.ts +1 -1
  47. package/types/date-picker/src/date-picker.d.ts +1 -1
  48. package/types/mention/__tests__/mention.spec.d.ts +1 -0
  49. package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
  50. package/types/progress/src/progress.d.ts +1 -1
  51. package/types/shared/utils/is.d.ts +1 -0
  52. package/types/steps-guide/src/steps-guide.d.ts +1 -1
  53. package/types/table/src/components/column/column.d.ts +1 -1
  54. package/types/tag-input/src/tag-input.d.ts +1 -1
  55. package/types/tree/src/components/tree-node.d.ts +1 -1
  56. package/types/tree/src/tree.d.ts +1 -1
  57. package/types/virtual-list/src/components/resize-observer.d.ts +2 -0
  58. package/types/vue-devui.d.ts +24 -1
  59. package/vue-devui.es.js +15599 -7027
  60. 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, resolveDirective, toRef, reactive, createTextVNode, onBeforeUnmount, isVNode, onBeforeMount, onUpdated } from "vue";
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 withDirectives(createVNode("button", {
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("span", {
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)])]), [[resolveDirective("loading"), loading2.value]]);
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);