yc-design-vue 2.1.9 → 2.2.0

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 (130) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Avatar/Avatar.vue.d.ts +1 -1
  4. package/es/Avatar/index.d.ts +3 -3
  5. package/es/Badge/index.d.ts +3 -3
  6. package/es/Badge/index.vue.d.ts +1 -1
  7. package/es/Button/Button.vue.d.ts +2 -2
  8. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  9. package/es/Button/index.d.ts +9 -9
  10. package/es/Card/Card.vue.d.ts +1 -1
  11. package/es/Card/index.d.ts +3 -3
  12. package/es/Cascader/Cascader.vue.d.ts +12 -44
  13. package/es/Cascader/index.d.ts +6 -22
  14. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  15. package/es/Dropdown/index.d.ts +3 -3
  16. package/es/Image/ImagePreviewToolbar.vue.js +6 -6
  17. package/es/Input/Input.vue.d.ts +2 -8
  18. package/es/Input/Input.vue.js +24 -46
  19. package/es/Input/InputPassword.vue.d.ts +309 -0
  20. package/es/Input/InputPassword.vue.js +122 -0
  21. package/es/Input/InputPassword.vue2.js +4 -0
  22. package/es/Input/InputSearch.vue.d.ts +310 -0
  23. package/es/Input/InputSearch.vue.js +133 -0
  24. package/es/Input/InputSearch.vue2.js +4 -0
  25. package/es/Input/hooks/useLimitedInput.d.ts +2 -0
  26. package/es/Input/hooks/useLimitedInput.js +2 -0
  27. package/es/Input/index.css +1 -1
  28. package/es/Input/index.d.ts +420 -23
  29. package/es/Input/index.js +11 -3
  30. package/es/Input/type.d.ts +24 -6
  31. package/es/InputNumber/InputNumber.vue.d.ts +12 -44
  32. package/es/InputNumber/index.d.ts +6 -22
  33. package/es/Link/index.d.ts +3 -3
  34. package/es/Link/index.vue.d.ts +1 -1
  35. package/es/Statistic/Statistic.vue.d.ts +1 -1
  36. package/es/Statistic/index.d.ts +3 -3
  37. package/es/Steps/Step.vue.d.ts +1 -1
  38. package/es/Steps/Steps.vue.d.ts +1 -1
  39. package/es/Steps/index.d.ts +6 -6
  40. package/es/Transfer/TransferPanel.vue.js +1 -1
  41. package/es/Typography/TypographyBase.vue.d.ts +12 -44
  42. package/es/Upload/UploadPictureCard.vue2.js +1 -1
  43. package/es/_shared/icons/IconEyeClose.vue.js +32 -1
  44. package/es/_shared/icons/IconEyeClose.vue2.js +1 -32
  45. package/es/_shared/icons/IconEyeOpen.vue.js +29 -1
  46. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -29
  47. package/es/_shared/icons/IconFullScreen.vue.js +1 -28
  48. package/es/_shared/icons/IconFullScreen.vue2.js +28 -1
  49. package/es/_shared/icons/IconOriginSize.vue.js +1 -34
  50. package/es/_shared/icons/IconOriginSize.vue2.js +34 -1
  51. package/es/_shared/icons/IconRotateLeft.vue.js +1 -28
  52. package/es/_shared/icons/IconRotateLeft.vue2.js +28 -1
  53. package/es/_shared/icons/IconRotateRight.vue.js +1 -28
  54. package/es/_shared/icons/IconRotateRight.vue2.js +28 -1
  55. package/es/_shared/icons/IconSearch.vue.js +28 -1
  56. package/es/_shared/icons/IconSearch.vue2.js +1 -28
  57. package/es/_shared/icons/IconZoomIn.vue.js +1 -28
  58. package/es/_shared/icons/IconZoomIn.vue2.js +28 -1
  59. package/es/_shared/icons/IconZoomOut.vue.js +1 -28
  60. package/es/_shared/icons/IconZoomOut.vue2.js +28 -1
  61. package/es/index.d.ts +9 -9
  62. package/es/index.js +4 -0
  63. package/es/style.css +1 -1
  64. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  65. package/lib/Avatar/index.d.ts +3 -3
  66. package/lib/Badge/index.d.ts +3 -3
  67. package/lib/Badge/index.vue.d.ts +1 -1
  68. package/lib/Button/Button.vue.d.ts +2 -2
  69. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  70. package/lib/Button/index.d.ts +9 -9
  71. package/lib/Card/Card.vue.d.ts +1 -1
  72. package/lib/Card/index.d.ts +3 -3
  73. package/lib/Cascader/Cascader.vue.d.ts +12 -44
  74. package/lib/Cascader/index.d.ts +6 -22
  75. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  76. package/lib/Dropdown/index.d.ts +3 -3
  77. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  78. package/lib/Input/Input.vue.d.ts +2 -8
  79. package/lib/Input/Input.vue.js +1 -1
  80. package/lib/Input/InputPassword.vue.d.ts +309 -0
  81. package/lib/Input/InputPassword.vue.js +1 -0
  82. package/lib/Input/{InputSuffix.vue3.js → InputPassword.vue2.js} +1 -1
  83. package/lib/Input/InputSearch.vue.d.ts +310 -0
  84. package/lib/Input/InputSearch.vue.js +1 -0
  85. package/lib/Input/InputSearch.vue2.js +1 -0
  86. package/lib/Input/hooks/useLimitedInput.d.ts +2 -0
  87. package/lib/Input/hooks/useLimitedInput.js +1 -1
  88. package/lib/Input/index.css +1 -1
  89. package/lib/Input/index.d.ts +420 -23
  90. package/lib/Input/index.js +1 -1
  91. package/lib/Input/type.d.ts +24 -6
  92. package/lib/InputNumber/InputNumber.vue.d.ts +12 -44
  93. package/lib/InputNumber/index.d.ts +6 -22
  94. package/lib/Link/index.d.ts +3 -3
  95. package/lib/Link/index.vue.d.ts +1 -1
  96. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  97. package/lib/Statistic/index.d.ts +3 -3
  98. package/lib/Steps/Step.vue.d.ts +1 -1
  99. package/lib/Steps/Steps.vue.d.ts +1 -1
  100. package/lib/Steps/index.d.ts +6 -6
  101. package/lib/Transfer/TransferPanel.vue.js +1 -1
  102. package/lib/Typography/TypographyBase.vue.d.ts +12 -44
  103. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  104. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  105. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  106. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  107. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  108. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  109. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  110. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  111. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  112. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  113. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  114. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  115. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  116. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  117. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  118. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  119. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  120. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  121. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  122. package/lib/index.d.ts +9 -9
  123. package/lib/index.js +1 -1
  124. package/lib/style.css +1 -1
  125. package/package.json +1 -1
  126. package/es/Input/InputSuffix.vue.d.ts +0 -31
  127. package/es/Input/InputSuffix.vue.js +0 -58
  128. package/es/Input/InputSuffix.vue3.js +0 -5
  129. package/lib/Input/InputSuffix.vue.d.ts +0 -31
  130. package/lib/Input/InputSuffix.vue.js +0 -1
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}
19
19
  onLoad?: ((ev: Event) => any) | undefined;
20
20
  }>, {
21
21
  size: number;
22
- objectFit: import('..').ObjectFit;
23
22
  shape: import('./type').AvatarShape;
23
+ objectFit: import('..').ObjectFit;
24
24
  autoFixFontSize: boolean;
25
25
  imageUrl: string;
26
26
  triggerType: "button" | "mask";
@@ -15,8 +15,8 @@ declare const Avatar: {
15
15
  load: (ev: Event) => any;
16
16
  }, import('vue').PublicProps, {
17
17
  size: number;
18
- objectFit: import('..').ObjectFit;
19
18
  shape: import('./type').AvatarShape;
19
+ objectFit: import('..').ObjectFit;
20
20
  autoFixFontSize: boolean;
21
21
  imageUrl: string;
22
22
  triggerType: "button" | "mask";
@@ -37,8 +37,8 @@ declare const Avatar: {
37
37
  onLoad?: ((ev: Event) => any) | undefined;
38
38
  }>, {}, {}, {}, {}, {
39
39
  size: number;
40
- objectFit: import('..').ObjectFit;
41
40
  shape: import('./type').AvatarShape;
41
+ objectFit: import('..').ObjectFit;
42
42
  autoFixFontSize: boolean;
43
43
  imageUrl: string;
44
44
  triggerType: "button" | "mask";
@@ -57,8 +57,8 @@ declare const Avatar: {
57
57
  load: (ev: Event) => any;
58
58
  }, string, {
59
59
  size: number;
60
- objectFit: import('..').ObjectFit;
61
60
  shape: import('./type').AvatarShape;
61
+ objectFit: import('..').ObjectFit;
62
62
  autoFixFontSize: boolean;
63
63
  imageUrl: string;
64
64
  triggerType: "button" | "mask";
@@ -7,9 +7,9 @@ declare const Badge: {
7
7
  color: string;
8
8
  text: string;
9
9
  dot: boolean;
10
+ status: import('..').Status<"processing">;
10
11
  offset: number[];
11
12
  maxCount: number;
12
- status: import('..').Status<"processing">;
13
13
  dotStyle: import('vue').CSSProperties;
14
14
  count: number;
15
15
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -23,9 +23,9 @@ declare const Badge: {
23
23
  color: string;
24
24
  text: string;
25
25
  dot: boolean;
26
+ status: import('..').Status<"processing">;
26
27
  offset: number[];
27
28
  maxCount: number;
28
- status: import('..').Status<"processing">;
29
29
  dotStyle: import('vue').CSSProperties;
30
30
  count: number;
31
31
  }>;
@@ -36,9 +36,9 @@ declare const Badge: {
36
36
  color: string;
37
37
  text: string;
38
38
  dot: boolean;
39
+ status: import('..').Status<"processing">;
39
40
  offset: number[];
40
41
  maxCount: number;
41
- status: import('..').Status<"processing">;
42
42
  dotStyle: import('vue').CSSProperties;
43
43
  count: number;
44
44
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -10,9 +10,9 @@ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {},
10
10
  color: string;
11
11
  text: string;
12
12
  dot: boolean;
13
+ status: import('..').Status<"processing">;
13
14
  offset: number[];
14
15
  maxCount: number;
15
- status: import('..').Status<"processing">;
16
16
  dotStyle: import('vue').CSSProperties;
17
17
  count: number;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -23,12 +23,12 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
23
23
  disabled: boolean;
24
24
  type: import('./type').ButtonType;
25
25
  loading: boolean;
26
- href: string;
27
- shape: import('..').Shape;
28
26
  status: import('..').Status;
27
+ shape: import('..').Shape;
29
28
  long: boolean;
30
29
  htmlType: "reset" | "submit" | "button";
31
30
  autofocus: boolean;
31
+ href: string;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
34
  export default _default;
@@ -10,8 +10,8 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {
10
10
  size: import('..').Size;
11
11
  disabled: boolean;
12
12
  type: import('./type').ButtonType;
13
- shape: import('..').Shape;
14
13
  status: import('..').Status;
14
+ shape: import('..').Shape;
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
17
  export default _default;
@@ -22,12 +22,12 @@ declare const Button: {
22
22
  disabled: boolean;
23
23
  type: import('./type').ButtonType;
24
24
  loading: boolean;
25
- href: string;
26
- shape: import('..').Shape;
27
25
  status: import('..').Status;
26
+ shape: import('..').Shape;
28
27
  long: boolean;
29
28
  htmlType: "reset" | "submit" | "button";
30
29
  autofocus: boolean;
30
+ href: string;
31
31
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
32
32
  P: {};
33
33
  B: {};
@@ -46,12 +46,12 @@ declare const Button: {
46
46
  disabled: boolean;
47
47
  type: import('./type').ButtonType;
48
48
  loading: boolean;
49
- href: string;
50
- shape: import('..').Shape;
51
49
  status: import('..').Status;
50
+ shape: import('..').Shape;
52
51
  long: boolean;
53
52
  htmlType: "reset" | "submit" | "button";
54
53
  autofocus: boolean;
54
+ href: string;
55
55
  }>;
56
56
  __isFragment?: never;
57
57
  __isTeleport?: never;
@@ -73,12 +73,12 @@ declare const Button: {
73
73
  disabled: boolean;
74
74
  type: import('./type').ButtonType;
75
75
  loading: boolean;
76
- href: string;
77
- shape: import('..').Shape;
78
76
  status: import('..').Status;
77
+ shape: import('..').Shape;
79
78
  long: boolean;
80
79
  htmlType: "reset" | "submit" | "button";
81
80
  autofocus: boolean;
81
+ href: string;
82
82
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
83
83
  $slots: any;
84
84
  }) & {
@@ -87,8 +87,8 @@ declare const Button: {
87
87
  size: import('..').Size;
88
88
  disabled: boolean;
89
89
  type: import('./type').ButtonType;
90
- shape: import('..').Shape;
91
90
  status: import('..').Status;
91
+ shape: import('..').Shape;
92
92
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
93
93
  P: {};
94
94
  B: {};
@@ -100,8 +100,8 @@ declare const Button: {
100
100
  size: import('..').Size;
101
101
  disabled: boolean;
102
102
  type: import('./type').ButtonType;
103
- shape: import('..').Shape;
104
103
  status: import('..').Status;
104
+ shape: import('..').Shape;
105
105
  }>;
106
106
  __isFragment?: never;
107
107
  __isTeleport?: never;
@@ -110,8 +110,8 @@ declare const Button: {
110
110
  size: import('..').Size;
111
111
  disabled: boolean;
112
112
  type: import('./type').ButtonType;
113
- shape: import('..').Shape;
114
113
  status: import('..').Status;
114
+ shape: import('..').Shape;
115
115
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
116
116
  $slots: Readonly<import('./type').ButtonGroupSlots> & import('./type').ButtonGroupSlots;
117
117
  });
@@ -12,9 +12,9 @@ declare const __VLS_component: import('vue').DefineComponent<CardProps, {}, {},
12
12
  hoverable: boolean;
13
13
  loading: boolean;
14
14
  bordered: boolean;
15
+ extra: string;
15
16
  headerStyle: import('vue').CSSProperties;
16
17
  bodyStyle: import('vue').CSSProperties;
17
- extra: string;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
20
  export default _default;
@@ -13,9 +13,9 @@ declare const Card: {
13
13
  hoverable: boolean;
14
14
  loading: boolean;
15
15
  bordered: boolean;
16
+ extra: string;
16
17
  headerStyle: import('vue').CSSProperties;
17
18
  bodyStyle: import('vue').CSSProperties;
18
- extra: string;
19
19
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
20
20
  P: {};
21
21
  B: {};
@@ -29,9 +29,9 @@ declare const Card: {
29
29
  hoverable: boolean;
30
30
  loading: boolean;
31
31
  bordered: boolean;
32
+ extra: string;
32
33
  headerStyle: import('vue').CSSProperties;
33
34
  bodyStyle: import('vue').CSSProperties;
34
- extra: string;
35
35
  }>;
36
36
  __isFragment?: never;
37
37
  __isTeleport?: never;
@@ -42,9 +42,9 @@ declare const Card: {
42
42
  hoverable: boolean;
43
43
  loading: boolean;
44
44
  bordered: boolean;
45
+ extra: string;
45
46
  headerStyle: import('vue').CSSProperties;
46
47
  bodyStyle: import('vue').CSSProperties;
47
- extra: string;
48
48
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
49
49
  $slots: any;
50
50
  }) & {
@@ -27,10 +27,6 @@ declare function __VLS_template(): {
27
27
  readonly wordSlice?: import('../Input').WordSlice | undefined;
28
28
  readonly showWordLimit?: boolean | undefined;
29
29
  readonly inputAttrs?: import('..').RecordType | undefined;
30
- readonly isPassword?: boolean | undefined;
31
- readonly visibility?: boolean | undefined;
32
- readonly defaultVisibility?: boolean | undefined;
33
- readonly invisibleButton?: boolean | undefined;
34
30
  readonly showInput?: boolean | undefined;
35
31
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
36
32
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -39,8 +35,6 @@ declare function __VLS_template(): {
39
35
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
40
36
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
41
37
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
42
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
43
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
44
38
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
45
39
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
46
40
  $attrs: {
@@ -57,7 +51,7 @@ declare function __VLS_template(): {
57
51
  $root: import('vue').ComponentPublicInstance | null;
58
52
  $parent: import('vue').ComponentPublicInstance | null;
59
53
  $host: Element | null;
60
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
54
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
61
55
  $el: HTMLDivElement;
62
56
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
63
57
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -67,13 +61,13 @@ declare function __VLS_template(): {
67
61
  onInput?: ((value: string, ev: Event) => any) | undefined;
68
62
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
69
63
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
70
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
71
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
72
64
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
73
65
  }>, {
74
66
  focus(): void;
75
67
  blur(): void;
76
68
  getInputRef(): HTMLInputElement;
69
+ setCursor?: () => void;
70
+ recordCursor?: () => void;
77
71
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
78
72
  change: (value: string, ev: Event) => any;
79
73
  focus: (ev: FocusEvent) => any;
@@ -82,8 +76,6 @@ declare function __VLS_template(): {
82
76
  input: (value: string, ev: Event) => any;
83
77
  keydown: (ev: KeyboardEvent) => any;
84
78
  "update:modelValue": (value: string) => any;
85
- "update:visibility": (value: boolean) => any;
86
- "visibility-change": (value: boolean) => any;
87
79
  pressEnter: (ev: KeyboardEvent) => any;
88
80
  }, string, {
89
81
  error: boolean;
@@ -99,10 +91,6 @@ declare function __VLS_template(): {
99
91
  wordLength: import('../Input').WordLength;
100
92
  wordSlice: import('../Input').WordSlice;
101
93
  inputAttrs: import('..').RecordType;
102
- isPassword: boolean;
103
- visibility: boolean;
104
- defaultVisibility: boolean;
105
- invisibleButton: boolean;
106
94
  showInput: boolean;
107
95
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
108
96
  beforeCreate?: (() => void) | (() => void)[];
@@ -138,10 +126,6 @@ declare function __VLS_template(): {
138
126
  wordLength: import('../Input').WordLength;
139
127
  wordSlice: import('../Input').WordSlice;
140
128
  inputAttrs: import('..').RecordType;
141
- isPassword: boolean;
142
- visibility: boolean;
143
- defaultVisibility: boolean;
144
- invisibleButton: boolean;
145
129
  showInput: boolean;
146
130
  }> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
147
131
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -151,13 +135,13 @@ declare function __VLS_template(): {
151
135
  onInput?: ((value: string, ev: Event) => any) | undefined;
152
136
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
153
137
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
154
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
155
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
156
138
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
157
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
139
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
158
140
  focus(): void;
159
141
  blur(): void;
160
142
  getInputRef(): HTMLInputElement;
143
+ setCursor?: () => void;
144
+ recordCursor?: () => void;
161
145
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
162
146
  $slots: any;
163
147
  }) | null;
@@ -236,10 +220,6 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
236
220
  readonly wordSlice?: import('../Input').WordSlice | undefined;
237
221
  readonly showWordLimit?: boolean | undefined;
238
222
  readonly inputAttrs?: import('..').RecordType | undefined;
239
- readonly isPassword?: boolean | undefined;
240
- readonly visibility?: boolean | undefined;
241
- readonly defaultVisibility?: boolean | undefined;
242
- readonly invisibleButton?: boolean | undefined;
243
223
  readonly showInput?: boolean | undefined;
244
224
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
245
225
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -248,8 +228,6 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
248
228
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
249
229
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
250
230
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
251
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
252
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
253
231
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
254
232
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
255
233
  $attrs: {
@@ -266,7 +244,7 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
266
244
  $root: import('vue').ComponentPublicInstance | null;
267
245
  $parent: import('vue').ComponentPublicInstance | null;
268
246
  $host: Element | null;
269
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
247
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
270
248
  $el: HTMLDivElement;
271
249
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
272
250
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -276,13 +254,13 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
276
254
  onInput?: ((value: string, ev: Event) => any) | undefined;
277
255
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
278
256
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
279
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
280
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
281
257
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
282
258
  }>, {
283
259
  focus(): void;
284
260
  blur(): void;
285
261
  getInputRef(): HTMLInputElement;
262
+ setCursor?: () => void;
263
+ recordCursor?: () => void;
286
264
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
287
265
  change: (value: string, ev: Event) => any;
288
266
  focus: (ev: FocusEvent) => any;
@@ -291,8 +269,6 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
291
269
  input: (value: string, ev: Event) => any;
292
270
  keydown: (ev: KeyboardEvent) => any;
293
271
  "update:modelValue": (value: string) => any;
294
- "update:visibility": (value: boolean) => any;
295
- "visibility-change": (value: boolean) => any;
296
272
  pressEnter: (ev: KeyboardEvent) => any;
297
273
  }, string, {
298
274
  error: boolean;
@@ -308,10 +284,6 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
308
284
  wordLength: import('../Input').WordLength;
309
285
  wordSlice: import('../Input').WordSlice;
310
286
  inputAttrs: import('..').RecordType;
311
- isPassword: boolean;
312
- visibility: boolean;
313
- defaultVisibility: boolean;
314
- invisibleButton: boolean;
315
287
  showInput: boolean;
316
288
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
317
289
  beforeCreate?: (() => void) | (() => void)[];
@@ -347,10 +319,6 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
347
319
  wordLength: import('../Input').WordLength;
348
320
  wordSlice: import('../Input').WordSlice;
349
321
  inputAttrs: import('..').RecordType;
350
- isPassword: boolean;
351
- visibility: boolean;
352
- defaultVisibility: boolean;
353
- invisibleButton: boolean;
354
322
  showInput: boolean;
355
323
  }> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
356
324
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -360,13 +328,13 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
360
328
  onInput?: ((value: string, ev: Event) => any) | undefined;
361
329
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
362
330
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
363
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
364
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
365
331
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
366
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
332
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
367
333
  focus(): void;
368
334
  blur(): void;
369
335
  getInputRef(): HTMLInputElement;
336
+ setCursor?: () => void;
337
+ recordCursor?: () => void;
370
338
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
371
339
  $slots: any;
372
340
  }) | null;
@@ -74,10 +74,6 @@ declare const Cascader: {
74
74
  readonly wordSlice?: import('..').WordSlice | undefined;
75
75
  readonly showWordLimit?: boolean | undefined;
76
76
  readonly inputAttrs?: import('..').RecordType | undefined;
77
- readonly isPassword?: boolean | undefined;
78
- readonly visibility?: boolean | undefined;
79
- readonly defaultVisibility?: boolean | undefined;
80
- readonly invisibleButton?: boolean | undefined;
81
77
  readonly showInput?: boolean | undefined;
82
78
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
83
79
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -86,8 +82,6 @@ declare const Cascader: {
86
82
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
87
83
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
88
84
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
89
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
90
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
91
85
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
92
86
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
93
87
  $attrs: {
@@ -104,7 +98,7 @@ declare const Cascader: {
104
98
  $root: import('vue').ComponentPublicInstance | null;
105
99
  $parent: import('vue').ComponentPublicInstance | null;
106
100
  $host: Element | null;
107
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
101
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
108
102
  $el: HTMLDivElement;
109
103
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
110
104
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -114,13 +108,13 @@ declare const Cascader: {
114
108
  onInput?: ((value: string, ev: Event) => any) | undefined;
115
109
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
116
110
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
117
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
118
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
119
111
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
120
112
  }>, {
121
113
  focus(): void;
122
114
  blur(): void;
123
115
  getInputRef(): HTMLInputElement;
116
+ setCursor?: () => void;
117
+ recordCursor?: () => void;
124
118
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
125
119
  change: (value: string, ev: Event) => any;
126
120
  focus: (ev: FocusEvent) => any;
@@ -129,8 +123,6 @@ declare const Cascader: {
129
123
  input: (value: string, ev: Event) => any;
130
124
  keydown: (ev: KeyboardEvent) => any;
131
125
  "update:modelValue": (value: string) => any;
132
- "update:visibility": (value: boolean) => any;
133
- "visibility-change": (value: boolean) => any;
134
126
  pressEnter: (ev: KeyboardEvent) => any;
135
127
  }, string, {
136
128
  error: boolean;
@@ -146,10 +138,6 @@ declare const Cascader: {
146
138
  wordLength: import('..').WordLength;
147
139
  wordSlice: import('..').WordSlice;
148
140
  inputAttrs: import('..').RecordType;
149
- isPassword: boolean;
150
- visibility: boolean;
151
- defaultVisibility: boolean;
152
- invisibleButton: boolean;
153
141
  showInput: boolean;
154
142
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
155
143
  beforeCreate?: (() => void) | (() => void)[];
@@ -185,10 +173,6 @@ declare const Cascader: {
185
173
  wordLength: import('..').WordLength;
186
174
  wordSlice: import('..').WordSlice;
187
175
  inputAttrs: import('..').RecordType;
188
- isPassword: boolean;
189
- visibility: boolean;
190
- defaultVisibility: boolean;
191
- invisibleButton: boolean;
192
176
  showInput: boolean;
193
177
  }> & Omit<Readonly<import('..').InputProps> & Readonly<{
194
178
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -198,13 +182,13 @@ declare const Cascader: {
198
182
  onInput?: ((value: string, ev: Event) => any) | undefined;
199
183
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
200
184
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
201
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
202
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
203
185
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
204
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
186
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
205
187
  focus(): void;
206
188
  blur(): void;
207
189
  getInputRef(): HTMLInputElement;
190
+ setCursor?: () => void;
191
+ recordCursor?: () => void;
208
192
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
209
193
  $slots: any;
210
194
  }) | null;
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
23
23
  position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
24
24
  popupContainer: import('..').PopupContainer;
25
25
  type: import('../Button').ButtonType;
26
- hideOnSelect: boolean;
27
26
  buttonProps: import('../Button').ButtonProps;
27
+ hideOnSelect: boolean;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
30
  export default _default;
@@ -154,8 +154,8 @@ declare const Dropdown: {
154
154
  position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
155
155
  popupContainer: import('..').PopupContainer;
156
156
  type: import('..').ButtonType;
157
- hideOnSelect: boolean;
158
157
  buttonProps: import('..').ButtonProps;
158
+ hideOnSelect: boolean;
159
159
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
160
160
  P: {};
161
161
  B: {};
@@ -176,8 +176,8 @@ declare const Dropdown: {
176
176
  position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
177
177
  popupContainer: import('..').PopupContainer;
178
178
  type: import('..').ButtonType;
179
- hideOnSelect: boolean;
180
179
  buttonProps: import('..').ButtonProps;
180
+ hideOnSelect: boolean;
181
181
  }>;
182
182
  __isFragment?: never;
183
183
  __isTeleport?: never;
@@ -199,8 +199,8 @@ declare const Dropdown: {
199
199
  position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
200
200
  popupContainer: import('..').PopupContainer;
201
201
  type: import('..').ButtonType;
202
- hideOnSelect: boolean;
203
202
  buttonProps: import('..').ButtonProps;
203
+ hideOnSelect: boolean;
204
204
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
205
205
  $slots: Readonly<import('./type').DropdownButtonSlots> & import('./type').DropdownButtonSlots;
206
206
  });
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/dom.js");const o=require("../_shared/utils/locale.js");require("../_shared/utils/time.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconFullScreen.vue.js"),n=require("../_shared/icons/IconOriginSize.vue.js"),t=require("../_shared/icons/IconRotateLeft.vue.js"),s=require("../_shared/icons/IconRotateRight.vue.js"),i=require("../_shared/icons/IconZoomIn.vue.js"),u=require("../_shared/icons/IconZoomOut.vue.js"),a=require("./ImagePreviewAction.vue.js");;/* empty css */const l={key:0,class:"yc-image-preview-toolbar"},c=e.defineComponent({__name:"ImagePreviewToolbar",props:{actionsLayout:{default:()=>[]}},emits:["click"],setup(c){const{t:d}=o.useI18n(),m={fullScreen:r.default,rotateRight:s.default,rotateLeft:t.default,zoomIn:i.default,zoomOut:u.default,originalSize:n.default};return(o,r)=>o.actionsLayout.length?(e.openBlock(),e.createElementBlock("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionsLayout,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m[r]?(e.openBlock(),e.createBlock(a.default,{key:0,name:e.unref(d)(`imagePreview.${r}`),onClick:e=>o.$emit("click",r,e)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m[r])))]),_:2},1032,["name","onClick"])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0)}});exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/dom.js");const o=require("../_shared/utils/locale.js");require("../_shared/utils/time.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconFullScreen.vue2.js"),n=require("../_shared/icons/IconOriginSize.vue2.js"),t=require("../_shared/icons/IconRotateLeft.vue2.js"),s=require("../_shared/icons/IconRotateRight.vue2.js"),i=require("../_shared/icons/IconZoomIn.vue2.js"),u=require("../_shared/icons/IconZoomOut.vue2.js"),a=require("./ImagePreviewAction.vue.js");;/* empty css */const l={key:0,class:"yc-image-preview-toolbar"},c=e.defineComponent({__name:"ImagePreviewToolbar",props:{actionsLayout:{default:()=>[]}},emits:["click"],setup(c){const{t:d}=o.useI18n(),m={fullScreen:r.default,rotateRight:s.default,rotateLeft:t.default,zoomIn:i.default,zoomOut:u.default,originalSize:n.default};return(o,r)=>o.actionsLayout.length?(e.openBlock(),e.createElementBlock("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionsLayout,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m[r]?(e.openBlock(),e.createBlock(a.default,{key:0,name:e.unref(d)(`imagePreview.${r}`),onClick:e=>o.$emit("click",r,e)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m[r])))]),_:2},1032,["name","onClick"])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0)}});exports.default=c;
@@ -12,6 +12,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
12
12
  focus(): void;
13
13
  blur(): void;
14
14
  getInputRef(): HTMLInputElement;
15
+ setCursor?: () => void;
16
+ recordCursor?: () => void;
15
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
18
  change: (value: string, ev: Event) => any;
17
19
  focus: (ev: FocusEvent) => any;
@@ -20,8 +22,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
20
22
  input: (value: string, ev: Event) => any;
21
23
  keydown: (ev: KeyboardEvent) => any;
22
24
  "update:modelValue": (value: string) => any;
23
- "update:visibility": (value: boolean) => any;
24
- "visibility-change": (value: boolean) => any;
25
25
  pressEnter: (ev: KeyboardEvent) => any;
26
26
  }, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
27
27
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -31,8 +31,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
31
31
  onInput?: ((value: string, ev: Event) => any) | undefined;
32
32
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
33
33
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
34
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
35
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
36
34
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
37
35
  }>, {
38
36
  error: boolean;
@@ -48,10 +46,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
48
46
  wordLength: import('./type').WordLength;
49
47
  wordSlice: import('./type').WordSlice;
50
48
  inputAttrs: import('..').RecordType;
51
- isPassword: boolean;
52
- visibility: boolean;
53
- defaultVisibility: boolean;
54
- invisibleButton: boolean;
55
49
  showInput: boolean;
56
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
57
51
  inputRef: HTMLInputElement;