tt-design-web-vue 0.1.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 (227) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +120 -0
  3. package/dist/index.cjs +2 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.js +5220 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/rich-text.css +1 -0
  8. package/dist/style.cjs +2 -0
  9. package/dist/style.cjs.map +1 -0
  10. package/dist/style.css +1 -0
  11. package/dist/style.js +2 -0
  12. package/dist/style.js.map +1 -0
  13. package/dist/types/components/ActivityFeed/ActivityFeed.vue.d.ts +13 -0
  14. package/dist/types/components/ActivityFeed/index.d.ts +2 -0
  15. package/dist/types/components/Alert/Alert.vue.d.ts +164 -0
  16. package/dist/types/components/Alert/index.d.ts +1 -0
  17. package/dist/types/components/Anchor/Anchor.vue.d.ts +12 -0
  18. package/dist/types/components/Anchor/AnchorLink.vue.d.ts +14 -0
  19. package/dist/types/components/Anchor/index.d.ts +2 -0
  20. package/dist/types/components/AttachmentList/AttachmentList.vue.d.ts +19 -0
  21. package/dist/types/components/AttachmentList/index.d.ts +2 -0
  22. package/dist/types/components/Avatar/Avatar.vue.d.ts +153 -0
  23. package/dist/types/components/Avatar/AvatarGroup.vue.d.ts +208 -0
  24. package/dist/types/components/Avatar/avatar.d.ts +3 -0
  25. package/dist/types/components/Avatar/index.d.ts +6 -0
  26. package/dist/types/components/BackTop/BackTop.vue.d.ts +138 -0
  27. package/dist/types/components/BackTop/index.d.ts +1 -0
  28. package/dist/types/components/Badge/Badge.vue.d.ts +164 -0
  29. package/dist/types/components/Badge/index.d.ts +1 -0
  30. package/dist/types/components/Breadcrumb/Breadcrumb.vue.d.ts +108 -0
  31. package/dist/types/components/Breadcrumb/BreadcrumbItem.vue.d.ts +108 -0
  32. package/dist/types/components/Breadcrumb/index.d.ts +2 -0
  33. package/dist/types/components/Button/Button.vue.d.ts +12 -0
  34. package/dist/types/components/Button/index.d.ts +2 -0
  35. package/dist/types/components/Calendar/Calendar.vue.d.ts +205 -0
  36. package/dist/types/components/Calendar/index.d.ts +1 -0
  37. package/dist/types/components/Card/Card.vue.d.ts +179 -0
  38. package/dist/types/components/Card/index.d.ts +2 -0
  39. package/dist/types/components/CardSelect/CardSelect.vue.d.ts +56 -0
  40. package/dist/types/components/CardSelect/index.d.ts +2 -0
  41. package/dist/types/components/Carousel/Carousel.vue.d.ts +214 -0
  42. package/dist/types/components/Carousel/CarouselItem.vue.d.ts +112 -0
  43. package/dist/types/components/Carousel/index.d.ts +2 -0
  44. package/dist/types/components/Cascader/Cascader.vue.d.ts +704 -0
  45. package/dist/types/components/Cascader/index.d.ts +3 -0
  46. package/dist/types/components/Chart/Chart.vue.d.ts +47 -0
  47. package/dist/types/components/Chart/index.d.ts +2 -0
  48. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +21 -0
  49. package/dist/types/components/Checkbox/CheckboxGroup.vue.d.ts +20 -0
  50. package/dist/types/components/Checkbox/index.d.ts +5 -0
  51. package/dist/types/components/Collapse/Collapse.vue.d.ts +150 -0
  52. package/dist/types/components/Collapse/CollapseItem.vue.d.ts +146 -0
  53. package/dist/types/components/Collapse/index.d.ts +2 -0
  54. package/dist/types/components/Color/Color.vue.d.ts +26 -0
  55. package/dist/types/components/Color/index.d.ts +2 -0
  56. package/dist/types/components/ColorPicker/ColorPicker.vue.d.ts +195 -0
  57. package/dist/types/components/ColorPicker/index.d.ts +3 -0
  58. package/dist/types/components/Comment/Comment.vue.d.ts +46 -0
  59. package/dist/types/components/Comment/index.d.ts +2 -0
  60. package/dist/types/components/Container/Container.vue.d.ts +12 -0
  61. package/dist/types/components/Container/index.d.ts +1 -0
  62. package/dist/types/components/DatePicker/DatePicker.vue.d.ts +568 -0
  63. package/dist/types/components/DatePicker/index.d.ts +3 -0
  64. package/dist/types/components/Descriptions/Descriptions.vue.d.ts +138 -0
  65. package/dist/types/components/Descriptions/DescriptionsItem.vue.d.ts +150 -0
  66. package/dist/types/components/Descriptions/index.d.ts +2 -0
  67. package/dist/types/components/Dialog/Dialog.vue.d.ts +360 -0
  68. package/dist/types/components/Dialog/index.d.ts +1 -0
  69. package/dist/types/components/Divider/Divider.vue.d.ts +123 -0
  70. package/dist/types/components/Divider/index.d.ts +1 -0
  71. package/dist/types/components/Drawer/Drawer.vue.d.ts +398 -0
  72. package/dist/types/components/Drawer/index.d.ts +1 -0
  73. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +1610 -0
  74. package/dist/types/components/Dropdown/DropdownItem.vue.d.ts +12 -0
  75. package/dist/types/components/Dropdown/DropdownMenu.vue.d.ts +12 -0
  76. package/dist/types/components/Dropdown/index.d.ts +3 -0
  77. package/dist/types/components/EChartsWrapper/EChartsWrapper.vue.d.ts +39 -0
  78. package/dist/types/components/EChartsWrapper/index.d.ts +2 -0
  79. package/dist/types/components/Empty/Empty.vue.d.ts +126 -0
  80. package/dist/types/components/Empty/index.d.ts +1 -0
  81. package/dist/types/components/FilePreview/FilePreview.vue.d.ts +67 -0
  82. package/dist/types/components/FilePreview/index.d.ts +2 -0
  83. package/dist/types/components/FloatButton/FloatButton.vue.d.ts +44 -0
  84. package/dist/types/components/FloatButton/index.d.ts +2 -0
  85. package/dist/types/components/Font/Font.vue.d.ts +18 -0
  86. package/dist/types/components/Font/index.d.ts +2 -0
  87. package/dist/types/components/Form/Form.vue.d.ts +221 -0
  88. package/dist/types/components/Form/FormItem.vue.d.ts +17 -0
  89. package/dist/types/components/Form/index.d.ts +4 -0
  90. package/dist/types/components/Grid/Col.vue.d.ts +160 -0
  91. package/dist/types/components/Grid/Row.vue.d.ts +120 -0
  92. package/dist/types/components/Grid/index.d.ts +2 -0
  93. package/dist/types/components/Icon/Icon.vue.d.ts +30 -0
  94. package/dist/types/components/Icon/gradient.d.ts +10 -0
  95. package/dist/types/components/Icon/index.d.ts +1 -0
  96. package/dist/types/components/Image/Image.vue.d.ts +285 -0
  97. package/dist/types/components/Image/index.d.ts +1 -0
  98. package/dist/types/components/Input/Input.vue.d.ts +407 -0
  99. package/dist/types/components/Input/index.d.ts +2 -0
  100. package/dist/types/components/InputNumber/InputNumber.vue.d.ts +282 -0
  101. package/dist/types/components/InputNumber/index.d.ts +2 -0
  102. package/dist/types/components/Layout/Layout.vue.d.ts +27 -0
  103. package/dist/types/components/Layout/index.d.ts +1 -0
  104. package/dist/types/components/Link/Link.vue.d.ts +148 -0
  105. package/dist/types/components/Link/index.d.ts +1 -0
  106. package/dist/types/components/List/List.vue.d.ts +26 -0
  107. package/dist/types/components/List/ListItem.vue.d.ts +27 -0
  108. package/dist/types/components/List/index.d.ts +2 -0
  109. package/dist/types/components/Loading/Loading.vue.d.ts +12 -0
  110. package/dist/types/components/Loading/index.d.ts +3 -0
  111. package/dist/types/components/Masonry/Masonry.vue.d.ts +35 -0
  112. package/dist/types/components/Masonry/index.d.ts +2 -0
  113. package/dist/types/components/Menu/Menu.vue.d.ts +235 -0
  114. package/dist/types/components/Menu/MenuItem.vue.d.ts +295 -0
  115. package/dist/types/components/Menu/MenuItemGroup.vue.d.ts +14 -0
  116. package/dist/types/components/Menu/SubMenu.vue.d.ts +216 -0
  117. package/dist/types/components/Menu/index.d.ts +4 -0
  118. package/dist/types/components/Message/index.d.ts +9 -0
  119. package/dist/types/components/Money/Money.vue.d.ts +30 -0
  120. package/dist/types/components/Money/index.d.ts +2 -0
  121. package/dist/types/components/Notification/index.d.ts +9 -0
  122. package/dist/types/components/Pagination/Pagination.vue.d.ts +3 -0
  123. package/dist/types/components/Pagination/index.d.ts +1 -0
  124. package/dist/types/components/Plate/Plate.vue.d.ts +46 -0
  125. package/dist/types/components/Plate/index.d.ts +2 -0
  126. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +23 -0
  127. package/dist/types/components/Popconfirm/index.d.ts +1 -0
  128. package/dist/types/components/Popover/Popover.vue.d.ts +19 -0
  129. package/dist/types/components/Popover/index.d.ts +1 -0
  130. package/dist/types/components/Progress/Progress.vue.d.ts +180 -0
  131. package/dist/types/components/Progress/index.d.ts +1 -0
  132. package/dist/types/components/QRCode/QRCode.vue.d.ts +43 -0
  133. package/dist/types/components/QRCode/index.d.ts +2 -0
  134. package/dist/types/components/QueryForm/QueryForm.vue.d.ts +227 -0
  135. package/dist/types/components/QueryForm/index.d.ts +1 -0
  136. package/dist/types/components/Radio/Radio.vue.d.ts +20 -0
  137. package/dist/types/components/Radio/RadioButton.vue.d.ts +12 -0
  138. package/dist/types/components/Radio/RadioGroup.vue.d.ts +20 -0
  139. package/dist/types/components/Radio/index.d.ts +6 -0
  140. package/dist/types/components/Rate/Rate.vue.d.ts +120 -0
  141. package/dist/types/components/Rate/index.d.ts +3 -0
  142. package/dist/types/components/Result/Result.vue.d.ts +136 -0
  143. package/dist/types/components/Result/index.d.ts +1 -0
  144. package/dist/types/components/RichText/RichText.vue.d.ts +42 -0
  145. package/dist/types/components/RichText/index.d.ts +2 -0
  146. package/dist/types/components/SearchFilter/SearchFilter.vue.d.ts +14 -0
  147. package/dist/types/components/SearchFilter/index.d.ts +1 -0
  148. package/dist/types/components/Segmented/Segmented.vue.d.ts +24 -0
  149. package/dist/types/components/Segmented/index.d.ts +3 -0
  150. package/dist/types/components/Select/Select.vue.d.ts +56 -0
  151. package/dist/types/components/Select/index.d.ts +3 -0
  152. package/dist/types/components/Skeleton/Skeleton.vue.d.ts +140 -0
  153. package/dist/types/components/Skeleton/SkeletonItem.vue.d.ts +26 -0
  154. package/dist/types/components/Skeleton/index.d.ts +2 -0
  155. package/dist/types/components/Space/Space.vue.d.ts +184 -0
  156. package/dist/types/components/Space/SpaceCompact.vue.d.ts +23 -0
  157. package/dist/types/components/Space/index.d.ts +579 -0
  158. package/dist/types/components/Spin/Spin.vue.d.ts +23 -0
  159. package/dist/types/components/Spin/index.d.ts +3 -0
  160. package/dist/types/components/Splitter/Splitter.vue.d.ts +146 -0
  161. package/dist/types/components/Splitter/SplitterPanel.vue.d.ts +144 -0
  162. package/dist/types/components/Splitter/index.d.ts +2 -0
  163. package/dist/types/components/Statistic/Statistic.vue.d.ts +158 -0
  164. package/dist/types/components/Statistic/index.d.ts +1 -0
  165. package/dist/types/components/Steps/Step.vue.d.ts +136 -0
  166. package/dist/types/components/Steps/Steps.vue.d.ts +148 -0
  167. package/dist/types/components/Steps/index.d.ts +2 -0
  168. package/dist/types/components/Switch/Switch.vue.d.ts +238 -0
  169. package/dist/types/components/Switch/index.d.ts +3 -0
  170. package/dist/types/components/Table/Table.vue.d.ts +38 -0
  171. package/dist/types/components/Table/TableColumn.vue.d.ts +4 -0
  172. package/dist/types/components/Table/TableOperationColumn.vue.d.ts +27 -0
  173. package/dist/types/components/Table/index.d.ts +3 -0
  174. package/dist/types/components/Tabs/TabPane.vue.d.ts +14 -0
  175. package/dist/types/components/Tabs/Tabs.vue.d.ts +19 -0
  176. package/dist/types/components/Tabs/index.d.ts +4 -0
  177. package/dist/types/components/Tag/CheckableTag.vue.d.ts +23 -0
  178. package/dist/types/components/Tag/Tag.vue.d.ts +150 -0
  179. package/dist/types/components/Tag/index.d.ts +479 -0
  180. package/dist/types/components/TimePicker/TimePicker.vue.d.ts +551 -0
  181. package/dist/types/components/TimePicker/index.d.ts +3 -0
  182. package/dist/types/components/Timeline/Timeline.vue.d.ts +60 -0
  183. package/dist/types/components/Timeline/TimelineItem.vue.d.ts +144 -0
  184. package/dist/types/components/Timeline/index.d.ts +2 -0
  185. package/dist/types/components/Tooltip/Tooltip.vue.d.ts +19 -0
  186. package/dist/types/components/Tooltip/index.d.ts +1 -0
  187. package/dist/types/components/TopicSwitch/TopicSwitch.vue.d.ts +36 -0
  188. package/dist/types/components/TopicSwitch/index.d.ts +3 -0
  189. package/dist/types/components/Tour/Tour.vue.d.ts +222 -0
  190. package/dist/types/components/Tour/index.d.ts +2 -0
  191. package/dist/types/components/Transfer/Transfer.vue.d.ts +29 -0
  192. package/dist/types/components/Transfer/index.d.ts +3 -0
  193. package/dist/types/components/Tree/Tree.vue.d.ts +5857 -0
  194. package/dist/types/components/Tree/index.d.ts +3 -0
  195. package/dist/types/components/TreeSelect/TreeSelect.vue.d.ts +990 -0
  196. package/dist/types/components/TreeSelect/index.d.ts +3 -0
  197. package/dist/types/components/Upload/Upload.vue.d.ts +322 -0
  198. package/dist/types/components/Upload/index.d.ts +3 -0
  199. package/dist/types/components/UserDisplay/UserDisplay.vue.d.ts +21 -0
  200. package/dist/types/components/UserDisplay/index.d.ts +1 -0
  201. package/dist/types/components/Watermark/Watermark.vue.d.ts +13 -0
  202. package/dist/types/components/Watermark/index.d.ts +1 -0
  203. package/dist/types/index.d.ts +119 -0
  204. package/dist/types/style.d.ts +0 -0
  205. package/dist/types/theme.d.ts +5 -0
  206. package/docs/component-compatibility.md +85 -0
  207. package/docs/component-manifest.json +100 -0
  208. package/docs/components/button.md +32 -0
  209. package/docs/components/chart.md +37 -0
  210. package/docs/components/container.md +28 -0
  211. package/docs/components/dialog.md +46 -0
  212. package/docs/components/echarts-wrapper.md +46 -0
  213. package/docs/components/form.md +67 -0
  214. package/docs/components/grid.md +32 -0
  215. package/docs/components/icon.md +45 -0
  216. package/docs/components/index.md +36 -0
  217. package/docs/components/loading.md +46 -0
  218. package/docs/components/message.md +26 -0
  219. package/docs/components/qr-code.md +49 -0
  220. package/docs/components/rich-text.md +65 -0
  221. package/docs/components/select.md +71 -0
  222. package/docs/components/table.md +44 -0
  223. package/docs/components/upload.md +40 -0
  224. package/docs/index.md +35 -0
  225. package/docs/migration-from-workspace.md +79 -0
  226. package/docs/theme.md +100 -0
  227. package/package.json +88 -0
@@ -0,0 +1,3 @@
1
+ import { default as Cascader } from './Cascader.vue';
2
+ export type { CascaderModelValue, CascaderOption, CascaderValue } from './Cascader.vue';
3
+ export default Cascader;
@@ -0,0 +1,47 @@
1
+ import { EChartsOption } from 'echarts';
2
+ import { EChartsEvents, EChartsTheme, EChartsWrapperInstance } from '../EChartsWrapper';
3
+ export type ChartThemeName = 'geekBlue' | 'dustRed' | 'mintGreen' | 'neonBlue' | 'sunsetOrange' | 'goldenPurple' | 'cyan';
4
+ export type ChartTheme = ChartThemeName | EChartsTheme;
5
+ type __VLS_Props = {
6
+ option: EChartsOption;
7
+ theme?: ChartTheme;
8
+ loading?: boolean;
9
+ loadingOptions?: object;
10
+ onEvents?: EChartsEvents;
11
+ notMerge?: boolean;
12
+ lazyUpdate?: boolean;
13
+ autoResize?: boolean;
14
+ height?: number | string;
15
+ title?: string;
16
+ description?: string;
17
+ };
18
+ declare var __VLS_1: {};
19
+ type __VLS_Slots = {} & {
20
+ extra?: (props: typeof __VLS_1) => any;
21
+ };
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
23
+ getEchartsInstance: () => import('echarts').ECharts | null;
24
+ resize: (options?: import('echarts').ResizeOpts | undefined) => void | undefined;
25
+ setOption: (option: EChartsOption, options?: boolean | import('echarts').SetOptionOpts | undefined) => void | undefined;
26
+ dispatchAction: (payload: import('echarts').Payload) => void | undefined;
27
+ convertToPixel: (...args: Parameters<EChartsWrapperInstance["convertToPixel"]>) => {} | null;
28
+ convertFromPixel: (...args: Parameters<EChartsWrapperInstance["convertFromPixel"]>) => {} | null;
29
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
30
+ title: string;
31
+ description: string;
32
+ loading: boolean;
33
+ height: number | string;
34
+ theme: ChartTheme;
35
+ loadingOptions: object;
36
+ onEvents: EChartsEvents;
37
+ notMerge: boolean;
38
+ lazyUpdate: boolean;
39
+ autoResize: boolean;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
42
+ export default _default;
43
+ type __VLS_WithSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './Chart.vue';
2
+ export type { ChartTheme, ChartThemeName } from './Chart.vue';
@@ -0,0 +1,21 @@
1
+ export type CheckboxValue = string | number | boolean;
2
+ export type CheckboxGroupValue = string | number;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: CheckboxValue;
5
+ };
6
+ declare var __VLS_6: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: CheckboxValue | undefined) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: CheckboxValue | undefined) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,20 @@
1
+ import { CheckboxGroupValue } from './Checkbox.vue';
2
+ type __VLS_PublicProps = {
3
+ modelValue?: CheckboxGroupValue[];
4
+ };
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: CheckboxGroupValue[] | undefined) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: CheckboxGroupValue[] | undefined) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,5 @@
1
+ import { default as Checkbox } from './Checkbox.vue';
2
+ import { default as CheckboxGroup } from './CheckboxGroup.vue';
3
+ export type { CheckboxGroupValue, CheckboxValue } from './Checkbox.vue';
4
+ export { CheckboxGroup };
5
+ export default Checkbox;
@@ -0,0 +1,150 @@
1
+ declare var __VLS_7: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_7) => any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
6
+ collapseRef: import('vue').Ref<({
7
+ $: import('vue').ComponentInternalInstance;
8
+ $data: {};
9
+ $props: {
10
+ readonly accordion?: boolean | undefined;
11
+ readonly modelValue?: import('element-plus').CollapseModelValue | undefined;
12
+ readonly expandIconPosition?: import('element-plus').CollapseIconPositionType | undefined;
13
+ readonly beforeCollapse?: ((name: import('element-plus').CollapseActiveName) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>) | undefined;
14
+ readonly onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined | undefined;
15
+ readonly "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined | undefined;
16
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
17
+ $attrs: import('vue').Attrs;
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $slots: Readonly<{
22
+ [name: string]: import('vue').Slot<any> | undefined;
23
+ }>;
24
+ $root: import('vue').ComponentPublicInstance | null;
25
+ $parent: import('vue').ComponentPublicInstance | null;
26
+ $host: Element | null;
27
+ $emit: ((event: "change", value: import('element-plus').CollapseModelValue) => void) & ((event: "update:modelValue", value: import('element-plus').CollapseModelValue) => void);
28
+ $el: any;
29
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').CollapseProps> & Readonly<{
30
+ onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
32
+ }>, {
33
+ activeNames: import('vue').Ref<(string | number)[], (string | number)[]>;
34
+ setActiveNames: (_activeNames: import('element-plus').CollapseActiveName[]) => void;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (value: import('element-plus').CollapseModelValue) => void;
37
+ change: (value: import('element-plus').CollapseModelValue) => void;
38
+ }, string, {
39
+ modelValue: import('element-plus').CollapseModelValue;
40
+ expandIconPosition: import('element-plus').CollapseIconPositionType;
41
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
42
+ beforeCreate?: (() => void) | (() => void)[];
43
+ created?: (() => void) | (() => void)[];
44
+ beforeMount?: (() => void) | (() => void)[];
45
+ mounted?: (() => void) | (() => void)[];
46
+ beforeUpdate?: (() => void) | (() => void)[];
47
+ updated?: (() => void) | (() => void)[];
48
+ activated?: (() => void) | (() => void)[];
49
+ deactivated?: (() => void) | (() => void)[];
50
+ beforeDestroy?: (() => void) | (() => void)[];
51
+ beforeUnmount?: (() => void) | (() => void)[];
52
+ destroyed?: (() => void) | (() => void)[];
53
+ unmounted?: (() => void) | (() => void)[];
54
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
55
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
56
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
57
+ };
58
+ $forceUpdate: () => void;
59
+ $nextTick: typeof import('vue').nextTick;
60
+ $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;
61
+ } & Readonly<{
62
+ modelValue: import('element-plus').CollapseModelValue;
63
+ expandIconPosition: import('element-plus').CollapseIconPositionType;
64
+ }> & Omit<Readonly<import('element-plus').CollapseProps> & Readonly<{
65
+ onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
66
+ "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
67
+ }>, "modelValue" | "expandIconPosition" | "activeNames" | "setActiveNames"> & {
68
+ activeNames: (string | number)[];
69
+ setActiveNames: (_activeNames: import('element-plus').CollapseActiveName[]) => void;
70
+ } & {} & import('vue').ComponentCustomProperties & {} & {
71
+ $slots: {
72
+ default?: (props: {}) => any;
73
+ };
74
+ }) | undefined, ({
75
+ $: import('vue').ComponentInternalInstance;
76
+ $data: {};
77
+ $props: {
78
+ readonly accordion?: boolean | undefined;
79
+ readonly modelValue?: import('element-plus').CollapseModelValue | undefined;
80
+ readonly expandIconPosition?: import('element-plus').CollapseIconPositionType | undefined;
81
+ readonly beforeCollapse?: ((name: import('element-plus').CollapseActiveName) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>) | undefined;
82
+ readonly onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined | undefined;
83
+ readonly "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined | undefined;
84
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
85
+ $attrs: import('vue').Attrs;
86
+ $refs: {
87
+ [x: string]: unknown;
88
+ };
89
+ $slots: Readonly<{
90
+ [name: string]: import('vue').Slot<any> | undefined;
91
+ }>;
92
+ $root: import('vue').ComponentPublicInstance | null;
93
+ $parent: import('vue').ComponentPublicInstance | null;
94
+ $host: Element | null;
95
+ $emit: ((event: "change", value: import('element-plus').CollapseModelValue) => void) & ((event: "update:modelValue", value: import('element-plus').CollapseModelValue) => void);
96
+ $el: any;
97
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').CollapseProps> & Readonly<{
98
+ onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
99
+ "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
100
+ }>, {
101
+ activeNames: import('vue').Ref<(string | number)[], (string | number)[]>;
102
+ setActiveNames: (_activeNames: import('element-plus').CollapseActiveName[]) => void;
103
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
104
+ "update:modelValue": (value: import('element-plus').CollapseModelValue) => void;
105
+ change: (value: import('element-plus').CollapseModelValue) => void;
106
+ }, string, {
107
+ modelValue: import('element-plus').CollapseModelValue;
108
+ expandIconPosition: import('element-plus').CollapseIconPositionType;
109
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
110
+ beforeCreate?: (() => void) | (() => void)[];
111
+ created?: (() => void) | (() => void)[];
112
+ beforeMount?: (() => void) | (() => void)[];
113
+ mounted?: (() => void) | (() => void)[];
114
+ beforeUpdate?: (() => void) | (() => void)[];
115
+ updated?: (() => void) | (() => void)[];
116
+ activated?: (() => void) | (() => void)[];
117
+ deactivated?: (() => void) | (() => void)[];
118
+ beforeDestroy?: (() => void) | (() => void)[];
119
+ beforeUnmount?: (() => void) | (() => void)[];
120
+ destroyed?: (() => void) | (() => void)[];
121
+ unmounted?: (() => void) | (() => void)[];
122
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
123
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
124
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
125
+ };
126
+ $forceUpdate: () => void;
127
+ $nextTick: typeof import('vue').nextTick;
128
+ $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;
129
+ } & Readonly<{
130
+ modelValue: import('element-plus').CollapseModelValue;
131
+ expandIconPosition: import('element-plus').CollapseIconPositionType;
132
+ }> & Omit<Readonly<import('element-plus').CollapseProps> & Readonly<{
133
+ onChange?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
134
+ "onUpdate:modelValue"?: ((value: import('element-plus').CollapseModelValue) => any) | undefined;
135
+ }>, "modelValue" | "expandIconPosition" | "activeNames" | "setActiveNames"> & {
136
+ activeNames: (string | number)[];
137
+ setActiveNames: (_activeNames: import('element-plus').CollapseActiveName[]) => void;
138
+ } & {} & import('vue').ComponentCustomProperties & {} & {
139
+ $slots: {
140
+ default?: (props: {}) => any;
141
+ };
142
+ }) | undefined>;
143
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
144
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
145
+ export default _default;
146
+ type __VLS_WithSlots<T, S> = T & {
147
+ new (): {
148
+ $slots: S;
149
+ };
150
+ };
@@ -0,0 +1,146 @@
1
+ declare var __VLS_7: {}, __VLS_9: {
2
+ isActive: boolean | undefined;
3
+ }, __VLS_11: {};
4
+ type __VLS_Slots = {} & {
5
+ title?: (props: typeof __VLS_7) => any;
6
+ } & {
7
+ icon?: (props: typeof __VLS_9) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_11) => any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
12
+ collapseItemRef: import('vue').Ref<({
13
+ $: import('vue').ComponentInternalInstance;
14
+ $data: {};
15
+ $props: {
16
+ readonly title?: string | undefined;
17
+ readonly name?: import('element-plus').CollapseActiveName | undefined;
18
+ readonly icon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
19
+ readonly disabled?: boolean | undefined;
20
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
21
+ $attrs: import('vue').Attrs;
22
+ $refs: {
23
+ [x: string]: unknown;
24
+ };
25
+ $slots: Readonly<{
26
+ [name: string]: import('vue').Slot<any> | undefined;
27
+ }>;
28
+ $root: import('vue').ComponentPublicInstance | null;
29
+ $parent: import('vue').ComponentPublicInstance | null;
30
+ $host: Element | null;
31
+ $emit: (event: string, ...args: any[]) => void;
32
+ $el: any;
33
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').CollapseItemProps> & Readonly<{}>, {
34
+ isActive: import('vue').ComputedRef<boolean | undefined>;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
36
+ title: string;
37
+ icon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
38
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
39
+ beforeCreate?: (() => void) | (() => void)[];
40
+ created?: (() => void) | (() => void)[];
41
+ beforeMount?: (() => void) | (() => void)[];
42
+ mounted?: (() => void) | (() => void)[];
43
+ beforeUpdate?: (() => void) | (() => void)[];
44
+ updated?: (() => void) | (() => void)[];
45
+ activated?: (() => void) | (() => void)[];
46
+ deactivated?: (() => void) | (() => void)[];
47
+ beforeDestroy?: (() => void) | (() => void)[];
48
+ beforeUnmount?: (() => void) | (() => void)[];
49
+ destroyed?: (() => void) | (() => void)[];
50
+ unmounted?: (() => void) | (() => void)[];
51
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
52
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
53
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
54
+ };
55
+ $forceUpdate: () => void;
56
+ $nextTick: typeof import('vue').nextTick;
57
+ $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;
58
+ } & Readonly<{
59
+ title: string;
60
+ icon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
61
+ }> & Omit<Readonly<import('element-plus').CollapseItemProps> & Readonly<{}>, "icon" | "title" | "isActive"> & {
62
+ isActive: boolean | undefined;
63
+ } & {} & import('vue').ComponentCustomProperties & {} & {
64
+ $slots: {
65
+ title?: (props: {
66
+ isActive: boolean | undefined;
67
+ }) => any;
68
+ } & {
69
+ icon?: (props: {
70
+ isActive: boolean | undefined;
71
+ }) => any;
72
+ } & {
73
+ default?: (props: {}) => any;
74
+ };
75
+ }) | undefined, ({
76
+ $: import('vue').ComponentInternalInstance;
77
+ $data: {};
78
+ $props: {
79
+ readonly title?: string | undefined;
80
+ readonly name?: import('element-plus').CollapseActiveName | undefined;
81
+ readonly icon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
82
+ readonly disabled?: boolean | undefined;
83
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
84
+ $attrs: import('vue').Attrs;
85
+ $refs: {
86
+ [x: string]: unknown;
87
+ };
88
+ $slots: Readonly<{
89
+ [name: string]: import('vue').Slot<any> | undefined;
90
+ }>;
91
+ $root: import('vue').ComponentPublicInstance | null;
92
+ $parent: import('vue').ComponentPublicInstance | null;
93
+ $host: Element | null;
94
+ $emit: (event: string, ...args: any[]) => void;
95
+ $el: any;
96
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').CollapseItemProps> & Readonly<{}>, {
97
+ isActive: import('vue').ComputedRef<boolean | undefined>;
98
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
99
+ title: string;
100
+ icon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
101
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
102
+ beforeCreate?: (() => void) | (() => void)[];
103
+ created?: (() => void) | (() => void)[];
104
+ beforeMount?: (() => void) | (() => void)[];
105
+ mounted?: (() => void) | (() => void)[];
106
+ beforeUpdate?: (() => void) | (() => void)[];
107
+ updated?: (() => void) | (() => void)[];
108
+ activated?: (() => void) | (() => void)[];
109
+ deactivated?: (() => void) | (() => void)[];
110
+ beforeDestroy?: (() => void) | (() => void)[];
111
+ beforeUnmount?: (() => void) | (() => void)[];
112
+ destroyed?: (() => void) | (() => void)[];
113
+ unmounted?: (() => void) | (() => void)[];
114
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
115
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
116
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
117
+ };
118
+ $forceUpdate: () => void;
119
+ $nextTick: typeof import('vue').nextTick;
120
+ $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;
121
+ } & Readonly<{
122
+ title: string;
123
+ icon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
124
+ }> & Omit<Readonly<import('element-plus').CollapseItemProps> & Readonly<{}>, "icon" | "title" | "isActive"> & {
125
+ isActive: boolean | undefined;
126
+ } & {} & import('vue').ComponentCustomProperties & {} & {
127
+ $slots: {
128
+ title?: (props: {
129
+ isActive: boolean | undefined;
130
+ }) => any;
131
+ } & {
132
+ icon?: (props: {
133
+ isActive: boolean | undefined;
134
+ }) => any;
135
+ } & {
136
+ default?: (props: {}) => any;
137
+ };
138
+ }) | undefined>;
139
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
140
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
141
+ export default _default;
142
+ type __VLS_WithSlots<T, S> = T & {
143
+ new (): {
144
+ $slots: S;
145
+ };
146
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './Collapse.vue';
2
+ export { default as CollapseItem } from './CollapseItem.vue';
@@ -0,0 +1,26 @@
1
+ export type ColorSize = 'small' | 'default' | 'large';
2
+ export type ColorType = 'primary' | 'neutral' | 'success' | 'warning' | 'error';
3
+ type __VLS_Props = {
4
+ /** 参考项目属性:颜色名称。 */
5
+ name?: string;
6
+ /** 参考项目属性:颜色值。 */
7
+ hex?: string;
8
+ type?: ColorType;
9
+ size?: ColorSize;
10
+ /** 兼容既有 ColorPicker 示例的颜色值属性。 */
11
+ value?: string;
12
+ /** 兼容既有 ColorPicker 示例的展示名称。 */
13
+ label?: string;
14
+ showText?: boolean;
15
+ };
16
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ copy: (value: string) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onCopy?: ((value: string) => any) | undefined;
20
+ }>, {
21
+ type: ColorType;
22
+ size: ColorSize;
23
+ value: string;
24
+ showText: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default } from './Color.vue';
2
+ export type { ColorSize, ColorType } from './Color.vue';
@@ -0,0 +1,195 @@
1
+ import { ColorFormats } from '@ctrl/tinycolor';
2
+ export type ColorPickerValue = string | null;
3
+ type ColorPickerMode = 'pure' | 'gradient';
4
+ type __VLS_Props = {
5
+ initialColor?: string;
6
+ initialStatus?: ColorPickerMode;
7
+ showIcon?: boolean;
8
+ showStatus?: boolean;
9
+ debounceTime?: number;
10
+ };
11
+ declare function show(): void;
12
+ declare function hide(): void;
13
+ type __VLS_PublicProps = __VLS_Props & {
14
+ modelValue?: ColorPickerValue;
15
+ };
16
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
17
+ colorPickerRef: import('vue').Ref<({
18
+ $: import('vue').ComponentInternalInstance;
19
+ $data: {};
20
+ $props: {
21
+ readonly modelValue?: string | null | undefined;
22
+ readonly border?: boolean | undefined;
23
+ readonly showAlpha?: boolean | undefined;
24
+ readonly colorFormat?: ColorFormats | undefined;
25
+ readonly disabled?: boolean | undefined;
26
+ readonly predefine?: string[] | undefined;
27
+ readonly validateEvent?: boolean | undefined;
28
+ readonly hueSliderClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
29
+ readonly hueSliderStyle?: import('vue').StyleValue;
30
+ readonly "onUpdate:modelValue"?: ((val: string | null) => any) | undefined | undefined;
31
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
32
+ $attrs: import('vue').Attrs;
33
+ $refs: {
34
+ [x: string]: unknown;
35
+ };
36
+ $slots: Readonly<{
37
+ [name: string]: import('vue').Slot<any> | undefined;
38
+ }>;
39
+ $root: import('vue').ComponentPublicInstance | null;
40
+ $parent: import('vue').ComponentPublicInstance | null;
41
+ $host: Element | null;
42
+ $emit: (event: "update:modelValue", val: string | null) => void;
43
+ $el: any;
44
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ColorPickerPanelProps> & Readonly<{
45
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
46
+ }>, {
47
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
48
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined, import('element-plus').InputInstance | undefined>;
49
+ update: () => void;
50
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
+ "update:modelValue": (val: string | null) => void;
52
+ }, string, {
53
+ modelValue: string | null;
54
+ validateEvent: boolean;
55
+ border: boolean;
56
+ showAlpha: boolean;
57
+ hueSliderClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
58
+ hueSliderStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
59
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
60
+ beforeCreate?: (() => void) | (() => void)[];
61
+ created?: (() => void) | (() => void)[];
62
+ beforeMount?: (() => void) | (() => void)[];
63
+ mounted?: (() => void) | (() => void)[];
64
+ beforeUpdate?: (() => void) | (() => void)[];
65
+ updated?: (() => void) | (() => void)[];
66
+ activated?: (() => void) | (() => void)[];
67
+ deactivated?: (() => void) | (() => void)[];
68
+ beforeDestroy?: (() => void) | (() => void)[];
69
+ beforeUnmount?: (() => void) | (() => void)[];
70
+ destroyed?: (() => void) | (() => void)[];
71
+ unmounted?: (() => void) | (() => void)[];
72
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
73
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
74
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
75
+ };
76
+ $forceUpdate: () => void;
77
+ $nextTick: typeof import('vue').nextTick;
78
+ $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;
79
+ } & Readonly<{
80
+ modelValue: string | null;
81
+ validateEvent: boolean;
82
+ border: boolean;
83
+ showAlpha: boolean;
84
+ hueSliderClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
85
+ hueSliderStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
86
+ }> & Omit<Readonly<import('element-plus').ColorPickerPanelProps> & Readonly<{
87
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
88
+ }>, "color" | "border" | "modelValue" | "validateEvent" | "showAlpha" | "hueSliderClass" | "hueSliderStyle" | "inputRef" | "update"> & {
89
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
90
+ inputRef: import('element-plus').InputInstance | undefined;
91
+ update: () => void;
92
+ } & {} & import('vue').ComponentCustomProperties & {} & {
93
+ $slots: {
94
+ footer?: (props: {}) => any;
95
+ };
96
+ }) | undefined, ({
97
+ $: import('vue').ComponentInternalInstance;
98
+ $data: {};
99
+ $props: {
100
+ readonly modelValue?: string | null | undefined;
101
+ readonly border?: boolean | undefined;
102
+ readonly showAlpha?: boolean | undefined;
103
+ readonly colorFormat?: ColorFormats | undefined;
104
+ readonly disabled?: boolean | undefined;
105
+ readonly predefine?: string[] | undefined;
106
+ readonly validateEvent?: boolean | undefined;
107
+ readonly hueSliderClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
108
+ readonly hueSliderStyle?: import('vue').StyleValue;
109
+ readonly "onUpdate:modelValue"?: ((val: string | null) => any) | undefined | undefined;
110
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
111
+ $attrs: import('vue').Attrs;
112
+ $refs: {
113
+ [x: string]: unknown;
114
+ };
115
+ $slots: Readonly<{
116
+ [name: string]: import('vue').Slot<any> | undefined;
117
+ }>;
118
+ $root: import('vue').ComponentPublicInstance | null;
119
+ $parent: import('vue').ComponentPublicInstance | null;
120
+ $host: Element | null;
121
+ $emit: (event: "update:modelValue", val: string | null) => void;
122
+ $el: any;
123
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ColorPickerPanelProps> & Readonly<{
124
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
125
+ }>, {
126
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
127
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined, import('element-plus').InputInstance | undefined>;
128
+ update: () => void;
129
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
130
+ "update:modelValue": (val: string | null) => void;
131
+ }, string, {
132
+ modelValue: string | null;
133
+ validateEvent: boolean;
134
+ border: boolean;
135
+ showAlpha: boolean;
136
+ hueSliderClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
137
+ hueSliderStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
138
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
139
+ beforeCreate?: (() => void) | (() => void)[];
140
+ created?: (() => void) | (() => void)[];
141
+ beforeMount?: (() => void) | (() => void)[];
142
+ mounted?: (() => void) | (() => void)[];
143
+ beforeUpdate?: (() => void) | (() => void)[];
144
+ updated?: (() => void) | (() => void)[];
145
+ activated?: (() => void) | (() => void)[];
146
+ deactivated?: (() => void) | (() => void)[];
147
+ beforeDestroy?: (() => void) | (() => void)[];
148
+ beforeUnmount?: (() => void) | (() => void)[];
149
+ destroyed?: (() => void) | (() => void)[];
150
+ unmounted?: (() => void) | (() => void)[];
151
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
152
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
153
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
154
+ };
155
+ $forceUpdate: () => void;
156
+ $nextTick: typeof import('vue').nextTick;
157
+ $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;
158
+ } & Readonly<{
159
+ modelValue: string | null;
160
+ validateEvent: boolean;
161
+ border: boolean;
162
+ showAlpha: boolean;
163
+ hueSliderClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
164
+ hueSliderStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
165
+ }> & Omit<Readonly<import('element-plus').ColorPickerPanelProps> & Readonly<{
166
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
167
+ }>, "color" | "border" | "modelValue" | "validateEvent" | "showAlpha" | "hueSliderClass" | "hueSliderStyle" | "inputRef" | "update"> & {
168
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
169
+ inputRef: import('element-plus').InputInstance | undefined;
170
+ update: () => void;
171
+ } & {} & import('vue').ComponentCustomProperties & {} & {
172
+ $slots: {
173
+ footer?: (props: {}) => any;
174
+ };
175
+ }) | undefined>;
176
+ show: typeof show;
177
+ hide: typeof hide;
178
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
179
+ clear: () => any;
180
+ change: (value: ColorPickerValue) => any;
181
+ "update:modelValue": (value: ColorPickerValue | undefined) => any;
182
+ "value-change": (value: ColorPickerValue) => any;
183
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
184
+ onClear?: (() => any) | undefined;
185
+ onChange?: ((value: ColorPickerValue) => any) | undefined;
186
+ "onUpdate:modelValue"?: ((value: ColorPickerValue | undefined) => any) | undefined;
187
+ "onValue-change"?: ((value: ColorPickerValue) => any) | undefined;
188
+ }>, {
189
+ showIcon: boolean;
190
+ initialColor: string;
191
+ initialStatus: ColorPickerMode;
192
+ showStatus: boolean;
193
+ debounceTime: number;
194
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
195
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as ColorPicker } from './ColorPicker.vue';
2
+ export default ColorPicker;
3
+ export type { ColorPickerValue } from './ColorPicker.vue';