yc-design-vue 1.0.5 → 1.0.6

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.
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _BackTop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ecf1edd4"]]);
4
+ const _BackTop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a91c814"]]);
5
5
  export {
6
6
  _BackTop as default
7
7
  };
@@ -27,7 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  const buttonRef = ref();
28
28
  const curScroll = ref(0);
29
29
  const targetContainer = computed(() => {
30
- console.log(findFirstScrollableParent(buttonRef.value));
31
30
  return isUndefined(_targetContainer.value) ? findFirstScrollableParent(buttonRef.value) : getElement(_targetContainer.value);
32
31
  });
33
32
  const handleTop = () => {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Cascader.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _Cascader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8b4cd88e"]]);
4
+ const _Cascader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5acb2b3"]]);
5
5
  export {
6
6
  _Cascader as default
7
7
  };
@@ -141,11 +141,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
141
141
  break;
142
142
  case "updateValue":
143
143
  {
144
- console.log("updateValue", value);
145
144
  computedValue.value = value.map(
146
145
  (item) => item.value
147
146
  );
148
- console.log(computedValue.value, "value");
149
147
  }
150
148
  break;
151
149
  }
@@ -12,7 +12,6 @@ const open = (props) => {
12
12
  render(null, container);
13
13
  };
14
14
  const update = (updateProps) => {
15
- console.log("函数执行了", updateProps);
16
15
  };
17
16
  const vnode = h(_sfc_main, {
18
17
  ...props,
@@ -192,7 +192,6 @@ const useContext = () => {
192
192
  maxCount++;
193
193
  }
194
194
  max.value = maxCount;
195
- console.log(max.value, "max");
196
195
  }, 200)
197
196
  );
198
197
  }
package/es/Modal/index.js CHANGED
@@ -13,7 +13,6 @@ const open = (props) => {
13
13
  render(null, container);
14
14
  };
15
15
  const update = (updateProps) => {
16
- console.log("函数执行了", updateProps);
17
16
  };
18
17
  const vnode = h(_sfc_main, {
19
18
  ...props,
@@ -7,7 +7,7 @@ import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
10
- import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
10
+ import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
11
11
  import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
12
12
  const _hoisted_1 = ["aria-valuenow"];
13
13
  const _hoisted_2 = ["viewBox"];
@@ -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.vue2.js";
28
2
  export {
29
3
  _sfc_main as default
30
4
  };
@@ -1,4 +1,30 @@
1
- import _sfc_main from "./IconExclamation.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: "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
  };
@@ -68,7 +68,6 @@ const valueToPx = (value) => {
68
68
  if (isNumber(value) || isString(value) && numberReg.test(value)) {
69
69
  return value + "px";
70
70
  }
71
- console.log("value", value);
72
71
  return value;
73
72
  };
74
73
  export {