rx-compo 1.0.55 → 1.0.57

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 @@
1
+ .rx-button.is-plain{--el-button-hover-text-color:rgba(81, 86, 93, 1);--el-button-hover-bg-color:rgba(242, 243, 245, 1);--el-button-hover-border-color:rgba(208, 211, 214, 1);--el-button-active-border-color:rgba(208, 211, 214, 1);--el-button-active-bg-color:rgba(231, 232, 234, 1)}.rx-button.el-button--primary{--el-color-primary:#3370FF;--el-color-primary-dark-2:#245BDB;--el-color-primary-light-3:#3370FF;--el-color-primary-light-5:#BACEFD;--el-button-disabled-bg-color:#BACEFD;--el-button-disabled-border-color:#BACEFD;--el-mask-color-extra-light:rgba(255,255,255,0.6);--el-button-border-color:rgba(51, 112, 255, 1)}.rx-button.el-button--danger{--el-color-danger:#F76864;--el-color-danger-dark-2:#FA5853;--el-color-danger-light-3:#F76864;--el-button-disabled-bg-color:#FBBFBD;--el-button-disabled-border-color:#FBBFBD;--el-mask-color-extra-light:rgba(255,255,255,0.6);--el-button-border-color:rgba(245, 74, 69, 1)}.rx-button.el-button--primary.is-plain{--el-button-bg-color:rgba(255, 255, 255, 1);--el-button-hover-text-color:rgba(51, 112, 255, 1);--el-button-hover-bg-color:rgba(240, 244, 255, 1);--el-button-hover-border-color:rgba(51, 112, 255, 1);--el-button-active-border-color:rgba(36, 91, 219, 1);--el-button-active-bg-color:null;--el-button-divide-border-color:rgba(36, 91, 219, 1);--el-button-active-text-color:rgba(36, 91, 219, 1)}.rx-button.el-button--primary.is-link{--el-button-text-color:rgba(51, 112, 255, 1);--el-button-hover-link-text-color:rgba(36, 91, 219, 1);--el-button-active-text-color:rgba(36, 91, 219, 1);--el-button-active-color:rgba(36, 91, 219, 1)}.rx-button.el-button--danger.is-plain{--el-button-bg-color:rgba(254, 241, 241, 1);--el-button-hover-text-color:#FA5853;--el-button-hover-bg-color:rgba(254, 241, 241, 1);--el-button-hover-border-color:#FA5853;--el-button-active-border-color:rgba(250, 88, 83, 1);--el-button-active-bg-color:rgba(250, 88, 83, 1)}.rx-button.el-button--danger.is-link{--el-button-text-color:rgba(247, 104, 100, 1);--el-button-hover-link-text-color:rgba(255, 155, 150, 1);--el-button-active-text-color:rgba(250, 88, 83, 1);--el-button-active-color:rgba(250, 88, 83, 1)}
@@ -0,0 +1 @@
1
+ .rx-checkbox .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#3370ff;border-color:#3370ff}.rx-checkbox .el-checkbox__inner{border-radius:4px;color:#0f1114}.rx-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.rx-checkbox .el-checkbox__label{color:#0f1114;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.rx-checkbox .el-checkbox__input.is-disabled+span.el-checkbox__label{color:#c0c3c8}.rx-checkbox .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#bacefd;border-color:#bacefd}.rx-checkbox .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.rx-checkbox:hover .el-checkbox__input .el-checkbox__inner{border-color:#3370ff}
@@ -0,0 +1 @@
1
+ .rx-input{--el-input-focus-border-color:#3370FF}
@@ -0,0 +1 @@
1
+ .rx-select-drop-option .el-select-dropdown__item.selected{color:#3370ff}.rx-select-drop-option .el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#3370ff}.rx-select-drop-option .rx-option-overflow{width:100%;height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@@ -0,0 +1 @@
1
+ .rx-select{--el-select-border-color-hover:#A5AEB7;--el-select-input-focus-border-color:#3370FF}.rx-select .el-input__inner{color:#0f1114;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rx-select .el-tag{color:#3370ff}.rx-select .is-closable{color:#51565d}
package/types/index.d.ts CHANGED
@@ -1,9 +1,13 @@
1
- import type { IconComponent } from 'rx-compo/es/components/icon';
2
- import type { DateComponent } from 'rx-compo/es/components/date';
1
+ import type { RxButtonComponent } from 'rx-compo/es/components/RxButton';
2
+ import type { RxCheckboxComponent } from 'rx-compo/es/components/RxCheckbox';
3
+ import type { RxDatePickerComponent } from 'rx-compo/es/components/RxDatePicker';
4
+ import type { RxInputComponent } from 'rx-compo/es/components/RxInput';
3
5
  declare module 'vue' {
4
6
  interface GlobalComponents {
5
- QiIcon: IconComponent;
6
- QiDate: DateComponent;
7
+ RxButton: RxButtonComponent;
8
+ RxCheckbox: RxCheckboxComponent;
9
+ RxDatePicker: RxDatePickerComponent;
10
+ RxInput: RxInputComponent;
7
11
  }
8
12
  }
9
13
  export {};
@@ -1,4 +0,0 @@
1
- declare const QiDate: any;
2
- export { QiDate };
3
- export default QiDate;
4
- export type { DateInstance, DateComponent, DatePublicProps as DateProps } from './src/date';
@@ -1 +0,0 @@
1
- import{withInstall as o}from"rx-compo/es/utils/with-install";import{defineComponent as e,openBlock as t,createElementBlock as r,toDisplayString as n}from"vue";import{IxPropTypes as s}from"rx-compo/es/utils";import i from"moment";var l=e({name:"QiDate",props:{mode:s.oneOf(["primary","default","dashed","text","link"]),danger:s.bool,ghost:s.bool,disabled:s.bool,loading:s.bool,size:s.oneOf(["lg","xl","md","sm","xs"]),shape:s.oneOf(["circle","round"]),block:s.bool,icon:s.string,type:s.oneOf(["button","submit","reset"]).def("button")},setup:o=>({now:i().format("LLLL")})});const m={class:"w-[100px] h-[100px] bg-red-500"};l.render=function(o,e,s,i,l,a){return t(),r("div",m,n(o.now),1)},l.__file="packages/components/date/src/date.vue";const a=o(l);export{a as QiDate,a as default};
@@ -1,24 +0,0 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import type { AnchorHTMLAttributes, ButtonHTMLAttributes, DefineComponent } from 'vue';
3
- export declare type DateMode = 'primary' | 'default' | 'dashed' | 'text' | 'link';
4
- export declare type DateShape = 'circle' | 'round';
5
- export declare type DateSize = 'lg' | 'xl' | 'md' | 'sm' | 'xs';
6
- export declare type DateType = 'button' | 'submit' | 'reset';
7
- export declare const dateProps: {
8
- mode: import("vue-types").VueTypeDef<DateMode>;
9
- danger: import("vue-types").VueTypeValidableDef<boolean>;
10
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
11
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
12
- loading: import("vue-types").VueTypeValidableDef<boolean>;
13
- size: import("vue-types").VueTypeDef<DateSize>;
14
- shape: import("vue-types").VueTypeDef<DateShape>;
15
- block: import("vue-types").VueTypeValidableDef<boolean>;
16
- icon: import("vue-types").VueTypeValidableDef<string>;
17
- type: import("vue-types").VueTypeDef<DateType> & {
18
- default: DateType;
19
- };
20
- };
21
- export declare type DateProps = ExtractInnerPropTypes<typeof dateProps>;
22
- export declare type DatePublicProps = ExtractPublicPropTypes<typeof dateProps>;
23
- export declare type DateComponent = DefineComponent<Omit<ButtonHTMLAttributes | AnchorHTMLAttributes, keyof DatePublicProps> & DatePublicProps>;
24
- export declare type DateInstance = InstanceType<DefineComponent<DateProps>>;
@@ -1,32 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- mode: import("vue-types").VueTypeDef<import("./date").DateMode>;
3
- danger: import("vue-types").VueTypeValidableDef<boolean>;
4
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
5
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
6
- loading: import("vue-types").VueTypeValidableDef<boolean>;
7
- size: import("vue-types").VueTypeDef<import("./date").DateSize>;
8
- shape: import("vue-types").VueTypeDef<import("./date").DateShape>;
9
- block: import("vue-types").VueTypeValidableDef<boolean>;
10
- icon: import("vue-types").VueTypeValidableDef<string>;
11
- type: import("vue-types").VueTypeDef<import("./date").DateType> & {
12
- default: import("./date").DateType;
13
- };
14
- }, {
15
- now: string;
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
- mode: import("vue-types").VueTypeDef<import("./date").DateMode>;
18
- danger: import("vue-types").VueTypeValidableDef<boolean>;
19
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
20
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
21
- loading: import("vue-types").VueTypeValidableDef<boolean>;
22
- size: import("vue-types").VueTypeDef<import("./date").DateSize>;
23
- shape: import("vue-types").VueTypeDef<import("./date").DateShape>;
24
- block: import("vue-types").VueTypeValidableDef<boolean>;
25
- icon: import("vue-types").VueTypeValidableDef<string>;
26
- type: import("vue-types").VueTypeDef<import("./date").DateType> & {
27
- default: import("./date").DateType;
28
- };
29
- }>>, {
30
- type: import("./date").DateType;
31
- }>;
32
- export default _default;
@@ -1 +0,0 @@
1
- .qi-icon{border:1px solid #000;border-radius:15px;margin:5px;padding:5px}
@@ -1,4 +0,0 @@
1
- declare const QiIcon: any;
2
- export { QiIcon };
3
- export default QiIcon;
4
- export type { IconInstance, IconComponent, IconPublicProps as IconProps } from './src/icon';
@@ -1 +0,0 @@
1
- import{withInstall as o}from"rx-compo/es/utils/with-install";import{defineComponent as e,computed as s,openBlock as t,createElementBlock as i,normalizeStyle as l,renderSlot as n}from"vue";import{IxPropTypes as r}from"rx-compo/es/utils";var c=e({name:"QiIcon",props:{color:r.string,mode:r.oneOf(["primary","default","dashed","text","link"]),danger:r.bool,ghost:r.bool,disabled:r.bool,loading:r.bool,size:r.oneOf(["lg","xl","md","sm","xs"]),shape:r.oneOf(["circle","round"]),block:r.bool,icon:r.string,type:r.oneOf(["button","submit","reset"]).def("button")},setup:o=>({style:s((()=>o.size||o.color?Object.assign(Object.assign({},o.size?{"font-size":o.size+"px"}:{}),o.color?{color:o.color}:{}):{}))})});c.render=function(o,e,s,r,c,a){return t(),i("i",{class:"qi-icon",style:l(o.style)},[n(o.$slots,"default")],4)},c.__file="packages/components/icon/src/icon.vue";const a=o(c);export{a as QiIcon,a as default};
@@ -1,25 +0,0 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import type { AnchorHTMLAttributes, ButtonHTMLAttributes, DefineComponent } from 'vue';
3
- export declare type IconMode = 'primary' | 'default' | 'dashed' | 'text' | 'link';
4
- export declare type IconShape = 'circle' | 'round';
5
- export declare type IconSize = 'lg' | 'xl' | 'md' | 'sm' | 'xs';
6
- export declare type IconType = 'button' | 'submit' | 'reset';
7
- export declare const iconProps: {
8
- color: import("vue-types").VueTypeValidableDef<string>;
9
- mode: import("vue-types").VueTypeDef<IconMode>;
10
- danger: import("vue-types").VueTypeValidableDef<boolean>;
11
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
12
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
13
- loading: import("vue-types").VueTypeValidableDef<boolean>;
14
- size: import("vue-types").VueTypeDef<IconSize>;
15
- shape: import("vue-types").VueTypeDef<IconShape>;
16
- block: import("vue-types").VueTypeValidableDef<boolean>;
17
- icon: import("vue-types").VueTypeValidableDef<string>;
18
- type: import("vue-types").VueTypeDef<IconType> & {
19
- default: IconType;
20
- };
21
- };
22
- export declare type IconProps = ExtractInnerPropTypes<typeof iconProps>;
23
- export declare type IconPublicProps = ExtractPublicPropTypes<typeof iconProps>;
24
- export declare type IconComponent = DefineComponent<Omit<ButtonHTMLAttributes | AnchorHTMLAttributes, keyof IconPublicProps> & IconPublicProps>;
25
- export declare type IconInstance = InstanceType<DefineComponent<IconProps>>;
@@ -1,37 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- color: import("vue-types").VueTypeValidableDef<string>;
3
- mode: import("vue-types").VueTypeDef<import("./icon").IconMode>;
4
- danger: import("vue-types").VueTypeValidableDef<boolean>;
5
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
6
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
7
- loading: import("vue-types").VueTypeValidableDef<boolean>;
8
- size: import("vue-types").VueTypeDef<import("./icon").IconSize>;
9
- shape: import("vue-types").VueTypeDef<import("./icon").IconShape>;
10
- block: import("vue-types").VueTypeValidableDef<boolean>;
11
- icon: import("vue-types").VueTypeValidableDef<string>;
12
- type: import("vue-types").VueTypeDef<import("./icon").IconType> & {
13
- default: import("./icon").IconType;
14
- };
15
- }, {
16
- style: import("vue").ComputedRef<{
17
- color?: string;
18
- 'font-size'?: string;
19
- }>;
20
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- color: import("vue-types").VueTypeValidableDef<string>;
22
- mode: import("vue-types").VueTypeDef<import("./icon").IconMode>;
23
- danger: import("vue-types").VueTypeValidableDef<boolean>;
24
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
25
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
26
- loading: import("vue-types").VueTypeValidableDef<boolean>;
27
- size: import("vue-types").VueTypeDef<import("./icon").IconSize>;
28
- shape: import("vue-types").VueTypeDef<import("./icon").IconShape>;
29
- block: import("vue-types").VueTypeValidableDef<boolean>;
30
- icon: import("vue-types").VueTypeValidableDef<string>;
31
- type: import("vue-types").VueTypeDef<import("./icon").IconType> & {
32
- default: import("./icon").IconType;
33
- };
34
- }>>, {
35
- type: import("./icon").IconType;
36
- }>;
37
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const QiDate: any;
2
- export { QiDate };
3
- export default QiDate;
4
- export type { DateInstance, DateComponent, DatePublicProps as DateProps } from './src/date';
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),t=require("rx-compo/lib/utils");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(require("moment"));const p={mode:t.IxPropTypes.oneOf(["primary","default","dashed","text","link"]),danger:t.IxPropTypes.bool,ghost:t.IxPropTypes.bool,disabled:t.IxPropTypes.bool,loading:t.IxPropTypes.bool,size:t.IxPropTypes.oneOf(["lg","xl","md","sm","xs"]),shape:t.IxPropTypes.oneOf(["circle","round"]),block:t.IxPropTypes.bool,icon:t.IxPropTypes.string,type:t.IxPropTypes.oneOf(["button","submit","reset"]).def("button")};var n=o.defineComponent({name:"QiDate",props:p,setup:e=>({now:s.default().format("LLLL")})});const l={class:"w-[100px] h-[100px] bg-red-500"};n.render=function(e,t,r,s,p,n){return o.openBlock(),o.createElementBlock("div",l,o.toDisplayString(e.now),1)},n.__file="packages/components/date/src/date.vue";const i=e.withInstall(n);exports.QiDate=i,exports.default=i;
@@ -1,24 +0,0 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import type { AnchorHTMLAttributes, ButtonHTMLAttributes, DefineComponent } from 'vue';
3
- export declare type DateMode = 'primary' | 'default' | 'dashed' | 'text' | 'link';
4
- export declare type DateShape = 'circle' | 'round';
5
- export declare type DateSize = 'lg' | 'xl' | 'md' | 'sm' | 'xs';
6
- export declare type DateType = 'button' | 'submit' | 'reset';
7
- export declare const dateProps: {
8
- mode: import("vue-types").VueTypeDef<DateMode>;
9
- danger: import("vue-types").VueTypeValidableDef<boolean>;
10
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
11
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
12
- loading: import("vue-types").VueTypeValidableDef<boolean>;
13
- size: import("vue-types").VueTypeDef<DateSize>;
14
- shape: import("vue-types").VueTypeDef<DateShape>;
15
- block: import("vue-types").VueTypeValidableDef<boolean>;
16
- icon: import("vue-types").VueTypeValidableDef<string>;
17
- type: import("vue-types").VueTypeDef<DateType> & {
18
- default: DateType;
19
- };
20
- };
21
- export declare type DateProps = ExtractInnerPropTypes<typeof dateProps>;
22
- export declare type DatePublicProps = ExtractPublicPropTypes<typeof dateProps>;
23
- export declare type DateComponent = DefineComponent<Omit<ButtonHTMLAttributes | AnchorHTMLAttributes, keyof DatePublicProps> & DatePublicProps>;
24
- export declare type DateInstance = InstanceType<DefineComponent<DateProps>>;
@@ -1,32 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- mode: import("vue-types").VueTypeDef<import("./date").DateMode>;
3
- danger: import("vue-types").VueTypeValidableDef<boolean>;
4
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
5
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
6
- loading: import("vue-types").VueTypeValidableDef<boolean>;
7
- size: import("vue-types").VueTypeDef<import("./date").DateSize>;
8
- shape: import("vue-types").VueTypeDef<import("./date").DateShape>;
9
- block: import("vue-types").VueTypeValidableDef<boolean>;
10
- icon: import("vue-types").VueTypeValidableDef<string>;
11
- type: import("vue-types").VueTypeDef<import("./date").DateType> & {
12
- default: import("./date").DateType;
13
- };
14
- }, {
15
- now: string;
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
- mode: import("vue-types").VueTypeDef<import("./date").DateMode>;
18
- danger: import("vue-types").VueTypeValidableDef<boolean>;
19
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
20
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
21
- loading: import("vue-types").VueTypeValidableDef<boolean>;
22
- size: import("vue-types").VueTypeDef<import("./date").DateSize>;
23
- shape: import("vue-types").VueTypeDef<import("./date").DateShape>;
24
- block: import("vue-types").VueTypeValidableDef<boolean>;
25
- icon: import("vue-types").VueTypeValidableDef<string>;
26
- type: import("vue-types").VueTypeDef<import("./date").DateType> & {
27
- default: import("./date").DateType;
28
- };
29
- }>>, {
30
- type: import("./date").DateType;
31
- }>;
32
- export default _default;
@@ -1 +0,0 @@
1
- .qi-icon{border:1px solid #000;border-radius:15px;margin:5px;padding:5px}
@@ -1,4 +0,0 @@
1
- declare const QiIcon: any;
2
- export { QiIcon };
3
- export default QiIcon;
4
- export type { IconInstance, IconComponent, IconPublicProps as IconProps } from './src/icon';
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("rx-compo/lib/utils/with-install"),o=require("vue"),s=require("rx-compo/lib/utils");const r={color:s.IxPropTypes.string,mode:s.IxPropTypes.oneOf(["primary","default","dashed","text","link"]),danger:s.IxPropTypes.bool,ghost:s.IxPropTypes.bool,disabled:s.IxPropTypes.bool,loading:s.IxPropTypes.bool,size:s.IxPropTypes.oneOf(["lg","xl","md","sm","xs"]),shape:s.IxPropTypes.oneOf(["circle","round"]),block:s.IxPropTypes.bool,icon:s.IxPropTypes.string,type:s.IxPropTypes.oneOf(["button","submit","reset"]).def("button")};var t=o.defineComponent({name:"QiIcon",props:r,setup:e=>({style:o.computed((()=>e.size||e.color?Object.assign(Object.assign({},e.size?{"font-size":e.size+"px"}:{}),e.color?{color:e.color}:{}):{}))})});t.render=function(e,s,r,t,l,n){return o.openBlock(),o.createElementBlock("i",{class:"qi-icon",style:o.normalizeStyle(e.style)},[o.renderSlot(e.$slots,"default")],4)},t.__file="packages/components/icon/src/icon.vue";const l=e.withInstall(t);exports.QiIcon=l,exports.default=l;
@@ -1,25 +0,0 @@
1
- import type { ExtractInnerPropTypes, ExtractPublicPropTypes } from 'rx-compo/es/utils';
2
- import type { AnchorHTMLAttributes, ButtonHTMLAttributes, DefineComponent } from 'vue';
3
- export declare type IconMode = 'primary' | 'default' | 'dashed' | 'text' | 'link';
4
- export declare type IconShape = 'circle' | 'round';
5
- export declare type IconSize = 'lg' | 'xl' | 'md' | 'sm' | 'xs';
6
- export declare type IconType = 'button' | 'submit' | 'reset';
7
- export declare const iconProps: {
8
- color: import("vue-types").VueTypeValidableDef<string>;
9
- mode: import("vue-types").VueTypeDef<IconMode>;
10
- danger: import("vue-types").VueTypeValidableDef<boolean>;
11
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
12
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
13
- loading: import("vue-types").VueTypeValidableDef<boolean>;
14
- size: import("vue-types").VueTypeDef<IconSize>;
15
- shape: import("vue-types").VueTypeDef<IconShape>;
16
- block: import("vue-types").VueTypeValidableDef<boolean>;
17
- icon: import("vue-types").VueTypeValidableDef<string>;
18
- type: import("vue-types").VueTypeDef<IconType> & {
19
- default: IconType;
20
- };
21
- };
22
- export declare type IconProps = ExtractInnerPropTypes<typeof iconProps>;
23
- export declare type IconPublicProps = ExtractPublicPropTypes<typeof iconProps>;
24
- export declare type IconComponent = DefineComponent<Omit<ButtonHTMLAttributes | AnchorHTMLAttributes, keyof IconPublicProps> & IconPublicProps>;
25
- export declare type IconInstance = InstanceType<DefineComponent<IconProps>>;
@@ -1,37 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- color: import("vue-types").VueTypeValidableDef<string>;
3
- mode: import("vue-types").VueTypeDef<import("./icon").IconMode>;
4
- danger: import("vue-types").VueTypeValidableDef<boolean>;
5
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
6
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
7
- loading: import("vue-types").VueTypeValidableDef<boolean>;
8
- size: import("vue-types").VueTypeDef<import("./icon").IconSize>;
9
- shape: import("vue-types").VueTypeDef<import("./icon").IconShape>;
10
- block: import("vue-types").VueTypeValidableDef<boolean>;
11
- icon: import("vue-types").VueTypeValidableDef<string>;
12
- type: import("vue-types").VueTypeDef<import("./icon").IconType> & {
13
- default: import("./icon").IconType;
14
- };
15
- }, {
16
- style: import("vue").ComputedRef<{
17
- color?: string;
18
- 'font-size'?: string;
19
- }>;
20
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- color: import("vue-types").VueTypeValidableDef<string>;
22
- mode: import("vue-types").VueTypeDef<import("./icon").IconMode>;
23
- danger: import("vue-types").VueTypeValidableDef<boolean>;
24
- ghost: import("vue-types").VueTypeValidableDef<boolean>;
25
- disabled: import("vue-types").VueTypeValidableDef<boolean>;
26
- loading: import("vue-types").VueTypeValidableDef<boolean>;
27
- size: import("vue-types").VueTypeDef<import("./icon").IconSize>;
28
- shape: import("vue-types").VueTypeDef<import("./icon").IconShape>;
29
- block: import("vue-types").VueTypeValidableDef<boolean>;
30
- icon: import("vue-types").VueTypeValidableDef<string>;
31
- type: import("vue-types").VueTypeDef<import("./icon").IconType> & {
32
- default: import("./icon").IconType;
33
- };
34
- }>>, {
35
- type: import("./icon").IconType;
36
- }>;
37
- export default _default;
@@ -1 +0,0 @@
1
- .qi-icon{border:1px solid #000;border-radius:15px;margin:5px;padding:5px}