yc-design-vue 1.6.6 → 1.6.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.
Files changed (37) hide show
  1. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  2. package/es/Cascader/CascaderIcon.vue2.js +2 -3
  3. package/es/Input/InputSuffix.vue2.js +2 -2
  4. package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
  5. package/es/Select/SelectIcon.vue2.js +2 -3
  6. package/es/Typography/TypographyBase.vue2.js +2 -2
  7. package/es/_shared/icons/IconCopy.vue.js +16 -1
  8. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  9. package/es/_shared/icons/IconEdit.vue.js +16 -1
  10. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  11. package/es/_shared/icons/IconEyeClose.vue.js +20 -1
  12. package/es/_shared/icons/IconEyeClose.vue2.js +1 -20
  13. package/es/_shared/icons/IconEyeOpen.vue.js +17 -1
  14. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -17
  15. package/es/_shared/icons/IconMinus.vue.js +16 -1
  16. package/es/_shared/icons/IconMinus.vue2.js +1 -16
  17. package/es/_shared/icons/IconSeparator.vue.js +16 -1
  18. package/es/_shared/icons/IconSeparator.vue2.js +1 -16
  19. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  20. package/lib/Cascader/CascaderIcon.vue2.js +1 -1
  21. package/lib/Input/InputSuffix.vue2.js +1 -1
  22. package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
  23. package/lib/Select/SelectIcon.vue2.js +1 -1
  24. package/lib/Typography/TypographyBase.vue2.js +1 -1
  25. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  26. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  27. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  28. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  29. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  30. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  31. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  32. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  33. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  34. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  35. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  36. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  37. package/package.json +6 -8
@@ -5,7 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
8
+ import _sfc_main$1 from "../_shared/icons/IconSeparator.vue.js";
9
9
  const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __name: "BreadcrumbSeparator",
@@ -1,5 +1,4 @@
1
- import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
2
- import { defineComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
1
+ import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
3
2
  import useContext from "./hooks/useContext.js";
4
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -30,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
29
  return slots[name];
31
30
  };
32
31
  return (_ctx, _cache) => {
33
- const _component_icon_search = _sfc_main$2;
32
+ const _component_icon_search = resolveComponent("icon-search");
34
33
  return _ctx.loading ? (openBlock(), createBlock(unref(Spin), {
35
34
  key: 0,
36
35
  size: 12,
@@ -4,8 +4,8 @@ import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
- import _sfc_main$3 from "../_shared/icons/IconEyeClose.vue2.js";
8
- import _sfc_main$2 from "../_shared/icons/IconEyeOpen.vue2.js";
7
+ import _sfc_main$3 from "../_shared/icons/IconEyeClose.vue.js";
8
+ import _sfc_main$2 from "../_shared/icons/IconEyeOpen.vue.js";
9
9
  import IconButton from "../_shared/components/IconButton.vue.js";
10
10
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
11
11
  /* empty css */
@@ -5,7 +5,7 @@ import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
8
+ import _sfc_main$2 from "../_shared/icons/IconMinus.vue.js";
9
9
  import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
10
10
  import Button from "../Button/index.js";
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,4 @@
1
- import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
2
- import { defineComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
1
+ import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
3
2
  import useContext from "./hooks/useContext.js";
4
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -30,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
29
  return slots[name];
31
30
  };
32
31
  return (_ctx, _cache) => {
33
- const _component_icon_search = _sfc_main$2;
32
+ const _component_icon_search = resolveComponent("icon-search");
34
33
  return _ctx.loading ? (openBlock(), createBlock(unref(Spin), {
35
34
  key: 0,
36
35
  size: 12,
@@ -5,8 +5,8 @@ import { getDomText, sleep } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
9
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
9
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
10
10
  import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
11
11
  import useControlValue from "../_shared/utils/control.js";
12
12
  import Input from "../Input/index.js";
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconCopy.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconCopy",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconCopy",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconCopy.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconEdit.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconEdit",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconEdit",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconEdit.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,23 @@
1
- import _sfc_main from "./IconEyeClose.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconEyeClose",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", {
10
+ d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
11
+ "clip-rule": "evenodd"
12
+ }, null, -1),
13
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
14
+ ])),
15
+ _: 1,
16
+ __: [0]
17
+ }, 16);
18
+ };
19
+ }
20
+ });
2
21
  export {
3
22
  _sfc_main as default
4
23
  };
@@ -1,23 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconEyeClose",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", {
10
- d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
11
- "clip-rule": "evenodd"
12
- }, null, -1),
13
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
14
- ])),
15
- _: 1,
16
- __: [0]
17
- }, 16);
18
- };
19
- }
20
- });
1
+ import _sfc_main from "./IconEyeClose.vue.js";
21
2
  export {
22
3
  _sfc_main as default
23
4
  };
@@ -1,4 +1,20 @@
1
- import _sfc_main from "./IconEyeOpen.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconEyeOpen",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
10
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
11
+ ])),
12
+ _: 1,
13
+ __: [0]
14
+ }, 16);
15
+ };
16
+ }
17
+ });
2
18
  export {
3
19
  _sfc_main as default
4
20
  };
@@ -1,20 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconEyeOpen",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
10
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
11
- ])),
12
- _: 1,
13
- __: [0]
14
- }, 16);
15
- };
16
- }
17
- });
1
+ import _sfc_main from "./IconEyeOpen.vue.js";
18
2
  export {
19
3
  _sfc_main as default
20
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconMinus.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconMinus",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M5 24h38" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconMinus",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M5 24h38" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconMinus.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconSeparator.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconSeparator",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "../components/Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconSeparator",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconSeparator.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue2.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),n=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),n=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
@@ -1 +1 @@
1
- "use strict";const e=require("../_shared/icons/IconSearch.vue2.js"),o=require("vue"),n=require("./hooks/useContext.js"),c=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/components/IconButton.vue.js");;/* empty css */const s=require("../Spin/index.js"),a={class:"yc-cascader-suffix-icon"},t={key:0,class:"yc-cascader-search-icon"},i=o.defineComponent({__name:"CascaderIcon",props:{loading:{type:Boolean},popupVisible:{type:Boolean},showClearBtn:{type:Boolean},allowSearch:{type:Boolean}},emits:["clear"],setup(i){const{slots:l}=n.default().inject(),u=e=>l[e];return(n,i)=>{const p=e;return n.loading?(o.openBlock(),o.createBlock(o.unref(s),{key:0,size:12,class:"yc-cascader-loading-icon"},o.createSlots({_:2},[n.$slots["loading-icon"]?{name:"icon",fn:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("loading-icon"))))]),key:"0"}:void 0]),1024)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",a,[o.unref(l)["arrow-icon"]?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("arrow-icon")),{key:0})):(o.openBlock(),o.createBlock(o.unref(c),{key:1,rotate:n.popupVisible?180:0},null,8,["rotate"]))]),n.allowSearch?(o.openBlock(),o.createElementBlock("div",t,[o.unref(l)["search-icon"]?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("search-icon")),{key:0})):(o.openBlock(),o.createBlock(p,{key:1}))])):o.createCommentVNode("",!0),n.showClearBtn?(o.openBlock(),o.createBlock(o.unref(r),{key:1,class:"yc-cascader-clear-icon",onClick:i[0]||(i[0]=o.withModifiers(e=>n.$emit("clear"),["stop"]))})):o.createCommentVNode("",!0)],64))}}});module.exports=i;
1
+ "use strict";const e=require("vue"),o=require("./hooks/useContext.js"),n=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const c=require("../_shared/components/IconButton.vue.js");;/* empty css */const r=require("../Spin/index.js"),s={class:"yc-cascader-suffix-icon"},t={key:0,class:"yc-cascader-search-icon"},a=e.defineComponent({__name:"CascaderIcon",props:{loading:{type:Boolean},popupVisible:{type:Boolean},showClearBtn:{type:Boolean},allowSearch:{type:Boolean}},emits:["clear"],setup(a){const{slots:l}=o.default().inject(),i=e=>l[e];return(o,a)=>{const u=e.resolveComponent("icon-search");return o.loading?(e.openBlock(),e.createBlock(e.unref(r),{key:0,size:12,class:"yc-cascader-loading-icon"},e.createSlots({_:2},[o.$slots["loading-icon"]?{name:"icon",fn:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i("loading-icon"))))]),key:"0"}:void 0]),1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",s,[e.unref(l)["arrow-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i("arrow-icon")),{key:0})):(e.openBlock(),e.createBlock(e.unref(n),{key:1,rotate:o.popupVisible?180:0},null,8,["rotate"]))]),o.allowSearch?(e.openBlock(),e.createElementBlock("div",t,[e.unref(l)["search-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i("search-icon")),{key:0})):(e.openBlock(),e.createBlock(u,{key:1}))])):e.createCommentVNode("",!0),o.showClearBtn?(e.openBlock(),e.createBlock(e.unref(c),{key:1,class:"yc-cascader-clear-icon",onClick:a[0]||(a[0]=e.withModifiers(e=>o.$emit("clear"),["stop"]))})):e.createCommentVNode("",!0)],64))}}});module.exports=a;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconEyeClose.vue2.js"),i=require("../_shared/icons/IconEyeOpen.vue2.js"),t=require("../_shared/components/IconButton.vue.js"),s=require("../_shared/components/PreventFocus.vue.js");;/* empty css */const n={key:0,class:"yc-input-word-limit"},r=e.defineComponent({__name:"InputSuffix",props:{curLength:{},maxLength:{},showWordLimit:{type:Boolean},computedVisibility:{type:Boolean},isPassword:{type:Boolean},invisibleButton:{type:Boolean}},emits:["clear","visibilityChange"],setup:r=>(r,c)=>(e.openBlock(),e.createBlock(e.unref(s),{class:"yc-input-suffix"},{default:e.withCtx(()=>[r.showWordLimit?(e.openBlock(),e.createElementBlock("div",n,e.toDisplayString(r.curLength)+"/"+e.toDisplayString(r.maxLength),1)):e.createCommentVNode("",!0),r.isPassword&&r.invisibleButton?(e.openBlock(),e.createBlock(e.unref(t),{key:1,size:14,onClick:c[0]||(c[0]=e=>r.$emit("visibilityChange",!r.computedVisibility))},{default:e.withCtx(()=>[r.computedVisibility?(e.openBlock(),e.createBlock(e.unref(i),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]),_:1})):e.createCommentVNode("",!0),r.$slots.suffix?e.renderSlot(r.$slots,"suffix",{key:2},void 0,!0):e.createCommentVNode("",!0)]),_:3}))});module.exports=r;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconEyeClose.vue.js"),i=require("../_shared/icons/IconEyeOpen.vue.js"),t=require("../_shared/components/IconButton.vue.js"),s=require("../_shared/components/PreventFocus.vue.js");;/* empty css */const n={key:0,class:"yc-input-word-limit"},r=e.defineComponent({__name:"InputSuffix",props:{curLength:{},maxLength:{},showWordLimit:{type:Boolean},computedVisibility:{type:Boolean},isPassword:{type:Boolean},invisibleButton:{type:Boolean}},emits:["clear","visibilityChange"],setup:r=>(r,c)=>(e.openBlock(),e.createBlock(e.unref(s),{class:"yc-input-suffix"},{default:e.withCtx(()=>[r.showWordLimit?(e.openBlock(),e.createElementBlock("div",n,e.toDisplayString(r.curLength)+"/"+e.toDisplayString(r.maxLength),1)):e.createCommentVNode("",!0),r.isPassword&&r.invisibleButton?(e.openBlock(),e.createBlock(e.unref(t),{key:1,size:14,onClick:c[0]||(c[0]=e=>r.$emit("visibilityChange",!r.computedVisibility))},{default:e.withCtx(()=>[r.computedVisibility?(e.openBlock(),e.createBlock(e.unref(i),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]),_:1})):e.createCommentVNode("",!0),r.$slots.suffix?e.renderSlot(r.$slots,"suffix",{key:2},void 0,!0):e.createCommentVNode("",!0)]),_:3}))});module.exports=r;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/icons/IconMinus.vue2.js"),s=require("../_shared/icons/IconPlus.vue.js"),n=require("../Button/index.js"),u=e.defineComponent({__name:"InputOperaBtn",props:{mode:{},type:{},disabled:{type:Boolean},computedValue:{},min:{},max:{},size:{}},emits:["click"],setup(u){const l=u,{disabled:t,computedValue:i,min:c,max:a,type:d}=e.toRefs(l),m=e.computed(()=>t.value?t.value:"minus"==d.value?+i.value<=c.value:+i.value>=a.value);return(u,l)=>(e.openBlock(),e.createBlock(e.unref(n.default),{size:u.size,disabled:m.value,class:e.normalizeClass([{"yc-input-number-plus-embed":"embed"==u.mode}]),onClick:l[0]||(l[0]=o=>u.$emit("click",e.unref(d)))},{icon:e.withCtx(()=>[e.renderSlot(u.$slots,"icon",{},()=>["embed"==u.mode?(e.openBlock(),e.createBlock(e.unref(o),{key:0,rotate:"plus"==e.unref(d)?180:0},null,8,["rotate"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["minus"==e.unref(d)?(e.openBlock(),e.createBlock(e.unref(r),{key:0})):(e.openBlock(),e.createBlock(e.unref(s),{key:1}))],64))],!0)]),_:3},8,["size","disabled","class"]))}});module.exports=u;
1
+ "use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/icons/IconMinus.vue.js"),s=require("../_shared/icons/IconPlus.vue.js"),n=require("../Button/index.js"),u=e.defineComponent({__name:"InputOperaBtn",props:{mode:{},type:{},disabled:{type:Boolean},computedValue:{},min:{},max:{},size:{}},emits:["click"],setup(u){const l=u,{disabled:t,computedValue:i,min:c,max:a,type:d}=e.toRefs(l),m=e.computed(()=>t.value?t.value:"minus"==d.value?+i.value<=c.value:+i.value>=a.value);return(u,l)=>(e.openBlock(),e.createBlock(e.unref(n.default),{size:u.size,disabled:m.value,class:e.normalizeClass([{"yc-input-number-plus-embed":"embed"==u.mode}]),onClick:l[0]||(l[0]=o=>u.$emit("click",e.unref(d)))},{icon:e.withCtx(()=>[e.renderSlot(u.$slots,"icon",{},()=>["embed"==u.mode?(e.openBlock(),e.createBlock(e.unref(o),{key:0,rotate:"plus"==e.unref(d)?180:0},null,8,["rotate"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["minus"==e.unref(d)?(e.openBlock(),e.createBlock(e.unref(r),{key:0})):(e.openBlock(),e.createBlock(e.unref(s),{key:1}))],64))],!0)]),_:3},8,["size","disabled","class"]))}});module.exports=u;
@@ -1 +1 @@
1
- "use strict";const e=require("../_shared/icons/IconSearch.vue2.js"),o=require("vue"),n=require("./hooks/useContext.js"),c=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/components/IconButton.vue.js");;/* empty css */const t=require("../Spin/index.js"),s={class:"yc-select-suffix-icon"},l={key:0,class:"yc-select-search-icon"},i=o.defineComponent({__name:"SelectIcon",props:{loading:{type:Boolean},popupVisible:{type:Boolean},showClearBtn:{type:Boolean},allowSearch:{type:Boolean}},emits:["clear"],setup(i){const{slots:a}=n().inject(),u=e=>a[e];return(n,i)=>{const p=e;return n.loading?(o.openBlock(),o.createBlock(o.unref(t),{key:0,size:12,class:"yc-select-loading-icon"},o.createSlots({_:2},[n.$slots["loading-icon"]?{name:"icon",fn:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("loading-icon"))))]),key:"0"}:void 0]),1024)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",s,[o.unref(a)["arrow-icon"]?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("arrow-icon")),{key:0})):(o.openBlock(),o.createBlock(o.unref(c),{key:1,rotate:n.popupVisible?180:0},null,8,["rotate"]))]),n.allowSearch?(o.openBlock(),o.createElementBlock("div",l,[o.unref(a)["search-icon"]?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(u("search-icon")),{key:0})):(o.openBlock(),o.createBlock(p,{key:1}))])):o.createCommentVNode("",!0),n.showClearBtn?(o.openBlock(),o.createBlock(o.unref(r),{key:1,class:"yc-select-clear-icon",onClick:i[0]||(i[0]=o.withModifiers(e=>n.$emit("clear"),["stop"]))})):o.createCommentVNode("",!0)],64))}}});module.exports=i;
1
+ "use strict";const e=require("vue"),o=require("./hooks/useContext.js"),n=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const c=require("../_shared/components/IconButton.vue.js");;/* empty css */const r=require("../Spin/index.js"),t={class:"yc-select-suffix-icon"},s={key:0,class:"yc-select-search-icon"},l=e.defineComponent({__name:"SelectIcon",props:{loading:{type:Boolean},popupVisible:{type:Boolean},showClearBtn:{type:Boolean},allowSearch:{type:Boolean}},emits:["clear"],setup(l){const{slots:i}=o().inject(),a=e=>i[e];return(o,l)=>{const p=e.resolveComponent("icon-search");return o.loading?(e.openBlock(),e.createBlock(e.unref(r),{key:0,size:12,class:"yc-select-loading-icon"},e.createSlots({_:2},[o.$slots["loading-icon"]?{name:"icon",fn:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a("loading-icon"))))]),key:"0"}:void 0]),1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",t,[e.unref(i)["arrow-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a("arrow-icon")),{key:0})):(e.openBlock(),e.createBlock(e.unref(n),{key:1,rotate:o.popupVisible?180:0},null,8,["rotate"]))]),o.allowSearch?(e.openBlock(),e.createElementBlock("div",s,[e.unref(i)["search-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a("search-icon")),{key:0})):(e.openBlock(),e.createBlock(p,{key:1}))])):e.createCommentVNode("",!0),o.showClearBtn?(e.openBlock(),e.createBlock(e.unref(c),{key:1,class:"yc-select-clear-icon",onClick:l[0]||(l[0]=e.withModifiers(e=>o.$emit("clear"),["stop"]))})):e.createCommentVNode("",!0)],64))}}});module.exports=l;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const l=require("../_shared/icons/IconCopy.vue2.js"),a=require("../_shared/icons/IconEdit.vue2.js"),n=require("../_shared/icons/IconInfo.vue.js"),r=require("../_shared/utils/control.js"),u=require("../Input/index.js"),d=require("../Tooltip/index.js"),p=e.defineComponent({name:"TypographyBase",__name:"TypographyBase",props:{tag:{default:"span"},type:{default:void 0},bold:{type:Boolean,default:!1},disabled:{type:Boolean},mark:{type:Boolean,default:!1},underline:{type:Boolean,default:!1},delete:{type:Boolean,default:!1},code:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editing:{type:Boolean,default:void 0},defaultEditing:{type:Boolean,default:!1},editText:{default:""},copyable:{type:Boolean,default:!1},copyText:{default:""},copyDelay:{default:3e3},ellipsis:{type:[Boolean,Object],default:!0},editTooltiProps:{default:()=>({})},copyTooltiProps:{default:()=>({})}},emits:["update:editing","update:editText","edit-start","change","copy","edit-end","ellipsis","expand"],setup(p,{emit:i}){const s=p,c=i,{editing:y,defaultEditing:f,editText:v,copyText:m,copyable:g,copyDelay:B,code:k,mark:h,delete:x,underline:_,bold:T}=e.toRefs(s),{isSupported:C,copy:b}=t.useClipboard(),j=e.ref(!1),q=e.ref(),V=e.ref(),E=r(y,f.value,e=>{c("update:editing",e)}),N=r(v,"",e=>{c("update:editText",e),c("change",e)});e.ref({});const w=e.computed(()=>{const e=[h.value,k.value,x.value,_.value,T.value];return["mark","code","del","u","b"].filter((t,o)=>e[o])}),D=e.defineComponent({props:{tags:{type:Array,default:()=>[]}},setup:(t,{slots:o})=>()=>{var l;const{tags:a}=e.toRefs(t),n=(t,o)=>o>=a.value.length?t:e.h(a.value[o],null,n(t,o+1));return n(null==(l=o.default)?void 0:l.call(o),0)}}),I=async()=>{var e;E.value=!0,N.value=N.value?N.value:o.getDomText(q),c("edit-start"),await o.sleep(0),null==(e=V.value)||e.focus()},P=()=>{E.value=!1,c("edit-end")},R=async()=>{if(!g.value||!C.value||j.value)return;const e=m.value||o.getDomText(q);b(e),c("copy",e),j.value=!0,await o.sleep(B.value),j.value=!1};return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(["yc-typography",{[`yc-typography-${t.type}`]:t.type,"yc-typography-bold":e.unref(T),"yc-typography-disabled":t.disabled,"yc-typography-underline":e.unref(_),"yc-typography-delete":e.unref(x)}]),ref_key:"contentRef",ref:q},{default:e.withCtx(()=>[e.unref(E)?(e.openBlock(),e.createBlock(e.unref(u),{key:0,modelValue:e.unref(N),"onUpdate:modelValue":o[0]||(o[0]=t=>e.isRef(N)?N.value=t:null),ref_key:"inputRef",ref:V,onBlur:P},null,8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(D),{key:1,tags:w.value},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["tags"])),t.editable&&!e.unref(E)?(e.openBlock(),e.createElementBlock("span",{key:2,class:"yc-typography-operation-edit",onClick:I},[e.createVNode(e.unref(d),e.mergeProps({content:"编辑",position:"top"},t.editTooltiProps),{default:e.withCtx(()=>[e.createElementVNode("span",null,[e.createVNode(e.unref(a))])]),_:1},16)])):e.createCommentVNode("",!0),e.unref(g)?(e.openBlock(),e.createElementBlock("span",{key:3,class:"yc-typography-operation-copy",onClick:R},[e.createVNode(e.unref(d),e.mergeProps({position:"top"},t.copyTooltiProps),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"copy-tooltip",{copied:j.value},()=>[e.createTextVNode(e.toDisplayString(""+(j.value?"已复制":"复制")),1)],!0)]),default:e.withCtx(()=>[e.createElementVNode("span",null,[e.renderSlot(t.$slots,"copy-icon",{copied:j.value},()=>[j.value?(e.openBlock(),e.createBlock(e.unref(n),{key:0,color:"rgb(0, 180, 42)"})):(e.openBlock(),e.createBlock(e.unref(l),{key:1}))],!0)])]),_:3},16)])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});module.exports=p;
1
+ "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const l=require("../_shared/icons/IconCopy.vue.js"),a=require("../_shared/icons/IconEdit.vue.js"),n=require("../_shared/icons/IconInfo.vue.js"),r=require("../_shared/utils/control.js"),u=require("../Input/index.js"),d=require("../Tooltip/index.js"),p=e.defineComponent({name:"TypographyBase",__name:"TypographyBase",props:{tag:{default:"span"},type:{default:void 0},bold:{type:Boolean,default:!1},disabled:{type:Boolean},mark:{type:Boolean,default:!1},underline:{type:Boolean,default:!1},delete:{type:Boolean,default:!1},code:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editing:{type:Boolean,default:void 0},defaultEditing:{type:Boolean,default:!1},editText:{default:""},copyable:{type:Boolean,default:!1},copyText:{default:""},copyDelay:{default:3e3},ellipsis:{type:[Boolean,Object],default:!0},editTooltiProps:{default:()=>({})},copyTooltiProps:{default:()=>({})}},emits:["update:editing","update:editText","edit-start","change","copy","edit-end","ellipsis","expand"],setup(p,{emit:i}){const s=p,c=i,{editing:y,defaultEditing:f,editText:v,copyText:m,copyable:g,copyDelay:B,code:k,mark:h,delete:x,underline:_,bold:T}=e.toRefs(s),{isSupported:C,copy:b}=t.useClipboard(),j=e.ref(!1),q=e.ref(),V=e.ref(),E=r(y,f.value,e=>{c("update:editing",e)}),N=r(v,"",e=>{c("update:editText",e),c("change",e)});e.ref({});const w=e.computed(()=>{const e=[h.value,k.value,x.value,_.value,T.value];return["mark","code","del","u","b"].filter((t,o)=>e[o])}),D=e.defineComponent({props:{tags:{type:Array,default:()=>[]}},setup:(t,{slots:o})=>()=>{var l;const{tags:a}=e.toRefs(t),n=(t,o)=>o>=a.value.length?t:e.h(a.value[o],null,n(t,o+1));return n(null==(l=o.default)?void 0:l.call(o),0)}}),I=async()=>{var e;E.value=!0,N.value=N.value?N.value:o.getDomText(q),c("edit-start"),await o.sleep(0),null==(e=V.value)||e.focus()},P=()=>{E.value=!1,c("edit-end")},R=async()=>{if(!g.value||!C.value||j.value)return;const e=m.value||o.getDomText(q);b(e),c("copy",e),j.value=!0,await o.sleep(B.value),j.value=!1};return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(["yc-typography",{[`yc-typography-${t.type}`]:t.type,"yc-typography-bold":e.unref(T),"yc-typography-disabled":t.disabled,"yc-typography-underline":e.unref(_),"yc-typography-delete":e.unref(x)}]),ref_key:"contentRef",ref:q},{default:e.withCtx(()=>[e.unref(E)?(e.openBlock(),e.createBlock(e.unref(u),{key:0,modelValue:e.unref(N),"onUpdate:modelValue":o[0]||(o[0]=t=>e.isRef(N)?N.value=t:null),ref_key:"inputRef",ref:V,onBlur:P},null,8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(D),{key:1,tags:w.value},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["tags"])),t.editable&&!e.unref(E)?(e.openBlock(),e.createElementBlock("span",{key:2,class:"yc-typography-operation-edit",onClick:I},[e.createVNode(e.unref(d),e.mergeProps({content:"编辑",position:"top"},t.editTooltiProps),{default:e.withCtx(()=>[e.createElementVNode("span",null,[e.createVNode(e.unref(a))])]),_:1},16)])):e.createCommentVNode("",!0),e.unref(g)?(e.openBlock(),e.createElementBlock("span",{key:3,class:"yc-typography-operation-copy",onClick:R},[e.createVNode(e.unref(d),e.mergeProps({position:"top"},t.copyTooltiProps),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"copy-tooltip",{copied:j.value},()=>[e.createTextVNode(e.toDisplayString(""+(j.value?"已复制":"复制")),1)],!0)]),default:e.withCtx(()=>[e.createElementVNode("span",null,[e.renderSlot(t.$slots,"copy-icon",{copied:j.value},()=>[j.value?(e.openBlock(),e.createBlock(e.unref(n),{key:0,color:"rgb(0, 180, 42)"})):(e.openBlock(),e.createBlock(e.unref(l),{key:1}))],!0)])]),_:3},16)])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});module.exports=p;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconCopy.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),o=require("../components/Icon.vue2.js"),t=e.defineComponent({__name:"IconCopy",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../components/Icon.vue2.js"),t=e.defineComponent({__name:"IconCopy",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
1
+ "use strict";const e=require("./IconCopy.vue.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconEdit.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEdit",setup:o=>(o,a)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>a[0]||(a[0]=[e.createElementVNode("path",{d:"m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEdit",setup:o=>(o,a)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>a[0]||(a[0]=[e.createElementVNode("path",{d:"m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconEdit.vue.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconEyeClose.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEyeClose",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z","clip-rule":"evenodd"},null,-1),e.createElementVNode("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEyeClose",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z","clip-rule":"evenodd"},null,-1),e.createElementVNode("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconEyeClose.vue.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconEyeOpen.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEyeOpen",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14"},null,-1),e.createElementVNode("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconEyeOpen",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14"},null,-1),e.createElementVNode("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconEyeOpen.vue.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconMinus.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconMinus",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M5 24h38"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconMinus",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M5 24h38"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconMinus.vue.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconSeparator.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconSeparator",setup:o=>(o,r)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>r[0]||(r[0]=[e.createElementVNode("path",{d:"M29.506 6.502 18.493 41.498"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconSeparator",setup:o=>(o,r)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>r[0]||(r[0]=[e.createElementVNode("path",{d:"M29.506 6.502 18.493 41.498"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconSeparator.vue.js");module.exports=e;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yc-design-vue",
3
3
  "private": false,
4
- "version": "1.6.6",
4
+ "version": "1.6.7",
5
5
  "type": "module",
6
6
  "description": "A Vue 3 component library.",
7
7
  "keywords": [
@@ -47,16 +47,14 @@
47
47
  "require": "./lib/index.js"
48
48
  },
49
49
  "./es/style.css": "./es/style.css",
50
- "./es/shared.css": "./es/shared.css",
51
50
  "./lib/style.css": "./lib/style.css",
52
- "./lib/shared.css": "./lib/shared.css",
53
51
  "./es/*": {
54
- "types": "./es/*.d.ts",
55
- "import": "./es/*"
52
+ "types": "./es/*/index.d.ts",
53
+ "import": "./es/*/index.js"
56
54
  },
57
55
  "./lib/*": {
58
- "types": "./lib/*.d.ts",
59
- "require": "./lib/*"
56
+ "types": "./lib/*/index.d.ts",
57
+ "require": "./lib/*/index.js"
60
58
  }
61
59
  },
62
60
  "dependencies": {
@@ -92,7 +90,7 @@
92
90
  "vite-plugin-dts": "^4.5.4",
93
91
  "vue": "^3.3.4",
94
92
  "vue-tsc": "^2.0.29",
95
- "yc-design-vue": "^1.6.1"
93
+ "yc-design-vue": "^1.6.6"
96
94
  },
97
95
  "peerDependencies": {
98
96
  "vue": "^3.3.4"