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.
- package/es/components/RxButton/index.d.ts +1 -1
- package/es/components/RxButton/index.js +1 -1
- package/es/components/RxButton/src/RxButton.d.ts +6 -3
- package/es/components/RxButton/src/RxButton.vue.d.ts +2 -0
- package/es/components/RxCheckbox/index.d.ts +4 -0
- package/es/components/RxCheckbox/index.js +1 -0
- package/es/components/RxCheckbox/src/RxCheckbox.d.ts +9 -0
- package/es/components/RxCheckbox/src/RxCheckbox.vue.d.ts +14 -0
- package/es/components/RxDatePicker/index.d.ts +4 -0
- package/es/components/RxDatePicker/index.js +1 -0
- package/es/components/RxDatePicker/src/RxDatePicker.d.ts +9 -0
- package/es/components/RxInput/index.d.ts +4 -0
- package/es/components/RxInput/index.js +1 -0
- package/es/components/RxInput/src/RxInput.d.ts +21 -0
- package/es/components/RxInput/src/RxInput.vue.d.ts +34 -0
- package/es/components/RxInput/src/hooks/useTotalInput.d.ts +6 -0
- package/es/components/RxOption/index.d.ts +5 -0
- package/es/components/RxOption/index.js +1 -0
- package/es/components/RxOption/src/RxOption.d.ts +3 -0
- package/es/components/RxOption/src/RxOption.vue.d.ts +4 -0
- package/es/components/RxScrollbar/index.d.ts +3 -0
- package/es/components/RxScrollbar/index.js +1 -0
- package/es/components/RxScrollbar/src/RxScrollbar.d.ts +3 -0
- package/es/components/RxScrollbar/src/RxScrollbar.vue.d.ts +8 -0
- package/es/components/RxSelect/index.d.ts +6 -0
- package/es/components/RxSelect/index.js +1 -0
- package/es/components/RxSelect/src/RxSelect.d.ts +14 -0
- package/es/components/RxSelect/src/RxSelect.vue.d.ts +27 -0
- package/es/components/RxSelect/src/hooks/useController.d.ts +1 -0
- package/es/components/RxSelect/src/hooks/useOptionClass.d.ts +6 -0
- package/es/components/RxSelect/src/hooks/useRxSelect.d.ts +6 -0
- package/es/components/RxSelectPlus/index.d.ts +6 -0
- package/es/components/RxSelectPlus/index.js +1 -0
- package/es/components/RxSelectPlus/src/RxSelectPlus.d.ts +252 -0
- package/es/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +504 -0
- package/es/components/RxSelectPlus/src/hooks/useController.d.ts +2 -0
- package/es/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +6 -0
- package/es/components/RxSuperCondition/index.d.ts +3 -0
- package/es/components/RxSuperCondition/index.js +1 -0
- package/es/components/RxSuperCondition/src/RxSuperCondition.d.ts +50 -0
- package/es/components/RxSuperCondition/src/RxSuperCondition.vue.d.ts +84 -0
- package/es/components/RxSuperCondition/src/components/RxAddConditionButton/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxAddConditionButton/index.vue.d.ts +13 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.vue.d.ts +18 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/chooseDate.vue.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/index.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLess.vue.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLessDisabled.vue.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputMax.vue.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/moreSelect.vue.d.ts +12 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/numberRange.vue.d.ts +10 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +10 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/totalInput.vue.d.ts +9 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/const/index.d.ts +52 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.vue.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.vue.d.ts +32 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxConditionRender/index.vue.d.ts +48 -0
- package/es/components/RxSuperCondition/src/components/RxTemplateList/index.d.ts +2 -0
- package/es/components/RxSuperCondition/src/components/RxTemplateList/index.vue.d.ts +20 -0
- package/es/components/RxSuperCondition/src/hooks/useConditionContext.d.ts +4 -0
- package/es/components/RxSuperCondition/src/hooks/useContext.d.ts +10 -0
- package/es/components/RxSuperCondition/src/hooks/useControlCondition.d.ts +12 -0
- package/es/components/RxSuperCondition/src/hooks/useControlTemplate.d.ts +20 -0
- package/es/components/RxSuperCondition/src/hooks/useDialog.d.ts +8 -0
- package/es/components/RxSuperCondition/src/hooks/useInit.d.ts +7 -0
- package/es/components/RxSuperCondition/src/hooks/useStorageSevise.d.ts +15 -0
- package/es/components/RxTooltip/index.d.ts +5 -0
- package/es/components/RxTooltip/index.js +1 -0
- package/es/components/RxTooltip/src/RxTooltip.d.ts +4 -0
- package/es/components/RxTooltip/src/RxTooltip.vue.d.ts +10 -0
- package/es/components/RxTooltip/src/hooks/useBase.d.ts +4 -0
- package/es/components/RxTooltip/src/hooks/useController.d.ts +1 -0
- package/es/components/index.d.ts +9 -2
- package/es/components/index.js +1 -1
- package/es/utils/useTextOverflow.d.ts +4 -0
- package/es/utils/useTextOverflow.js +13 -0
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/lib/components/RxButton/index.d.ts +1 -1
- package/lib/components/RxButton/index.js +1 -1
- package/lib/components/RxButton/src/RxButton.d.ts +6 -3
- package/lib/components/RxButton/src/RxButton.vue.d.ts +2 -0
- package/lib/components/RxCheckbox/index.d.ts +4 -0
- package/lib/components/RxCheckbox/index.js +1 -0
- package/lib/components/RxCheckbox/src/RxCheckbox.d.ts +9 -0
- package/lib/components/RxCheckbox/src/RxCheckbox.vue.d.ts +14 -0
- package/lib/components/RxDatePicker/index.d.ts +4 -0
- package/lib/components/RxDatePicker/index.js +1 -0
- package/lib/components/RxDatePicker/src/RxDatePicker.d.ts +9 -0
- package/lib/components/RxInput/index.d.ts +4 -0
- package/lib/components/RxInput/index.js +1 -0
- package/lib/components/RxInput/src/RxInput.d.ts +21 -0
- package/lib/components/RxInput/src/RxInput.vue.d.ts +34 -0
- package/lib/components/RxInput/src/hooks/useTotalInput.d.ts +6 -0
- package/lib/components/RxOption/index.d.ts +5 -0
- package/lib/components/RxOption/index.js +1 -0
- package/lib/components/RxOption/src/RxOption.d.ts +3 -0
- package/lib/components/RxOption/src/RxOption.vue.d.ts +4 -0
- package/lib/components/RxScrollbar/index.d.ts +3 -0
- package/lib/components/RxScrollbar/index.js +1 -0
- package/lib/components/RxScrollbar/src/RxScrollbar.d.ts +3 -0
- package/lib/components/RxScrollbar/src/RxScrollbar.vue.d.ts +8 -0
- package/lib/components/RxSelect/index.d.ts +6 -0
- package/lib/components/RxSelect/index.js +1 -0
- package/lib/components/RxSelect/src/RxSelect.d.ts +14 -0
- package/lib/components/RxSelect/src/RxSelect.vue.d.ts +27 -0
- package/lib/components/RxSelect/src/hooks/useController.d.ts +1 -0
- package/lib/components/RxSelect/src/hooks/useOptionClass.d.ts +6 -0
- package/lib/components/RxSelect/src/hooks/useRxSelect.d.ts +6 -0
- package/lib/components/RxSelectPlus/index.d.ts +6 -0
- package/lib/components/RxSelectPlus/index.js +1 -0
- package/lib/components/RxSelectPlus/src/RxSelectPlus.d.ts +252 -0
- package/lib/components/RxSelectPlus/src/RxSelectPlus.vue.d.ts +504 -0
- package/lib/components/RxSelectPlus/src/hooks/useController.d.ts +2 -0
- package/lib/components/RxSelectPlus/src/hooks/useRxSelect.d.ts +6 -0
- package/lib/components/RxSuperCondition/index.d.ts +3 -0
- package/lib/components/RxSuperCondition/index.js +1 -0
- package/lib/components/RxSuperCondition/src/RxSuperCondition.d.ts +50 -0
- package/lib/components/RxSuperCondition/src/RxSuperCondition.vue.d.ts +84 -0
- package/lib/components/RxSuperCondition/src/components/RxAddConditionButton/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxAddConditionButton/index.vue.d.ts +13 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxAndOr/index.vue.d.ts +18 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/chooseDate.vue.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/index.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLess.vue.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputLessDisabled.vue.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/inputMax.vue.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/moreSelect.vue.d.ts +12 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/numberRange.vue.d.ts +10 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/timeRange.vue.d.ts +10 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/components/totalInput.vue.d.ts +9 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/const/index.d.ts +52 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxConditionItem/index.vue.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/components/RxDeConditionBtn/index.vue.d.ts +32 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxConditionRender/index.vue.d.ts +48 -0
- package/lib/components/RxSuperCondition/src/components/RxTemplateList/index.d.ts +2 -0
- package/lib/components/RxSuperCondition/src/components/RxTemplateList/index.vue.d.ts +20 -0
- package/lib/components/RxSuperCondition/src/hooks/useConditionContext.d.ts +4 -0
- package/lib/components/RxSuperCondition/src/hooks/useContext.d.ts +10 -0
- package/lib/components/RxSuperCondition/src/hooks/useControlCondition.d.ts +12 -0
- package/lib/components/RxSuperCondition/src/hooks/useControlTemplate.d.ts +20 -0
- package/lib/components/RxSuperCondition/src/hooks/useDialog.d.ts +8 -0
- package/lib/components/RxSuperCondition/src/hooks/useInit.d.ts +7 -0
- package/lib/components/RxSuperCondition/src/hooks/useStorageSevise.d.ts +15 -0
- package/lib/components/RxTooltip/index.d.ts +5 -0
- package/lib/components/RxTooltip/index.js +1 -0
- package/lib/components/RxTooltip/src/RxTooltip.d.ts +4 -0
- package/lib/components/RxTooltip/src/RxTooltip.vue.d.ts +10 -0
- package/lib/components/RxTooltip/src/hooks/useBase.d.ts +4 -0
- package/lib/components/RxTooltip/src/hooks/useController.d.ts +1 -0
- package/lib/components/index.d.ts +9 -2
- package/lib/components/index.js +1 -1
- package/lib/utils/useTextOverflow.d.ts +4 -0
- package/lib/utils/useTextOverflow.js +17 -0
- package/package.json +28 -22
- package/theme-chalk/icon.css +1 -1
- package/theme-chalk/index.css +1 -2
- package/theme-chalk/rx-button.css +1 -0
- package/theme-chalk/rx-checkbox.css +1 -0
- package/theme-chalk/rx-input.css +1 -0
- package/theme-chalk/rx-option.css +1 -0
- package/theme-chalk/rx-select.css +1 -0
- package/types/index.d.ts +8 -4
- package/es/components/date/index.d.ts +0 -4
- package/es/components/date/index.js +0 -1
- package/es/components/date/src/date.d.ts +0 -24
- package/es/components/date/src/date.vue.d.ts +0 -32
- package/es/components/icon/index.css +0 -1
- package/es/components/icon/index.d.ts +0 -4
- package/es/components/icon/index.js +0 -1
- package/es/components/icon/src/icon.d.ts +0 -25
- package/es/components/icon/src/icon.vue.d.ts +0 -37
- package/lib/components/date/index.d.ts +0 -4
- package/lib/components/date/index.js +0 -1
- package/lib/components/date/src/date.d.ts +0 -24
- package/lib/components/date/src/date.vue.d.ts +0 -32
- package/lib/components/icon/index.css +0 -1
- package/lib/components/icon/index.d.ts +0 -4
- package/lib/components/icon/index.js +0 -1
- package/lib/components/icon/src/icon.d.ts +0 -25
- package/lib/components/icon/src/icon.vue.d.ts +0 -37
- 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 {
|
|
2
|
-
import type {
|
|
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
|
-
|
|
6
|
-
|
|
7
|
+
RxButton: RxButtonComponent;
|
|
8
|
+
RxCheckbox: RxCheckboxComponent;
|
|
9
|
+
RxDatePicker: RxDatePickerComponent;
|
|
10
|
+
RxInput: RxInputComponent;
|
|
7
11
|
}
|
|
8
12
|
}
|
|
9
13
|
export {};
|
|
@@ -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 +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 +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 +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}
|