yc-design-vue 2.0.7 → 2.0.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/dist/index.umd.js +1 -1
  2. package/es/Input/InputSuffix.vue.js +2 -2
  3. package/es/InputNumber/InputOperaBtn.vue.js +1 -1
  4. package/es/Progress/ProgressCircle.vue.js +1 -1
  5. package/es/Transfer/TransferPanel.vue.js +2 -2
  6. package/es/Typography/TypographyBase.vue.js +2 -2
  7. package/es/Upload/Upload.vue.d.ts +1 -0
  8. package/es/Upload/Upload.vue.js +3 -1
  9. package/es/Upload/UploadFileList.vue2.js +1 -1
  10. package/es/Upload/UploadPictureCard.vue2.js +2 -2
  11. package/es/Upload/hooks/useContext.d.ts +5 -3
  12. package/es/Upload/hooks/useContext.js +20 -3
  13. package/es/Upload/hooks/useUpload.d.ts +8 -6
  14. package/es/Upload/hooks/useUpload.js +24 -6
  15. package/es/Upload/index.d.ts +3 -0
  16. package/es/Upload/type.d.ts +3 -1
  17. package/es/_shared/icons/IconCopy.vue.js +19 -1
  18. package/es/_shared/icons/IconCopy.vue2.js +1 -19
  19. package/es/_shared/icons/IconDelete.vue.js +19 -1
  20. package/es/_shared/icons/IconDelete.vue2.js +1 -19
  21. package/es/_shared/icons/IconEdit.vue.js +19 -1
  22. package/es/_shared/icons/IconEdit.vue2.js +1 -19
  23. package/es/_shared/icons/IconExclamation.vue.js +30 -1
  24. package/es/_shared/icons/IconExclamation.vue2.js +1 -30
  25. package/es/_shared/icons/IconEyeClose.vue.js +23 -1
  26. package/es/_shared/icons/IconEyeClose.vue2.js +1 -23
  27. package/es/_shared/icons/IconEyeOpen.vue.js +20 -1
  28. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -20
  29. package/es/_shared/icons/IconMinus.vue.js +19 -1
  30. package/es/_shared/icons/IconMinus.vue2.js +1 -19
  31. package/es/_shared/icons/IconSearch.vue.js +19 -1
  32. package/es/_shared/icons/IconSearch.vue2.js +1 -19
  33. package/lib/Input/InputSuffix.vue.js +1 -1
  34. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  35. package/lib/Progress/ProgressCircle.vue.js +1 -1
  36. package/lib/Transfer/TransferPanel.vue.js +1 -1
  37. package/lib/Typography/TypographyBase.vue.js +1 -1
  38. package/lib/Upload/Upload.vue.d.ts +1 -0
  39. package/lib/Upload/Upload.vue.js +1 -1
  40. package/lib/Upload/UploadFileList.vue2.js +1 -1
  41. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  42. package/lib/Upload/hooks/useContext.d.ts +5 -3
  43. package/lib/Upload/hooks/useContext.js +1 -1
  44. package/lib/Upload/hooks/useUpload.d.ts +8 -6
  45. package/lib/Upload/hooks/useUpload.js +1 -1
  46. package/lib/Upload/index.d.ts +3 -0
  47. package/lib/Upload/type.d.ts +3 -1
  48. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  49. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  50. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  51. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  52. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  53. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  54. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  55. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  56. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  57. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  58. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  59. package/lib/_shared/icons/IconEyeOpen.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/_shared/icons/IconSearch.vue.js +1 -1
  63. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  64. package/package.json +1 -1
@@ -5,8 +5,8 @@ import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
- import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
9
- import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
8
+ import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue.js";
9
+ import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue.js";
10
10
  const _hoisted_1 = {
11
11
  key: 0,
12
12
  class: "yc-input-word-limit"
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
7
+ import _sfc_main$2 from "../_shared/icons/IconMinus.vue.js";
8
8
  import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
9
9
  import Button from "../Button/index.js";
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -5,7 +5,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
8
- import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
8
+ import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
9
9
  import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
10
10
  const _hoisted_1 = ["aria-valuenow"];
11
11
  const _hoisted_2 = ["viewBox"];
@@ -5,8 +5,8 @@ import "../_shared/utils/dom.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
8
- import _sfc_main$2 from "../_shared/icons/IconDelete.vue2.js";
9
- import _sfc_main$3 from "../_shared/icons/IconSearch.vue2.js";
8
+ import _sfc_main$2 from "../_shared/icons/IconDelete.vue.js";
9
+ import _sfc_main$3 from "../_shared/icons/IconSearch.vue.js";
10
10
  import useTransferContext from "./hooks/useContext.js";
11
11
  import Checkbox from "../Checkbox/index.js";
12
12
  import Scrollbar from "../Scrollbar/index.js";
@@ -6,8 +6,8 @@ import { useClipboard } from "../node_modules/@vueuse/core/index.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
10
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
9
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
10
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
11
11
  import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
12
12
  import Input from "../Input/index.js";
13
13
  import Tooltip from "../Tooltip/index.js";
@@ -43,6 +43,7 @@ declare const __VLS_component: import('vue').DefineComponent<UploadProps, {
43
43
  showUploadButton: boolean;
44
44
  onBeforeUpload: import('./type').OnBeforeUpload;
45
45
  onBeforeRemove: import('./type').OnBeforeRemove;
46
+ onButtonClick: import('./type').OnButtonClick;
46
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
47
48
  uploadRef: HTMLDivElement;
48
49
  }, HTMLDivElement>;
@@ -33,7 +33,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  customIcon: { default: () => ({}) },
34
34
  imagePreview: { type: Boolean },
35
35
  onBeforeUpload: { type: Function, default: () => true },
36
- onBeforeRemove: { type: Function, default: () => Promise.resolve(true) }
36
+ onBeforeRemove: { type: Function, default: () => Promise.resolve(true) },
37
+ onButtonClick: { type: Function, default: () => {
38
+ } }
37
39
  },
38
40
  emits: ["update:fileList", "exceed-limit", "change", "preview"],
39
41
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -5,7 +5,7 @@ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
- import _sfc_main$3 from "../_shared/icons/IconDelete.vue2.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconDelete.vue.js";
9
9
  import _sfc_main$2 from "../_shared/icons/IconFile.vue2.js";
10
10
  const _hoisted_1 = { class: "yc-upload-list-item-content" };
11
11
  const _hoisted_2 = {
@@ -4,8 +4,8 @@ import "../_shared/utils/dom.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import _sfc_main$3 from "../_shared/icons/IconDelete.vue2.js";
8
- import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
7
+ import _sfc_main$3 from "../_shared/icons/IconDelete.vue.js";
8
+ import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue.js";
9
9
  import _sfc_main$2 from "../_shared/icons/IconPlus.vue.js";
10
10
  import "../Image/index.js";
11
11
  import _sfc_main$1 from "../Image/ImagePreview.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { UploadEmits, FileItem, FileListType, ImageLoading, UploadSlots, CustomIcon, FileName, OnBeforeUpload } from '../type';
2
+ import { UploadEmits, FileItem, FileListType, ImageLoading, UploadSlots, CustomIcon, FileName, OnBeforeUpload, OnButtonClick } from '../type';
3
3
  import { RecordType } from '../../_shared/type';
4
4
  type UploadContext = {
5
5
  computedFileList: Ref<FileItem[]>;
@@ -21,6 +21,7 @@ type UploadContext = {
21
21
  imagePreview: Ref<boolean>;
22
22
  slots: UploadSlots;
23
23
  onBeforeUpload: OnBeforeUpload;
24
+ onButtonClick: OnButtonClick;
24
25
  handleDelFile: (fileItem: FileItem) => Promise<void>;
25
26
  emits: UploadEmits;
26
27
  };
@@ -42,9 +43,10 @@ export default function useUploadContext(): {
42
43
  imagePreview: Ref<boolean, boolean>;
43
44
  showRemoveButton: Ref<boolean, boolean>;
44
45
  showPreviewButton: Ref<boolean, boolean>;
45
- name: any;
46
+ name: FileName;
46
47
  slots: UploadSlots;
47
- onBeforeUpload: any;
48
+ onBeforeUpload: OnBeforeUpload;
49
+ onButtonClick: OnButtonClick;
48
50
  handleDelFile: (fileItem: FileItem) => Promise<void>;
49
51
  emits: UploadEmits;
50
52
  };
@@ -1,5 +1,6 @@
1
- import { toRefs, useSlots, computed, provide, inject, ref } from "vue";
1
+ import { toRefs, useSlots, computed, onBeforeUnmount, provide, inject, ref } from "vue";
2
2
  import { useControlValue } from "../../_shared/utils/control.js";
3
+ import { isFunction } from "../../_shared/utils/is.js";
3
4
  const UPLOAD_CONTEXT_KEY = "upload-context";
4
5
  function useUploadContext() {
5
6
  const provide$1 = (props, emits) => {
@@ -22,12 +23,19 @@ function useUploadContext() {
22
23
  showPreviewButton,
23
24
  accept: _accept
24
25
  } = toRefs(props);
25
- const { name, onBeforeUpload, onBeforeRemove } = props;
26
+ const { name, onBeforeUpload, onBeforeRemove, onButtonClick } = props;
26
27
  const slots = useSlots();
27
28
  const computedFileList = useControlValue(
28
29
  fileList,
29
30
  defaultFileList.value,
30
31
  (val) => {
32
+ computedFileList.value.forEach((v) => {
33
+ if (!v.url) return;
34
+ URL.revokeObjectURL(v.url);
35
+ });
36
+ val.forEach((v) => {
37
+ v.url = v.file ? URL.createObjectURL(v.file) : "";
38
+ });
31
39
  emits("update:fileList", val);
32
40
  }
33
41
  );
@@ -41,12 +49,18 @@ function useUploadContext() {
41
49
  } catch {
42
50
  isDel = false;
43
51
  }
44
- if (!isDel) return;
52
+ if (!isDel && isFunction(onBeforeRemove)) return;
45
53
  computedFileList.value = computedFileList.value.filter(
46
54
  (v) => v.uid != fileItem.uid
47
55
  );
48
56
  emits("change", computedFileList.value, []);
49
57
  };
58
+ onBeforeUnmount(() => {
59
+ computedFileList.value.forEach((v) => {
60
+ if (!v.url) return;
61
+ URL.revokeObjectURL(v.url);
62
+ });
63
+ });
50
64
  const context = {
51
65
  computedFileList,
52
66
  accept,
@@ -67,6 +81,7 @@ function useUploadContext() {
67
81
  name,
68
82
  slots,
69
83
  onBeforeUpload,
84
+ onButtonClick,
70
85
  handleDelFile,
71
86
  emits
72
87
  };
@@ -94,6 +109,8 @@ function useUploadContext() {
94
109
  name: "",
95
110
  slots: {},
96
111
  handleDelFile: () => Promise.resolve(),
112
+ onButtonClick: () => {
113
+ },
97
114
  onBeforeUpload: () => true,
98
115
  emits: () => {
99
116
  }
@@ -1,8 +1,8 @@
1
1
  import { FileItem, UploadEmits, UploadProps } from '../type';
2
2
  import { Ref } from 'vue';
3
3
  export default function useUpload(uploadRef: Ref<HTMLDivElement | undefined>, _props?: UploadProps, _emits?: UploadEmits): {
4
- handleUpload: () => void;
5
- handleFiles: (fileData: File[] | FileList | null) => void;
4
+ handleUpload: (e: MouseEvent) => Promise<void>;
5
+ handleFiles: (fileData: File[] | FileList | null) => Promise<void>;
6
6
  computedFileList: Ref<FileItem[]>;
7
7
  disabled: Ref<boolean>;
8
8
  tip: Ref<string>;
@@ -22,11 +22,12 @@ export default function useUpload(uploadRef: Ref<HTMLDivElement | undefined>, _p
22
22
  imagePreview: Ref<boolean>;
23
23
  slots: import('..').UploadSlots;
24
24
  onBeforeUpload: import('..').OnBeforeUpload;
25
+ onButtonClick: import('..').OnButtonClick;
25
26
  handleDelFile: (fileItem: FileItem) => Promise<void>;
26
27
  emits: UploadEmits;
27
28
  } | {
28
- handleUpload: () => void;
29
- handleFiles: (fileData: File[] | FileList | null) => void;
29
+ handleUpload: (e: MouseEvent) => Promise<void>;
30
+ handleFiles: (fileData: File[] | FileList | null) => Promise<void>;
30
31
  computedFileList: import('vue').WritableComputedRef<FileItem[], FileItem[]>;
31
32
  accept: import('vue').ComputedRef<string>;
32
33
  disabled: Ref<boolean, boolean>;
@@ -43,9 +44,10 @@ export default function useUpload(uploadRef: Ref<HTMLDivElement | undefined>, _p
43
44
  imagePreview: Ref<boolean, boolean>;
44
45
  showRemoveButton: Ref<boolean, boolean>;
45
46
  showPreviewButton: Ref<boolean, boolean>;
46
- name: any;
47
+ name: import('..').FileName;
47
48
  slots: import('..').UploadSlots;
48
- onBeforeUpload: any;
49
+ onBeforeUpload: import('..').OnBeforeUpload;
50
+ onButtonClick: import('..').OnButtonClick;
49
51
  handleDelFile: (fileItem: FileItem) => Promise<void>;
50
52
  emits: UploadEmits;
51
53
  };
@@ -1,6 +1,6 @@
1
1
  import { nanoid } from "../../node_modules/nanoid/index.browser.js";
2
2
  import "vue";
3
- import { isString } from "../../_shared/utils/is.js";
3
+ import { isFunction, isString } from "../../_shared/utils/is.js";
4
4
  import { useFileDialog, useDropZone } from "../../node_modules/@vueuse/core/index.js";
5
5
  import useUploadContext from "./useContext.js";
6
6
  function useUpload(uploadRef, _props, _emits) {
@@ -19,6 +19,7 @@ function useUpload(uploadRef, _props, _emits) {
19
19
  multiple,
20
20
  name,
21
21
  onBeforeUpload,
22
+ onButtonClick,
22
23
  emits
23
24
  } = context;
24
25
  const { onChange, open } = useFileDialog({
@@ -43,9 +44,19 @@ function useUpload(uploadRef, _props, _emits) {
43
44
  }
44
45
  return fileItem.name;
45
46
  };
46
- const handleFiles = (fileData) => {
47
- const files = [...fileData || []].filter((file) => onBeforeUpload(file));
48
- console.log(files);
47
+ const handleFiles = async (fileData) => {
48
+ const allFiles = [...fileData || []];
49
+ const files = [];
50
+ for (const file of allFiles) {
51
+ let isUpload = true;
52
+ try {
53
+ isUpload = await (onBeforeUpload == null ? void 0 : onBeforeUpload(file));
54
+ } catch {
55
+ isUpload = false;
56
+ }
57
+ if (!isUpload && isFunction(onBeforeUpload)) continue;
58
+ files.push(file);
59
+ }
49
60
  if (!files.length || disabled.value || isOutOfLimit(files.length)) {
50
61
  if (!isOutOfLimit(files == null ? void 0 : files.length)) return;
51
62
  emits("exceed-limit", computedFileList.value, files);
@@ -70,9 +81,16 @@ function useUpload(uploadRef, _props, _emits) {
70
81
  ];
71
82
  emits("change", computedFileList.value, [...files]);
72
83
  };
73
- const handleUpload = () => {
84
+ const handleUpload = async (e) => {
74
85
  if (disabled.value) return;
75
- open();
86
+ let click;
87
+ try {
88
+ click = onButtonClick == null ? void 0 : onButtonClick(e);
89
+ if (click instanceof Promise) return;
90
+ open();
91
+ } catch (err) {
92
+ throw err;
93
+ }
76
94
  };
77
95
  return {
78
96
  ...context,
@@ -38,6 +38,7 @@ declare const Upload: {
38
38
  showUploadButton: boolean;
39
39
  onBeforeUpload: import('./type').OnBeforeUpload;
40
40
  onBeforeRemove: import('./type').OnBeforeRemove;
41
+ onButtonClick: import('./type').OnButtonClick;
41
42
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
42
43
  uploadRef: HTMLDivElement;
43
44
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -77,6 +78,7 @@ declare const Upload: {
77
78
  showUploadButton: boolean;
78
79
  onBeforeUpload: import('./type').OnBeforeUpload;
79
80
  onBeforeRemove: import('./type').OnBeforeRemove;
81
+ onButtonClick: import('./type').OnButtonClick;
80
82
  }>;
81
83
  __isFragment?: never;
82
84
  __isTeleport?: never;
@@ -116,6 +118,7 @@ declare const Upload: {
116
118
  showUploadButton: boolean;
117
119
  onBeforeUpload: import('./type').OnBeforeUpload;
118
120
  onBeforeRemove: import('./type').OnBeforeRemove;
121
+ onButtonClick: import('./type').OnButtonClick;
119
122
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
120
123
  $slots: any;
121
124
  }) & {
@@ -22,6 +22,7 @@ export interface UploadProps {
22
22
  imagePreview?: boolean;
23
23
  onBeforeUpload?: OnBeforeUpload;
24
24
  onBeforeRemove?: OnBeforeRemove;
25
+ onButtonClick?: OnButtonClick;
25
26
  }
26
27
  export interface UploadEmits {
27
28
  (e: 'update:fileList', value: FileItem[]): void;
@@ -58,8 +59,9 @@ export type FileStatus = 'init' | 'uploading' | 'done' | 'error' | 'removed';
58
59
  export type FileName = string | ((fileItem: FileItem) => string);
59
60
  export type FileListType = 'text' | 'picture' | 'picture-card';
60
61
  export type ImageLoading = 'eager' | 'lazy';
61
- export type OnBeforeUpload = (file: File) => boolean;
62
+ export type OnBeforeUpload = (file: File) => boolean | Promise<boolean>;
62
63
  export type OnBeforeRemove = (fileItem: FileItem) => Promise<boolean>;
64
+ export type OnButtonClick = (event: Event) => Promise<FileList> | void;
63
65
  export type FileItem = {
64
66
  uid: string;
65
67
  name: string;
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./IconCopy.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconCopy",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ 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)
14
+ ])]),
15
+ _: 1
16
+ }, 16);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconCopy",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- 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)
14
- ])]),
15
- _: 1
16
- }, 16);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./IconCopy.vue.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./IconDelete.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconDelete",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ 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)
14
+ ])]),
15
+ _: 1
16
+ }, 16);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconDelete",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- 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)
14
- ])]),
15
- _: 1
16
- }, 16);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./IconDelete.vue.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./IconEdit.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconEdit",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ 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)
14
+ ])]),
15
+ _: 1
16
+ }, 16);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconEdit",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- 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)
14
- ])]),
15
- _: 1
16
- }, 16);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./IconEdit.vue.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1,4 +1,33 @@
1
- import _sfc_main from "./IconExclamation.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconExclamation",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
14
+ createElementVNode("path", {
15
+ fill: "currentColor",
16
+ stroke: "none",
17
+ d: "M23 9h2v21h-2z"
18
+ }, null, -1),
19
+ createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
20
+ createElementVNode("path", {
21
+ fill: "currentColor",
22
+ stroke: "none",
23
+ d: "M23 37h2v2h-2z"
24
+ }, null, -1)
25
+ ])]),
26
+ _: 1
27
+ }, 16);
28
+ };
29
+ }
30
+ });
2
31
  export {
3
32
  _sfc_main as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconExclamation",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
14
- createElementVNode("path", {
15
- fill: "currentColor",
16
- stroke: "none",
17
- d: "M23 9h2v21h-2z"
18
- }, null, -1),
19
- createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
20
- createElementVNode("path", {
21
- fill: "currentColor",
22
- stroke: "none",
23
- d: "M23 37h2v2h-2z"
24
- }, null, -1)
25
- ])]),
26
- _: 1
27
- }, 16);
28
- };
29
- }
30
- });
1
+ import _sfc_main from "./IconExclamation.vue.js";
31
2
  export {
32
3
  _sfc_main as default
33
4
  };
@@ -1,4 +1,26 @@
1
- import _sfc_main from "./IconEyeClose.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconEyeClose",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ createElementVNode("path", {
14
+ 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",
15
+ "clip-rule": "evenodd"
16
+ }, null, -1),
17
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
18
+ ])]),
19
+ _: 1
20
+ }, 16);
21
+ };
22
+ }
23
+ });
2
24
  export {
3
25
  _sfc_main as default
4
26
  };
@@ -1,26 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import "../utils/dom.js";
3
- /* empty css */
4
- /* empty css */
5
- import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
- /* empty css */
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "IconEyeClose",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
- createElementVNode("path", {
14
- 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",
15
- "clip-rule": "evenodd"
16
- }, null, -1),
17
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
18
- ])]),
19
- _: 1
20
- }, 16);
21
- };
22
- }
23
- });
1
+ import _sfc_main from "./IconEyeClose.vue.js";
24
2
  export {
25
3
  _sfc_main as default
26
4
  };
@@ -1,4 +1,23 @@
1
- import _sfc_main from "./IconEyeOpen.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import "../utils/dom.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import _sfc_main$1 from "../components/Icon/index.vue3.js";
6
+ /* empty css */
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "IconEyeOpen",
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
12
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
13
+ 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),
14
+ 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)
15
+ ])]),
16
+ _: 1
17
+ }, 16);
18
+ };
19
+ }
20
+ });
2
21
  export {
3
22
  _sfc_main as default
4
23
  };