rx-compo 1.0.71 → 1.0.73

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 (220) hide show
  1. package/es/components/RxCheckbox/index.d.ts +1 -1
  2. package/es/components/RxCheckboxButton/index.d.ts +1 -1
  3. package/es/components/RxCheckboxGroup/index.d.ts +1 -1
  4. package/es/components/RxCheckboxGroup/index.js +1 -1
  5. package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +4 -0
  6. package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +14 -5
  7. package/es/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +5 -2
  8. package/es/components/RxCheckboxGroup/src/hooks/useController.d.ts +4 -5
  9. package/es/components/RxDatePicker/index.d.ts +1 -1
  10. package/es/components/RxDatePicker/index.js +1 -1
  11. package/es/components/RxDatePicker/src/RxDatePicker.d.ts +2 -2
  12. package/es/components/RxDropDown/index.d.ts +4 -0
  13. package/es/components/RxDropDown/index.js +1 -0
  14. package/es/components/RxDropDown/src/RxDropDown.d.ts +7 -0
  15. package/es/components/RxDropDown/src/RxDropDown.vue.d.ts +8 -0
  16. package/es/components/RxDropDownItem/index.d.ts +4 -0
  17. package/es/components/RxDropDownItem/index.js +1 -0
  18. package/es/components/RxDropDownItem/src/RxDropDownItem.d.ts +5 -0
  19. package/es/components/RxDropDownItem/src/RxDropDownItem.vue.d.ts +8 -0
  20. package/es/components/RxDropDownMenu/index.d.ts +4 -0
  21. package/es/components/RxDropDownMenu/index.js +1 -0
  22. package/es/components/RxDropDownMenu/src/RxDropDownMenu.d.ts +5 -0
  23. package/es/components/RxDropDownMenu/src/RxDropDownMenu.vue.d.ts +8 -0
  24. package/es/components/RxFormPlus/index.js +1 -1
  25. package/es/components/RxFormPlusBeta/index.d.ts +4 -0
  26. package/es/components/RxFormPlusBeta/index.js +1 -0
  27. package/es/components/RxFormPlusBeta/src/RxFormPlusBeta.d.ts +10 -0
  28. package/es/components/RxFormPlusBeta/src/RxFormPlusBeta.vue.d.ts +14 -0
  29. package/es/components/RxFormPlusBeta/src/componentMap.d.ts +12 -0
  30. package/es/components/RxFormPlusBeta/src/components/formComponent/index.d.ts +2 -0
  31. package/es/components/RxFormPlusBeta/src/components/formComponent/index.vue.d.ts +36 -0
  32. package/es/components/RxFormPlusBeta/src/components/formComponent/props.d.ts +14 -0
  33. package/es/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useController.d.ts +5 -0
  34. package/es/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useFormDatePicker.d.ts +7 -0
  35. package/es/components/RxFormPlusBeta/src/components/formDatePicker/index.d.ts +2 -0
  36. package/es/components/RxFormPlusBeta/src/components/formDatePicker/index.vue.d.ts +304 -0
  37. package/es/components/RxFormPlusBeta/src/components/formDatePicker/props.d.ts +123 -0
  38. package/es/components/RxFormPlusBeta/src/components/formDatePicker/utils/index.d.ts +2 -0
  39. package/es/components/RxFormPlusBeta/src/components/formInput/hooks/useController.d.ts +2 -0
  40. package/es/components/RxFormPlusBeta/src/components/formInput/hooks/useFormInput.d.ts +8 -0
  41. package/es/components/RxFormPlusBeta/src/components/formInput/index.d.ts +2 -0
  42. package/es/components/RxFormPlusBeta/src/components/formInput/index.vue.d.ts +231 -0
  43. package/es/components/RxFormPlusBeta/src/components/formInput/props.d.ts +111 -0
  44. package/es/components/RxFormPlusBeta/src/components/formSelect/hooks/useController.d.ts +2 -0
  45. package/es/components/RxFormPlusBeta/src/components/formSelect/index.d.ts +2 -0
  46. package/es/components/RxFormPlusBeta/src/hooks/useRxFormColumns.d.ts +1 -0
  47. package/es/components/RxFormSelect/index.d.ts +4 -0
  48. package/es/components/RxFormSelect/index.js +1 -0
  49. package/es/components/RxFormSelect/src/RxFormSelect.d.ts +145 -0
  50. package/es/components/RxFormSelect/src/RxFormSelect.vue.d.ts +282 -0
  51. package/es/components/RxFormSelect/src/hooks/useController.d.ts +9 -0
  52. package/es/components/RxFormSelect/src/hooks/useFormSelect.d.ts +13 -0
  53. package/es/components/RxFormSelect/src/hooks/useScrollbar.d.ts +6 -0
  54. package/es/components/RxFormSelect/src/hooks/useSelectValue.d.ts +9 -0
  55. package/es/components/RxFormSelect/src/hooks/useVagueSearch.d.ts +7 -0
  56. package/es/components/RxOption/index.d.ts +1 -2
  57. package/es/components/RxOption/src/RxOption.d.ts +3 -1
  58. package/es/components/RxPopover/index.d.ts +4 -0
  59. package/es/components/RxPopover/index.js +1 -0
  60. package/es/components/RxPopover/src/RxPopover.d.ts +5 -0
  61. package/es/components/RxPopover/src/RxPopover.vue.d.ts +8 -0
  62. package/es/components/RxRadio/index.d.ts +1 -1
  63. package/es/components/RxRadio/src/RxRadio.d.ts +4 -5
  64. package/es/components/RxRadioButton/index.d.ts +1 -1
  65. package/es/components/RxRadioButton/src/RxRadioButton.d.ts +4 -5
  66. package/es/components/RxRadioGroup/index.d.ts +1 -1
  67. package/es/components/RxRadioGroup/index.js +1 -1
  68. package/es/components/RxRadioGroup/src/RxRadioGroup.d.ts +4 -0
  69. package/es/components/RxRadioGroup/src/RxRadioGroup.vue.d.ts +14 -3
  70. package/es/components/RxRadioGroup/src/hooks/useController.d.ts +5 -5
  71. package/es/components/RxRadioGroup/src/hooks/useRadioGroup.d.ts +5 -2
  72. package/es/components/RxScrollbar/index.d.ts +1 -0
  73. package/es/components/RxScrollbar/src/RxScrollbar.d.ts +3 -1
  74. package/es/components/RxSelect/index.d.ts +1 -1
  75. package/es/components/RxSelectPlus/index.d.ts +1 -1
  76. package/es/components/RxSelectPlus/index.js +1 -1
  77. package/es/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +1 -0
  78. package/es/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +1 -0
  79. package/es/components/RxSuperCondition/index.js +1 -1
  80. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +0 -2
  81. package/es/components/RxTabPane/index.d.ts +4 -0
  82. package/es/components/RxTabPane/index.js +1 -0
  83. package/es/components/RxTabPane/src/RxTabPane.d.ts +26 -0
  84. package/es/components/RxTabPane/src/RxTabPane.vue.d.ts +50 -0
  85. package/es/components/RxTabs/index.css +1 -0
  86. package/es/components/RxTabs/index.d.ts +4 -0
  87. package/es/components/RxTabs/index.js +1 -0
  88. package/es/components/RxTabs/src/RxTabs.d.ts +53 -0
  89. package/es/components/RxTabs/src/RxTabs.vue.d.ts +109 -0
  90. package/es/components/RxTabs/src/enums/base.d.ts +2 -0
  91. package/es/components/RxTabs/src/hooks/useController.d.ts +18 -0
  92. package/es/components/RxTabs/src/hooks/useTabs.d.ts +4 -0
  93. package/es/components/RxTooltip/index.d.ts +1 -2
  94. package/es/components/RxTooltip/index.js +1 -1
  95. package/es/components/RxTooltip/src/RxTooltip.d.ts +3 -1
  96. package/es/components/RxTooltip/src/RxTooltip.vue.d.ts +1 -0
  97. package/es/components/RxTooltip/src/hooks/useBase.d.ts +1 -0
  98. package/es/components/index.d.ts +8 -0
  99. package/es/components/index.js +1 -1
  100. package/es/utils/useTextOverflow.js +6 -2
  101. package/index.esm.js +1 -1
  102. package/index.js +1 -1
  103. package/lib/components/RxCheckbox/index.d.ts +1 -1
  104. package/lib/components/RxCheckboxButton/index.d.ts +1 -1
  105. package/lib/components/RxCheckboxGroup/index.d.ts +1 -1
  106. package/lib/components/RxCheckboxGroup/index.js +1 -1
  107. package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +4 -0
  108. package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +14 -5
  109. package/lib/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +5 -2
  110. package/lib/components/RxCheckboxGroup/src/hooks/useController.d.ts +4 -5
  111. package/lib/components/RxDatePicker/index.d.ts +1 -1
  112. package/lib/components/RxDatePicker/index.js +1 -1
  113. package/lib/components/RxDatePicker/src/RxDatePicker.d.ts +2 -2
  114. package/lib/components/RxDropDown/index.d.ts +4 -0
  115. package/lib/components/RxDropDown/index.js +1 -0
  116. package/lib/components/RxDropDown/src/RxDropDown.d.ts +7 -0
  117. package/lib/components/RxDropDown/src/RxDropDown.vue.d.ts +8 -0
  118. package/lib/components/RxDropDownItem/index.d.ts +4 -0
  119. package/lib/components/RxDropDownItem/index.js +1 -0
  120. package/lib/components/RxDropDownItem/src/RxDropDownItem.d.ts +5 -0
  121. package/lib/components/RxDropDownItem/src/RxDropDownItem.vue.d.ts +8 -0
  122. package/lib/components/RxDropDownMenu/index.d.ts +4 -0
  123. package/lib/components/RxDropDownMenu/index.js +1 -0
  124. package/lib/components/RxDropDownMenu/src/RxDropDownMenu.d.ts +5 -0
  125. package/lib/components/RxDropDownMenu/src/RxDropDownMenu.vue.d.ts +8 -0
  126. package/lib/components/RxFormPlus/index.js +1 -1
  127. package/lib/components/RxFormPlusBeta/index.d.ts +4 -0
  128. package/lib/components/RxFormPlusBeta/index.js +1 -0
  129. package/lib/components/RxFormPlusBeta/src/RxFormPlusBeta.d.ts +10 -0
  130. package/lib/components/RxFormPlusBeta/src/RxFormPlusBeta.vue.d.ts +14 -0
  131. package/lib/components/RxFormPlusBeta/src/componentMap.d.ts +12 -0
  132. package/lib/components/RxFormPlusBeta/src/components/formComponent/index.d.ts +2 -0
  133. package/lib/components/RxFormPlusBeta/src/components/formComponent/index.vue.d.ts +36 -0
  134. package/lib/components/RxFormPlusBeta/src/components/formComponent/props.d.ts +14 -0
  135. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useController.d.ts +5 -0
  136. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useFormDatePicker.d.ts +7 -0
  137. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/index.d.ts +2 -0
  138. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/index.vue.d.ts +304 -0
  139. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/props.d.ts +123 -0
  140. package/lib/components/RxFormPlusBeta/src/components/formDatePicker/utils/index.d.ts +2 -0
  141. package/lib/components/RxFormPlusBeta/src/components/formInput/hooks/useController.d.ts +2 -0
  142. package/lib/components/RxFormPlusBeta/src/components/formInput/hooks/useFormInput.d.ts +8 -0
  143. package/lib/components/RxFormPlusBeta/src/components/formInput/index.d.ts +2 -0
  144. package/lib/components/RxFormPlusBeta/src/components/formInput/index.vue.d.ts +231 -0
  145. package/lib/components/RxFormPlusBeta/src/components/formInput/props.d.ts +111 -0
  146. package/lib/components/RxFormPlusBeta/src/components/formSelect/hooks/useController.d.ts +2 -0
  147. package/lib/components/RxFormPlusBeta/src/components/formSelect/index.d.ts +2 -0
  148. package/lib/components/RxFormPlusBeta/src/hooks/useRxFormColumns.d.ts +1 -0
  149. package/lib/components/RxFormSelect/index.d.ts +4 -0
  150. package/lib/components/RxFormSelect/index.js +1 -0
  151. package/lib/components/RxFormSelect/src/RxFormSelect.d.ts +145 -0
  152. package/lib/components/RxFormSelect/src/RxFormSelect.vue.d.ts +282 -0
  153. package/lib/components/RxFormSelect/src/hooks/useController.d.ts +9 -0
  154. package/lib/components/RxFormSelect/src/hooks/useFormSelect.d.ts +13 -0
  155. package/lib/components/RxFormSelect/src/hooks/useScrollbar.d.ts +6 -0
  156. package/lib/components/RxFormSelect/src/hooks/useSelectValue.d.ts +9 -0
  157. package/lib/components/RxFormSelect/src/hooks/useVagueSearch.d.ts +7 -0
  158. package/lib/components/RxOption/index.d.ts +1 -2
  159. package/lib/components/RxOption/src/RxOption.d.ts +3 -1
  160. package/lib/components/RxPopover/index.d.ts +4 -0
  161. package/lib/components/RxPopover/index.js +1 -0
  162. package/lib/components/RxPopover/src/RxPopover.d.ts +5 -0
  163. package/lib/components/RxPopover/src/RxPopover.vue.d.ts +8 -0
  164. package/lib/components/RxRadio/index.d.ts +1 -1
  165. package/lib/components/RxRadio/src/RxRadio.d.ts +4 -5
  166. package/lib/components/RxRadioButton/index.d.ts +1 -1
  167. package/lib/components/RxRadioButton/src/RxRadioButton.d.ts +4 -5
  168. package/lib/components/RxRadioGroup/index.d.ts +1 -1
  169. package/lib/components/RxRadioGroup/index.js +1 -1
  170. package/lib/components/RxRadioGroup/src/RxRadioGroup.d.ts +4 -0
  171. package/lib/components/RxRadioGroup/src/RxRadioGroup.vue.d.ts +14 -3
  172. package/lib/components/RxRadioGroup/src/hooks/useController.d.ts +5 -5
  173. package/lib/components/RxRadioGroup/src/hooks/useRadioGroup.d.ts +5 -2
  174. package/lib/components/RxScrollbar/index.d.ts +1 -0
  175. package/lib/components/RxScrollbar/src/RxScrollbar.d.ts +3 -1
  176. package/lib/components/RxSelect/index.d.ts +1 -1
  177. package/lib/components/RxSelectPlus/index.d.ts +1 -1
  178. package/lib/components/RxSelectPlus/index.js +1 -1
  179. package/lib/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +1 -0
  180. package/lib/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +1 -0
  181. package/lib/components/RxSuperCondition/index.js +1 -1
  182. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +0 -2
  183. package/lib/components/RxTabPane/index.d.ts +4 -0
  184. package/lib/components/RxTabPane/index.js +1 -0
  185. package/lib/components/RxTabPane/src/RxTabPane.d.ts +26 -0
  186. package/lib/components/RxTabPane/src/RxTabPane.vue.d.ts +50 -0
  187. package/lib/components/RxTabs/index.css +1 -0
  188. package/lib/components/RxTabs/index.d.ts +4 -0
  189. package/lib/components/RxTabs/index.js +1 -0
  190. package/lib/components/RxTabs/src/RxTabs.d.ts +53 -0
  191. package/lib/components/RxTabs/src/RxTabs.vue.d.ts +109 -0
  192. package/lib/components/RxTabs/src/enums/base.d.ts +2 -0
  193. package/lib/components/RxTabs/src/hooks/useController.d.ts +18 -0
  194. package/lib/components/RxTabs/src/hooks/useTabs.d.ts +4 -0
  195. package/lib/components/RxTooltip/index.d.ts +1 -2
  196. package/lib/components/RxTooltip/index.js +1 -1
  197. package/lib/components/RxTooltip/src/RxTooltip.d.ts +3 -1
  198. package/lib/components/RxTooltip/src/RxTooltip.vue.d.ts +1 -0
  199. package/lib/components/RxTooltip/src/hooks/useBase.d.ts +1 -0
  200. package/lib/components/index.d.ts +8 -0
  201. package/lib/components/index.js +1 -1
  202. package/lib/utils/useTextOverflow.js +6 -2
  203. package/package.json +29 -29
  204. package/theme-chalk/components-style.css +2 -1
  205. package/theme-chalk/index.css +1 -1
  206. package/theme-chalk/rx-date-picker.css +1 -1
  207. package/theme-chalk/rx-drop-down-item.css +1 -0
  208. package/theme-chalk/rx-drop-down-menu.css +0 -0
  209. package/theme-chalk/rx-drop-down.css +0 -0
  210. package/theme-chalk/rx-form-plus-beta.css +0 -0
  211. package/theme-chalk/rx-form-select.css +0 -0
  212. package/theme-chalk/rx-popover.css +0 -0
  213. package/theme-chalk/rx-preview-assets.css +1 -0
  214. package/theme-chalk/rx-radio-button.css +1 -0
  215. package/theme-chalk/rx-radio.css +1 -1
  216. package/theme-chalk/rx-super-condition.css +0 -0
  217. package/theme-chalk/rx-tab-pane.css +0 -0
  218. package/theme-chalk/rx-tabs.css +1 -0
  219. package/theme-chalk/rx-transfer-plus.css +1 -0
  220. package/theme-chalk/rx-transfer.css +1 -0
@@ -0,0 +1,282 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
4
+ default: any;
5
+ };
6
+ rxFormSelectOptions: {
7
+ type: import("vue").PropType<import("./RxFormSelect").RxFormSelectOptionsType[]>;
8
+ default: any[];
9
+ };
10
+ popoerConfig: {
11
+ type: import("vue").PropType<import("./RxFormSelect").RxFormSelectPoperConfigType>;
12
+ default: {
13
+ width: number;
14
+ defaultClass: string;
15
+ popperClass: string;
16
+ };
17
+ };
18
+ toolTipConfig: {
19
+ type: import("vue").PropType<{} & {
20
+ readonly disabled?: boolean;
21
+ readonly onClick?: Function;
22
+ readonly style?: import("vue").StyleValue;
23
+ readonly id?: string;
24
+ readonly popperClass?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
25
+ [x: string]: boolean;
26
+ } | (string | {
27
+ [x: string]: boolean;
28
+ } | (string | {
29
+ [x: string]: boolean;
30
+ } | (string | {
31
+ [x: string]: boolean;
32
+ } | (string | {
33
+ [x: string]: boolean;
34
+ } | (string | {
35
+ [x: string]: boolean;
36
+ } | (string | {
37
+ [x: string]: boolean;
38
+ } | (string | {
39
+ [x: string]: boolean;
40
+ } | (string | {
41
+ [x: string]: boolean;
42
+ } | (string | {
43
+ [x: string]: boolean;
44
+ } | (string | any[] | {
45
+ [x: string]: boolean;
46
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
47
+ readonly popperOptions?: unknown;
48
+ readonly zIndex?: number;
49
+ readonly onBlur?: Function;
50
+ readonly onFocus?: Function;
51
+ readonly onMouseleave?: Function;
52
+ readonly onMouseenter?: Function;
53
+ readonly onKeydown?: Function;
54
+ readonly visible?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean>, unknown, unknown>;
55
+ readonly effect?: string;
56
+ readonly teleported?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
57
+ readonly persistent?: boolean;
58
+ openDelay?: number;
59
+ visibleArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
60
+ readonly hideAfter?: number;
61
+ showArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
62
+ readonly appendTo?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | HTMLElement>, unknown, unknown>;
63
+ readonly content?: string;
64
+ readonly rawContent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
65
+ readonly ariaLabel?: string;
66
+ readonly transition?: string;
67
+ readonly className?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
68
+ [x: string]: boolean;
69
+ } | (string | {
70
+ [x: string]: boolean;
71
+ } | (string | {
72
+ [x: string]: boolean;
73
+ } | (string | {
74
+ [x: string]: boolean;
75
+ } | (string | {
76
+ [x: string]: boolean;
77
+ } | (string | {
78
+ [x: string]: boolean;
79
+ } | (string | {
80
+ [x: string]: boolean;
81
+ } | (string | {
82
+ [x: string]: boolean;
83
+ } | (string | {
84
+ [x: string]: boolean;
85
+ } | (string | {
86
+ [x: string]: boolean;
87
+ } | (string | any[] | {
88
+ [x: string]: boolean;
89
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
90
+ readonly enterable?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
91
+ readonly pure?: boolean;
92
+ readonly popperStyle?: import("vue").StyleValue;
93
+ readonly referenceEl?: HTMLElement;
94
+ readonly stopPopperMouseEvent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
95
+ readonly boundariesPadding?: number;
96
+ readonly fallbackPlacements?: import("element-plus").Placement;
97
+ readonly gpuAcceleration?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
98
+ readonly offset?: number;
99
+ readonly placement?: import("element-plus/es/utils").BuildPropType<StringConstructor, import("element-plus").Placement, unknown>;
100
+ readonly strategy?: import("element-plus/es/utils").BuildPropType<StringConstructor, "fixed" | "absolute", unknown>;
101
+ readonly showAfter?: number;
102
+ readonly trigger?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"focus" | "hover" | "click" | "contextmenu" | ("focus" | "hover" | "click" | "contextmenu")[]>, unknown, unknown>;
103
+ readonly virtualRef?: import("element-plus").Measurable;
104
+ readonly virtualTriggering?: boolean;
105
+ readonly onContextmenu?: Function;
106
+ readonly open?: boolean;
107
+ } & import("rx-compo/es/components/RxTooltip").ToolTipScrollbarCustomType>;
108
+ default: {
109
+ placement: string;
110
+ teleported: boolean;
111
+ };
112
+ };
113
+ vagueSearchConfig: {
114
+ type: import("vue").PropType<import("./RxFormSelect").RxVagueSearchConfigType>;
115
+ default: {
116
+ showNameKey: string[];
117
+ isTree: boolean;
118
+ };
119
+ };
120
+ multiple: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ }, {
125
+ defaultSlotPopoverRef: import("vue").Ref<any>;
126
+ defaultSlotPopoverHeight: import("vue").Ref<number>;
127
+ rxToolTipConfig: import("vue").Ref<any>;
128
+ isOverflowed: import("vue").Ref<boolean>;
129
+ searchStrRef: import("vue").Ref<string>;
130
+ rxFormSelectOptionsLocal: import("vue").Ref<{
131
+ label: string;
132
+ value: [string, number, boolean, object];
133
+ disabled: boolean;
134
+ defaultSlots: Function;
135
+ }[]>;
136
+ selectValue: import("vue").Ref<Map<any, any>>;
137
+ selectValueSize: import("vue").ComputedRef<number>;
138
+ setItemRef: (el: any, key: any) => void;
139
+ handleAfterEnter: () => void;
140
+ handleMouseenter: (key: any) => void;
141
+ rxToolTipSetItem: (el: any, key: any) => void;
142
+ getRxToolTipItemsRef: () => Map<any, any>;
143
+ handleClick: (item: import("./RxFormSelect").RxFormSelectOptionsType, index: number) => void;
144
+ controlSelectValue: () => Map<any, any>;
145
+ handleClear: () => void;
146
+ getIconStyle: (item: import("./RxFormSelect").RxFormSelectOptionsType) => "#999999" | "#3370FF" | "#5C6781";
147
+ getOptionStyle: (item: import("./RxFormSelect").RxFormSelectOptionsType) => string;
148
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
149
+ modelValue: {
150
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
151
+ default: any;
152
+ };
153
+ rxFormSelectOptions: {
154
+ type: import("vue").PropType<import("./RxFormSelect").RxFormSelectOptionsType[]>;
155
+ default: any[];
156
+ };
157
+ popoerConfig: {
158
+ type: import("vue").PropType<import("./RxFormSelect").RxFormSelectPoperConfigType>;
159
+ default: {
160
+ width: number;
161
+ defaultClass: string;
162
+ popperClass: string;
163
+ };
164
+ };
165
+ toolTipConfig: {
166
+ type: import("vue").PropType<{} & {
167
+ readonly disabled?: boolean;
168
+ readonly onClick?: Function;
169
+ readonly style?: import("vue").StyleValue;
170
+ readonly id?: string;
171
+ readonly popperClass?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
172
+ [x: string]: boolean;
173
+ } | (string | {
174
+ [x: string]: boolean;
175
+ } | (string | {
176
+ [x: string]: boolean;
177
+ } | (string | {
178
+ [x: string]: boolean;
179
+ } | (string | {
180
+ [x: string]: boolean;
181
+ } | (string | {
182
+ [x: string]: boolean;
183
+ } | (string | {
184
+ [x: string]: boolean;
185
+ } | (string | {
186
+ [x: string]: boolean;
187
+ } | (string | {
188
+ [x: string]: boolean;
189
+ } | (string | {
190
+ [x: string]: boolean;
191
+ } | (string | any[] | {
192
+ [x: string]: boolean;
193
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
194
+ readonly popperOptions?: unknown;
195
+ readonly zIndex?: number;
196
+ readonly onBlur?: Function;
197
+ readonly onFocus?: Function;
198
+ readonly onMouseleave?: Function;
199
+ readonly onMouseenter?: Function;
200
+ readonly onKeydown?: Function;
201
+ readonly visible?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean>, unknown, unknown>;
202
+ readonly effect?: string;
203
+ readonly teleported?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
204
+ readonly persistent?: boolean;
205
+ openDelay?: number;
206
+ visibleArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
207
+ readonly hideAfter?: number;
208
+ showArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
209
+ readonly appendTo?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | HTMLElement>, unknown, unknown>;
210
+ readonly content?: string;
211
+ readonly rawContent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
212
+ readonly ariaLabel?: string;
213
+ readonly transition?: string;
214
+ readonly className?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
215
+ [x: string]: boolean;
216
+ } | (string | {
217
+ [x: string]: boolean;
218
+ } | (string | {
219
+ [x: string]: boolean;
220
+ } | (string | {
221
+ [x: string]: boolean;
222
+ } | (string | {
223
+ [x: string]: boolean;
224
+ } | (string | {
225
+ [x: string]: boolean;
226
+ } | (string | {
227
+ [x: string]: boolean;
228
+ } | (string | {
229
+ [x: string]: boolean;
230
+ } | (string | {
231
+ [x: string]: boolean;
232
+ } | (string | {
233
+ [x: string]: boolean;
234
+ } | (string | any[] | {
235
+ [x: string]: boolean;
236
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
237
+ readonly enterable?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
238
+ readonly pure?: boolean;
239
+ readonly popperStyle?: import("vue").StyleValue;
240
+ readonly referenceEl?: HTMLElement;
241
+ readonly stopPopperMouseEvent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
242
+ readonly boundariesPadding?: number;
243
+ readonly fallbackPlacements?: import("element-plus").Placement;
244
+ readonly gpuAcceleration?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
245
+ readonly offset?: number;
246
+ readonly placement?: import("element-plus/es/utils").BuildPropType<StringConstructor, import("element-plus").Placement, unknown>;
247
+ readonly strategy?: import("element-plus/es/utils").BuildPropType<StringConstructor, "fixed" | "absolute", unknown>;
248
+ readonly showAfter?: number;
249
+ readonly trigger?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"focus" | "hover" | "click" | "contextmenu" | ("focus" | "hover" | "click" | "contextmenu")[]>, unknown, unknown>;
250
+ readonly virtualRef?: import("element-plus").Measurable;
251
+ readonly virtualTriggering?: boolean;
252
+ readonly onContextmenu?: Function;
253
+ readonly open?: boolean;
254
+ } & import("rx-compo/es/components/RxTooltip").ToolTipScrollbarCustomType>;
255
+ default: {
256
+ placement: string;
257
+ teleported: boolean;
258
+ };
259
+ };
260
+ vagueSearchConfig: {
261
+ type: import("vue").PropType<import("./RxFormSelect").RxVagueSearchConfigType>;
262
+ default: {
263
+ showNameKey: string[];
264
+ isTree: boolean;
265
+ };
266
+ };
267
+ multiple: {
268
+ type: BooleanConstructor;
269
+ default: boolean;
270
+ };
271
+ }>>, {
272
+ modelValue: string | number | boolean | unknown[] | Record<string, any>;
273
+ multiple: boolean;
274
+ toolTipConfig: {
275
+ placement: string;
276
+ teleported: boolean;
277
+ };
278
+ rxFormSelectOptions: import("./RxFormSelect").RxFormSelectOptionsType[];
279
+ popoerConfig: import("./RxFormSelect").RxFormSelectPoperConfigType;
280
+ vagueSearchConfig: import("./RxFormSelect").RxVagueSearchConfigType;
281
+ }>;
282
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { Ref } from 'vue';
2
+ import type { RxFormSelectPropsType, RxFormSelectOptionsType } from '../RxFormSelect';
3
+ export declare function useController(updateRxToolTipConfig: Function, updatePopoverConfig: Function, props: RxFormSelectPropsType, getItemsRef: Function, getRxToolTipItemsRef: Function, searchStrRef: Ref<String>, copyList: Function, FilterDataByStr: Function, controlSelectValue: Function): {
4
+ isOverflowed: Ref<boolean>;
5
+ handleMouseenter: (key: any) => void;
6
+ handleAfterEnter: () => void;
7
+ getIconStyle: (item: RxFormSelectOptionsType) => "#999999" | "#3370FF" | "#5C6781";
8
+ getOptionStyle: (item: RxFormSelectOptionsType) => string;
9
+ };
@@ -0,0 +1,13 @@
1
+ export declare const useFormSelect: () => {
2
+ rxFormSelectOptionsLocal: import("vue").Ref<{
3
+ label: string;
4
+ value: [string, number, boolean, object];
5
+ disabled: boolean;
6
+ defaultSlots: Function;
7
+ }[]>;
8
+ setItemRef: (el: any, key: any) => void;
9
+ getItemsRef: () => Map<any, any>;
10
+ rxToolTipSetItem: (el: any, key: any) => void;
11
+ getRxToolTipItemsRef: () => Map<any, any>;
12
+ handleClearMap: () => void;
13
+ };
@@ -0,0 +1,6 @@
1
+ export declare function useScrollbar(): {
2
+ defaultSlotPopoverRef: import("vue").Ref<any>;
3
+ defaultSlotPopoverHeight: import("vue").Ref<number>;
4
+ updatePopoverConfig: () => void;
5
+ handleAfterEnter: () => void;
6
+ };
@@ -0,0 +1,9 @@
1
+ import { Ref } from 'vue';
2
+ import type { RxFormSelectPropsType, RxFormSelectOptionsType } from '../RxFormSelect';
3
+ export declare const useSelectValue: (props: RxFormSelectPropsType, modelValueLocal: Ref<any>) => {
4
+ selectValue: Ref<Map<any, any>>;
5
+ selectValueSize: import("vue").ComputedRef<number>;
6
+ controlSelectValue: () => Map<any, any>;
7
+ handleClick: (item: RxFormSelectOptionsType, index: number) => void;
8
+ handleClear: () => void;
9
+ };
@@ -0,0 +1,7 @@
1
+ export declare function useVagueSearch(listSource: any, listSourceCopy: any, isTree: boolean, keys: string[]): {
2
+ checkKeys: (i: any) => boolean | [number, number];
3
+ clearSearchStr: () => void;
4
+ copyList: () => void;
5
+ FilterDataByStr: () => void;
6
+ searchStrRef: import("vue").Ref<string>;
7
+ };
@@ -1,5 +1,4 @@
1
- import { RxOptionPropsType } from './src/RxOption';
2
1
  declare const RxOption: any;
3
2
  export { RxOption };
4
- export type { RxOptionPropsType };
5
3
  export default RxOption;
4
+ export type { RxOptionProps, RxOptionPropsType, RxOptionComponent, RxOptionInstance } from './src/RxOption';
@@ -1,3 +1,5 @@
1
- import type { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
2
2
  export declare const RxOptionProps: any;
3
3
  export declare type RxOptionPropsType = ExtractPropTypes<typeof RxOptionProps>;
4
+ export declare type RxOptionComponent = DefineComponent<typeof RxOptionProps>;
5
+ export declare type RxOptionInstance = InstanceType<DefineComponent<typeof RxOptionProps>>;
@@ -0,0 +1,4 @@
1
+ declare const RxPopover: any;
2
+ export { RxPopover };
3
+ export default RxPopover;
4
+ export type { RxPopoverProps, RxPopoverPropsType, RxPopoverComponent, RxPopoverInstance } from './src/RxPopover';
@@ -0,0 +1 @@
1
+ import{withInstall as e}from"rx-compo/es/utils/with-install";import{defineComponent as o,resolveComponent as r,openBlock as t,createBlock as s,normalizeProps as n,guardReactiveProps as p,createSlots as l,withCtx as f,renderSlot as a}from"vue";import{ElPopover as m}from"element-plus";var c=o({name:"RxPopover",components:{ElPopover:m},props:{},setup:()=>({})});c.render=function(e,o,m,c,u,i){const v=r("el-popover");return t(),s(v,n(p(e.$attrs)),l({_:2},[e.$slots.default?{name:"default",fn:f((()=>[a(e.$slots,"default")]))}:void 0,e.$slots.reference?{name:"reference",fn:f((()=>[a(e.$slots,"reference")]))}:void 0]),1040)},c.__file="packages/components/RxPopover/src/RxPopover.vue";const u=e(c);export{u as RxPopover,u as default};
@@ -0,0 +1,5 @@
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
2
+ export declare const RxPopoverProps: {};
3
+ export declare type RxPopoverPropsType = ExtractPropTypes<typeof RxPopoverProps>;
4
+ export declare type RxPopoverComponent = DefineComponent<typeof RxPopoverProps>;
5
+ export declare type RxPopoverInstance = InstanceType<DefineComponent<typeof RxPopoverProps>>;
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
+ [x: string]: unknown;
3
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
4
+ [x: string]: unknown;
5
+ }>>>>, {
6
+ [x: number]: string;
7
+ } | {}>;
8
+ export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const RxRadio: any;
2
2
  export { RxRadio };
3
3
  export default RxRadio;
4
- export type { RxRadioPropsType, RxRadioPublicProps, RxRadioComponent } from './src/RxRadio';
4
+ export type { RxRadioProps, RxRadioPropsType, RxRadioComponent, RxRadioInstance } from './src/RxRadio';
@@ -1,5 +1,4 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import { DefineComponent } from 'vue';
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
3
2
  export declare const RxRadioProps: {
4
3
  modelValue: {
5
4
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
@@ -10,6 +9,6 @@ export declare const RxRadioProps: {
10
9
  default: any;
11
10
  };
12
11
  };
13
- export declare type RxRadioPropsType = ExtractInnerPropTypes<typeof RxRadioProps>;
14
- export declare type RxRadioPublicProps = ExtractPublicPropTypes<typeof RxRadioProps>;
15
- export declare type RxRadioComponent = DefineComponent<keyof RxRadioPublicProps> & RxRadioPublicProps;
12
+ export declare type RxRadioPropsType = ExtractPropTypes<typeof RxRadioProps>;
13
+ export declare type RxRadioComponent = DefineComponent<typeof RxRadioProps>;
14
+ export declare type RxRadioInstance = InstanceType<DefineComponent<typeof RxRadioProps>>;
@@ -1,4 +1,4 @@
1
1
  declare const RxRadioButton: any;
2
2
  export { RxRadioButton };
3
3
  export default RxRadioButton;
4
- export type { RxRadioButtonPropsType, RxRadioButtonPublicProps, RxRadioButtonComponent } from './src/RxRadioButton';
4
+ export type { RxRadioButtonProps, RxRadioButtonPropsType, RxRadioButtonComponent, RxRadioButtonInstance } from './src/RxRadioButton';
@@ -1,5 +1,4 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import { DefineComponent } from 'vue';
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
3
2
  export declare const RxRadioButtonProps: {
4
3
  modelValue: {
5
4
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
@@ -10,6 +9,6 @@ export declare const RxRadioButtonProps: {
10
9
  default: any;
11
10
  };
12
11
  };
13
- export declare type RxRadioButtonPropsType = ExtractInnerPropTypes<typeof RxRadioButtonProps>;
14
- export declare type RxRadioButtonPublicProps = ExtractPublicPropTypes<typeof RxRadioButtonProps>;
15
- export declare type RxRadioButtonComponent = DefineComponent<keyof RxRadioButtonPublicProps> & RxRadioButtonPublicProps;
12
+ export declare type RxRadioButtonPropsType = ExtractPropTypes<typeof RxRadioButtonProps>;
13
+ export declare type RxRadioButtonComponent = DefineComponent<typeof RxRadioButtonProps>;
14
+ export declare type RxRadioButtonInstance = InstanceType<DefineComponent<typeof RxRadioButtonProps>>;
@@ -1,4 +1,4 @@
1
1
  declare const RxRadioGroup: any;
2
2
  export { RxRadioGroup };
3
3
  export default RxRadioGroup;
4
- export type { RxRadioGroupPropsType, RxRadioGroupInstance, RxRadioGroupComponent } from './src/RxRadioGroup';
4
+ export type { RxRadioGroupProps, RxRadioGroupPropsType, RxRadioGroupInstance, RxRadioGroupComponent } from './src/RxRadioGroup';
@@ -1 +1 @@
1
- import{withInstall as o}from"rx-compo/es/utils/with-install";import{defineComponent as t,resolveComponent as e,openBlock as r,createBlock as l,normalizeProps as n,mergeProps as s,createSlots as i,renderList as u,withCtx as a,renderSlot as p,guardReactiveProps as d,computed as m,ref as c,nextTick as x,createCommentVNode as f,createElementBlock as R,Fragment as g,createVNode as y,normalizeClass as T,resolveDynamicComponent as h,createElementVNode as C,normalizeStyle as O,createTextVNode as v,toDisplayString as b}from"vue";import{useVModel as k}from"@vueuse/core";import{ElRadioGroup as $,ElRow as G,ElCol as B}from"element-plus";import{RxTooltip as w}from"rx-compo/es/components/RxTooltip";import{RxScrollbar as _}from"rx-compo/es/components/RxScrollbar";import{IxPropTypes as S}from"rx-compo/es/utils";import{RxRadio as j}from"rx-compo/es/components/RxRadio";import{RxRadioButton as M}from"rx-compo/es/components/RxRadioButton";import{useTextOverflow as V}from"rx-compo/es/utils/useTextOverflow";const F={modelValue:{type:[String,Number,Boolean],default:!1},rxRadioGroupOptions:{type:Array,default:[]},toolTipFormatter:{type:Function,default:null},toolTipConfig:{type:Object,default:{placement:"top"}},gutter:S.number,justify:{type:String,default:"start"},baseColProps:{type:Object,default:()=>({xl:4,lg:6,md:8,sm:12,xs:24})},isButton:S.bool.def(!1),rxRadioAttr:{type:Object,default:{}}};var A=t({name:"RxRadioComponents",components:{RxRadio:j,RxRadioButton:M},setup:(o,{slots:t})=>({rxRadioSlots:Object.keys(t)})});A.render=function(o,t,m,c,x,f){const R=e("rx-radio-button"),g=e("rx-radio");return o.$attrs.isButton?(r(),l(R,n(s({key:0},o.$attrs.isButton)),i({_:2},[u(o.rxRadioSlots,(t=>({name:t,fn:a((e=>[p(o.$slots,`${t}`,n(d(e)))]))})))]),1040)):(r(),l(g,n(s({key:1},o.$attrs)),i({_:2},[u(o.rxRadioSlots,(t=>({name:t,fn:a((e=>[p(o.$slots,`${t}`,n(d(e)))]))})))]),1040))},A.__file="packages/components/RxRadioGroup/components/RxRadioComponents.vue";var H=t({name:"RxRadioGroup",components:{ElRadioGroup:$,ElRow:G,ElCol:B,RxRadioComponents:A,RxTooltip:w,RxScrollbar:_},props:F,setup(o,{emit:t}){const e=k(o,"modelValue",t),{rxRadioGroupOptionsComputed:r,itemsRef:l,setItemRef:n}=function(o,t){const e=m((()=>o.rxRadioGroupOptions||[])),r=c([]);return{checkboxGroupValue:t,itemsRef:r,rxRadioGroupOptionsComputed:e,setItemRef:o=>{o&&r.value.push(o)}}}(o,e),{rxToolTipConfig:s,updateRxToolTipConfig:i}=function(o){const t=c();return{rxToolTipConfig:t,updateRxToolTipConfig:function(e){const{toolTipConfig:r}=o,{width:l}=e.getBoundingClientRect(),n={width:(null==r?void 0:r.tooltipWidth)?r.tooltipWidth:`${l}px`,maxHeight:(null==r?void 0:r.maxHeight)?r.maxHeight:"80px"};t.value=Object.assign(Object.assign({},r),{style:n})}}}(o),{isOverflowed:u,handleMouseenter:a}=function(o,t){const{isOverflowed:e,checkOverflowCustom:r}=V("RxRadio");return{itemsRef:o,isOverflowed:e,handleMouseenter:function(e){const l=o.value[e].$el;r(l),x((()=>t(l)))}}}(l,i);return{rxRadioGroupValue:e,rxRadioGroupOptionsComputed:r,isOverflowed:u,rxToolTipConfig:s,setItemRef:n,handleMouseenter:a}}});H.render=function(o,t,i,m,c,x){const k=e("RxRadioComponents"),$=e("rx-scrollbar"),G=e("rx-tooltip"),B=e("el-col"),w=e("el-row"),_=e("el-radio-group");return r(),l(_,s({...o.$attrs,...o.$props},{modelValue:o.rxRadioGroupValue,"onUpdate:modelValue":t[0]||(t[0]=t=>o.rxRadioGroupValue=t),class:"rx-radio-group"}),{default:a((()=>[f(" 模板默认插槽 "),o.$slots.default?p(o.$slots,"default",{key:0}):(r(),R(g,{key:1},[f(" 配置 "),y(w,{gutter:o.gutter,type:"flex",class:T(`justify-${o.justify}`)},{default:a((()=>[(r(!0),R(g,null,u(o.rxRadioGroupOptionsComputed,((t,e)=>(r(),l(B,s({key:t,ref_for:!0,ref:o.setItemRef,style:`${t.colStyle||""}`,class:`${t.colClass||""}`},t.colProps||o.baseColProps),{default:a((()=>[f(" 溢出隐藏 "),o.isOverflowed?(r(),l(G,n(s({key:0},o.rxToolTipConfig)),{content:a((()=>[f(" checkBoxOptions[index].slots options可自定义配置h函数模板 "),t.toolTipSlots?(r(),l(h(t.toolTipSlots.call(null,t)),n(s({key:0},t)),null,16)):o.toolTipFormatter?(r(),R(g,{key:1},[f(" props toolTipFormatter 通配h函数模板 "),(r(),l(h(o.toolTipFormatter.call(null,t)),n(d(t)),null,16))],2112)):(r(),R(g,{key:2},[f(" 默认渲染模板 "),C("div",{style:O(o.rxToolTipConfig.style)},[y($,{"max-height":o.rxToolTipConfig.style.maxHeight},{default:a((()=>[v(b(t?.toolTipContent||t?.label),1)])),_:2},1032,["max-height"])],4)],2112))])),default:a((()=>[y(k,s({...o.rxRadioAttr,...t},{isButton:o.isButton,onMouseenter:t=>o.handleMouseenter(e)}),null,16,["isButton","onMouseenter"])])),_:2},1040)):(r(),R(g,{key:1},[f(" 默认checkbox "),y(k,s({...o.rxRadioAttr,...t},{isButton:o.isButton,onMouseenter:t=>o.handleMouseenter(e)}),null,16,["isButton","onMouseenter"])],2112))])),_:2},1040,["style","class"])))),128))])),_:1},8,["gutter","class"])],64))])),_:3},16,["modelValue"])},H.__file="packages/components/RxRadioGroup/src/RxRadioGroup.vue";const I=o(H);export{I as RxRadioGroup,I as default};
1
+ import{withInstall as o}from"rx-compo/es/utils/with-install";import{defineComponent as t,resolveComponent as e,openBlock as l,createBlock as r,normalizeProps as i,mergeProps as n,createSlots as s,renderList as p,withCtx as a,renderSlot as u,guardReactiveProps as m,computed as d,ref as c,nextTick as f,createCommentVNode as x,createElementBlock as R,Fragment as T,createVNode as g,normalizeClass as y,resolveDynamicComponent as h,createElementVNode as C,normalizeStyle as b,createTextVNode as O,toDisplayString as v}from"vue";import{useVModel as S}from"@vueuse/core";import{ElRadioGroup as w,ElRow as $,ElCol as G}from"element-plus";import{RxTooltip as _}from"rx-compo/es/components/RxTooltip";import{RxScrollbar as k}from"rx-compo/es/components/RxScrollbar";import{IxPropTypes as B}from"rx-compo/es/utils";import{RxRadio as I}from"rx-compo/es/components/RxRadio";import{RxRadioButton as j}from"rx-compo/es/components/RxRadioButton";import{useTextOverflow as V}from"rx-compo/es/utils/useTextOverflow";const M={modelValue:{type:[String,Number,Boolean],default:!1},rxRadioGroupOptions:{type:Array,default:[]},toolTip:{type:Boolean,default:!0},toolTipFormatter:{type:Function,default:null},toolTipConfig:{type:Object,default:{placement:"top"}},gutter:B.number,justify:{type:String,default:"start"},baseColProps:{type:Object,default:()=>({xl:4,lg:6,md:8,sm:12,xs:24})},isButton:B.bool.def(!1),rxRadioAttr:{type:Object,default:{}}};var F=t({name:"RxRadioComponents",components:{RxRadio:I,RxRadioButton:j},setup:(o,{slots:t})=>({rxRadioSlots:Object.keys(t)})});F.render=function(o,t,d,c,f,x){const R=e("rx-radio-button"),T=e("rx-radio");return o.$attrs.isButton?(l(),r(R,i(n({key:0},o.$attrs.isButton)),s({_:2},[p(o.rxRadioSlots,(t=>({name:t,fn:a((e=>[u(o.$slots,`${t}`,i(m(e)))]))})))]),1040)):(l(),r(T,i(n({key:1},o.$attrs)),s({_:2},[p(o.rxRadioSlots,(t=>({name:t,fn:a((e=>[u(o.$slots,`${t}`,i(m(e)))]))})))]),1040))},F.__file="packages/components/RxRadioGroup/components/RxRadioComponents.vue";var E=t({name:"RxRadioGroup",components:{ElRadioGroup:w,ElRow:$,ElCol:G,RxRadioComponents:F,RxTooltip:_,RxScrollbar:k},props:M,setup(o,{emit:t}){const e=S(o,"modelValue",t),{rxRadioGroupOptionsComputed:l,rxToolTipSetItem:r,getRxToolTipItemsRef:i,setItemRef:n,getItemsRef:s}=function(o,t){const e=d((()=>o.rxRadioGroupOptions||[])),l=new Map,r=new Map;return{checkboxGroupValue:t,itemsRef:r,rxRadioGroupOptionsComputed:e,setItemRef:(o,t)=>{o&&r.set(t,o)},rxToolTipSetItem:(o,t)=>{o&&l.set(t,o)},getRxToolTipItemsRef:()=>l,getItemsRef:()=>r}}(o,e),{getRxToolTipConfig:p,updateRxToolTipConfig:a}=function(o){const t=c();return{getRxToolTipConfig:()=>t.value,updateRxToolTipConfig:function(e){const{toolTipConfig:l}=o,r=e.getBoundingClientRect(),i={width:(null==l?void 0:l.tooltipWidth)?l.tooltipWidth:`${null==r?void 0:r.width}px`,maxHeight:(null==l?void 0:l.maxHeight)?l.maxHeight:"80px"};t.value=Object.assign(Object.assign({},l),{style:i})}}}(o),{isOverflowed:u,componentsSwitch:m,handleMouseenter:x}=function(o,t,e,l){const{isOverflowed:r,checkOverflowCustom:i}=V("RxRadio"),n=d((()=>o.toolTip&&r.value));return{isOverflowed:r,componentsSwitch:n,handleMouseenter:function(r){if(!o.toolTip)return;const n=e().get(r).$el.getElementsByClassName("el-radio__label")[0];i(n),f((()=>{l().get(r).rxToolTipRef.onOpen(),t(n)}))}}}(o,a,s,i);return{rxRadioGroupValue:e,rxRadioGroupOptionsComputed:l,isOverflowed:u,componentsSwitch:m,getRxToolTipConfig:p,rxToolTipSetItem:r,setItemRef:n,handleMouseenter:x}}});E.render=function(o,t,s,d,c,f){const S=e("RxRadioComponents"),w=e("rx-scrollbar"),$=e("rx-tooltip"),G=e("el-col"),_=e("el-row"),k=e("el-radio-group");return l(),r(k,n({...o.$attrs,...o.$props},{modelValue:o.rxRadioGroupValue,"onUpdate:modelValue":t[0]||(t[0]=t=>o.rxRadioGroupValue=t),class:"rx-radio-group"}),{default:a((()=>[x(" 模板默认插槽 "),o.$slots.default?u(o.$slots,"default",{key:0}):(l(),R(T,{key:1},[x(" 配置 "),g(_,{gutter:o.gutter,type:"flex",class:y(`justify-${o.justify}`)},{default:a((()=>[(l(!0),R(T,null,p(o.rxRadioGroupOptionsComputed,(t=>(l(),r(G,n({key:t.label,ref_for:!0,ref:e=>o.setItemRef(e,t.label),style:`${t.colStyle||""}`,class:`${t.colClass||""}`},t.colProps||o.baseColProps),{default:a((()=>[x(" 溢出隐藏 "),g($,n({ref_for:!0,ref:e=>o.rxToolTipSetItem(e,t.label)},o.getRxToolTipConfig(),{disabled:!o.componentsSwitch}),{content:a((()=>[x(" checkBoxOptions[index].slots options可自定义配置h函数模板 "),t.toolTipSlots?(l(),r(h(t.toolTipSlots.call(null,t)),i(n({key:0},t)),null,16)):o.toolTipFormatter?(l(),R(T,{key:1},[x(" props toolTipFormatter 通配h函数模板 "),(l(),r(h(o.toolTipFormatter.call(null,t)),i(m(t)),null,16))],2112)):(l(),R(T,{key:2},[x(" 默认渲染模板 "),C("div",{style:b(o.getRxToolTipConfig().style)},[g(w,{"max-height":o.getRxToolTipConfig().style.maxHeight},{default:a((()=>[O(v(t?.toolTipContent||t?.label),1)])),_:2},1032,["max-height"])],4)],2112))])),default:a((()=>[g(S,n({...o.rxRadioAttr,...t},{isButton:o.isButton,onMouseenter:e=>o.handleMouseenter(t.label)}),null,16,["isButton","onMouseenter"])])),_:2},1040,["disabled"])])),_:2},1040,["style","class"])))),128))])),_:1},8,["gutter","class"])],64))])),_:3},16,["modelValue"])},E.__file="packages/components/RxRadioGroup/src/RxRadioGroup.vue";const H=o(E);export{H as RxRadioGroup,H as default};
@@ -35,6 +35,10 @@ export declare const RxRadioGroupProps: {
35
35
  type: PropType<RadioType[]>;
36
36
  default: any[];
37
37
  };
38
+ toolTip: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
38
42
  toolTipFormatter: {
39
43
  type: FunctionConstructor;
40
44
  default: any;
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: import("vue").PropType<import("./RxRadioGroup").RadioType[]>;
8
8
  default: any[];
9
9
  };
10
+ toolTip: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
10
14
  toolTipFormatter: {
11
15
  type: FunctionConstructor;
12
16
  default: any;
@@ -133,9 +137,11 @@ declare const _default: import("vue").DefineComponent<{
133
137
  rxRadioGroupValue: import("vue").Ref<string | number | boolean> | import("vue").WritableComputedRef<string | number | boolean>;
134
138
  rxRadioGroupOptionsComputed: import("vue").ComputedRef<import("./RxRadioGroup").RadioType[]>;
135
139
  isOverflowed: import("vue").Ref<boolean>;
136
- rxToolTipConfig: import("vue").Ref<any>;
137
- setItemRef: (el: any) => void;
138
- handleMouseenter: (index: number) => void;
140
+ componentsSwitch: import("vue").ComputedRef<boolean>;
141
+ getRxToolTipConfig: () => any;
142
+ rxToolTipSetItem: (el: Element, key: string) => void;
143
+ setItemRef: (el: any, key: string) => void;
144
+ handleMouseenter: (key: string) => void;
139
145
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
140
146
  modelValue: {
141
147
  type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
@@ -145,6 +151,10 @@ declare const _default: import("vue").DefineComponent<{
145
151
  type: import("vue").PropType<import("./RxRadioGroup").RadioType[]>;
146
152
  default: any[];
147
153
  };
154
+ toolTip: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
148
158
  toolTipFormatter: {
149
159
  type: FunctionConstructor;
150
160
  default: any;
@@ -269,6 +279,7 @@ declare const _default: import("vue").DefineComponent<{
269
279
  };
270
280
  }>>, {
271
281
  modelValue: string | number | boolean;
282
+ toolTip: boolean;
272
283
  toolTipConfig: {
273
284
  placement: string;
274
285
  };
@@ -1,6 +1,6 @@
1
- import { Ref } from 'vue';
2
- export declare function useController(itemsRef: Ref<any>, updateRxToolTipConfig: Function): {
3
- itemsRef: Ref<any>;
4
- isOverflowed: Ref<boolean>;
5
- handleMouseenter: (index: number) => void;
1
+ import type { RxRadioGroupPropsType } from 'rx-compo/es/components';
2
+ export declare function useController(props: RxRadioGroupPropsType, updateRxToolTipConfig: Function, getItemsRef: Function, getRxToolTipItemsRef: Function): {
3
+ isOverflowed: import("vue").Ref<boolean>;
4
+ componentsSwitch: import("vue").ComputedRef<boolean>;
5
+ handleMouseenter: (key: string) => void;
6
6
  };
@@ -2,7 +2,10 @@ import { Ref } from 'vue';
2
2
  import { RxRadioGroupPropsType } from '../RxRadioGroup';
3
3
  export declare function useRadioGroup(props: RxRadioGroupPropsType, checkboxGroupValue: Ref<any>): {
4
4
  checkboxGroupValue: Ref<any>;
5
- itemsRef: any;
5
+ itemsRef: Map<any, any>;
6
6
  rxRadioGroupOptionsComputed: import("vue").ComputedRef<import("../RxRadioGroup").RadioType[]>;
7
- setItemRef: (el: any) => void;
7
+ setItemRef: (el: any, key: string) => void;
8
+ rxToolTipSetItem: (el: Element, key: string) => void;
9
+ getRxToolTipItemsRef: () => Map<any, any>;
10
+ getItemsRef: () => Map<any, any>;
8
11
  };
@@ -1,3 +1,4 @@
1
1
  declare const RxScrollbar: any;
2
2
  export { RxScrollbar };
3
3
  export default RxScrollbar;
4
+ export type { RxScrollbarProps, RxScrollbarPropsType, RxScrollbarComponent, RxScrollbarInstance } from './src/RxScrollbar';
@@ -1,3 +1,5 @@
1
- import type { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
2
2
  export declare const RxScrollbarProps: {};
3
3
  export declare type RxScrollbarPropsType = ExtractPropTypes<typeof RxScrollbarProps>;
4
+ export declare type RxScrollbarComponent = DefineComponent<typeof RxScrollbarProps>;
5
+ export declare type RxScrollbarInstance = InstanceType<DefineComponent<typeof RxScrollbarProps>>;
@@ -2,4 +2,4 @@ declare const RxSelect: any;
2
2
  export { RxSelect };
3
3
  export default RxSelect;
4
4
  export type { RxSelectExpose } from './src/types';
5
- export type { RxSelectPropsType, RxSelectInstance, RxSelectComponent } from './src/RxSelect';
5
+ export type { RxSelectProps, RxSelectPropsType, RxSelectInstance, RxSelectComponent } from './src/RxSelect';
@@ -2,4 +2,4 @@ declare const RxSelectPlus: any;
2
2
  export { RxSelectPlus };
3
3
  export default RxSelectPlus;
4
4
  export type { RxSelectPlusExpose } from './src/types';
5
- export type { RxSelectPlusPropsType, RxSelectPlusInstance, RxSelectPlusComponent } from './src/RxSelectPlus';
5
+ export type { RxSelectPlusProps, RxSelectPlusPropsType, RxSelectPlusInstance, RxSelectPlusComponent } from './src/RxSelectPlus';
@@ -1 +1 @@
1
- import{withInstall as e}from"rx-compo/es/utils/with-install";import{computed as o,ref as t,watch as l,nextTick as n,defineComponent as s,onMounted as i,resolveComponent as r,openBlock as u,createElementBlock as c,mergeProps as a,createBlock as p,normalizeProps as x,withCtx as f,createVNode as m,createSlots as d,renderList as T,renderSlot as g,guardReactiveProps as S,createCommentVNode as v,normalizeStyle as h,createTextVNode as R,toDisplayString as C}from"vue";import{useVModel as y}from"@vueuse/core";import{RxScrollbar as P}from"rx-compo/es/components/RxScrollbar";import{RxTooltip as M}from"rx-compo/es/components/RxTooltip";import{RxSelect as V}from"rx-compo/es/components/RxSelect";import{useTextOverflow as w}from"rx-compo/es/utils/useTextOverflow";import{find as O}from"lodash-es";var b=s({name:"RxSelectPlus",components:{RxSelect:V,RxScrollbar:P,RxTooltip:M},props:{modelValue:{type:[Array,String,Number,Boolean,Object],default:""},toolTip:{type:Boolean,default:!0},toolTipConfig:{type:Object,default:{placement:"top"}},options:{type:Array,default:[]}},setup(e,{attrs:s,slots:r,emit:u,expose:c}){const a=t(),p=t(),x=y(e,"modelValue",u),{isOverflowed:f,componentsSwitch:m,handleMouseenter:d}=function(e){const{isOverflowed:t,checkOverflowCustom:l}=w("RxSelectPlus"),n=o((()=>e.toolTip&&t.value));return{isOverflowed:t,componentsSwitch:n,handleMouseenter:function(e){l(e.target)}}}(e),{rxToolTipConfig:T,updateRxToolTipConfig:g,getRxToolTipConfig:S}=function(e,o,l){const n=t();return{rxToolTipConfig:n,updateRxToolTipConfig:function(){var o;const{toolTipConfig:s,options:i,modelValue:r}=e,{width:u}=l.value.getBoundingClientRect(),c={width:(null==s?void 0:s.tooltipWidth)?s.tooltipWidth:`${u}px`,maxHeight:(null==s?void 0:s.maxHeight)?s.maxHeight:"80px"},a=t();if(null==s?void 0:s.content){const{content:e}=s;a.value=e}else a.value=null===(o=O(i,(e=>e.value===r)))||void 0===o?void 0:o.label;n.value=Object.assign(Object.assign({},s),{style:c,content:a.value})},getRxToolTipConfig:function(){return n.value}}}(e,0,a),v=Object.keys(r);return i((()=>{!function(e,o){l((()=>e.value),(()=>{n((()=>{o()}))}),{deep:!0,immediate:!0})}(x,g)})),c({rxSelectPlusRef:a,rxSelectRef:p,updateRxToolTipConfig:g,getRxToolTipConfig:S}),{rxSelectPlusRef:a,rxSelectRef:p,rxToolTipConfig:T,isOverflowed:f,rxSelectModelPlusValue:x,componentsSwitch:m,selectPlusSlots:v,handleMouseenter:d}}});b.render=function(e,o,t,l,n,s){const i=r("rx-select"),y=r("rx-scrollbar"),P=r("rx-tooltip");return u(),c("div",a({ref:"rxSelectPlusRef"},e.$attrs),[e.componentsSwitch?(u(),p(P,x(a({key:0},e.rxToolTipConfig)),{default:f((()=>[m(i,a({modelValue:e.rxSelectModelPlusValue,"onUpdate:modelValue":o[0]||(o[0]=o=>e.rxSelectModelPlusValue=o),class:"rx-select",ref:"rxSelectRef"},e.$attrs,{options:e.options,onMouseenter:e.handleMouseenter}),d({_:2},[T(e.selectPlusSlots,(o=>({name:o,fn:f((t=>[g(e.$slots,`${o}`,x(S(t)))]))})))]),1040,["modelValue","options","onMouseenter"])])),content:f((()=>[v(" 自定义tooltip "),e.$slots.rxToolTipSlot?g(e.$slots,"rxToolTipSlot",{key:0}):(u(),c("div",{key:1,style:h(e.rxToolTipConfig.style)},[v(" 默认模板 "),m(y,{"max-height":e.rxToolTipConfig.style.maxHeight},{default:f((()=>[R(C(e.rxToolTipConfig?.content),1)])),_:1},8,["max-height"])],4))])),_:3},16)):(u(),p(i,a({key:1,modelValue:e.rxSelectModelPlusValue,"onUpdate:modelValue":o[1]||(o[1]=o=>e.rxSelectModelPlusValue=o)},e.$attrs,{ref:"rxSelectRef",class:"rx-select",options:e.options,onMouseenter:e.handleMouseenter}),d({_:2},[T(e.selectPlusSlots,(o=>({name:o,fn:f((t=>[g(e.$slots,`${o}`,x(S(t)))]))})))]),1040,["modelValue","options","onMouseenter"]))],16)},b.__file="packages/components/RxSelectPlus/src/RxSelectPlus.vue";const $=e(b);export{$ as RxSelectPlus,$ as default};
1
+ import{withInstall as e}from"rx-compo/es/utils/with-install";import{ref as o,computed as t,nextTick as l,watch as n,defineComponent as i,onMounted as r,resolveComponent as s,openBlock as p,createElementBlock as u,mergeProps as c,createVNode as a,withCtx as f,createSlots as x,renderList as m,renderSlot as d,normalizeProps as T,guardReactiveProps as g,createCommentVNode as v,normalizeStyle as R,createTextVNode as S,toDisplayString as h}from"vue";import{useVModel as C}from"@vueuse/core";import{RxScrollbar as w}from"rx-compo/es/components/RxScrollbar";import{RxTooltip as y}from"rx-compo/es/components/RxTooltip";import{RxSelect as b}from"rx-compo/es/components/RxSelect";import{useTextOverflow as O}from"rx-compo/es/utils/useTextOverflow";import{find as P}from"lodash-es";var M=i({name:"RxSelectPlus",components:{RxSelect:b,RxScrollbar:w,RxTooltip:y},props:{modelValue:{type:[Array,String,Number,Boolean,Object],default:""},toolTip:{type:Boolean,default:!0},toolTipConfig:{type:Object,default:{placement:"top"}},options:{type:Array,default:[]}},setup(e,{attrs:i,slots:s,emit:p,expose:u}){const c=o(),a=o(),f=C(e,"modelValue",p),{isOverflowed:x,componentsSwitch:m,rxToolTipRef:d,handleMouseenter:T}=function(e){const n=o(),{isOverflowed:i,checkOverflowCustom:r}=O("RxSelectPlus"),s=t((()=>e.toolTip&&i.value));return{rxToolTipRef:n,isOverflowed:i,componentsSwitch:s,handleMouseenter:function(e){r(e.target),l((()=>{s.value&&n.value.rxToolTipRef.onOpen()}))}}}(e),{rxToolTipConfig:g,updateRxToolTipConfig:v,getRxToolTipConfig:R}=function(e,t,l){const n=o();return{rxToolTipConfig:n,updateRxToolTipConfig:function(){var t;const{toolTipConfig:i,options:r,modelValue:s}=e,p=l.value.getBoundingClientRect(),u={width:(null==i?void 0:i.tooltipWidth)?i.tooltipWidth:`${null==p?void 0:p.width}px`,maxHeight:(null==i?void 0:i.maxHeight)?i.maxHeight:"80px"},c=o();if(null==i?void 0:i.content){const{content:e}=i;c.value=e}else c.value=null===(t=P(r,(e=>e.value===s)))||void 0===t?void 0:t.label;n.value=Object.assign(Object.assign({},i),{style:u,content:c.value})},getRxToolTipConfig:function(){return n.value}}}(e,0,c),S=Object.keys(s);return r((()=>{!function(e,o){n((()=>e.value),(()=>{l((()=>{o()}))}),{deep:!0,immediate:!0})}(f,v)})),u({rxSelectPlusRef:c,rxSelectRef:a,updateRxToolTipConfig:v,getRxToolTipConfig:R}),{rxToolTipRef:d,rxSelectPlusRef:c,rxSelectRef:a,rxToolTipConfig:g,isOverflowed:x,rxSelectModelPlusValue:f,componentsSwitch:m,selectPlusSlots:S,handleMouseenter:T}}});M.render=function(e,o,t,l,n,i){const r=s("rx-select"),C=s("rx-scrollbar"),w=s("rx-tooltip");return p(),u("div",c({ref:"rxSelectPlusRef"},e.$attrs),[a(w,c({ref:"rxToolTipRef"},e.rxToolTipConfig,{disabled:!e.componentsSwitch}),{default:f((()=>[a(r,c({modelValue:e.rxSelectModelPlusValue,"onUpdate:modelValue":o[0]||(o[0]=o=>e.rxSelectModelPlusValue=o),class:"rx-select",ref:"rxSelectRef"},e.$attrs,{options:e.options,onMouseenter:e.handleMouseenter}),x({_:2},[m(e.selectPlusSlots,(o=>({name:o,fn:f((t=>[d(e.$slots,`${o}`,T(g(t)))]))})))]),1040,["modelValue","options","onMouseenter"])])),content:f((()=>[v(" 自定义tooltip "),e.$slots.rxToolTipSlot?d(e.$slots,"rxToolTipSlot",{key:0}):(p(),u("div",{key:1,style:R(e.rxToolTipConfig.style)},[v(" 默认模板 "),a(C,{"max-height":e.rxToolTipConfig.style.maxHeight},{default:f((()=>[S(h(e.rxToolTipConfig?.content),1)])),_:1},8,["max-height"])],4))])),_:3},16,["disabled"])],16)},M.__file="packages/components/RxSelectPlus/src/RxSelectPlus.vue";const V=e(M);export{V as RxSelectPlus,V as default};
@@ -106,6 +106,7 @@ declare const _default: import("vue").DefineComponent<{
106
106
  default: any[];
107
107
  };
108
108
  }, {
109
+ rxToolTipRef: import("vue").Ref<any>;
109
110
  rxSelectPlusRef: import("vue").Ref<any>;
110
111
  rxSelectRef: import("vue").Ref<any>;
111
112
  rxToolTipConfig: import("vue").Ref<any>;