lew-ui 2.2.8 → 2.2.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.
@@ -34,7 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
34
34
  };
35
35
  iconSize: {
36
36
  type: NumberConstructor;
37
- default: string;
37
+ default: number;
38
38
  description: string;
39
39
  };
40
40
  loading: {
@@ -92,7 +92,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
92
92
  };
93
93
  iconSize: {
94
94
  type: NumberConstructor;
95
- default: string;
95
+ default: number;
96
96
  description: string;
97
97
  };
98
98
  loading: {
@@ -36,7 +36,7 @@ export declare const buttonProps: {
36
36
  };
37
37
  iconSize: {
38
38
  type: NumberConstructor;
39
- default: string;
39
+ default: number;
40
40
  description: string;
41
41
  };
42
42
  loading: {
package/dist/index.mjs CHANGED
@@ -12893,7 +12893,7 @@ const switchProps = {
12893
12893
  description: "加载状态"
12894
12894
  }
12895
12895
  };
12896
- const _withScopeId$1 = (n) => (pushScopeId("data-v-f7e2a179"), n = n(), popScopeId(), n);
12896
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-b57530d9"), n = n(), popScopeId(), n);
12897
12897
  const _hoisted_1$s = ["disabled"];
12898
12898
  const _hoisted_2$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "lew-switch-dot" }, null, -1));
12899
12899
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
@@ -12948,9 +12948,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
12948
12948
  "--lew-switch-view-height": "22px",
12949
12949
  "--lew-switch-dot-width": "14px",
12950
12950
  "--lew-switch-dot-height": "14px",
12951
- "--lew-switch-dot-width-active": "18px",
12951
+ "--lew-switch-dot-width-active": "16px",
12952
12952
  "--lew-switch-dot-transform": "translate(4px, 4px)",
12953
- "--lew-switch-dot-transform-active": "translate(14px, 4px)"
12953
+ "--lew-switch-dot-transform-active": "translate(16px, 4px)"
12954
12954
  };
12955
12955
  case "medium":
12956
12956
  return {
@@ -12958,9 +12958,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
12958
12958
  "--lew-switch-view-height": "24px",
12959
12959
  "--lew-switch-dot-width": "16px",
12960
12960
  "--lew-switch-dot-height": "16px",
12961
- "--lew-switch-dot-width-active": "20px",
12961
+ "--lew-switch-dot-width-active": "18px",
12962
12962
  "--lew-switch-dot-transform": "translate(4px, 4px)",
12963
- "--lew-switch-dot-transform-active": "translate(14px, 4px)"
12963
+ "--lew-switch-dot-transform-active": "translate(16px, 4px)"
12964
12964
  };
12965
12965
  case "large":
12966
12966
  return {
@@ -12968,9 +12968,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
12968
12968
  "--lew-switch-view-height": "26px",
12969
12969
  "--lew-switch-dot-width": "18px",
12970
12970
  "--lew-switch-dot-height": "18px",
12971
- "--lew-switch-dot-width-active": "24px",
12971
+ "--lew-switch-dot-width-active": "20px",
12972
12972
  "--lew-switch-dot-transform": "translate(4px, 4px)",
12973
- "--lew-switch-dot-transform-active": "translate(12px, 4px)"
12973
+ "--lew-switch-dot-transform-active": "translate(16px, 4px)"
12974
12974
  };
12975
12975
  default:
12976
12976
  return {
@@ -13003,7 +13003,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
13003
13003
  };
13004
13004
  }
13005
13005
  });
13006
- const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f7e2a179"]]);
13006
+ const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-b57530d9"]]);
13007
13007
  const getHeadDate = ["一", "二", "三", "四", "五", "六", "日"];
13008
13008
  const getMonthDate = (year, month) => {
13009
13009
  const ret = [];
@@ -15386,7 +15386,7 @@ const buttonProps = {
15386
15386
  },
15387
15387
  iconSize: {
15388
15388
  type: Number,
15389
- default: "",
15389
+ default: 16,
15390
15390
  description: "图标大小"
15391
15391
  },
15392
15392
  loading: {
@@ -19846,7 +19846,7 @@ const uploadProps = {
19846
19846
  description: "上传文件的处理方法"
19847
19847
  }
19848
19848
  };
19849
- const _withScopeId = (n) => (pushScopeId("data-v-a03567d9"), n = n(), popScopeId(), n);
19849
+ const _withScopeId = (n) => (pushScopeId("data-v-6c36f80c"), n = n(), popScopeId(), n);
19850
19850
  const _hoisted_1$6 = ["multiple", "accept"];
19851
19851
  const _hoisted_2$4 = ["src"];
19852
19852
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "lew-upload-progress-bar" }, null, -1));
@@ -19861,12 +19861,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19861
19861
  setup(__props, { emit: __emit }) {
19862
19862
  const { isSupported } = useClipboardItems({ read: true });
19863
19863
  const tipFontSizeMap = {
19864
- small: 12,
19864
+ small: 14,
19865
19865
  medium: 14,
19866
19866
  large: 16
19867
19867
  };
19868
19868
  const fileIconSizeMap = {
19869
- small: 28,
19869
+ small: 30,
19870
19870
  medium: 36,
19871
19871
  large: 44
19872
19872
  };
@@ -19876,22 +19876,22 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19876
19876
  large: 12
19877
19877
  };
19878
19878
  const maxSizeFontSizeMap = {
19879
- small: 10,
19879
+ small: 12,
19880
19880
  medium: 12,
19881
19881
  large: 14
19882
19882
  };
19883
19883
  const footerFontSizeMap = {
19884
- small: 10,
19884
+ small: 11,
19885
19885
  medium: 12,
19886
19886
  large: 14
19887
19887
  };
19888
19888
  const fileNameFontSizeMap = {
19889
- small: 12,
19889
+ small: 13,
19890
19890
  medium: 14,
19891
19891
  large: 16
19892
19892
  };
19893
19893
  const uploadIconFontSizeMap = {
19894
- small: 25,
19894
+ small: 32,
19895
19895
  medium: 35,
19896
19896
  large: 45
19897
19897
  };
@@ -20424,7 +20424,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
20424
20424
  };
20425
20425
  }
20426
20426
  });
20427
- const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-a03567d9"]]);
20427
+ const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6c36f80c"]]);
20428
20428
  const collapseModel = {
20429
20429
  modelValue: {
20430
20430
  type: [Array, String],