yc-design-vue 1.4.7 → 1.4.9

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 (64) hide show
  1. package/es/Alert/index.vue2.js +1 -1
  2. package/es/Calendar/Calendar.vue2.js +1 -1
  3. package/es/Cascader/CascaderIcon.vue2.js +1 -1
  4. package/es/Checkbox/Checkbox.vue2.js +1 -1
  5. package/es/Collapse/CollapseItem.vue2.js +1 -1
  6. package/es/Drawer/Drawer.vue2.js +1 -1
  7. package/es/Input/Input.vue2.js +1 -1
  8. package/es/Input/InputSuffix.vue2.js +1 -1
  9. package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
  10. package/es/InputTag/index.vue2.js +1 -1
  11. package/es/Menu/SubMenu.vue2.js +1 -1
  12. package/es/Message/Message.vue2.js +1 -1
  13. package/es/Modal/Modal.vue2.js +1 -1
  14. package/es/Notification/Notification.vue2.js +1 -1
  15. package/es/PageHeader/index.vue2.js +1 -1
  16. package/es/Progress/ProgressCircle.vue2.js +1 -1
  17. package/es/Radio/Radio.vue2.js +1 -1
  18. package/es/Select/SelectIcon.vue2.js +1 -1
  19. package/es/Tabs/TabButton.vue2.js +1 -1
  20. package/es/Tag/index.vue2.js +1 -1
  21. package/es/Textarea/index.vue2.js +1 -1
  22. package/es/TimePicker/TimePicker.vue.js +1 -1
  23. package/es/TimePicker/TimePicker.vue2.js +3 -2
  24. package/es/Transfer/TransferPanel.vue2.js +1 -1
  25. package/es/Trigger/index.vue2.js +1 -1
  26. package/es/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +1 -1
  27. package/es/_shared/icons/IconExclamation.vue.js +27 -1
  28. package/es/_shared/icons/IconExclamation.vue2.js +1 -27
  29. package/es/_shared/icons/IconMinus.vue.js +16 -1
  30. package/es/_shared/icons/IconMinus.vue2.js +1 -16
  31. package/es/style.css +1 -1
  32. package/lib/Alert/index.vue2.js +1 -1
  33. package/lib/Calendar/Calendar.vue2.js +1 -1
  34. package/lib/Cascader/CascaderIcon.vue2.js +1 -1
  35. package/lib/Checkbox/Checkbox.vue2.js +1 -1
  36. package/lib/Collapse/CollapseItem.vue2.js +1 -1
  37. package/lib/Drawer/Drawer.vue2.js +1 -1
  38. package/lib/Input/Input.vue2.js +1 -1
  39. package/lib/Input/InputSuffix.vue2.js +1 -1
  40. package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
  41. package/lib/InputTag/index.vue2.js +1 -1
  42. package/lib/Menu/SubMenu.vue2.js +1 -1
  43. package/lib/Message/Message.vue2.js +1 -1
  44. package/lib/Modal/Modal.vue2.js +1 -1
  45. package/lib/Notification/Notification.vue2.js +1 -1
  46. package/lib/PageHeader/index.vue2.js +1 -1
  47. package/lib/Progress/ProgressCircle.vue2.js +1 -1
  48. package/lib/Radio/Radio.vue2.js +1 -1
  49. package/lib/Select/SelectIcon.vue2.js +1 -1
  50. package/lib/Tabs/TabButton.vue2.js +1 -1
  51. package/lib/Tag/index.vue2.js +1 -1
  52. package/lib/Textarea/index.vue2.js +1 -1
  53. package/lib/TimePicker/TimePicker.vue.js +1 -1
  54. package/lib/TimePicker/TimePicker.vue2.js +1 -1
  55. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  56. package/lib/Trigger/index.vue2.js +1 -1
  57. package/lib/_shared/components/IconButton.vue2.js +1 -0
  58. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  59. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  60. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  61. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  62. package/lib/style.css +1 -1
  63. package/package.json +1 -1
  64. package/lib/_shared/components/IconButton.vue.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import IconButton from "../_shared/components/IconButton.vue.js";
3
+ import IconButton from "../_shared/components/IconButton.vue2.js";
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
@@ -7,7 +7,7 @@ import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
- import IconButton from "../_shared/components/IconButton.vue.js";
10
+ import IconButton from "../_shared/components/IconButton.vue2.js";
11
11
  /* empty css */
12
12
  import Button from "../Button/index.js";
13
13
  import "../Radio/index.js";
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import Spin from "../Spin/index.js";
12
12
  const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
@@ -8,7 +8,7 @@ import "../Empty/index.js";
8
8
  import _sfc_main$1 from "../_shared/icons/IconCheckboxChecked.vue.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
10
  import useContext from "./hooks/useContext.js";
11
- import IconButton from "../_shared/components/IconButton.vue.js";
11
+ import IconButton from "../_shared/components/IconButton.vue2.js";
12
12
  /* empty css */
13
13
  const _hoisted_1 = ["value", "disabled", "checked"];
14
14
  const _hoisted_2 = { class: "yc-checkbox-icon" };
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../_shared/icons/IconRight.vue.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
11
11
  const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
12
12
  const _hoisted_2 = {
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useModalClose from "../Modal/hooks/useModalClose.js";
7
7
  import Button from "../Button/index.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  const _hoisted_1 = {
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useControlValue from "../_shared/utils/control.js";
7
7
  import useLimitedInput from "./hooks/useLimitedInput.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
10
10
  /* empty css */
11
11
  /* empty css */
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$3 from "../_shared/icons/IconEyeClose.vue2.js";
8
8
  import _sfc_main$2 from "../_shared/icons/IconEyeOpen.vue2.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -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({
@@ -8,7 +8,7 @@ import "../_shared/utils/time.js";
8
8
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
10
  import Tag from "../Tag/index.js";
11
- import IconButton from "../_shared/components/IconButton.vue.js";
11
+ import IconButton from "../_shared/components/IconButton.vue2.js";
12
12
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
13
13
  /* empty css */
14
14
  /* empty css */
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- /* empty css */
9
+ /* empty css */
10
10
  import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
11
11
  import "./index.js";
12
12
  import MenuItem from "./MenuItem.vue.js";
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
12
12
  const _hoisted_1 = {
@@ -6,7 +6,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useModalClose from "./hooks/useModalClose.js";
7
7
  import useModalDraggable from "./hooks/useModalDraggable.js";
8
8
  import Button from "../Button/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -7,7 +7,7 @@ import "../_shared/utils/time.js";
7
7
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
8
8
  import "../Empty/index.js";
9
9
  /* empty css */
10
- import IconButton from "../_shared/components/IconButton.vue.js";
10
+ import IconButton from "../_shared/components/IconButton.vue2.js";
11
11
  /* empty css */
12
12
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
13
13
  const _hoisted_1 = { class: "yc-notification-left" };
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
8
8
  import Divider from "../Divider/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  const _hoisted_1 = { class: "yc-page-header" };
12
12
  const _hoisted_2 = { class: "yc-page-header-wrapper" };
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
9
- import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
9
+ import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
10
10
  import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
11
11
  const _hoisted_1 = ["aria-valuenow"];
12
12
  const _hoisted_2 = ["viewBox"];
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import useContext from "./hooks/useContext.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  const _hoisted_1 = ["value", "checked", "disabled"];
12
12
  const _hoisted_2 = {
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import Spin from "../Spin/index.js";
12
12
  const _hoisted_1 = { class: "yc-select-suffix-icon" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
2
- import IconButton from "../_shared/components/IconButton.vue.js";
2
+ import IconButton from "../_shared/components/IconButton.vue2.js";
3
3
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import Spin from "../Spin/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
2
2
  import useTextareaHeight from "./hooks/useTextareaHeight.js";
3
3
  import useLimitedInput from "../Input/hooks/useLimitedInput.js";
4
- import IconButton from "../_shared/components/IconButton.vue.js";
4
+ import IconButton from "../_shared/components/IconButton.vue2.js";
5
5
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
6
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
7
7
  import "../_shared/utils/dom.js";
@@ -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
  };
@@ -5,7 +5,7 @@ import { isArray } from "../_shared/utils/is.js";
5
5
  import { isValidTimeRange } from "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useContext from "./hooks/useContext.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  import _sfc_main$1 from "../_shared/icons/IconTime.vue.js";
@@ -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({
@@ -11,7 +11,7 @@ import useContext from "./hooks/useContext.js";
11
11
  import Checkbox from "../Checkbox/index.js";
12
12
  import Scrollbar from "../Scrollbar/index.js";
13
13
  import Input from "../Input/index.js";
14
- import IconButton from "../_shared/components/IconButton.vue.js";
14
+ import IconButton from "../_shared/components/IconButton.vue2.js";
15
15
  /* empty css */
16
16
  const _hoisted_1 = { class: "yc-transfer-view" };
17
17
  const _hoisted_2 = { class: "yc-transfer-view-header" };
@@ -7,7 +7,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useTriggerVisible from "./hooks/useTriggerVisible.js";
8
8
  import useTriggerPosition from "./hooks/useTriggerPosition.js";
9
9
  /* empty css */
10
- /* empty css */
10
+ /* empty css */
11
11
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
12
  /* empty css */
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from "./IconButton.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cd1d9af"]]);
5
5
  export {
@@ -1,4 +1,30 @@
1
- import _sfc_main from "./IconExclamation.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: "IconExclamation",
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: "M23 9h2v21h-2z" }, null, -1),
10
+ createElementVNode("path", {
11
+ fill: "currentColor",
12
+ stroke: "none",
13
+ d: "M23 9h2v21h-2z"
14
+ }, null, -1),
15
+ createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
16
+ createElementVNode("path", {
17
+ fill: "currentColor",
18
+ stroke: "none",
19
+ d: "M23 37h2v2h-2z"
20
+ }, null, -1)
21
+ ])),
22
+ _: 1,
23
+ __: [0]
24
+ }, 16);
25
+ };
26
+ }
27
+ });
2
28
  export {
3
29
  _sfc_main as default
4
30
  };
@@ -1,30 +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: "IconExclamation",
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: "M23 9h2v21h-2z" }, null, -1),
10
- createElementVNode("path", {
11
- fill: "currentColor",
12
- stroke: "none",
13
- d: "M23 9h2v21h-2z"
14
- }, null, -1),
15
- createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
16
- createElementVNode("path", {
17
- fill: "currentColor",
18
- stroke: "none",
19
- d: "M23 37h2v2h-2z"
20
- }, null, -1)
21
- ])),
22
- _: 1,
23
- __: [0]
24
- }, 16);
25
- };
26
- }
27
- });
1
+ import _sfc_main from "./IconExclamation.vue.js";
28
2
  export {
29
3
  _sfc_main as default
30
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
  };