rx-compo 1.0.55 → 1.0.56

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 (190) hide show
  1. package/es/components/RxButton/index.d.ts +1 -1
  2. package/es/components/RxButton/index.js +1 -1
  3. package/es/components/RxButton/src/RxButton.d.ts +6 -3
  4. package/es/components/RxButton/src/RxButton.vue.d.ts +2 -0
  5. package/es/components/RxCheckbox/index.d.ts +4 -0
  6. package/es/components/RxCheckbox/index.js +1 -0
  7. package/es/components/RxCheckbox/src/RxCheckbox.d.ts +9 -0
  8. package/es/components/RxCheckbox/src/RxCheckbox.vue.d.ts +14 -0
  9. package/es/components/RxDatePicker/index.d.ts +4 -0
  10. package/es/components/RxDatePicker/index.js +1 -0
  11. package/es/components/RxDatePicker/src/RxDatePicker.d.ts +9 -0
  12. package/es/components/RxInput/index.d.ts +4 -0
  13. package/es/components/RxInput/index.js +1 -0
  14. package/es/components/RxInput/src/RxInput.d.ts +21 -0
  15. package/es/components/RxInput/src/RxInput.vue.d.ts +34 -0
  16. package/es/components/RxInput/src/hooks/useTotalInput.d.ts +6 -0
  17. package/es/components/RxOption/index.d.ts +5 -0
  18. package/es/components/RxOption/index.js +1 -0
  19. package/es/components/RxOption/src/RxOption.d.ts +3 -0
  20. package/es/components/RxOption/src/RxOption.vue.d.ts +4 -0
  21. package/es/components/RxScrollbar/index.d.ts +3 -0
  22. package/es/components/RxScrollbar/index.js +1 -0
  23. package/es/components/RxScrollbar/src/RxScrollbar.d.ts +3 -0
  24. package/es/components/RxScrollbar/src/RxScrollbar.vue.d.ts +8 -0
  25. package/es/components/RxSelect/index.d.ts +6 -0
  26. package/es/components/RxSelect/index.js +1 -0
  27. package/es/components/RxSelect/src/RxSelect.d.ts +14 -0
  28. package/es/components/RxSelect/src/RxSelect.vue.d.ts +27 -0
  29. package/es/components/RxSelect/src/hooks/useController.d.ts +1 -0
  30. package/es/components/RxSelect/src/hooks/useOptionClass.d.ts +6 -0
  31. package/es/components/RxSelect/src/hooks/useRxSelect.d.ts +6 -0
  32. package/es/components/RxSelectPlus/index.d.ts +6 -0
  33. package/es/components/RxSelectPlus/index.js +1 -0
  34. package/es/components/RxSelectPlus/src/RxSelectPlus.d.ts +252 -0
  35. package/es/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +504 -0
  36. package/es/components/RxSelectPlus/src/hooks/useController.d.ts +2 -0
  37. package/es/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +6 -0
  38. package/es/components/RxSuperCondition/index.d.ts +3 -0
  39. package/es/components/RxSuperCondition/index.js +1 -0
  40. package/es/components/RxSuperCondition/src/RxSuperCondition.d.ts +50 -0
  41. package/es/components/RxSuperCondition/src/RxSuperCondition.vue.d.ts +84 -0
  42. package/es/components/RxSuperCondition/src/components/RxAddConditionButton/index.d.ts +2 -0
  43. package/es/components/RxSuperCondition/src/components/RxAddConditionButton/index.vue.d.ts +13 -0
  44. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.d.ts +2 -0
  45. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.vue.d.ts +18 -0
  46. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/chooseDate.vue.d.ts +9 -0
  47. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/index.d.ts +9 -0
  48. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLess.vue.d.ts +9 -0
  49. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLessDisabled.vue.d.ts +9 -0
  50. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputMax.vue.d.ts +9 -0
  51. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/moreSelect.vue.d.ts +12 -0
  52. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/numberRange.vue.d.ts +10 -0
  53. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +10 -0
  54. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/totalInput.vue.d.ts +9 -0
  55. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/const/index.d.ts +52 -0
  56. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.d.ts +2 -0
  57. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.vue.d.ts +2 -0
  58. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.d.ts +2 -0
  59. package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.vue.d.ts +32 -0
  60. package/es/components/RxSuperCondition/src/components/RxConditionRender/index.d.ts +2 -0
  61. package/es/components/RxSuperCondition/src/components/RxConditionRender/index.vue.d.ts +48 -0
  62. package/es/components/RxSuperCondition/src/components/RxTemplateList/index.d.ts +2 -0
  63. package/es/components/RxSuperCondition/src/components/RxTemplateList/index.vue.d.ts +20 -0
  64. package/es/components/RxSuperCondition/src/hooks/useConditionContext.d.ts +4 -0
  65. package/es/components/RxSuperCondition/src/hooks/useContext.d.ts +10 -0
  66. package/es/components/RxSuperCondition/src/hooks/useControlCondition.d.ts +12 -0
  67. package/es/components/RxSuperCondition/src/hooks/useControlTemplate.d.ts +20 -0
  68. package/es/components/RxSuperCondition/src/hooks/useDialog.d.ts +8 -0
  69. package/es/components/RxSuperCondition/src/hooks/useInit.d.ts +7 -0
  70. package/es/components/RxSuperCondition/src/hooks/useStorageSevise.d.ts +15 -0
  71. package/es/components/RxTooltip/index.d.ts +5 -0
  72. package/es/components/RxTooltip/index.js +1 -0
  73. package/es/components/RxTooltip/src/RxTooltip.d.ts +4 -0
  74. package/es/components/RxTooltip/src/RxTooltip.vue.d.ts +10 -0
  75. package/es/components/RxTooltip/src/hooks/useBase.d.ts +4 -0
  76. package/es/components/RxTooltip/src/hooks/useController.d.ts +1 -0
  77. package/es/components/index.d.ts +9 -2
  78. package/es/components/index.js +1 -1
  79. package/es/utils/useTextOverflow.d.ts +4 -0
  80. package/es/utils/useTextOverflow.js +13 -0
  81. package/index.esm.js +1 -1
  82. package/index.js +1 -1
  83. package/lib/components/RxButton/index.d.ts +1 -1
  84. package/lib/components/RxButton/index.js +1 -1
  85. package/lib/components/RxButton/src/RxButton.d.ts +6 -3
  86. package/lib/components/RxButton/src/RxButton.vue.d.ts +2 -0
  87. package/lib/components/RxCheckbox/index.d.ts +4 -0
  88. package/lib/components/RxCheckbox/index.js +1 -0
  89. package/lib/components/RxCheckbox/src/RxCheckbox.d.ts +9 -0
  90. package/lib/components/RxCheckbox/src/RxCheckbox.vue.d.ts +14 -0
  91. package/lib/components/RxDatePicker/index.d.ts +4 -0
  92. package/lib/components/RxDatePicker/index.js +1 -0
  93. package/lib/components/RxDatePicker/src/RxDatePicker.d.ts +9 -0
  94. package/lib/components/RxInput/index.d.ts +4 -0
  95. package/lib/components/RxInput/index.js +1 -0
  96. package/lib/components/RxInput/src/RxInput.d.ts +21 -0
  97. package/lib/components/RxInput/src/RxInput.vue.d.ts +34 -0
  98. package/lib/components/RxInput/src/hooks/useTotalInput.d.ts +6 -0
  99. package/lib/components/RxOption/index.d.ts +5 -0
  100. package/lib/components/RxOption/index.js +1 -0
  101. package/lib/components/RxOption/src/RxOption.d.ts +3 -0
  102. package/lib/components/RxOption/src/RxOption.vue.d.ts +4 -0
  103. package/lib/components/RxScrollbar/index.d.ts +3 -0
  104. package/lib/components/RxScrollbar/index.js +1 -0
  105. package/lib/components/RxScrollbar/src/RxScrollbar.d.ts +3 -0
  106. package/lib/components/RxScrollbar/src/RxScrollbar.vue.d.ts +8 -0
  107. package/lib/components/RxSelect/index.d.ts +6 -0
  108. package/lib/components/RxSelect/index.js +1 -0
  109. package/lib/components/RxSelect/src/RxSelect.d.ts +14 -0
  110. package/lib/components/RxSelect/src/RxSelect.vue.d.ts +27 -0
  111. package/lib/components/RxSelect/src/hooks/useController.d.ts +1 -0
  112. package/lib/components/RxSelect/src/hooks/useOptionClass.d.ts +6 -0
  113. package/lib/components/RxSelect/src/hooks/useRxSelect.d.ts +6 -0
  114. package/lib/components/RxSelectPlus/index.d.ts +6 -0
  115. package/lib/components/RxSelectPlus/index.js +1 -0
  116. package/lib/components/RxSelectPlus/src/RxSelectPlus.d.ts +252 -0
  117. package/lib/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +504 -0
  118. package/lib/components/RxSelectPlus/src/hooks/useController.d.ts +2 -0
  119. package/lib/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +6 -0
  120. package/lib/components/RxSuperCondition/index.d.ts +3 -0
  121. package/lib/components/RxSuperCondition/index.js +1 -0
  122. package/lib/components/RxSuperCondition/src/RxSuperCondition.d.ts +50 -0
  123. package/lib/components/RxSuperCondition/src/RxSuperCondition.vue.d.ts +84 -0
  124. package/lib/components/RxSuperCondition/src/components/RxAddConditionButton/index.d.ts +2 -0
  125. package/lib/components/RxSuperCondition/src/components/RxAddConditionButton/index.vue.d.ts +13 -0
  126. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.d.ts +2 -0
  127. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.vue.d.ts +18 -0
  128. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/chooseDate.vue.d.ts +9 -0
  129. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/index.d.ts +9 -0
  130. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLess.vue.d.ts +9 -0
  131. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLessDisabled.vue.d.ts +9 -0
  132. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputMax.vue.d.ts +9 -0
  133. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/moreSelect.vue.d.ts +12 -0
  134. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/numberRange.vue.d.ts +10 -0
  135. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +10 -0
  136. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/totalInput.vue.d.ts +9 -0
  137. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/const/index.d.ts +52 -0
  138. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.d.ts +2 -0
  139. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.vue.d.ts +2 -0
  140. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.d.ts +2 -0
  141. package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.vue.d.ts +32 -0
  142. package/lib/components/RxSuperCondition/src/components/RxConditionRender/index.d.ts +2 -0
  143. package/lib/components/RxSuperCondition/src/components/RxConditionRender/index.vue.d.ts +48 -0
  144. package/lib/components/RxSuperCondition/src/components/RxTemplateList/index.d.ts +2 -0
  145. package/lib/components/RxSuperCondition/src/components/RxTemplateList/index.vue.d.ts +20 -0
  146. package/lib/components/RxSuperCondition/src/hooks/useConditionContext.d.ts +4 -0
  147. package/lib/components/RxSuperCondition/src/hooks/useContext.d.ts +10 -0
  148. package/lib/components/RxSuperCondition/src/hooks/useControlCondition.d.ts +12 -0
  149. package/lib/components/RxSuperCondition/src/hooks/useControlTemplate.d.ts +20 -0
  150. package/lib/components/RxSuperCondition/src/hooks/useDialog.d.ts +8 -0
  151. package/lib/components/RxSuperCondition/src/hooks/useInit.d.ts +7 -0
  152. package/lib/components/RxSuperCondition/src/hooks/useStorageSevise.d.ts +15 -0
  153. package/lib/components/RxTooltip/index.d.ts +5 -0
  154. package/lib/components/RxTooltip/index.js +1 -0
  155. package/lib/components/RxTooltip/src/RxTooltip.d.ts +4 -0
  156. package/lib/components/RxTooltip/src/RxTooltip.vue.d.ts +10 -0
  157. package/lib/components/RxTooltip/src/hooks/useBase.d.ts +4 -0
  158. package/lib/components/RxTooltip/src/hooks/useController.d.ts +1 -0
  159. package/lib/components/index.d.ts +9 -2
  160. package/lib/components/index.js +1 -1
  161. package/lib/utils/useTextOverflow.d.ts +4 -0
  162. package/lib/utils/useTextOverflow.js +17 -0
  163. package/package.json +28 -22
  164. package/theme-chalk/icon.css +1 -1
  165. package/theme-chalk/index.css +1 -2
  166. package/theme-chalk/rx-button.css +1 -0
  167. package/theme-chalk/rx-checkbox.css +1 -0
  168. package/theme-chalk/rx-input.css +1 -0
  169. package/theme-chalk/rx-option.css +1 -0
  170. package/theme-chalk/rx-select.css +1 -0
  171. package/types/index.d.ts +8 -4
  172. package/es/components/date/index.d.ts +0 -4
  173. package/es/components/date/index.js +0 -1
  174. package/es/components/date/src/date.d.ts +0 -24
  175. package/es/components/date/src/date.vue.d.ts +0 -32
  176. package/es/components/icon/index.css +0 -1
  177. package/es/components/icon/index.d.ts +0 -4
  178. package/es/components/icon/index.js +0 -1
  179. package/es/components/icon/src/icon.d.ts +0 -25
  180. package/es/components/icon/src/icon.vue.d.ts +0 -37
  181. package/lib/components/date/index.d.ts +0 -4
  182. package/lib/components/date/index.js +0 -1
  183. package/lib/components/date/src/date.d.ts +0 -24
  184. package/lib/components/date/src/date.vue.d.ts +0 -32
  185. package/lib/components/icon/index.css +0 -1
  186. package/lib/components/icon/index.d.ts +0 -4
  187. package/lib/components/icon/index.js +0 -1
  188. package/lib/components/icon/src/icon.d.ts +0 -25
  189. package/lib/components/icon/src/icon.vue.d.ts +0 -37
  190. package/theme-chalk/components-style.css +0 -1
@@ -0,0 +1,84 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ titleList: {
3
+ type: import("vue").PropType<any[]>;
4
+ default: () => any[];
5
+ };
6
+ enumList: {
7
+ type: ObjectConstructor;
8
+ };
9
+ templateList: {
10
+ type: import("vue").PropType<any[]>;
11
+ default: () => any[];
12
+ };
13
+ conditions: {
14
+ type: any;
15
+ default: any;
16
+ };
17
+ localKey: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ deleteTemFunc: {
22
+ type: FunctionConstructor;
23
+ };
24
+ addTemFunc: {
25
+ type: FunctionConstructor;
26
+ };
27
+ submit: {
28
+ type: FunctionConstructor;
29
+ };
30
+ }, {
31
+ rules: any;
32
+ addTemplateFormRef: import("vue").Ref<any>;
33
+ addTemplateFormData: import("vue").Ref<{
34
+ name: any;
35
+ uuid: any;
36
+ condition: any;
37
+ }>;
38
+ addTemplateDialogVisible: import("vue").Ref<boolean>;
39
+ templateListLocal: any;
40
+ dialogVisible: import("vue").Ref<boolean>;
41
+ isEmptyCondition: import("vue").ComputedRef<boolean>;
42
+ conditionsLocal: any;
43
+ handleOpenDialog: () => void;
44
+ handleCloseDialog: () => void;
45
+ handleSaveDialog: () => Promise<void>;
46
+ handleCancelDialog: () => void;
47
+ addTemSubmit: () => Promise<void>;
48
+ handleCancelAddTemplate: () => void;
49
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ titleList: {
51
+ type: import("vue").PropType<any[]>;
52
+ default: () => any[];
53
+ };
54
+ enumList: {
55
+ type: ObjectConstructor;
56
+ };
57
+ templateList: {
58
+ type: import("vue").PropType<any[]>;
59
+ default: () => any[];
60
+ };
61
+ conditions: {
62
+ type: any;
63
+ default: any;
64
+ };
65
+ localKey: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ deleteTemFunc: {
70
+ type: FunctionConstructor;
71
+ };
72
+ addTemFunc: {
73
+ type: FunctionConstructor;
74
+ };
75
+ submit: {
76
+ type: FunctionConstructor;
77
+ };
78
+ }>>, {
79
+ conditions: any;
80
+ templateList: any[];
81
+ titleList: any[];
82
+ localKey: string;
83
+ }>;
84
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RxAddConditionButton from './index.vue';
2
+ export { RxAddConditionButton };
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ conditions: {
3
+ type: ObjectConstructor;
4
+ };
5
+ }, {
6
+ addCondition: any;
7
+ addConditionGroup: any;
8
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ conditions: {
10
+ type: ObjectConstructor;
11
+ };
12
+ }>>, {}>;
13
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RxAndOr from './index.vue';
2
+ export { RxAndOr };
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ logical: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ }, {
7
+ turnText: import("vue").ComputedRef<"且" | "或">;
8
+ logicalLocal: import("vue").Ref<number> | import("vue").WritableComputedRef<number>;
9
+ handleClickChange: () => void;
10
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ logical: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ }>>, {
16
+ logical: number;
17
+ }>;
18
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue: import("vue").WritableComputedRef<unknown>;
5
+ valuePassLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ valuePass: ArrayConstructor;
8
+ }>>, {}>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import chooseDate from './chooseDate.vue';
2
+ import inputLess from './inputLess.vue';
3
+ import inputLessDisabled from './inputLessDisabled.vue';
4
+ import inputMax from './inputMax.vue';
5
+ import moreSelect from './moreSelect.vue';
6
+ import numberRange from './numberRange.vue';
7
+ import timeRange from './timeRange.vue';
8
+ import totalInput from './totalInput.vue';
9
+ export { chooseDate, inputLess, inputLessDisabled, inputMax, moreSelect, numberRange, timeRange, totalInput };
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue: import("vue").WritableComputedRef<unknown>;
5
+ valueLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ valuePass: ArrayConstructor;
8
+ }>>, {}>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue: import("vue").WritableComputedRef<unknown>;
5
+ valueLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ valuePass: ArrayConstructor;
8
+ }>>, {}>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue: import("vue").WritableComputedRef<unknown>;
5
+ valueLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ valuePass: ArrayConstructor;
8
+ }>>, {}>;
9
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ condition: ObjectConstructor;
4
+ }, {
5
+ options: import("vue").ComputedRef<any>;
6
+ enumListComputed: any;
7
+ valuePassLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
8
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ valuePass: ArrayConstructor;
10
+ condition: ObjectConstructor;
11
+ }>>, {}>;
12
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue1: import("vue").WritableComputedRef<unknown>;
5
+ inputValue2: import("vue").WritableComputedRef<unknown>;
6
+ valueLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
7
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ valuePass: ArrayConstructor;
9
+ }>>, {}>;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue1: import("vue").WritableComputedRef<unknown>;
5
+ inputValue2: import("vue").WritableComputedRef<unknown>;
6
+ valuePassLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
7
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ valuePass: ArrayConstructor;
9
+ }>>, {}>;
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ valuePass: ArrayConstructor;
3
+ }, {
4
+ inputValue: import("vue").WritableComputedRef<unknown>;
5
+ valueLocal: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ valuePass: ArrayConstructor;
8
+ }>>, {}>;
9
+ export default _default;
@@ -0,0 +1,52 @@
1
+ export declare const symbolConst: {
2
+ value: string;
3
+ label: string;
4
+ }[];
5
+ export declare const stringSymbol: string[];
6
+ export declare const stringSymbolOptions: {
7
+ value: string;
8
+ label: string;
9
+ }[];
10
+ export declare const numberSymbol: string[];
11
+ export declare const numberSymbolOptions: {
12
+ value: string;
13
+ label: string;
14
+ }[];
15
+ export declare const budgetSymbol: string[];
16
+ export declare const budgetSymbolOptions: {
17
+ value: string;
18
+ label: string;
19
+ }[];
20
+ export declare const enumSymbol: string[];
21
+ export declare const enumSymbolOptions: {
22
+ value: string;
23
+ label: string;
24
+ }[];
25
+ export declare const timeSymbol: string[];
26
+ export declare const timeSymbolOptions: {
27
+ value: string;
28
+ label: string;
29
+ }[];
30
+ export declare const optionsHash: {
31
+ string: {
32
+ value: string;
33
+ label: string;
34
+ }[];
35
+ number: {
36
+ value: string;
37
+ label: string;
38
+ }[];
39
+ budget: {
40
+ value: string;
41
+ label: string;
42
+ }[];
43
+ enum: {
44
+ value: string;
45
+ label: string;
46
+ }[];
47
+ time: {
48
+ value: string;
49
+ label: string;
50
+ }[];
51
+ };
52
+ export declare const valueSetEmpty: string[];
@@ -0,0 +1,2 @@
1
+ import RxConditionItem from './index.vue';
2
+ export { RxConditionItem };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RxDeConditionBtn from './index.vue';
2
+ export { RxDeConditionBtn };
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ isGroup: {
3
+ type: BooleanConstructor;
4
+ };
5
+ conditions: {
6
+ type: ObjectConstructor;
7
+ };
8
+ fatherCondition: {
9
+ type: ObjectConstructor;
10
+ };
11
+ groupIdx: {
12
+ type: NumberConstructor;
13
+ };
14
+ }, {
15
+ handleDel: () => void;
16
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ isGroup: {
18
+ type: BooleanConstructor;
19
+ };
20
+ conditions: {
21
+ type: ObjectConstructor;
22
+ };
23
+ fatherCondition: {
24
+ type: ObjectConstructor;
25
+ };
26
+ groupIdx: {
27
+ type: NumberConstructor;
28
+ };
29
+ }>>, {
30
+ isGroup: boolean;
31
+ }>;
32
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RxConditionRender from './index.vue';
2
+ export { RxConditionRender };
@@ -0,0 +1,48 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ conditions: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ is_group: boolean;
6
+ logical: number;
7
+ uuid: string;
8
+ children: any[];
9
+ };
10
+ };
11
+ isRoot: {
12
+ type: BooleanConstructor;
13
+ defaullt: boolean;
14
+ };
15
+ fatherCondition: {
16
+ type: ObjectConstructor;
17
+ };
18
+ groupIdx: {
19
+ type: NumberConstructor;
20
+ };
21
+ }, {
22
+ clearCondition: any;
23
+ conditionsLocal: import("vue").Ref<Record<string, any>> | import("vue").WritableComputedRef<Record<string, any>>;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ conditions: {
26
+ type: ObjectConstructor;
27
+ default: () => {
28
+ is_group: boolean;
29
+ logical: number;
30
+ uuid: string;
31
+ children: any[];
32
+ };
33
+ };
34
+ isRoot: {
35
+ type: BooleanConstructor;
36
+ defaullt: boolean;
37
+ };
38
+ fatherCondition: {
39
+ type: ObjectConstructor;
40
+ };
41
+ groupIdx: {
42
+ type: NumberConstructor;
43
+ };
44
+ }>>, {
45
+ conditions: Record<string, any>;
46
+ isRoot: boolean;
47
+ }>;
48
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RxTemplateList from './index.vue';
2
+ export { RxTemplateList };
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ templateList: {
4
+ type: PropType<any>;
5
+ default: () => any[];
6
+ };
7
+ }, {
8
+ templateParams: any;
9
+ selectTemplate: any;
10
+ delTemplate: any;
11
+ templateListLocal: import("vue").Ref<any> | import("vue").WritableComputedRef<any>;
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
+ templateList: {
14
+ type: PropType<any>;
15
+ default: () => any[];
16
+ };
17
+ }>>, {
18
+ templateList: any;
19
+ }>;
20
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare function createConditionProviderContext(context: any): {
2
+ state: any;
3
+ };
4
+ export declare function useConditionProviderContext(): any;
@@ -0,0 +1,10 @@
1
+ import { InjectionKey } from 'vue';
2
+ export interface CreateContextOptions {
3
+ readonly?: boolean;
4
+ createProvider?: boolean;
5
+ native?: boolean;
6
+ }
7
+ export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): {
8
+ state: any;
9
+ };
10
+ export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;
@@ -0,0 +1,12 @@
1
+ import { RxSuperConditionPropsType } from 'rx-compo/es/components/RxSuperCondition/src/RxSuperCondition';
2
+ export declare function useControlCondition(props: RxSuperConditionPropsType): {
3
+ isEmptyCondition: import("vue").ComputedRef<boolean>;
4
+ conditionsLocal: any;
5
+ addCondition: (item: any) => void;
6
+ addConditionGroup: (item: any) => void;
7
+ delCondition: (item: any, father: any, index: number) => void;
8
+ delConditionGroup: (item: any, father: any, index: number) => void;
9
+ setCondition: (item: any) => void;
10
+ clearCondition: () => void;
11
+ getCondition: () => any;
12
+ };
@@ -0,0 +1,20 @@
1
+ import { RxSuperConditionPropsType } from '../RxSuperCondition';
2
+ export declare function useControlTemplate(props: RxSuperConditionPropsType, setCondition: (value: any) => void, getCondition: () => any): {
3
+ rules: any;
4
+ addTemplateFormRef: import("vue").Ref<any>;
5
+ addTemplateFormData: import("vue").Ref<{
6
+ name: any;
7
+ uuid: any;
8
+ condition: any;
9
+ }>;
10
+ templateListLocal: any;
11
+ templateParams: import("vue").Ref<{
12
+ loading: boolean;
13
+ }>;
14
+ addTemplateDialogVisible: import("vue").Ref<boolean>;
15
+ addTemplate: () => Promise<void>;
16
+ delTemplate: (item: any, index: number) => Promise<void>;
17
+ selectTemplate: (item: any) => Promise<void>;
18
+ addTemSubmit: () => Promise<void>;
19
+ handleCancelAddTemplate: () => void;
20
+ };
@@ -0,0 +1,8 @@
1
+ import { RxSuperConditionPropsType } from '../RxSuperCondition';
2
+ export declare function useDialog(props: RxSuperConditionPropsType, getCondition: () => any): {
3
+ dialogVisible: import("vue").Ref<boolean>;
4
+ handleOpenDialog: () => void;
5
+ handleCloseDialog: () => void;
6
+ handleSaveDialog: () => Promise<void>;
7
+ handleCancelDialog: () => void;
8
+ };
@@ -0,0 +1,7 @@
1
+ import { RxSuperConditionPropsType } from 'rx-compo/es/components/RxSuperCondition/src/RxSuperCondition';
2
+ export declare function useInit(props: RxSuperConditionPropsType): {
3
+ enumListComputed: import("vue").ComputedRef<Record<string, any>>;
4
+ dataTypeHash: any;
5
+ titleHash: any;
6
+ titleListLocal: any;
7
+ };
@@ -0,0 +1,15 @@
1
+ declare const SessionStorageService: {
2
+ get: (key: string) => any;
3
+ set: (key: string, value: any) => any;
4
+ remove: (key: string) => any;
5
+ clearExcept: (key: string | string[]) => void;
6
+ clearAll: () => void;
7
+ };
8
+ declare const LocalStorageService: {
9
+ get: (key: string) => any;
10
+ set: (key: string, value: any) => any;
11
+ remove: (key: string) => any;
12
+ clearExcept: (key: string | string[]) => void;
13
+ clearAll: () => void;
14
+ };
15
+ export { SessionStorageService, LocalStorageService };
@@ -0,0 +1,5 @@
1
+ import { RxTooltipPropsType } from './src/RxTooltip';
2
+ declare const RxTooltip: any;
3
+ export { RxTooltip };
4
+ export type { RxTooltipPropsType };
5
+ export default RxTooltip;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("rx-compo/lib/utils/with-install"),e=require("vue"),o=require("element-plus");var n=e.defineComponent({name:"RxTooltip",components:{ElTooltip:o.ElTooltip},props:{},setup(t,{attrs:o}){const{rxToolTipOptions:n,init:r}=function(t,o){const n=e.ref();return{rxToolTipOptions:n,init:function(){const{popperClass:t}=o;n.value=Object.assign(Object.assign({},o),{popperClass:t||"rx-tooltip"})}}}(0,o);return e.onMounted((()=>{!function(t,o,n){e.watch((()=>o),(()=>{e.nextTick((()=>n()))}),{deep:!0,immediate:!0})}(0,o,r)})),{rxToolTipOptions:n}}});n.render=function(t,o,n,r,i,s){const l=e.resolveComponent("el-tooltip");return e.openBlock(),e.createBlock(l,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),content:e.withCtx((()=>[e.renderSlot(t.$slots,"content")])),_:3},16)},n.__file="packages/components/RxTooltip/src/RxTooltip.vue";const r=t.withInstall(n);exports.RxTooltip=r,exports.default=r;
@@ -0,0 +1,4 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import type { ElTooltipProps } from 'element-plus';
3
+ export declare const RxTooltipProps: {};
4
+ export declare type RxTooltipPropsType = ExtractPropTypes<typeof RxTooltipProps & ElTooltipProps>;
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
+ [x: string]: unknown;
3
+ }>>, {
4
+ rxToolTipOptions: import("vue").Ref<any>;
5
+ }, 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<{
6
+ [x: string]: unknown;
7
+ }>>>>, {
8
+ [x: number]: string;
9
+ } | {}>;
10
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare function useBase(props: any, attrs: any): {
2
+ rxToolTipOptions: import("vue").Ref<any>;
3
+ init: () => void;
4
+ };
@@ -0,0 +1 @@
1
+ export declare function useController(props: any, attrs: any, init: Function): {};
@@ -4,6 +4,13 @@ declare const _default: {
4
4
  install: (app: App<any>) => void;
5
5
  };
6
6
  export default _default;
7
- export * from './icon';
8
- export * from './date';
9
7
  export * from './RxButton';
8
+ export * from './RxCheckbox';
9
+ export * from './RxDatePicker';
10
+ export * from './RxInput';
11
+ export * from './RxOption';
12
+ export * from './RxSelect';
13
+ export * from './RxTooltip';
14
+ export * from './RxSelectPlus';
15
+ export * from './RxScrollbar';
16
+ export * from './RxSuperCondition';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("element-plus");require("element-plus/dist/index.css");var t=require("@element-plus/icons-vue"),r=require("./icon"),n=require("./date"),u=require("./RxButton");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var f=o(e),a=c(t),i=o(r),s=o(n);const l=[i.default,s.default];var p={install:function(e){l.forEach((t=>{e.component(t.name,t)})),e.use(f.default),Object.entries(a).forEach((([t,r])=>{e.component(t,r)}))}};exports.default=p,Object.keys(r).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})})),Object.keys(n).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})})),Object.keys(u).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return u[e]}})}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("element-plus");require("element-plus/dist/index.css");var t=require("@element-plus/icons-vue"),r=require("./RxButton"),n=require("./RxCheckbox"),u=require("./RxDatePicker"),o=require("./RxInput"),f=require("./RxOption"),c=require("./RxSelect"),a=require("./RxTooltip"),i=require("./RxSelectPlus"),s=require("./RxScrollbar"),l=require("./RxSuperCondition");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var b=p(e),O=d(t),y=p(r),x=p(n),j=p(u),P=p(o),h=p(f),m=p(c),g=p(a),k=p(i),q=p(s),E=p(l);const w=[y.default,x.default,j.default,P.default,h.default,m.default,g.default,k.default,q.default,E.default];var R={install:function(e){w.forEach((t=>{e.component(t.name,t)})),e.use(b.default),Object.entries(O).forEach((([t,r])=>{e.component(t,r)}))}};exports.default=R,Object.keys(r).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})})),Object.keys(n).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})})),Object.keys(u).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return u[e]}})})),Object.keys(o).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return o[e]}})})),Object.keys(f).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return f[e]}})})),Object.keys(c).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return c[e]}})})),Object.keys(a).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return a[e]}})})),Object.keys(i).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return i[e]}})})),Object.keys(s).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return s[e]}})})),Object.keys(l).forEach((function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return l[e]}})}));
@@ -0,0 +1,4 @@
1
+ export declare function useTextOverflow(componentsName: string): {
2
+ isOverflowed: import("@vue/reactivity").Ref<boolean>;
3
+ checkOverflowCustom: (node: any) => void;
4
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useTextOverflow = void 0;
4
+ const vue_1 = require("vue");
5
+ function useTextOverflow(componentsName) {
6
+ const isOverflowed = (0, vue_1.ref)(false);
7
+ function checkOverflowCustom(node) {
8
+ switch (componentsName) {
9
+ case 'RxSelectPlus':
10
+ const textElement = node.getElementsByClassName('el-input__inner')[0];
11
+ isOverflowed.value = textElement.scrollWidth > textElement.offsetWidth;
12
+ break;
13
+ }
14
+ }
15
+ return { isOverflowed, checkOverflowCustom };
16
+ }
17
+ exports.useTextOverflow = useTextOverflow;