yc-design-vue 1.0.2 → 1.0.3

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 (235) hide show
  1. package/es/Affix/type.d.ts +3 -2
  2. package/es/Alert/type.d.ts +6 -5
  3. package/es/Anchor/type.d.ts +4 -3
  4. package/es/AutoComplete/index.d.ts +65 -2
  5. package/es/AutoComplete/index.vue.d.ts +130 -4
  6. package/es/AutoComplete/type.d.ts +5 -4
  7. package/es/Avatar/AvatarGroup.vue.js +1 -1
  8. package/es/Avatar/AvatarGroup.vue2.js +2 -2
  9. package/es/Avatar/type.d.ts +4 -4
  10. package/es/BackTop/type.d.ts +2 -1
  11. package/es/Badge/index.vue.js +1 -1
  12. package/es/Badge/index.vue2.js +2 -2
  13. package/es/Badge/type.d.ts +3 -3
  14. package/es/Breadcrumb/type.d.ts +9 -8
  15. package/es/Button/Button.vue.js +1 -1
  16. package/es/Button/Button.vue2.js +2 -2
  17. package/es/Button/type.d.ts +4 -3
  18. package/es/Calendar/type.d.ts +5 -4
  19. package/es/Card/type.d.ts +10 -10
  20. package/es/Carousel/type.d.ts +3 -2
  21. package/es/Cascader/type.d.ts +10 -10
  22. package/es/Checkbox/hooks/useContext.d.ts +2 -5
  23. package/es/Checkbox/type.d.ts +9 -8
  24. package/es/Collapse/type.d.ts +9 -8
  25. package/es/Comment/type.d.ts +7 -6
  26. package/es/ConfigProvider/index.vue.js +2 -2
  27. package/es/ConfigProvider/type.d.ts +5 -4
  28. package/es/Descriptions/type.d.ts +9 -9
  29. package/es/Divider/type.d.ts +2 -1
  30. package/es/Drawer/type.d.ts +5 -5
  31. package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
  32. package/es/Dropdown/index.d.ts +65 -2
  33. package/es/Dropdown/type.d.ts +15 -14
  34. package/es/Empty/type.d.ts +2 -1
  35. package/es/Grid/type.d.ts +6 -5
  36. package/es/Icon/type.d.ts +2 -1
  37. package/es/Image/type.d.ts +11 -10
  38. package/es/Input/hooks/useCursor.d.ts +2 -1
  39. package/es/Input/hooks/useCursor.js +2 -2
  40. package/es/Input/type.d.ts +6 -5
  41. package/es/InputNumber/type.d.ts +8 -8
  42. package/es/InputTag/type.d.ts +5 -4
  43. package/es/Layout/Layout.vue.js +1 -1
  44. package/es/Layout/Layout.vue2.js +2 -2
  45. package/es/Layout/type.d.ts +8 -7
  46. package/es/Link/type.d.ts +3 -2
  47. package/es/List/type.d.ts +15 -14
  48. package/es/Mention/index.d.ts +65 -2
  49. package/es/Mention/index.vue.d.ts +130 -4
  50. package/es/Mention/type.d.ts +3 -2
  51. package/es/Menu/type.d.ts +11 -10
  52. package/es/Message/type.d.ts +1 -1
  53. package/es/Modal/type.d.ts +5 -5
  54. package/es/Notification/type.d.ts +1 -1
  55. package/es/OverflowList/index.vue.js +1 -1
  56. package/es/OverflowList/index.vue2.js +2 -2
  57. package/es/OverflowList/type.d.ts +3 -2
  58. package/es/PageHeader/type.d.ts +7 -6
  59. package/es/Pagination/type.d.ts +8 -8
  60. package/es/Popconfirm/index.d.ts +65 -2
  61. package/es/Popconfirm/index.vue.d.ts +130 -4
  62. package/es/Popconfirm/type.d.ts +4 -4
  63. package/es/Popover/type.d.ts +4 -4
  64. package/es/Radio/hooks/useContext.d.ts +3 -6
  65. package/es/Radio/type.d.ts +9 -8
  66. package/es/Rate/type.d.ts +3 -2
  67. package/es/ResizeBox/type.d.ts +6 -5
  68. package/es/Result/type.d.ts +6 -5
  69. package/es/Scrollbar/type.d.ts +2 -2
  70. package/es/Select/Select.vue.d.ts +130 -4
  71. package/es/Select/index.d.ts +65 -2
  72. package/es/Select/type.d.ts +19 -18
  73. package/es/Skeleton/type.d.ts +3 -2
  74. package/es/Space/index.vue.js +1 -1
  75. package/es/Space/index.vue2.js +2 -2
  76. package/es/Space/type.d.ts +3 -2
  77. package/es/Spin/type.d.ts +4 -3
  78. package/es/Split/type.d.ts +5 -4
  79. package/es/Statistic/type.d.ts +7 -7
  80. package/es/Steps/type.d.ts +8 -7
  81. package/es/Switch/index.vue.js +1 -1
  82. package/es/Switch/index.vue2.js +3 -3
  83. package/es/Switch/type.d.ts +5 -4
  84. package/es/Tabs/Tabs.vue.js +1 -1
  85. package/es/Tabs/Tabs.vue2.js +2 -2
  86. package/es/Tabs/type.d.ts +5 -4
  87. package/es/Tag/type.d.ts +4 -3
  88. package/es/TimePicker/type.d.ts +4 -3
  89. package/es/Timeline/type.d.ts +6 -5
  90. package/es/Tooltip/type.d.ts +3 -3
  91. package/es/Transfer/TransferPanel.vue2.js +2 -2
  92. package/es/Transfer/type.d.ts +13 -12
  93. package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  94. package/es/Trigger/hooks/useTriggerPosition.js +11 -20
  95. package/es/Trigger/index.d.ts +63 -2
  96. package/es/Trigger/index.vue.d.ts +130 -3
  97. package/es/Trigger/index.vue.js +1 -1
  98. package/es/Trigger/index.vue2.js +2 -2
  99. package/es/Trigger/type.d.ts +3 -3
  100. package/es/Typography/TypographyBase.vue2.js +2 -2
  101. package/es/Typography/type.d.ts +8 -7
  102. package/es/Watermark/type.d.ts +2 -1
  103. package/es/_shared/icons/IconCopy.vue.js +16 -1
  104. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  105. package/es/_shared/icons/IconDelete.vue.js +1 -16
  106. package/es/_shared/icons/IconDelete.vue2.js +16 -1
  107. package/es/_shared/icons/IconEdit.vue.js +16 -1
  108. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  109. package/es/_shared/icons/IconSearch.vue.js +1 -16
  110. package/es/_shared/icons/IconSearch.vue2.js +16 -1
  111. package/es/_shared/utils/dom.d.ts +4 -4
  112. package/es/_shared/utils/dom.js +6 -6
  113. package/es/_shared/utils/fn.d.ts +3 -3
  114. package/es/_shared/utils/fn.js +6 -6
  115. package/es/_shared/utils/global-config.d.ts +4 -2
  116. package/es/index.d.ts +65 -2
  117. package/es/style.css +1 -1
  118. package/lib/Affix/type.d.ts +3 -2
  119. package/lib/Alert/type.d.ts +6 -5
  120. package/lib/Anchor/type.d.ts +4 -3
  121. package/lib/AutoComplete/index.d.ts +65 -2
  122. package/lib/AutoComplete/index.vue.d.ts +130 -4
  123. package/lib/AutoComplete/type.d.ts +5 -4
  124. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  125. package/lib/Avatar/AvatarGroup.vue2.js +1 -1
  126. package/lib/Avatar/type.d.ts +4 -4
  127. package/lib/BackTop/type.d.ts +2 -1
  128. package/lib/Badge/index.vue.js +1 -1
  129. package/lib/Badge/index.vue2.js +1 -1
  130. package/lib/Badge/type.d.ts +3 -3
  131. package/lib/Breadcrumb/type.d.ts +9 -8
  132. package/lib/Button/Button.vue.js +1 -1
  133. package/lib/Button/Button.vue2.js +1 -1
  134. package/lib/Button/type.d.ts +4 -3
  135. package/lib/Calendar/type.d.ts +5 -4
  136. package/lib/Card/type.d.ts +10 -10
  137. package/lib/Carousel/type.d.ts +3 -2
  138. package/lib/Cascader/type.d.ts +10 -10
  139. package/lib/Checkbox/hooks/useContext.d.ts +2 -5
  140. package/lib/Checkbox/type.d.ts +9 -8
  141. package/lib/Collapse/type.d.ts +9 -8
  142. package/lib/Comment/type.d.ts +7 -6
  143. package/lib/ConfigProvider/index.vue.js +1 -1
  144. package/lib/ConfigProvider/type.d.ts +5 -4
  145. package/lib/Descriptions/type.d.ts +9 -9
  146. package/lib/Divider/type.d.ts +2 -1
  147. package/lib/Drawer/type.d.ts +5 -5
  148. package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
  149. package/lib/Dropdown/index.d.ts +65 -2
  150. package/lib/Dropdown/type.d.ts +15 -14
  151. package/lib/Empty/type.d.ts +2 -1
  152. package/lib/Grid/type.d.ts +6 -5
  153. package/lib/Icon/type.d.ts +2 -1
  154. package/lib/Image/type.d.ts +11 -10
  155. package/lib/Input/hooks/useCursor.d.ts +2 -1
  156. package/lib/Input/hooks/useCursor.js +1 -1
  157. package/lib/Input/type.d.ts +6 -5
  158. package/lib/InputNumber/type.d.ts +8 -8
  159. package/lib/InputTag/type.d.ts +5 -4
  160. package/lib/Layout/Layout.vue.js +1 -1
  161. package/lib/Layout/Layout.vue2.js +1 -1
  162. package/lib/Layout/type.d.ts +8 -7
  163. package/lib/Link/type.d.ts +3 -2
  164. package/lib/List/type.d.ts +15 -14
  165. package/lib/Mention/index.d.ts +65 -2
  166. package/lib/Mention/index.vue.d.ts +130 -4
  167. package/lib/Mention/type.d.ts +3 -2
  168. package/lib/Menu/type.d.ts +11 -10
  169. package/lib/Message/type.d.ts +1 -1
  170. package/lib/Modal/type.d.ts +5 -5
  171. package/lib/Notification/type.d.ts +1 -1
  172. package/lib/OverflowList/index.vue.js +1 -1
  173. package/lib/OverflowList/index.vue2.js +1 -1
  174. package/lib/OverflowList/type.d.ts +3 -2
  175. package/lib/PageHeader/type.d.ts +7 -6
  176. package/lib/Pagination/type.d.ts +8 -8
  177. package/lib/Popconfirm/index.d.ts +65 -2
  178. package/lib/Popconfirm/index.vue.d.ts +130 -4
  179. package/lib/Popconfirm/type.d.ts +4 -4
  180. package/lib/Popover/type.d.ts +4 -4
  181. package/lib/Radio/hooks/useContext.d.ts +3 -6
  182. package/lib/Radio/type.d.ts +9 -8
  183. package/lib/Rate/type.d.ts +3 -2
  184. package/lib/ResizeBox/type.d.ts +6 -5
  185. package/lib/Result/type.d.ts +6 -5
  186. package/lib/Scrollbar/type.d.ts +2 -2
  187. package/lib/Select/Select.vue.d.ts +130 -4
  188. package/lib/Select/index.d.ts +65 -2
  189. package/lib/Select/type.d.ts +19 -18
  190. package/lib/Skeleton/type.d.ts +3 -2
  191. package/lib/Space/index.vue.js +1 -1
  192. package/lib/Space/index.vue2.js +1 -1
  193. package/lib/Space/type.d.ts +3 -2
  194. package/lib/Spin/type.d.ts +4 -3
  195. package/lib/Split/type.d.ts +5 -4
  196. package/lib/Statistic/type.d.ts +7 -7
  197. package/lib/Steps/type.d.ts +8 -7
  198. package/lib/Switch/index.vue.js +1 -1
  199. package/lib/Switch/index.vue2.js +1 -1
  200. package/lib/Switch/type.d.ts +5 -4
  201. package/lib/Tabs/Tabs.vue.js +1 -1
  202. package/lib/Tabs/Tabs.vue2.js +1 -1
  203. package/lib/Tabs/type.d.ts +5 -4
  204. package/lib/Tag/type.d.ts +4 -3
  205. package/lib/TimePicker/type.d.ts +4 -3
  206. package/lib/Timeline/type.d.ts +6 -5
  207. package/lib/Tooltip/type.d.ts +3 -3
  208. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  209. package/lib/Transfer/type.d.ts +13 -12
  210. package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  211. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  212. package/lib/Trigger/index.d.ts +63 -2
  213. package/lib/Trigger/index.vue.d.ts +130 -3
  214. package/lib/Trigger/index.vue.js +1 -1
  215. package/lib/Trigger/index.vue2.js +1 -1
  216. package/lib/Trigger/type.d.ts +3 -3
  217. package/lib/Typography/TypographyBase.vue2.js +1 -1
  218. package/lib/Typography/type.d.ts +8 -7
  219. package/lib/Watermark/type.d.ts +2 -1
  220. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  221. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  222. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  223. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  224. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  225. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  226. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  227. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  228. package/lib/_shared/utils/dom.d.ts +4 -4
  229. package/lib/_shared/utils/dom.js +1 -1
  230. package/lib/_shared/utils/fn.d.ts +3 -3
  231. package/lib/_shared/utils/fn.js +1 -1
  232. package/lib/_shared/utils/global-config.d.ts +4 -2
  233. package/lib/index.d.ts +65 -2
  234. package/lib/style.css +1 -1
  235. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -678,7 +678,70 @@ declare const _default: {
678
678
  $attrs: {
679
679
  [x: string]: unknown;
680
680
  };
681
- $refs: any;
681
+ $refs: {
682
+ [x: string]: unknown;
683
+ } & {
684
+ triggerRef: unknown;
685
+ popupRef: ({
686
+ $: import('vue').ComponentInternalInstance;
687
+ $data: {};
688
+ $props: {
689
+ readonly preventFocus?: boolean | undefined;
690
+ readonly tag?: string | undefined;
691
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
692
+ $attrs: {
693
+ [x: string]: unknown;
694
+ };
695
+ $refs: {
696
+ [x: string]: unknown;
697
+ };
698
+ $slots: Readonly<{
699
+ [name: string]: import('vue').Slot<any> | undefined;
700
+ }>;
701
+ $root: import('vue').ComponentPublicInstance | null;
702
+ $parent: import('vue').ComponentPublicInstance | null;
703
+ $host: Element | null;
704
+ $emit: (event: string, ...args: any[]) => void;
705
+ $el: any;
706
+ $options: import('vue').ComponentOptionsBase<Readonly<{
707
+ preventFocus?: boolean;
708
+ tag?: string;
709
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
710
+ preventFocus: boolean;
711
+ tag: string;
712
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
713
+ beforeCreate?: (() => void) | (() => void)[];
714
+ created?: (() => void) | (() => void)[];
715
+ beforeMount?: (() => void) | (() => void)[];
716
+ mounted?: (() => void) | (() => void)[];
717
+ beforeUpdate?: (() => void) | (() => void)[];
718
+ updated?: (() => void) | (() => void)[];
719
+ activated?: (() => void) | (() => void)[];
720
+ deactivated?: (() => void) | (() => void)[];
721
+ beforeDestroy?: (() => void) | (() => void)[];
722
+ beforeUnmount?: (() => void) | (() => void)[];
723
+ destroyed?: (() => void) | (() => void)[];
724
+ unmounted?: (() => void) | (() => void)[];
725
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
726
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
727
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
728
+ };
729
+ $forceUpdate: () => void;
730
+ $nextTick: typeof import('vue').nextTick;
731
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
732
+ } & Readonly<{
733
+ preventFocus: boolean;
734
+ tag: string;
735
+ }> & Omit<Readonly<{
736
+ preventFocus?: boolean;
737
+ tag?: string;
738
+ }> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
739
+ $slots: {
740
+ default?(_: {}): any;
741
+ };
742
+ }) | null;
743
+ arrowRef: HTMLDivElement;
744
+ };
682
745
  $slots: Readonly<{
683
746
  [name: string]: import('vue').Slot<any> | undefined;
684
747
  }>;
@@ -799,7 +862,7 @@ declare const _default: {
799
862
  show(): void;
800
863
  updatePosition(x: number, y: number): void;
801
864
  }> & {} & import('vue').ComponentCustomProperties & {} & {
802
- $slots: any;
865
+ $slots: Readonly<import('./Trigger').TriggerSlots> & import('./Trigger').TriggerSlots;
803
866
  }) | null;
804
867
  optionRef: ({
805
868
  $: import('vue').ComponentInternalInstance;