rx-compo 1.0.62 → 1.0.64

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 (52) hide show
  1. package/es/components/RxCheckbox/index.js +1 -1
  2. package/es/components/RxCheckbox/src/RxCheckbox.d.ts +6 -1
  3. package/es/components/RxCheckbox/src/RxCheckbox.vue.d.ts +15 -4
  4. package/es/components/RxCheckboxButton/index.d.ts +4 -0
  5. package/es/components/RxCheckboxButton/index.js +1 -0
  6. package/es/components/RxCheckboxButton/src/RxCheckboxButton.d.ts +14 -0
  7. package/es/components/RxCheckboxButton/src/RxCheckboxButton.vue.d.ts +25 -0
  8. package/es/components/RxCheckboxGroup/components/RxCheckboxComponents.vue.d.ts +4 -0
  9. package/es/components/RxCheckboxGroup/index.d.ts +4 -0
  10. package/es/components/RxCheckboxGroup/index.js +1 -0
  11. package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +158 -0
  12. package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +302 -0
  13. package/es/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +12 -0
  14. package/es/components/RxCheckboxGroup/src/hooks/useController.d.ts +6 -0
  15. package/es/components/RxFormPlus/src/components/form-select.vue.d.ts +2 -2
  16. package/es/components/RxSelect/index.d.ts +2 -3
  17. package/es/components/RxSelect/index.js +1 -1
  18. package/es/components/RxSelect/src/RxSelect.d.ts +3 -2
  19. package/es/components/RxSelect/src/types.d.ts +8 -0
  20. package/es/components/RxSelectPlus/index.d.ts +2 -3
  21. package/es/components/RxSelectPlus/src/RxSelectPlus.d.ts +0 -1
  22. package/es/components/RxSelectPlus/src/types.d.ts +10 -0
  23. package/es/components/index.d.ts +1 -0
  24. package/es/components/index.js +1 -1
  25. package/index.esm.js +1 -1
  26. package/index.js +1 -1
  27. package/lib/components/RxCheckbox/index.js +1 -1
  28. package/lib/components/RxCheckbox/src/RxCheckbox.d.ts +6 -1
  29. package/lib/components/RxCheckbox/src/RxCheckbox.vue.d.ts +15 -4
  30. package/lib/components/RxCheckboxButton/index.d.ts +4 -0
  31. package/lib/components/RxCheckboxButton/index.js +1 -0
  32. package/lib/components/RxCheckboxButton/src/RxCheckboxButton.d.ts +14 -0
  33. package/lib/components/RxCheckboxButton/src/RxCheckboxButton.vue.d.ts +25 -0
  34. package/lib/components/RxCheckboxGroup/components/RxCheckboxComponents.vue.d.ts +4 -0
  35. package/lib/components/RxCheckboxGroup/index.d.ts +4 -0
  36. package/lib/components/RxCheckboxGroup/index.js +1 -0
  37. package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +158 -0
  38. package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +302 -0
  39. package/lib/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +12 -0
  40. package/lib/components/RxCheckboxGroup/src/hooks/useController.d.ts +6 -0
  41. package/lib/components/RxFormPlus/src/components/form-select.vue.d.ts +2 -2
  42. package/lib/components/RxSelect/index.d.ts +2 -3
  43. package/lib/components/RxSelect/index.js +1 -1
  44. package/lib/components/RxSelect/src/RxSelect.d.ts +3 -2
  45. package/lib/components/RxSelect/src/types.d.ts +8 -0
  46. package/lib/components/RxSelectPlus/index.d.ts +2 -3
  47. package/lib/components/RxSelectPlus/src/RxSelectPlus.d.ts +0 -1
  48. package/lib/components/RxSelectPlus/src/types.d.ts +10 -0
  49. package/lib/components/index.d.ts +1 -0
  50. package/lib/components/index.js +1 -1
  51. package/package.json +1 -1
  52. package/theme-chalk/rx-checkbox-button.css +0 -0
@@ -0,0 +1,14 @@
1
+ import type { ExtractPropTypes, DefineComponent } from 'vue';
2
+ export declare const RxCheckboxButtonProps: {
3
+ modelValue: {
4
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
5
+ default: boolean;
6
+ };
7
+ slots: {
8
+ type: FunctionConstructor;
9
+ default: any;
10
+ };
11
+ };
12
+ export declare type RxCheckboxButtonPropsType = ExtractPropTypes<typeof RxCheckboxButtonProps>;
13
+ export declare type RxCheckboxButtonComponent = DefineComponent<typeof RxCheckboxButtonProps>;
14
+ export declare type RxCheckboxButtonInstance = InstanceType<DefineComponent<typeof RxCheckboxButtonProps>>;
@@ -0,0 +1,25 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
4
+ default: boolean;
5
+ };
6
+ slots: {
7
+ type: FunctionConstructor;
8
+ default: any;
9
+ };
10
+ }, {
11
+ rxCheckBoxModelValue: import("vue").Ref<string | number | boolean> | import("vue").WritableComputedRef<string | number | boolean>;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ modelValue: {
14
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
15
+ default: boolean;
16
+ };
17
+ slots: {
18
+ type: FunctionConstructor;
19
+ default: any;
20
+ };
21
+ }>>, {
22
+ slots: Function;
23
+ modelValue: string | number | boolean;
24
+ }>;
25
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ rxCheckBoxSlots: string[];
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const RxCheckboxGroup: any;
2
+ export { RxCheckboxGroup };
3
+ export default RxCheckboxGroup;
4
+ export type { RxCheckboxGroupPropsType, RxCheckboxGroupComponent } from './src/RxCheckboxGroup';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("rx-compo/lib/utils"),l=require("element-plus"),n=require("lodash-es"),r=require("@vueuse/core"),c=require("rx-compo/lib/components/RxTooltip"),s=require("rx-compo/lib/components/RxScrollbar"),a=require("rx-compo/lib/utils/useTextOverflow"),i=require("rx-compo/lib/components/RxCheckbox"),p=require("rx-compo/lib/components/RxCheckboxButton");const u={modelValue:t.IxPropTypes.array(),RxCheckboxAll:t.IxPropTypes.bool.def(!1),RxCheckboxAllText:t.IxPropTypes.string.def("全选"),checkBoxOptions:{type:Array,default:[]},toolTipFormatter:{type:Function,default:null},toolTipConfig:{type:Object,default:{placement:"top"}},gutter:t.IxPropTypes.number,justify:{type:String,default:"start"},baseColProps:{type:Object,default:()=>({xl:4,lg:6,md:8,sm:12,xs:24})},isButton:t.IxPropTypes.bool.def(!1),rxCheckBoxAttr:{type:Object,default:{}}};var m=o.defineComponent({name:"RxCheckboxComponents",components:{RxCheckbox:i.RxCheckbox,RxCheckboxButton:p.RxCheckboxButton},setup:(e,{slots:o})=>({rxCheckBoxSlots:Object.keys(o)})});m.render=function(e,t,l,n,r,c){const s=o.resolveComponent("rx-checkbox-button"),a=o.resolveComponent("rx-checkbox");return e.$attrs.isButton?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.$attrs.isButton)),o.createSlots({_:2},[o.renderList(e.rxCheckBoxSlots,(t=>({name:t,fn:o.withCtx((l=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(l)))]))})))]),1040)):(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},e.$attrs)),o.createSlots({_:2},[o.renderList(e.rxCheckBoxSlots,(t=>({name:t,fn:o.withCtx((l=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(l)))]))})))]),1040))},m.__file="packages/components/RxCheckboxGroup/components/RxCheckboxComponents.vue";var x=o.defineComponent({name:"RxCheckboxGroup",components:{ElCheckboxGroup:l.ElCheckboxGroup,ElRow:l.ElRow,ElCol:l.ElCol,RxCheckboxComponents:m,RxScrollbar:s.RxScrollbar,RxTooltip:c.RxTooltip},props:u,setup(e,{emit:t}){const l=r.useVModel(e,"modelValue",t),{isIndeterminate:c,checkAll:s,checkBoxOptionsComputed:i,itemsRef:p,setItemRef:u,handleCheckAllChange:m,handleCheckedChange:x}=function(e,t){const l=o.computed((()=>e.checkBoxOptions||[])),r=o.ref([]),c=o.ref(!0),s=o.ref(!1);return{isIndeterminate:c,checkAll:s,checkboxGroupValue:t,itemsRef:r,checkBoxOptionsComputed:l,setItemRef:e=>{e&&r.value.push(e)},handleCheckAllChange:e=>{t.value=e?n.map(l.value,(e=>e.label)):[],c.value=!1},handleCheckedChange:e=>{const o=e.length;s.value=o===l.value.length,c.value=o>0&&o<l.value.length}}}(e,l),{rxToolTipConfig:h,updateRxToolTipConfig:d}=function(e){const t=o.ref();return{rxToolTipConfig:t,updateRxToolTipConfig:function(o,l){const{toolTipConfig:n}=e,{width:r}=o.getBoundingClientRect(),c={width:`${r}px`,maxHeight:(null==n?void 0:n.maxHeight)?n.maxHeight:"80px"};t.value=Object.assign(Object.assign({},n),{style:c})}}}(e),{isOverflowed:k,handleMouseenter:C}=function(e,t){const{isOverflowed:l,checkOverflowCustom:n}=a.useTextOverflow("RxCheckbox");return{itemsRef:e,isOverflowed:l,handleMouseenter:function(l){const r=e.value[l].$el;n(r),o.nextTick((()=>t(r)))}}}(p,d);return{isIndeterminate:c,checkboxGroupValue:l,checkAll:s,rxToolTipConfig:h,isOverflowed:k,itemsRef:p,checkBoxOptionsComputed:i,setItemRef:u,handleMouseenter:C,handleCheckAllChange:m,handleCheckedChange:x}}});const h={key:0,class:"rx-checkbox-group"};x.render=function(e,t,l,n,r,c){const s=o.resolveComponent("RxCheckboxComponents"),a=o.resolveComponent("rx-scrollbar"),i=o.resolveComponent("rx-tooltip"),p=o.resolveComponent("el-col"),u=o.resolveComponent("el-row"),m=o.resolveComponent("el-checkbox-group");return o.openBlock(),o.createElementBlock(o.Fragment,null,[e.RxCheckboxAll?(o.openBlock(),o.createElementBlock("div",h,[o.createCommentVNode(" 自定义全选按钮 "),e.$slots.checkAllSlots?o.renderSlot(e.$slots,"checkAllSlots",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 默认全选按钮 "),o.createVNode(s,{modelValue:e.checkAll,"onUpdate:modelValue":t[0]||(t[0]=o=>e.checkAll=o),isButton:!1,indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(e.RxCheckboxAllText),1)])),_:1},8,["modelValue","indeterminate","onChange"])],2112))])):o.createCommentVNode("v-if",!0),o.createVNode(m,o.mergeProps({...e.$attrs,...e.$props},{modelValue:e.checkboxGroupValue,"onUpdate:modelValue":t[1]||(t[1]=o=>e.checkboxGroupValue=o),onChange:e.handleCheckedChange,class:"rx-checkbox-group"}),{default:o.withCtx((()=>[o.createCommentVNode(" 模板默认插槽 "),e.$slots.default?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 配置 "),o.createVNode(u,{gutter:e.gutter,type:"flex",class:o.normalizeClass(`justify-${e.justify}`)},{default:o.withCtx((()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.checkBoxOptionsComputed,((t,l)=>(o.openBlock(),o.createBlock(p,o.mergeProps({key:l,ref_for:!0,ref:e.setItemRef,style:`${t.colStyle||""}`,class:`${t.colClass||""}`},t.colProps||e.baseColProps),{default:o.withCtx((()=>[o.createCommentVNode(" 溢出隐藏 "),e.isOverflowed?(o.openBlock(),o.createBlock(i,o.normalizeProps(o.mergeProps({key:0},e.rxToolTipConfig)),{content:o.withCtx((()=>[o.createCommentVNode(" checkBoxOptions[index].slots options可自定义配置h函数模板 "),t.toolTipSlots?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.toolTipSlots.call(null,t)),o.normalizeProps(o.mergeProps({key:0},t)),null,16)):e.toolTipFormatter?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" props toolTipFormatter 通配h函数模板 "),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.toolTipFormatter.call(null,t)),o.normalizeProps(o.guardReactiveProps(t)),null,16))],2112)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createCommentVNode(" 默认渲染模板 "),o.createElementVNode("div",{style:o.normalizeStyle(e.rxToolTipConfig.style)},[o.createVNode(a,{"max-height":e.rxToolTipConfig.style.maxHeight},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(t?.toolTipContent),1)])),_:2},1032,["max-height"])],4)],2112))])),default:o.withCtx((()=>[o.createVNode(s,o.mergeProps({...e.rxCheckBoxAttr,...t},{isButton:e.isButton,onMouseenter:o=>e.handleMouseenter(l)}),null,16,["isButton","onMouseenter"])])),_:2},1040)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 默认checkbox "),o.createVNode(s,o.mergeProps({...e.rxCheckBoxAttr,...t},{isButton:e.isButton,onMouseenter:o=>e.handleMouseenter(l)}),null,16,["isButton","onMouseenter"])],2112))])),_:2},1040,["style","class"])))),128))])),_:1},8,["gutter","class"])],64))])),_:3},16,["modelValue","onChange"])],64)},x.__file="packages/components/RxCheckboxGroup/src/RxCheckboxGroup.vue";const d=e.withInstall(x);exports.RxCheckboxGroup=d,exports.default=d;
@@ -0,0 +1,158 @@
1
+ import type { ExtractPropTypes, DefineComponent, PropType } from 'vue';
2
+ import type { RxCheckboxPropsType, RxCheckboxButtonPropsType } from 'rx-compo/es/components';
3
+ declare type RxCheckBoxComponents = RxCheckboxPropsType & RxCheckboxButtonPropsType;
4
+ export interface ColObject {
5
+ span?: number;
6
+ offset?: number;
7
+ }
8
+ export interface ColProps {
9
+ tag?: string;
10
+ span?: number;
11
+ offset?: number;
12
+ pull?: number;
13
+ push?: number;
14
+ xs?: number | ColObject;
15
+ sm?: number | ColObject;
16
+ md?: number | ColObject;
17
+ lg?: number | ColObject;
18
+ xl?: number | ColObject;
19
+ }
20
+ export interface CheckBoxType extends RxCheckBoxComponents {
21
+ toolTipContent?: string;
22
+ toolTipSlots?: Function;
23
+ colProps?: ColProps;
24
+ colStyle?: string;
25
+ colClass?: string;
26
+ label: string;
27
+ }
28
+ export declare const RxCheckboxGroupProps: {
29
+ modelValue: import("vue-types").VueTypeValidableDef<unknown[]>;
30
+ RxCheckboxAll: import("vue-types").VueTypeValidableDef<boolean> & {
31
+ default: boolean;
32
+ };
33
+ RxCheckboxAllText: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ checkBoxOptions: {
37
+ type: PropType<CheckBoxType[]>;
38
+ default: any[];
39
+ };
40
+ toolTipFormatter: {
41
+ type: FunctionConstructor;
42
+ default: any;
43
+ };
44
+ toolTipConfig: {
45
+ type: PropType<{} & {
46
+ readonly disabled?: boolean;
47
+ readonly onClick?: Function;
48
+ readonly style?: import("vue").StyleValue;
49
+ readonly id?: string;
50
+ readonly popperClass?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
51
+ [x: string]: boolean;
52
+ } | (string | {
53
+ [x: string]: boolean;
54
+ } | (string | {
55
+ [x: string]: boolean;
56
+ } | (string | {
57
+ [x: string]: boolean;
58
+ } | (string | {
59
+ [x: string]: boolean;
60
+ } | (string | {
61
+ [x: string]: boolean;
62
+ } | (string | {
63
+ [x: string]: boolean;
64
+ } | (string | {
65
+ [x: string]: boolean;
66
+ } | (string | {
67
+ [x: string]: boolean;
68
+ } | (string | {
69
+ [x: string]: boolean;
70
+ } | (string | any[] | {
71
+ [x: string]: boolean;
72
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
73
+ readonly popperOptions?: unknown;
74
+ readonly zIndex?: number;
75
+ readonly onBlur?: Function;
76
+ readonly onFocus?: Function;
77
+ readonly onMouseleave?: Function;
78
+ readonly onMouseenter?: Function;
79
+ readonly onKeydown?: Function;
80
+ readonly visible?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean>, unknown, unknown>;
81
+ readonly effect?: string;
82
+ readonly teleported?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
83
+ readonly persistent?: boolean;
84
+ openDelay?: number;
85
+ visibleArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
86
+ readonly hideAfter?: number;
87
+ showArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
88
+ readonly appendTo?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | HTMLElement>, unknown, unknown>;
89
+ readonly content?: string;
90
+ readonly rawContent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
91
+ readonly ariaLabel?: string;
92
+ readonly transition?: string;
93
+ readonly className?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
94
+ [x: string]: boolean;
95
+ } | (string | {
96
+ [x: string]: boolean;
97
+ } | (string | {
98
+ [x: string]: boolean;
99
+ } | (string | {
100
+ [x: string]: boolean;
101
+ } | (string | {
102
+ [x: string]: boolean;
103
+ } | (string | {
104
+ [x: string]: boolean;
105
+ } | (string | {
106
+ [x: string]: boolean;
107
+ } | (string | {
108
+ [x: string]: boolean;
109
+ } | (string | {
110
+ [x: string]: boolean;
111
+ } | (string | {
112
+ [x: string]: boolean;
113
+ } | (string | any[] | {
114
+ [x: string]: boolean;
115
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
116
+ readonly enterable?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
117
+ readonly pure?: boolean;
118
+ readonly popperStyle?: import("vue").StyleValue;
119
+ readonly referenceEl?: HTMLElement;
120
+ readonly stopPopperMouseEvent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
121
+ readonly boundariesPadding?: number;
122
+ readonly fallbackPlacements?: import("element-plus").Placement;
123
+ readonly gpuAcceleration?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
124
+ readonly offset?: number;
125
+ readonly placement?: import("element-plus/es/utils").BuildPropType<StringConstructor, import("element-plus").Placement, unknown>;
126
+ readonly strategy?: import("element-plus/es/utils").BuildPropType<StringConstructor, "fixed" | "absolute", unknown>;
127
+ readonly showAfter?: number;
128
+ readonly trigger?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"focus" | "hover" | "click" | "contextmenu" | ("focus" | "hover" | "click" | "contextmenu")[]>, unknown, unknown>;
129
+ readonly virtualRef?: import("element-plus").Measurable;
130
+ readonly virtualTriggering?: boolean;
131
+ readonly onContextmenu?: Function;
132
+ readonly open?: boolean;
133
+ } & ScrollbarMaxHeight>;
134
+ default: {
135
+ placement: string;
136
+ };
137
+ };
138
+ gutter: import("vue-types").VueTypeValidableDef<number>;
139
+ justify: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ baseColProps: {
144
+ type: PropType<ColProps>;
145
+ default: () => ColProps;
146
+ };
147
+ isButton: import("vue-types").VueTypeValidableDef<boolean> & {
148
+ default: boolean;
149
+ };
150
+ rxCheckBoxAttr: {
151
+ type: PropType<RxCheckBoxComponents>;
152
+ default: {};
153
+ };
154
+ };
155
+ export declare type RxCheckboxGroupPropsType = ExtractPropTypes<typeof RxCheckboxGroupProps>;
156
+ export declare type RxCheckboxGroupComponent = DefineComponent<typeof RxCheckboxGroupProps>;
157
+ export declare type RxCheckboxGroupInstance = InstanceType<DefineComponent<typeof RxCheckboxGroupProps>>;
158
+ export {};
@@ -0,0 +1,302 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: import("vue-types").VueTypeValidableDef<unknown[]>;
3
+ RxCheckboxAll: import("vue-types").VueTypeValidableDef<boolean> & {
4
+ default: boolean;
5
+ };
6
+ RxCheckboxAllText: import("vue-types").VueTypeValidableDef<string> & {
7
+ default: string;
8
+ };
9
+ checkBoxOptions: {
10
+ type: import("vue").PropType<import("./RxCheckboxGroup").CheckBoxType[]>;
11
+ default: any[];
12
+ };
13
+ toolTipFormatter: {
14
+ type: FunctionConstructor;
15
+ default: any;
16
+ };
17
+ toolTipConfig: {
18
+ type: import("vue").PropType<{} & {
19
+ readonly disabled?: boolean;
20
+ readonly onClick?: Function;
21
+ readonly style?: import("vue").StyleValue;
22
+ readonly id?: string;
23
+ readonly popperClass?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
24
+ [x: string]: boolean;
25
+ } | (string | {
26
+ [x: string]: boolean;
27
+ } | (string | {
28
+ [x: string]: boolean;
29
+ } | (string | {
30
+ [x: string]: boolean;
31
+ } | (string | {
32
+ [x: string]: boolean;
33
+ } | (string | {
34
+ [x: string]: boolean;
35
+ } | (string | {
36
+ [x: string]: boolean;
37
+ } | (string | {
38
+ [x: string]: boolean;
39
+ } | (string | {
40
+ [x: string]: boolean;
41
+ } | (string | {
42
+ [x: string]: boolean;
43
+ } | (string | any[] | {
44
+ [x: string]: boolean;
45
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
46
+ readonly popperOptions?: unknown;
47
+ readonly zIndex?: number;
48
+ readonly onBlur?: Function;
49
+ readonly onFocus?: Function;
50
+ readonly onMouseleave?: Function;
51
+ readonly onMouseenter?: Function;
52
+ readonly onKeydown?: Function;
53
+ readonly visible?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean>, unknown, unknown>;
54
+ readonly effect?: string;
55
+ readonly teleported?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
56
+ readonly persistent?: boolean;
57
+ openDelay?: number;
58
+ visibleArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
59
+ readonly hideAfter?: number;
60
+ showArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
61
+ readonly appendTo?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | HTMLElement>, unknown, unknown>;
62
+ readonly content?: string;
63
+ readonly rawContent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
64
+ readonly ariaLabel?: string;
65
+ readonly transition?: string;
66
+ readonly className?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
67
+ [x: string]: boolean;
68
+ } | (string | {
69
+ [x: string]: boolean;
70
+ } | (string | {
71
+ [x: string]: boolean;
72
+ } | (string | {
73
+ [x: string]: boolean;
74
+ } | (string | {
75
+ [x: string]: boolean;
76
+ } | (string | {
77
+ [x: string]: boolean;
78
+ } | (string | {
79
+ [x: string]: boolean;
80
+ } | (string | {
81
+ [x: string]: boolean;
82
+ } | (string | {
83
+ [x: string]: boolean;
84
+ } | (string | {
85
+ [x: string]: boolean;
86
+ } | (string | any[] | {
87
+ [x: string]: boolean;
88
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
89
+ readonly enterable?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
90
+ readonly pure?: boolean;
91
+ readonly popperStyle?: import("vue").StyleValue;
92
+ readonly referenceEl?: HTMLElement;
93
+ readonly stopPopperMouseEvent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
94
+ readonly boundariesPadding?: number;
95
+ readonly fallbackPlacements?: import("element-plus").Placement;
96
+ readonly gpuAcceleration?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
97
+ readonly offset?: number;
98
+ readonly placement?: import("element-plus/es/utils").BuildPropType<StringConstructor, import("element-plus").Placement, unknown>;
99
+ readonly strategy?: import("element-plus/es/utils").BuildPropType<StringConstructor, "fixed" | "absolute", unknown>;
100
+ readonly showAfter?: number;
101
+ readonly trigger?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"focus" | "hover" | "click" | "contextmenu" | ("focus" | "hover" | "click" | "contextmenu")[]>, unknown, unknown>;
102
+ readonly virtualRef?: import("element-plus").Measurable;
103
+ readonly virtualTriggering?: boolean;
104
+ readonly onContextmenu?: Function;
105
+ readonly open?: boolean;
106
+ } & ScrollbarMaxHeight>;
107
+ default: {
108
+ placement: string;
109
+ };
110
+ };
111
+ gutter: import("vue-types").VueTypeValidableDef<number>;
112
+ justify: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ baseColProps: {
117
+ type: import("vue").PropType<import("./RxCheckboxGroup").ColProps>;
118
+ default: () => import("./RxCheckboxGroup").ColProps;
119
+ };
120
+ isButton: import("vue-types").VueTypeValidableDef<boolean> & {
121
+ default: boolean;
122
+ };
123
+ rxCheckBoxAttr: {
124
+ type: import("vue").PropType<{
125
+ modelValue: string | number | boolean;
126
+ } & {
127
+ slots?: Function;
128
+ } & {
129
+ modelValue: string | number | boolean;
130
+ } & {
131
+ slots?: Function;
132
+ }>;
133
+ default: {};
134
+ };
135
+ }, {
136
+ isIndeterminate: import("vue").Ref<boolean>;
137
+ checkboxGroupValue: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
138
+ checkAll: import("vue").Ref<boolean>;
139
+ rxToolTipConfig: import("vue").Ref<any>;
140
+ isOverflowed: import("vue").Ref<boolean>;
141
+ itemsRef: any;
142
+ checkBoxOptionsComputed: import("vue").ComputedRef<import("./RxCheckboxGroup").CheckBoxType[]>;
143
+ setItemRef: (el: any) => void;
144
+ handleMouseenter: (index: number) => void;
145
+ handleCheckAllChange: (val: any) => void;
146
+ handleCheckedChange: (value: any) => void;
147
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
148
+ modelValue: import("vue-types").VueTypeValidableDef<unknown[]>;
149
+ RxCheckboxAll: import("vue-types").VueTypeValidableDef<boolean> & {
150
+ default: boolean;
151
+ };
152
+ RxCheckboxAllText: import("vue-types").VueTypeValidableDef<string> & {
153
+ default: string;
154
+ };
155
+ checkBoxOptions: {
156
+ type: import("vue").PropType<import("./RxCheckboxGroup").CheckBoxType[]>;
157
+ default: any[];
158
+ };
159
+ toolTipFormatter: {
160
+ type: FunctionConstructor;
161
+ default: any;
162
+ };
163
+ toolTipConfig: {
164
+ type: import("vue").PropType<{} & {
165
+ readonly disabled?: boolean;
166
+ readonly onClick?: Function;
167
+ readonly style?: import("vue").StyleValue;
168
+ readonly id?: string;
169
+ readonly popperClass?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
170
+ [x: string]: boolean;
171
+ } | (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 | any[] | {
190
+ [x: string]: boolean;
191
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
192
+ readonly popperOptions?: unknown;
193
+ readonly zIndex?: number;
194
+ readonly onBlur?: Function;
195
+ readonly onFocus?: Function;
196
+ readonly onMouseleave?: Function;
197
+ readonly onMouseenter?: Function;
198
+ readonly onKeydown?: Function;
199
+ readonly visible?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean>, unknown, unknown>;
200
+ readonly effect?: string;
201
+ readonly teleported?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
202
+ readonly persistent?: boolean;
203
+ openDelay?: number;
204
+ visibleArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
205
+ readonly hideAfter?: number;
206
+ showArrow?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
207
+ readonly appendTo?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | HTMLElement>, unknown, unknown>;
208
+ readonly content?: string;
209
+ readonly rawContent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
210
+ readonly ariaLabel?: string;
211
+ readonly transition?: string;
212
+ readonly className?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | {
213
+ [x: string]: boolean;
214
+ } | (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 | any[] | {
233
+ [x: string]: boolean;
234
+ })[])[])[])[])[])[])[])[])[])[]>, unknown, unknown>;
235
+ readonly enterable?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
236
+ readonly pure?: boolean;
237
+ readonly popperStyle?: import("vue").StyleValue;
238
+ readonly referenceEl?: HTMLElement;
239
+ readonly stopPopperMouseEvent?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
240
+ readonly boundariesPadding?: number;
241
+ readonly fallbackPlacements?: import("element-plus").Placement;
242
+ readonly gpuAcceleration?: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
243
+ readonly offset?: number;
244
+ readonly placement?: import("element-plus/es/utils").BuildPropType<StringConstructor, import("element-plus").Placement, unknown>;
245
+ readonly strategy?: import("element-plus/es/utils").BuildPropType<StringConstructor, "fixed" | "absolute", unknown>;
246
+ readonly showAfter?: number;
247
+ readonly trigger?: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<"focus" | "hover" | "click" | "contextmenu" | ("focus" | "hover" | "click" | "contextmenu")[]>, unknown, unknown>;
248
+ readonly virtualRef?: import("element-plus").Measurable;
249
+ readonly virtualTriggering?: boolean;
250
+ readonly onContextmenu?: Function;
251
+ readonly open?: boolean;
252
+ } & ScrollbarMaxHeight>;
253
+ default: {
254
+ placement: string;
255
+ };
256
+ };
257
+ gutter: import("vue-types").VueTypeValidableDef<number>;
258
+ justify: {
259
+ type: StringConstructor;
260
+ default: string;
261
+ };
262
+ baseColProps: {
263
+ type: import("vue").PropType<import("./RxCheckboxGroup").ColProps>;
264
+ default: () => import("./RxCheckboxGroup").ColProps;
265
+ };
266
+ isButton: import("vue-types").VueTypeValidableDef<boolean> & {
267
+ default: boolean;
268
+ };
269
+ rxCheckBoxAttr: {
270
+ type: import("vue").PropType<{
271
+ modelValue: string | number | boolean;
272
+ } & {
273
+ slots?: Function;
274
+ } & {
275
+ modelValue: string | number | boolean;
276
+ } & {
277
+ slots?: Function;
278
+ }>;
279
+ default: {};
280
+ };
281
+ }>>, {
282
+ toolTipConfig: {
283
+ placement: string;
284
+ };
285
+ justify: string;
286
+ baseColProps: import("./RxCheckboxGroup").ColProps;
287
+ isButton: boolean;
288
+ RxCheckboxAll: boolean;
289
+ RxCheckboxAllText: string;
290
+ checkBoxOptions: import("./RxCheckboxGroup").CheckBoxType[];
291
+ toolTipFormatter: Function;
292
+ rxCheckBoxAttr: {
293
+ modelValue: string | number | boolean;
294
+ } & {
295
+ slots?: Function;
296
+ } & {
297
+ modelValue: string | number | boolean;
298
+ } & {
299
+ slots?: Function;
300
+ };
301
+ }>;
302
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Ref } from 'vue';
2
+ import { RxCheckboxGroupPropsType, CheckBoxType } from '../RxCheckboxGroup';
3
+ export declare function useCheckboxGroup(props: RxCheckboxGroupPropsType, checkboxGroupValue: Ref<any>): {
4
+ isIndeterminate: Ref<boolean>;
5
+ checkAll: Ref<boolean>;
6
+ checkboxGroupValue: Ref<any>;
7
+ itemsRef: any;
8
+ checkBoxOptionsComputed: import("vue").ComputedRef<CheckBoxType[]>;
9
+ setItemRef: (el: any) => void;
10
+ handleCheckAllChange: (val: any) => void;
11
+ handleCheckedChange: (value: any) => void;
12
+ };
@@ -0,0 +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;
6
+ };
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- options: (ObjectConstructor | ArrayConstructor | FunctionConstructor)[];
2
+ options: (ObjectConstructor | FunctionConstructor | ArrayConstructor)[];
3
3
  immediate: BooleanConstructor;
4
4
  }, {
5
5
  calcOptions: import("vue").Ref<{
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  filterable: import("vue").ComputedRef<true>;
13
13
  remoteMethod: import("vue").ComputedRef<(value?: string) => Promise<void>>;
14
14
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- options: (ObjectConstructor | ArrayConstructor | FunctionConstructor)[];
15
+ options: (ObjectConstructor | FunctionConstructor | ArrayConstructor)[];
16
16
  immediate: BooleanConstructor;
17
17
  }>>, {
18
18
  immediate: boolean;
@@ -1,6 +1,5 @@
1
- import { RxSelectPropsType } from './src/RxSelect';
2
- import { RxSelectExpose } from './src/types';
3
1
  declare const RxSelect: any;
4
2
  export { RxSelect };
5
- export type { RxSelectPropsType, RxSelectExpose };
6
3
  export default RxSelect;
4
+ export type { RxSelectExpose } from './src/types';
5
+ export type { RxSelectPropsType, RxSelectInstance, RxSelectComponent } from './src/RxSelect';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),t=require("vue"),o=require("@vueuse/core"),l=require("element-plus"),r=require("rx-compo/lib/components/RxOption");const n={modelValue:{type:[Array,String,Number,Boolean,Object],default:""},options:{type:Array,default:[]},formatter:{type:Function,default:null}};var c=t.defineComponent({name:"RxSelect",components:{ElSelect:l.ElSelect,RxOption:r.RxOption},props:n,setup(e,{attrs:l,emit:r,expose:n}){const c=t.ref(),s=o.useVModel(e,"modelValue",r),{rxSelectDropDownClass:p,updateRxSelectDropDown:u,getRxSelectDropDownConfig:a}=function(e,o){const l="rx-select-drop-option",r=t.ref(l);return{rxSelectDropDownClass:r,updateRxSelectDropDown:function(){const{popperClass:e}=o;r.value=e?`rx-select-drop-option ${e}`:"rx-select-drop-option"},getRxSelectDropDownConfig:function(){return r.value}}}(0,l),{rxSelectConfig:i,updateRxSelectPlusConfig:f,getRxSelectPlusConfig:x}=function(e,o){const l=t.ref();return{rxSelectConfig:l,updateRxSelectPlusConfig:function(){l.value={popperClass:t.computed((()=>t.unref(o)))}},getRxSelectPlusConfig:function(){return Object.assign(Object.assign({},e),l.value)}}}(l,p);return t.onMounted((()=>{!function(e,t){e(),t()}(u,f)})),n({rxSelectRef:c,updateRxSelectPlusConfig:f,updateRxSelectDropDown:u,getRxSelectPlusConfig:x,getRxSelectDropDownConfig:a}),{rxSelectRef:c,rxSelectConfig:i,rxSelectModelValue:s}}});c.render=function(e,o,l,r,n,c){const s=t.resolveComponent("rx-option"),p=t.resolveComponent("el-select");return t.openBlock(),t.createBlock(p,t.mergeProps({modelValue:e.rxSelectModelValue,"onUpdate:modelValue":o[0]||(o[0]=t=>e.rxSelectModelValue=t),class:"rx-select",ref:"rxSelectRef"},{...e.$attrs,...e.rxSelectConfig}),t.createSlots({default:t.withCtx((()=>[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.options,((o,l)=>(t.openBlock(),t.createBlock(s,t.mergeProps({key:l},o,o),{default:t.withCtx((()=>[e.formatter?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.formatter.call(null,o)),t.normalizeProps(t.mergeProps({key:0},o)),null,16)):o.slots?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.slots.call(null,o)),t.normalizeProps(t.mergeProps({key:1},o)),null,16)):t.createCommentVNode("v-if",!0)])),_:2},1040)))),128))])),_:2},[e.$slots.prefix?{name:"prefix",fn:t.withCtx((()=>[t.renderSlot(e.$slots,"prefix")]))}:void 0,e.$slots.empty?{name:"empty",fn:t.withCtx((()=>[t.renderSlot(e.$slots,"empty")]))}:void 0]),1040,["modelValue"])},c.__file="packages/components/RxSelect/src/RxSelect.vue";const s=e.withInstall(c);exports.RxSelect=s,exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),t=require("vue"),o=require("@vueuse/core"),l=require("element-plus"),r=require("rx-compo/lib/components/RxOption");const n={modelValue:{type:[Array,String,Number,Boolean,Object],default:""},options:{type:Array,default:[]},formatter:{type:Function,default:null}};var c=t.defineComponent({name:"RxSelect",components:{ElSelect:l.ElSelect,RxOption:r.RxOption},props:n,setup(e,{attrs:l,emit:r,expose:n}){const c=t.ref(),s=o.useVModel(e,"modelValue",r),{rxSelectDropDownClass:p,updateRxSelectDropDown:u,getRxSelectDropDownConfig:a}=function(e,o){const l="rx-select-drop-option",r=t.ref(l);return{rxSelectDropDownClass:r,updateRxSelectDropDown:function(){const{popperClass:e}=o;r.value=e?`rx-select-drop-option ${e}`:"rx-select-drop-option"},getRxSelectDropDownConfig:function(){return r.value}}}(0,l),{rxSelectConfig:i,updateRxSelectPlusConfig:f,getRxSelectPlusConfig:x}=function(e,o){const l=t.ref();return{rxSelectConfig:l,updateRxSelectPlusConfig:function(){l.value={popperClass:t.computed((()=>t.unref(o)))}},getRxSelectPlusConfig:function(){return Object.assign(Object.assign({},e),l.value)}}}(l,p);return t.onMounted((()=>{!function(e,t){e(),t()}(u,f)})),n({rxSelectRef:c,updateRxSelectPlusConfig:f,updateRxSelectDropDown:u,getRxSelectPlusConfig:x,getRxSelectDropDownConfig:a}),{rxSelectRef:c,rxSelectConfig:i,rxSelectModelValue:s}}});c.render=function(e,o,l,r,n,c){const s=t.resolveComponent("rx-option"),p=t.resolveComponent("el-select");return t.openBlock(),t.createBlock(p,t.mergeProps({modelValue:e.rxSelectModelValue,"onUpdate:modelValue":o[0]||(o[0]=t=>e.rxSelectModelValue=t),class:"rx-select",ref:"rxSelectRef"},{...e.$attrs,...e.rxSelectConfig}),t.createSlots({default:t.withCtx((()=>[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.options,((o,l)=>(t.openBlock(),t.createBlock(s,t.mergeProps({key:l},o,o),{default:t.withCtx((()=>[o.slots?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.slots.call(null,o)),t.normalizeProps(t.mergeProps({key:0},o)),null,16)):e.formatter?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.formatter.call(null,o)),t.normalizeProps(t.mergeProps({key:1},o)),null,16)):t.createCommentVNode("v-if",!0)])),_:2},1040)))),128))])),_:2},[e.$slots.prefix?{name:"prefix",fn:t.withCtx((()=>[t.renderSlot(e.$slots,"prefix")]))}:void 0,e.$slots.empty?{name:"empty",fn:t.withCtx((()=>[t.renderSlot(e.$slots,"empty")]))}:void 0]),1040,["modelValue"])},c.__file="packages/components/RxSelect/src/RxSelect.vue";const s=e.withInstall(c);exports.RxSelect=s,exports.default=s;
@@ -1,6 +1,5 @@
1
- import type { ExtractPropTypes, PropType } from 'vue';
1
+ import type { ExtractPropTypes, PropType, DefineComponent } from 'vue';
2
2
  import type { RxOptionPropsType } from 'rx-compo/es/components';
3
- export type { RxSelectExpose } from './types';
4
3
  export declare const RxSelectProps: {
5
4
  modelValue: {
6
5
  type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
@@ -16,3 +15,5 @@ export declare const RxSelectProps: {
16
15
  };
17
16
  };
18
17
  export declare type RxSelectPropsType = ExtractPropTypes<typeof RxSelectProps>;
18
+ export declare type RxSelectComponent = DefineComponent<typeof RxSelectProps>;
19
+ export declare type RxSelectInstance = InstanceType<DefineComponent<typeof RxSelectProps>>;
@@ -0,0 +1,8 @@
1
+ import { RxSelectInstance } from './RxSelect';
2
+ export interface RxSelectExpose {
3
+ rxSelectRef: RxSelectInstance;
4
+ updateRxSelectPlusConfig: () => void;
5
+ updateRxSelectDropDown: () => void;
6
+ getRxSelectConfig: () => any;
7
+ getRxSelectDropDownConfig: () => any;
8
+ }
@@ -1,6 +1,5 @@
1
- import { RxSelectPlusExpose } from './src/types';
2
1
  declare const RxSelectPlus: any;
3
2
  export { RxSelectPlus };
4
- export type { RxSelectPlusExpose };
5
3
  export default RxSelectPlus;
6
- export type { RxSelectPlusPropsType, RxSelectPlusComponent } from './src/RxSelectPlus';
4
+ export type { RxSelectPlusExpose } from './src/types';
5
+ export type { RxSelectPlusPropsType, RxSelectPlusInstance, RxSelectPlusComponent } from './src/RxSelectPlus';
@@ -1,7 +1,6 @@
1
1
  import type { ExtractPropTypes, PropType, DefineComponent } from 'vue';
2
2
  import type { RxOptionPropsType } from 'rx-compo/es/components';
3
3
  import { ScrollbarMaxHeight } from './types';
4
- export type { RxSelectPlusExpose } from './types';
5
4
  export declare type SelectType = ExtractPropTypes<Array<any> & String>;
6
5
  export declare const RxSelectPlusProps: {
7
6
  modelValue: {
@@ -0,0 +1,10 @@
1
+ import { RxSelectPlusInstance, RxSelectInstance } from 'rx-compo/es/components';
2
+ export interface ScrollbarMaxHeight {
3
+ maxHeight?: number;
4
+ }
5
+ export interface RxSelectPlusExpose {
6
+ rxSelectPlusRef: RxSelectPlusInstance;
7
+ rxSelectRef: RxSelectInstance;
8
+ updateRxToolTipConfig: () => void;
9
+ getRxToolTipConfig: () => any;
10
+ }