yc-design-vue 1.4.6 → 1.4.8

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/Input/InputSuffix.vue2.js +2 -2
  2. package/es/TimePicker/TimePicker.vue.js +1 -1
  3. package/es/TimePicker/TimePicker.vue2.js +2 -1
  4. package/es/Transfer/TransferPanel.vue2.js +2 -2
  5. package/es/Typography/TypographyBase.vue2.js +2 -2
  6. package/es/_shared/icons/IconCopy.vue.js +1 -16
  7. package/es/_shared/icons/IconCopy.vue2.js +16 -1
  8. package/es/_shared/icons/IconDelete.vue.js +16 -1
  9. package/es/_shared/icons/IconDelete.vue2.js +1 -16
  10. package/es/_shared/icons/IconEdit.vue.js +1 -16
  11. package/es/_shared/icons/IconEdit.vue2.js +16 -1
  12. package/es/_shared/icons/IconEyeClose.vue.js +20 -1
  13. package/es/_shared/icons/IconEyeClose.vue2.js +1 -20
  14. package/es/_shared/icons/IconEyeOpen.vue.js +17 -1
  15. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -17
  16. package/es/_shared/icons/IconSearch.vue.js +16 -1
  17. package/es/_shared/icons/IconSearch.vue2.js +1 -16
  18. package/es/style.css +1 -1
  19. package/lib/Input/InputSuffix.vue2.js +1 -1
  20. package/lib/TimePicker/TimePicker.vue.js +1 -1
  21. package/lib/TimePicker/TimePicker.vue2.js +1 -1
  22. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  23. package/lib/Typography/TypographyBase.vue2.js +1 -1
  24. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  25. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  26. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  27. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  28. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  29. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  30. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  31. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  32. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  33. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  34. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  35. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  36. package/lib/style.css +1 -1
  37. package/package.json +1 -1
@@ -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 */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./TimePicker.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e692f4f9"]]);
4
+ const _TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9dcac810"]]);
5
5
  export {
6
6
  _TimePicker as default
7
7
  };
@@ -139,7 +139,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
139
  "yc-picker-error": _ctx.error,
140
140
  "yc-picker-focus": unref(computedVisible),
141
141
  "yc-picker-has-prefix": _ctx.$slots.prefix,
142
- "yc-picker-allow-clear": unref(showClearBtn)
142
+ "yc-picker-allow-clear": unref(showClearBtn),
143
+ "yc-picker-range": unref(type) == "time-range"
143
144
  }
144
145
  ]),
145
146
  style: normalizeStyle({
@@ -5,8 +5,8 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  /* empty css */
7
7
  import _sfc_main$3 from "../_shared/icons/IconClose.vue.js";
8
- import _sfc_main$1 from "../_shared/icons/IconDelete.vue2.js";
9
- import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
8
+ import _sfc_main$1 from "../_shared/icons/IconDelete.vue.js";
9
+ import _sfc_main$2 from "../_shared/icons/IconSearch.vue.js";
10
10
  import useContext from "./hooks/useContext.js";
11
11
  import Checkbox from "../Checkbox/index.js";
12
12
  import Scrollbar from "../Scrollbar/index.js";
@@ -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.vue.js";
9
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
9
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.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,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.vue2.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconCopy.vue.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,4 +1,19 @@
1
- import _sfc_main from "./IconDelete.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: "IconDelete",
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 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, 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: "IconDelete",
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 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconDelete.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -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.vue2.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconEdit.vue.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,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 "./IconSearch.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: "IconSearch",
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, 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: "IconSearch",
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconSearch.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };