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.
- package/es/components/RxCheckbox/index.d.ts +1 -1
- package/es/components/RxCheckboxButton/index.d.ts +1 -1
- package/es/components/RxCheckboxGroup/index.d.ts +1 -1
- package/es/components/RxCheckboxGroup/index.js +1 -1
- package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +4 -0
- package/es/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +14 -5
- package/es/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +5 -2
- package/es/components/RxCheckboxGroup/src/hooks/useController.d.ts +4 -5
- package/es/components/RxDatePicker/index.d.ts +1 -1
- package/es/components/RxDatePicker/index.js +1 -1
- package/es/components/RxDatePicker/src/RxDatePicker.d.ts +2 -2
- package/es/components/RxDropDown/index.d.ts +4 -0
- package/es/components/RxDropDown/index.js +1 -0
- package/es/components/RxDropDown/src/RxDropDown.d.ts +7 -0
- package/es/components/RxDropDown/src/RxDropDown.vue.d.ts +8 -0
- package/es/components/RxDropDownItem/index.d.ts +4 -0
- package/es/components/RxDropDownItem/index.js +1 -0
- package/es/components/RxDropDownItem/src/RxDropDownItem.d.ts +5 -0
- package/es/components/RxDropDownItem/src/RxDropDownItem.vue.d.ts +8 -0
- package/es/components/RxDropDownMenu/index.d.ts +4 -0
- package/es/components/RxDropDownMenu/index.js +1 -0
- package/es/components/RxDropDownMenu/src/RxDropDownMenu.d.ts +5 -0
- package/es/components/RxDropDownMenu/src/RxDropDownMenu.vue.d.ts +8 -0
- package/es/components/RxFormPlus/index.js +1 -1
- package/es/components/RxFormPlusBeta/index.d.ts +4 -0
- package/es/components/RxFormPlusBeta/index.js +1 -0
- package/es/components/RxFormPlusBeta/src/RxFormPlusBeta.d.ts +10 -0
- package/es/components/RxFormPlusBeta/src/RxFormPlusBeta.vue.d.ts +14 -0
- package/es/components/RxFormPlusBeta/src/componentMap.d.ts +12 -0
- package/es/components/RxFormPlusBeta/src/components/formComponent/index.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formComponent/index.vue.d.ts +36 -0
- package/es/components/RxFormPlusBeta/src/components/formComponent/props.d.ts +14 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useController.d.ts +5 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useFormDatePicker.d.ts +7 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/index.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/index.vue.d.ts +304 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/props.d.ts +123 -0
- package/es/components/RxFormPlusBeta/src/components/formDatePicker/utils/index.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formInput/hooks/useController.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formInput/hooks/useFormInput.d.ts +8 -0
- package/es/components/RxFormPlusBeta/src/components/formInput/index.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formInput/index.vue.d.ts +231 -0
- package/es/components/RxFormPlusBeta/src/components/formInput/props.d.ts +111 -0
- package/es/components/RxFormPlusBeta/src/components/formSelect/hooks/useController.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/components/formSelect/index.d.ts +2 -0
- package/es/components/RxFormPlusBeta/src/hooks/useRxFormColumns.d.ts +1 -0
- package/es/components/RxFormSelect/index.d.ts +4 -0
- package/es/components/RxFormSelect/index.js +1 -0
- package/es/components/RxFormSelect/src/RxFormSelect.d.ts +145 -0
- package/es/components/RxFormSelect/src/RxFormSelect.vue.d.ts +282 -0
- package/es/components/RxFormSelect/src/hooks/useController.d.ts +9 -0
- package/es/components/RxFormSelect/src/hooks/useFormSelect.d.ts +13 -0
- package/es/components/RxFormSelect/src/hooks/useScrollbar.d.ts +6 -0
- package/es/components/RxFormSelect/src/hooks/useSelectValue.d.ts +9 -0
- package/es/components/RxFormSelect/src/hooks/useVagueSearch.d.ts +7 -0
- package/es/components/RxOption/index.d.ts +1 -2
- package/es/components/RxOption/src/RxOption.d.ts +3 -1
- package/es/components/RxPopover/index.d.ts +4 -0
- package/es/components/RxPopover/index.js +1 -0
- package/es/components/RxPopover/src/RxPopover.d.ts +5 -0
- package/es/components/RxPopover/src/RxPopover.vue.d.ts +8 -0
- package/es/components/RxRadio/index.d.ts +1 -1
- package/es/components/RxRadio/src/RxRadio.d.ts +4 -5
- package/es/components/RxRadioButton/index.d.ts +1 -1
- package/es/components/RxRadioButton/src/RxRadioButton.d.ts +4 -5
- package/es/components/RxRadioGroup/index.d.ts +1 -1
- package/es/components/RxRadioGroup/index.js +1 -1
- package/es/components/RxRadioGroup/src/RxRadioGroup.d.ts +4 -0
- package/es/components/RxRadioGroup/src/RxRadioGroup.vue.d.ts +14 -3
- package/es/components/RxRadioGroup/src/hooks/useController.d.ts +5 -5
- package/es/components/RxRadioGroup/src/hooks/useRadioGroup.d.ts +5 -2
- package/es/components/RxScrollbar/index.d.ts +1 -0
- package/es/components/RxScrollbar/src/RxScrollbar.d.ts +3 -1
- package/es/components/RxSelect/index.d.ts +1 -1
- package/es/components/RxSelectPlus/index.d.ts +1 -1
- package/es/components/RxSelectPlus/index.js +1 -1
- package/es/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +1 -0
- package/es/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +1 -0
- package/es/components/RxSuperCondition/index.js +1 -1
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +0 -2
- package/es/components/RxTabPane/index.d.ts +4 -0
- package/es/components/RxTabPane/index.js +1 -0
- package/es/components/RxTabPane/src/RxTabPane.d.ts +26 -0
- package/es/components/RxTabPane/src/RxTabPane.vue.d.ts +50 -0
- package/es/components/RxTabs/index.css +1 -0
- package/es/components/RxTabs/index.d.ts +4 -0
- package/es/components/RxTabs/index.js +1 -0
- package/es/components/RxTabs/src/RxTabs.d.ts +53 -0
- package/es/components/RxTabs/src/RxTabs.vue.d.ts +109 -0
- package/es/components/RxTabs/src/enums/base.d.ts +2 -0
- package/es/components/RxTabs/src/hooks/useController.d.ts +18 -0
- package/es/components/RxTabs/src/hooks/useTabs.d.ts +4 -0
- package/es/components/RxTooltip/index.d.ts +1 -2
- package/es/components/RxTooltip/index.js +1 -1
- package/es/components/RxTooltip/src/RxTooltip.d.ts +3 -1
- package/es/components/RxTooltip/src/RxTooltip.vue.d.ts +1 -0
- package/es/components/RxTooltip/src/hooks/useBase.d.ts +1 -0
- package/es/components/index.d.ts +8 -0
- package/es/components/index.js +1 -1
- package/es/utils/useTextOverflow.js +6 -2
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/lib/components/RxCheckbox/index.d.ts +1 -1
- package/lib/components/RxCheckboxButton/index.d.ts +1 -1
- package/lib/components/RxCheckboxGroup/index.d.ts +1 -1
- package/lib/components/RxCheckboxGroup/index.js +1 -1
- package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.d.ts +4 -0
- package/lib/components/RxCheckboxGroup/src/RxCheckboxGroup.vue.d.ts +14 -5
- package/lib/components/RxCheckboxGroup/src/hooks/useCheckboxGroup.d.ts +5 -2
- package/lib/components/RxCheckboxGroup/src/hooks/useController.d.ts +4 -5
- package/lib/components/RxDatePicker/index.d.ts +1 -1
- package/lib/components/RxDatePicker/index.js +1 -1
- package/lib/components/RxDatePicker/src/RxDatePicker.d.ts +2 -2
- package/lib/components/RxDropDown/index.d.ts +4 -0
- package/lib/components/RxDropDown/index.js +1 -0
- package/lib/components/RxDropDown/src/RxDropDown.d.ts +7 -0
- package/lib/components/RxDropDown/src/RxDropDown.vue.d.ts +8 -0
- package/lib/components/RxDropDownItem/index.d.ts +4 -0
- package/lib/components/RxDropDownItem/index.js +1 -0
- package/lib/components/RxDropDownItem/src/RxDropDownItem.d.ts +5 -0
- package/lib/components/RxDropDownItem/src/RxDropDownItem.vue.d.ts +8 -0
- package/lib/components/RxDropDownMenu/index.d.ts +4 -0
- package/lib/components/RxDropDownMenu/index.js +1 -0
- package/lib/components/RxDropDownMenu/src/RxDropDownMenu.d.ts +5 -0
- package/lib/components/RxDropDownMenu/src/RxDropDownMenu.vue.d.ts +8 -0
- package/lib/components/RxFormPlus/index.js +1 -1
- package/lib/components/RxFormPlusBeta/index.d.ts +4 -0
- package/lib/components/RxFormPlusBeta/index.js +1 -0
- package/lib/components/RxFormPlusBeta/src/RxFormPlusBeta.d.ts +10 -0
- package/lib/components/RxFormPlusBeta/src/RxFormPlusBeta.vue.d.ts +14 -0
- package/lib/components/RxFormPlusBeta/src/componentMap.d.ts +12 -0
- package/lib/components/RxFormPlusBeta/src/components/formComponent/index.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formComponent/index.vue.d.ts +36 -0
- package/lib/components/RxFormPlusBeta/src/components/formComponent/props.d.ts +14 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useController.d.ts +5 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/hooks/useFormDatePicker.d.ts +7 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/index.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/index.vue.d.ts +304 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/props.d.ts +123 -0
- package/lib/components/RxFormPlusBeta/src/components/formDatePicker/utils/index.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formInput/hooks/useController.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formInput/hooks/useFormInput.d.ts +8 -0
- package/lib/components/RxFormPlusBeta/src/components/formInput/index.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formInput/index.vue.d.ts +231 -0
- package/lib/components/RxFormPlusBeta/src/components/formInput/props.d.ts +111 -0
- package/lib/components/RxFormPlusBeta/src/components/formSelect/hooks/useController.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/components/formSelect/index.d.ts +2 -0
- package/lib/components/RxFormPlusBeta/src/hooks/useRxFormColumns.d.ts +1 -0
- package/lib/components/RxFormSelect/index.d.ts +4 -0
- package/lib/components/RxFormSelect/index.js +1 -0
- package/lib/components/RxFormSelect/src/RxFormSelect.d.ts +145 -0
- package/lib/components/RxFormSelect/src/RxFormSelect.vue.d.ts +282 -0
- package/lib/components/RxFormSelect/src/hooks/useController.d.ts +9 -0
- package/lib/components/RxFormSelect/src/hooks/useFormSelect.d.ts +13 -0
- package/lib/components/RxFormSelect/src/hooks/useScrollbar.d.ts +6 -0
- package/lib/components/RxFormSelect/src/hooks/useSelectValue.d.ts +9 -0
- package/lib/components/RxFormSelect/src/hooks/useVagueSearch.d.ts +7 -0
- package/lib/components/RxOption/index.d.ts +1 -2
- package/lib/components/RxOption/src/RxOption.d.ts +3 -1
- package/lib/components/RxPopover/index.d.ts +4 -0
- package/lib/components/RxPopover/index.js +1 -0
- package/lib/components/RxPopover/src/RxPopover.d.ts +5 -0
- package/lib/components/RxPopover/src/RxPopover.vue.d.ts +8 -0
- package/lib/components/RxRadio/index.d.ts +1 -1
- package/lib/components/RxRadio/src/RxRadio.d.ts +4 -5
- package/lib/components/RxRadioButton/index.d.ts +1 -1
- package/lib/components/RxRadioButton/src/RxRadioButton.d.ts +4 -5
- package/lib/components/RxRadioGroup/index.d.ts +1 -1
- package/lib/components/RxRadioGroup/index.js +1 -1
- package/lib/components/RxRadioGroup/src/RxRadioGroup.d.ts +4 -0
- package/lib/components/RxRadioGroup/src/RxRadioGroup.vue.d.ts +14 -3
- package/lib/components/RxRadioGroup/src/hooks/useController.d.ts +5 -5
- package/lib/components/RxRadioGroup/src/hooks/useRadioGroup.d.ts +5 -2
- package/lib/components/RxScrollbar/index.d.ts +1 -0
- package/lib/components/RxScrollbar/src/RxScrollbar.d.ts +3 -1
- package/lib/components/RxSelect/index.d.ts +1 -1
- package/lib/components/RxSelectPlus/index.d.ts +1 -1
- package/lib/components/RxSelectPlus/index.js +1 -1
- package/lib/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +1 -0
- package/lib/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +1 -0
- package/lib/components/RxSuperCondition/index.js +1 -1
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +0 -2
- package/lib/components/RxTabPane/index.d.ts +4 -0
- package/lib/components/RxTabPane/index.js +1 -0
- package/lib/components/RxTabPane/src/RxTabPane.d.ts +26 -0
- package/lib/components/RxTabPane/src/RxTabPane.vue.d.ts +50 -0
- package/lib/components/RxTabs/index.css +1 -0
- package/lib/components/RxTabs/index.d.ts +4 -0
- package/lib/components/RxTabs/index.js +1 -0
- package/lib/components/RxTabs/src/RxTabs.d.ts +53 -0
- package/lib/components/RxTabs/src/RxTabs.vue.d.ts +109 -0
- package/lib/components/RxTabs/src/enums/base.d.ts +2 -0
- package/lib/components/RxTabs/src/hooks/useController.d.ts +18 -0
- package/lib/components/RxTabs/src/hooks/useTabs.d.ts +4 -0
- package/lib/components/RxTooltip/index.d.ts +1 -2
- package/lib/components/RxTooltip/index.js +1 -1
- package/lib/components/RxTooltip/src/RxTooltip.d.ts +3 -1
- package/lib/components/RxTooltip/src/RxTooltip.vue.d.ts +1 -0
- package/lib/components/RxTooltip/src/hooks/useBase.d.ts +1 -0
- package/lib/components/index.d.ts +8 -0
- package/lib/components/index.js +1 -1
- package/lib/utils/useTextOverflow.js +6 -2
- package/package.json +29 -29
- package/theme-chalk/components-style.css +2 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/rx-date-picker.css +1 -1
- package/theme-chalk/rx-drop-down-item.css +1 -0
- package/theme-chalk/rx-drop-down-menu.css +0 -0
- package/theme-chalk/rx-drop-down.css +0 -0
- package/theme-chalk/rx-form-plus-beta.css +0 -0
- package/theme-chalk/rx-form-select.css +0 -0
- package/theme-chalk/rx-popover.css +0 -0
- package/theme-chalk/rx-preview-assets.css +1 -0
- package/theme-chalk/rx-radio-button.css +1 -0
- package/theme-chalk/rx-radio.css +1 -1
- package/theme-chalk/rx-super-condition.css +0 -0
- package/theme-chalk/rx-tab-pane.css +0 -0
- package/theme-chalk/rx-tabs.css +1 -0
- package/theme-chalk/rx-transfer-plus.css +1 -0
- 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,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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),r=require("element-plus");var t=o.defineComponent({name:"RxPopover",components:{ElPopover:r.ElPopover},props:{},setup:()=>({})});t.render=function(e,r,t,n,s,l){const p=o.resolveComponent("el-popover");return o.openBlock(),o.createBlock(p,o.normalizeProps(o.guardReactiveProps(e.$attrs)),o.createSlots({_:2},[e.$slots.default?{name:"default",fn:o.withCtx((()=>[o.renderSlot(e.$slots,"default")]))}:void 0,e.$slots.reference?{name:"reference",fn:o.withCtx((()=>[o.renderSlot(e.$slots,"reference")]))}:void 0]),1040)},t.__file="packages/components/RxPopover/src/RxPopover.vue";const n=e.withInstall(t);exports.RxPopover=n,exports.default=n;
|
|
@@ -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 {
|
|
4
|
+
export type { RxRadioProps, RxRadioPropsType, RxRadioComponent, RxRadioInstance } from './src/RxRadio';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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 =
|
|
14
|
-
export declare type
|
|
15
|
-
export declare type
|
|
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 {
|
|
4
|
+
export type { RxRadioButtonProps, RxRadioButtonPropsType, RxRadioButtonComponent, RxRadioButtonInstance } from './src/RxRadioButton';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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 =
|
|
14
|
-
export declare type
|
|
15
|
-
export declare type
|
|
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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("@vueuse/core"),r=require("element-plus"),l=require("rx-compo/lib/components/RxTooltip"),n=require("rx-compo/lib/components/RxScrollbar"),i=require("rx-compo/lib/utils"),s=require("rx-compo/lib/components/RxRadio"),a=require("rx-compo/lib/components/RxRadioButton"),p=require("rx-compo/lib/utils/useTextOverflow");const u={modelValue:{type:[String,Number,Boolean],default:!1},rxRadioGroupOptions:{type:Array,default:[]},toolTipFormatter:{type:Function,default:null},toolTipConfig:{type:Object,default:{placement:"top"}},gutter:i.IxPropTypes.number,justify:{type:String,default:"start"},baseColProps:{type:Object,default:()=>({xl:4,lg:6,md:8,sm:12,xs:24})},isButton:i.IxPropTypes.bool.def(!1),rxRadioAttr:{type:Object,default:{}}};var c=o.defineComponent({name:"RxRadioComponents",components:{RxRadio:s.RxRadio,RxRadioButton:a.RxRadioButton},setup:(e,{slots:o})=>({rxRadioSlots:Object.keys(o)})});c.render=function(e,t,r,l,n,i){const s=o.resolveComponent("rx-radio-button"),a=o.resolveComponent("rx-radio");return e.$attrs.isButton?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.$attrs.isButton)),o.createSlots({_:2},[o.renderList(e.rxRadioSlots,(t=>({name:t,fn:o.withCtx((r=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(r)))]))})))]),1040)):(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},e.$attrs)),o.createSlots({_:2},[o.renderList(e.rxRadioSlots,(t=>({name:t,fn:o.withCtx((r=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(r)))]))})))]),1040))},c.__file="packages/components/RxRadioGroup/components/RxRadioComponents.vue";var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("@vueuse/core"),r=require("element-plus"),l=require("rx-compo/lib/components/RxTooltip"),n=require("rx-compo/lib/components/RxScrollbar"),i=require("rx-compo/lib/utils"),s=require("rx-compo/lib/components/RxRadio"),a=require("rx-compo/lib/components/RxRadioButton"),p=require("rx-compo/lib/utils/useTextOverflow");const u={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:i.IxPropTypes.number,justify:{type:String,default:"start"},baseColProps:{type:Object,default:()=>({xl:4,lg:6,md:8,sm:12,xs:24})},isButton:i.IxPropTypes.bool.def(!1),rxRadioAttr:{type:Object,default:{}}};var c=o.defineComponent({name:"RxRadioComponents",components:{RxRadio:s.RxRadio,RxRadioButton:a.RxRadioButton},setup:(e,{slots:o})=>({rxRadioSlots:Object.keys(o)})});c.render=function(e,t,r,l,n,i){const s=o.resolveComponent("rx-radio-button"),a=o.resolveComponent("rx-radio");return e.$attrs.isButton?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.$attrs.isButton)),o.createSlots({_:2},[o.renderList(e.rxRadioSlots,(t=>({name:t,fn:o.withCtx((r=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(r)))]))})))]),1040)):(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},e.$attrs)),o.createSlots({_:2},[o.renderList(e.rxRadioSlots,(t=>({name:t,fn:o.withCtx((r=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(r)))]))})))]),1040))},c.__file="packages/components/RxRadioGroup/components/RxRadioComponents.vue";var m=o.defineComponent({name:"RxRadioGroup",components:{ElRadioGroup:r.ElRadioGroup,ElRow:r.ElRow,ElCol:r.ElCol,RxRadioComponents:c,RxTooltip:l.RxTooltip,RxScrollbar:n.RxScrollbar},props:u,setup(e,{emit:r}){const l=t.useVModel(e,"modelValue",r),{rxRadioGroupOptionsComputed:n,rxToolTipSetItem:i,getRxToolTipItemsRef:s,setItemRef:a,getItemsRef:u}=function(e,t){const r=o.computed((()=>e.rxRadioGroupOptions||[])),l=new Map,n=new Map;return{checkboxGroupValue:t,itemsRef:n,rxRadioGroupOptionsComputed:r,setItemRef:(e,o)=>{e&&n.set(o,e)},rxToolTipSetItem:(e,o)=>{e&&l.set(o,e)},getRxToolTipItemsRef:()=>l,getItemsRef:()=>n}}(e,l),{getRxToolTipConfig:c,updateRxToolTipConfig:m}=function(e){const t=o.ref();return{getRxToolTipConfig:()=>t.value,updateRxToolTipConfig:function(o){const{toolTipConfig:r}=e,l=o.getBoundingClientRect(),n={width:(null==r?void 0:r.tooltipWidth)?r.tooltipWidth:`${null==l?void 0:l.width}px`,maxHeight:(null==r?void 0:r.maxHeight)?r.maxHeight:"80px"};t.value=Object.assign(Object.assign({},r),{style:n})}}}(e),{isOverflowed:d,componentsSwitch:x,handleMouseenter:R}=function(e,t,r,l){const{isOverflowed:n,checkOverflowCustom:i}=p.useTextOverflow("RxRadio"),s=o.computed((()=>e.toolTip&&n.value));return{isOverflowed:n,componentsSwitch:s,handleMouseenter:function(n){if(!e.toolTip)return;const s=r().get(n).$el.getElementsByClassName("el-radio__label")[0];i(s),o.nextTick((()=>{l().get(n).rxToolTipRef.onOpen(),t(s)}))}}}(e,m,u,s);return{rxRadioGroupValue:l,rxRadioGroupOptionsComputed:n,isOverflowed:d,componentsSwitch:x,getRxToolTipConfig:c,rxToolTipSetItem:i,setItemRef:a,handleMouseenter:R}}});m.render=function(e,t,r,l,n,i){const s=o.resolveComponent("RxRadioComponents"),a=o.resolveComponent("rx-scrollbar"),p=o.resolveComponent("rx-tooltip"),u=o.resolveComponent("el-col"),c=o.resolveComponent("el-row"),m=o.resolveComponent("el-radio-group");return o.openBlock(),o.createBlock(m,o.mergeProps({...e.$attrs,...e.$props},{modelValue:e.rxRadioGroupValue,"onUpdate:modelValue":t[0]||(t[0]=o=>e.rxRadioGroupValue=o),class:"rx-radio-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(c,{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.rxRadioGroupOptionsComputed,(t=>(o.openBlock(),o.createBlock(u,o.mergeProps({key:t.label,ref_for:!0,ref:o=>e.setItemRef(o,t.label),style:`${t.colStyle||""}`,class:`${t.colClass||""}`},t.colProps||e.baseColProps),{default:o.withCtx((()=>[o.createCommentVNode(" 溢出隐藏 "),o.createVNode(p,o.mergeProps({ref_for:!0,ref:o=>e.rxToolTipSetItem(o,t.label)},e.getRxToolTipConfig(),{disabled:!e.componentsSwitch}),{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.getRxToolTipConfig().style)},[o.createVNode(a,{"max-height":e.getRxToolTipConfig().style.maxHeight},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(t?.toolTipContent||t?.label),1)])),_:2},1032,["max-height"])],4)],2112))])),default:o.withCtx((()=>[o.createVNode(s,o.mergeProps({...e.rxRadioAttr,...t},{isButton:e.isButton,onMouseenter:o=>e.handleMouseenter(t.label)}),null,16,["isButton","onMouseenter"])])),_:2},1040,["disabled"])])),_:2},1040,["style","class"])))),128))])),_:1},8,["gutter","class"])],64))])),_:3},16,["modelValue"])},m.__file="packages/components/RxRadioGroup/src/RxRadioGroup.vue";const d=e.withInstall(m);exports.RxRadioGroup=d,exports.default=d;
|
|
@@ -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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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 {
|
|
2
|
-
export declare function useController(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleMouseenter: (
|
|
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,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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("@vueuse/core"),l=require("rx-compo/lib/components/RxScrollbar"),r=require("rx-compo/lib/components/RxTooltip"),n=require("rx-compo/lib/components/RxSelect"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("@vueuse/core"),l=require("rx-compo/lib/components/RxScrollbar"),r=require("rx-compo/lib/components/RxTooltip"),n=require("rx-compo/lib/components/RxSelect"),i=require("rx-compo/lib/utils/useTextOverflow"),s=require("lodash-es");const c={modelValue:{type:[Array,String,Number,Boolean,Object],default:""},toolTip:{type:Boolean,default:!0},toolTipConfig:{type:Object,default:{placement:"top"}},options:{type:Array,default:[]}};var u=o.defineComponent({name:"RxSelectPlus",components:{RxSelect:n.RxSelect,RxScrollbar:l.RxScrollbar,RxTooltip:r.RxTooltip},props:c,setup(e,{attrs:l,slots:r,emit:n,expose:c}){const u=o.ref(),a=o.ref(),p=t.useVModel(e,"modelValue",n),{isOverflowed:x,componentsSwitch:d,rxToolTipRef:f,handleMouseenter:T}=function(e){const t=o.ref(),{isOverflowed:l,checkOverflowCustom:r}=i.useTextOverflow("RxSelectPlus"),n=o.computed((()=>e.toolTip&&l.value));return{rxToolTipRef:t,isOverflowed:l,componentsSwitch:n,handleMouseenter:function(e){r(e.target),o.nextTick((()=>{n.value&&t.value.rxToolTipRef.onOpen()}))}}}(e),{rxToolTipConfig:m,updateRxToolTipConfig:v,getRxToolTipConfig:g}=function(e,t,l){const r=o.ref();return{rxToolTipConfig:r,updateRxToolTipConfig:function(){var t;const{toolTipConfig:n,options:i,modelValue:c}=e,u=l.value.getBoundingClientRect(),a={width:(null==n?void 0:n.tooltipWidth)?n.tooltipWidth:`${null==u?void 0:u.width}px`,maxHeight:(null==n?void 0:n.maxHeight)?n.maxHeight:"80px"},p=o.ref();if(null==n?void 0:n.content){const{content:e}=n;p.value=e}else p.value=null===(t=s.find(i,(e=>e.value===c)))||void 0===t?void 0:t.label;r.value=Object.assign(Object.assign({},n),{style:a,content:p.value})},getRxToolTipConfig:function(){return r.value}}}(e,0,u),S=Object.keys(r);return o.onMounted((()=>{!function(e,t){o.watch((()=>e.value),(()=>{o.nextTick((()=>{t()}))}),{deep:!0,immediate:!0})}(p,v)})),c({rxSelectPlusRef:u,rxSelectRef:a,updateRxToolTipConfig:v,getRxToolTipConfig:g}),{rxToolTipRef:f,rxSelectPlusRef:u,rxSelectRef:a,rxToolTipConfig:m,isOverflowed:x,rxSelectModelPlusValue:p,componentsSwitch:d,selectPlusSlots:S,handleMouseenter:T}}});u.render=function(e,t,l,r,n,i){const s=o.resolveComponent("rx-select"),c=o.resolveComponent("rx-scrollbar"),u=o.resolveComponent("rx-tooltip");return o.openBlock(),o.createElementBlock("div",o.mergeProps({ref:"rxSelectPlusRef"},e.$attrs),[o.createVNode(u,o.mergeProps({ref:"rxToolTipRef"},e.rxToolTipConfig,{disabled:!e.componentsSwitch}),{default:o.withCtx((()=>[o.createVNode(s,o.mergeProps({modelValue:e.rxSelectModelPlusValue,"onUpdate:modelValue":t[0]||(t[0]=o=>e.rxSelectModelPlusValue=o),class:"rx-select",ref:"rxSelectRef"},e.$attrs,{options:e.options,onMouseenter:e.handleMouseenter}),o.createSlots({_:2},[o.renderList(e.selectPlusSlots,(t=>({name:t,fn:o.withCtx((l=>[o.renderSlot(e.$slots,`${t}`,o.normalizeProps(o.guardReactiveProps(l)))]))})))]),1040,["modelValue","options","onMouseenter"])])),content:o.withCtx((()=>[o.createCommentVNode(" 自定义tooltip "),e.$slots.rxToolTipSlot?o.renderSlot(e.$slots,"rxToolTipSlot",{key:0}):(o.openBlock(),o.createElementBlock("div",{key:1,style:o.normalizeStyle(e.rxToolTipConfig.style)},[o.createCommentVNode(" 默认模板 "),o.createVNode(c,{"max-height":e.rxToolTipConfig.style.maxHeight},{default:o.withCtx((()=>[o.createTextVNode(o.toDisplayString(e.rxToolTipConfig?.content),1)])),_:1},8,["max-height"])],4))])),_:3},16,["disabled"])],16)},u.__file="packages/components/RxSelectPlus/src/RxSelectPlus.vue";const a=e.withInstall(u);exports.RxSelectPlus=a,exports.default=a;
|
|
@@ -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>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RxSelectPlusPropsType } from '../RxSelectPlus';
|
|
2
2
|
export declare function useRxSelect(props: RxSelectPlusPropsType): {
|
|
3
|
+
rxToolTipRef: import("vue").Ref<any>;
|
|
3
4
|
isOverflowed: import("vue").Ref<boolean>;
|
|
4
5
|
componentsSwitch: import("vue").ComputedRef<boolean>;
|
|
5
6
|
handleMouseenter: (event: any) => void;
|