@das-fed/ui 6.4.0-dev.86 → 6.4.0-dev.87
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/package.json +5 -5
- package/packages/business-components/change-enterprises/index.d.ts +5 -5
- package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/i18n/index.d.ts +13 -8
- package/packages/business-components/device-panel/index.js +9724 -9703
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +24 -24
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +2 -2
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +762 -757
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +7 -7
- package/packages/components/cascader/index.js +194 -156
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +1 -1
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/date-picker/index.d.ts +12 -0
- package/packages/components/date-picker/index.js +988 -774
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/type.d.ts +96 -1
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/edit-table/index.js +2 -2
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/form-item/index.js +2 -2
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/image-viewer/index.js +106 -106
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +47 -52
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +92 -88
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-dialog-select/theme/index.d.ts +1 -1
- package/packages/components/input-number/index.d.ts +136 -0
- package/packages/components/input-number/index.js +202 -152
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +1 -5671
- package/packages/components/input-number/src/type.d.ts +3 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/input-number/theme/index.d.ts +1 -1
- package/packages/components/search/index.js +4 -4
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/index.js +425 -422
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +1 -0
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +2 -0
- package/packages/components/search-form/src/type.d.ts +3 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +374 -356
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.d.ts +1 -0
- package/packages/components/select-input/index.js +82 -52
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/Index.vue.d.ts +1 -0
- package/packages/components/select-input/src/hooks/use-select-input.d.ts +1 -0
- package/packages/components/select-input/src/type.d.ts +2 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/tooltip/index.js +5 -4
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree-select/index.js +1 -1
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/global/theme/index.js +2 -1
- package/packages/global/theme/index.js.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-560c94ae]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-560c94ae]{position:absolute;top:100%;left:0;width:var(--ce3b0346)}.das-ui-select.show-ellipsis[data-v-560c94ae] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-560c94ae] .ant-select-selection-overflow-item.ellipsis .ant-tag span:nth-of-type(1){width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.das-ui-select[data-v-560c94ae] .ant-select{width:100%;height:var(--699e5370)}.das-ui-select[data-v-560c94ae] .ant-select .das-select-error-label-content{width:var(--ce3b0346);font-size:12px}.das-ui-select[data-v-560c94ae] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:1}.das-ui-select[data-v-560c94ae] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-md)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--das-ui-select-height-md) - 2px);line-height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple .ant-tag{color:var(--das-ui-select-color-text);height:calc(var(--das-ui-select-height-md) - 4px);line-height:calc(var(--das-ui-select-height-md) - 5px);font-size:var(--das-ui-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--das-ui-select-height-md) - 3px);line-height:calc(var(--das-ui-select-height-md) - 3px);font-size:var(--das-ui-select-tag-font-size-md);margin-top:0;margin-bottom:0;border:none;background-color:transparent;-webkit-margin-end:0px;margin-inline-end:0px;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--das-ui-select-height-sm) - 4px);line-height:calc(var(--das-ui-select-height-sm) - 5px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-sm)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--das-ui-select-height-lg) - 2px);line-height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--das-ui-select-height-lg) - 8px);line-height:calc(var(--das-ui-select-height-lg) - 8px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--das-ui-select-height-lg) - 7px);line-height:calc(var(--das-ui-select-height-lg) - 7px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-lg)}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-560c94ae] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-560c94ae] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-560c94ae] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-560c94ae] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-560c94ae] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-560c94ae] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-560c94ae] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--das-ui-select-color-underline)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-560c94ae] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-560c94ae] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-560c94ae] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-560c94ae] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-560c94ae] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-560c94ae] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-disabled-underline)!important}.das-ui-select.bordered[data-v-560c94ae] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-560c94ae] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-560c94ae] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-560c94ae] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-560c94ae] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-560c94ae] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-560c94ae] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-560c94ae] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-disabled-border)!important}.das-ui-select.none[data-v-560c94ae] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-560c94ae] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--das-ui-color-normal);border-color:transparent}.das-ui-select.readonly[data-v-560c94ae] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-560c94ae] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-560c94ae] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-560c94ae]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-560c94ae]{display:block;color:var(--das-ui-select-color-error)}.das-ui-select-dorpdown .das-select-checkbox.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{padding:0!important}.das-ui-select-dorpdown .das-multiple-option-item{display:flex}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--das-ui-select-color-option-active-bg);font-weight:400;color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--das-ui-select-color-text)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--das-ui-select-color-border)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--das-ui-select-color-help)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-state{display:none}.das-ui-select-dorpdown .das-ui-checkbox{display:inline-block;margin-right:5px}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-show{right:4px!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb{width:8px!important;left:1px!important;background:#b2b2b2!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb:hover{width:10px!important;left:0!important;background:#999!important}.das-ui-select-dorpdown .customDropdown{display:flex;align-items:center;padding:6px 12px 2px;cursor:pointer;border-top:1px solid #d9d9d9}.das-ui-select-dorpdown .customDropdown .el-input{height:28px}.das-ui-select-dorpdown .customDropdown .addBtn{margin-left:12px;cursor:pointer;flex-shrink:0;font-family:Microsoft YaHei;font-size:12px;font-weight:400;height:28px;line-height:28px;text-align:center;letter-spacing:0px;color:#212121}
|
|
1
|
+
.das-ui-select[data-v-620dd382]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-620dd382]{position:absolute;top:100%;left:0;width:var(--0c9f33b7)}.das-ui-select.show-ellipsis[data-v-620dd382] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-620dd382] .ant-select-selection-overflow-item.ellipsis .ant-tag span:nth-of-type(1){width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.das-ui-select[data-v-620dd382] .ant-select{width:100%;height:var(--6d784956)}.das-ui-select[data-v-620dd382] .ant-select .das-select-error-label-content{width:var(--0c9f33b7);font-size:12px}.das-ui-select[data-v-620dd382] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-select[data-v-620dd382] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:1}.das-ui-select[data-v-620dd382] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-620dd382] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-620dd382] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-620dd382] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-620dd382] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-620dd382] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-620dd382] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-md)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-620dd382] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-620dd382] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--das-ui-select-height-md) - 2px);line-height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple .ant-tag{color:var(--das-ui-select-color-text);height:calc(var(--das-ui-select-height-md) - 4px);line-height:calc(var(--das-ui-select-height-md) - 5px);font-size:var(--das-ui-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--das-ui-select-height-md) - 3px);line-height:calc(var(--das-ui-select-height-md) - 3px);font-size:var(--das-ui-select-tag-font-size-md);margin-top:0;margin-bottom:0;border:none;background-color:transparent;-webkit-margin-end:0px;margin-inline-end:0px;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--das-ui-select-height-sm) - 4px);line-height:calc(var(--das-ui-select-height-sm) - 5px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-sm)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--das-ui-select-height-lg) - 2px);line-height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--das-ui-select-height-lg) - 8px);line-height:calc(var(--das-ui-select-height-lg) - 8px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--das-ui-select-height-lg) - 7px);line-height:calc(var(--das-ui-select-height-lg) - 7px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-lg)}.das-ui-select[data-v-620dd382] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-620dd382] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-620dd382] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-620dd382] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-620dd382] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-620dd382] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-620dd382] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-620dd382] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--das-ui-select-color-underline)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-620dd382] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-620dd382] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-620dd382] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-620dd382] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-620dd382] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-620dd382] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-disabled-underline)!important}.das-ui-select.bordered[data-v-620dd382] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-620dd382] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-620dd382] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-620dd382] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-620dd382] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-620dd382] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-620dd382] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-620dd382] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-disabled-border)!important}.das-ui-select.none[data-v-620dd382] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-620dd382] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--das-ui-color-normal);border-color:transparent}.das-ui-select.readonly[data-v-620dd382] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-620dd382] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-620dd382] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-620dd382]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-620dd382]{display:block;color:var(--das-ui-select-color-error)}.das-ui-select-dorpdown .das-select-checkbox.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{padding:0!important}.das-ui-select-dorpdown .das-multiple-option-item{display:flex}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--das-ui-select-color-option-active-bg);font-weight:400;color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--das-ui-select-color-text)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--das-ui-select-color-border)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--das-ui-select-color-help)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-state{display:none}.das-ui-select-dorpdown .das-ui-checkbox{display:inline-block;margin-right:5px}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-show{right:4px!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb{width:8px!important;left:1px!important;background:#b2b2b2!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb:hover{width:10px!important;left:0!important;background:#999!important}.das-ui-select-dorpdown .customDropdown{display:flex;align-items:center;padding:6px 12px 2px;cursor:pointer;border-top:1px solid #d9d9d9}.das-ui-select-dorpdown .customDropdown .el-input{height:28px}.das-ui-select-dorpdown .customDropdown .addBtn{margin-left:12px;cursor:pointer;flex-shrink:0;font-family:Microsoft YaHei;font-size:12px;font-weight:400;height:28px;line-height:28px;text-align:center;letter-spacing:0px;color:#212121}
|
|
Binary file
|
|
@@ -13,6 +13,7 @@ declare const DasSelectInput: import("@das-fed/utils").SFCWithInstall<import("vu
|
|
|
13
13
|
onInputChange?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
modelValue: any;
|
|
16
|
+
width: string | number;
|
|
16
17
|
options: any;
|
|
17
18
|
optionValue: any;
|
|
18
19
|
optionsLabelKey: string | number | object;
|
|
@@ -1,28 +1,44 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/select-input/style.css';
|
|
2
|
-
import { withInstall as
|
|
2
|
+
import { withInstall as F } from "@das-fed/utils/with-install/index";
|
|
3
3
|
import { setThemeRule as S } from "@das-fed/web/packages/theme/index";
|
|
4
|
-
import { ref as
|
|
5
|
-
import { DasInput as
|
|
4
|
+
import { computed as H, ref as b, defineComponent as D, openBlock as k, createBlock as L, unref as e, normalizeClass as x, isRef as v, createSlots as E, withCtx as y, createVNode as B } from "vue";
|
|
5
|
+
import { DasInput as W } from "@das-fed/ui/packages/components/input/index";
|
|
6
6
|
import { DasIconSearch as K } from "@das-fed/ui/packages/icons/search/index";
|
|
7
7
|
import { DasSelect as N } from "@das-fed/ui/packages/components/select/index";
|
|
8
|
-
import { useModelValue as
|
|
8
|
+
import { useModelValue as C } from "@das-fed/utils/vue";
|
|
9
9
|
import "@das-fed/ui/packages/global/theme";
|
|
10
|
-
const P = (
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
return {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
const P = (t, a) => {
|
|
11
|
+
const u = C(t, "modelValue"), i = C(t, "optionValue"), l = C(t, "isExpandAtFocus"), s = H(() => typeof t.width == "number" ? t.width + "px" : t == null ? void 0 : t.width), h = () => {
|
|
12
|
+
a("update:modelValue", u.value);
|
|
13
|
+
}, m = (o) => {
|
|
14
|
+
a("update:modelValue", o), a("inputChange", o);
|
|
15
|
+
}, f = (o) => {
|
|
16
|
+
a("update:modelValue", o), a("dasInput", o);
|
|
17
|
+
}, V = (o) => {
|
|
18
|
+
a("update:optionValue", o), a("selectChange", o);
|
|
19
|
+
}, d = b(""), r = b(!1);
|
|
20
|
+
return {
|
|
21
|
+
innerValue: u,
|
|
22
|
+
selectValue: i,
|
|
23
|
+
inputChangeHandler: m,
|
|
24
|
+
selectChangeHandler: V,
|
|
25
|
+
inputInputHandler: f,
|
|
26
|
+
searchHandler: h,
|
|
27
|
+
inputWidth: d,
|
|
28
|
+
isFocus: r,
|
|
29
|
+
onFocus: () => {
|
|
30
|
+
var p;
|
|
31
|
+
if (!l.value) return;
|
|
32
|
+
let o = (p = s.value) == null ? void 0 : p.replace("px", "");
|
|
33
|
+
d.value = s.value && o * 1 > 400 ? s.value : "400px", r.value = !0;
|
|
34
|
+
},
|
|
35
|
+
onBlur: () => {
|
|
36
|
+
l.value && (d.value = "", r.value = !1);
|
|
37
|
+
},
|
|
38
|
+
isExpandInput: l,
|
|
39
|
+
selectInputWidth: s
|
|
40
|
+
};
|
|
41
|
+
}, A = /* @__PURE__ */ D({
|
|
26
42
|
__name: "Index",
|
|
27
43
|
props: {
|
|
28
44
|
options: { default: [] },
|
|
@@ -37,34 +53,48 @@ const P = (l, o) => {
|
|
|
37
53
|
isView: { type: Boolean },
|
|
38
54
|
error: { type: Boolean },
|
|
39
55
|
isSearch: { type: Boolean, default: !1 },
|
|
40
|
-
isExpandAtFocus: { type: Boolean, default: !1 }
|
|
56
|
+
isExpandAtFocus: { type: Boolean, default: !1 },
|
|
57
|
+
width: { default: "268px" }
|
|
41
58
|
},
|
|
42
59
|
emits: ["update:modelValue", "update:optionValue", "inputChange", "dasInput", "selectChange"],
|
|
43
|
-
setup(
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
60
|
+
setup(t, { emit: a }) {
|
|
61
|
+
const u = t, i = a, {
|
|
62
|
+
innerValue: l,
|
|
63
|
+
selectValue: s,
|
|
64
|
+
inputChangeHandler: h,
|
|
65
|
+
selectChangeHandler: m,
|
|
66
|
+
inputInputHandler: f,
|
|
67
|
+
searchHandler: V,
|
|
68
|
+
inputWidth: d,
|
|
69
|
+
isFocus: r,
|
|
70
|
+
onFocus: I,
|
|
71
|
+
onBlur: w,
|
|
72
|
+
isExpandInput: o,
|
|
73
|
+
selectInputWidth: p
|
|
74
|
+
} = P(u, i);
|
|
75
|
+
return (n, c) => (k(), L(e(W), {
|
|
76
|
+
class: x(["das-select-input", { "is-error": n.error, "is-search": n.isSearch, "is-disabled": n.disabled }]),
|
|
77
|
+
modelValue: e(l),
|
|
78
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => v(l) ? l.value = g : null),
|
|
79
|
+
width: e(o) && e(r) ? e(d) : e(p),
|
|
53
80
|
disabled: n.disabled,
|
|
54
81
|
isView: n.isView,
|
|
55
82
|
maxLength: n.maxLength,
|
|
56
83
|
filterSpace: !1,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
84
|
+
isTitle: !n.isExpandAtFocus,
|
|
85
|
+
onInput: e(f),
|
|
86
|
+
onChange: e(h),
|
|
87
|
+
onFocus: e(I),
|
|
88
|
+
onBlur: e(w)
|
|
89
|
+
}, E({
|
|
90
|
+
prepend: y(() => [
|
|
91
|
+
B(e(N), {
|
|
62
92
|
size: "mini",
|
|
63
93
|
disabled: n.disabled,
|
|
64
94
|
isView: n.isView,
|
|
65
95
|
dropdownClassName: "das-select-input-select-container",
|
|
66
|
-
modelValue: e(
|
|
67
|
-
"onUpdate:modelValue":
|
|
96
|
+
modelValue: e(s),
|
|
97
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => v(s) ? s.value = g : null),
|
|
68
98
|
width: "auto",
|
|
69
99
|
dropdownMatchSelectWidth: !1,
|
|
70
100
|
"border-type": "none",
|
|
@@ -82,27 +112,27 @@ const P = (l, o) => {
|
|
|
82
112
|
}, [
|
|
83
113
|
n.hasIcon ? {
|
|
84
114
|
name: "suffix",
|
|
85
|
-
fn:
|
|
86
|
-
|
|
115
|
+
fn: y(() => [
|
|
116
|
+
B(e(K), {
|
|
87
117
|
style: { cursor: "pointer" },
|
|
88
|
-
onClick: e(
|
|
118
|
+
onClick: e(V)
|
|
89
119
|
}, null, 8, ["onClick"])
|
|
90
120
|
]),
|
|
91
121
|
key: "0"
|
|
92
122
|
} : void 0
|
|
93
|
-
]), 1032, ["class", "modelValue", "width", "
|
|
123
|
+
]), 1032, ["class", "modelValue", "width", "disabled", "isView", "maxLength", "isTitle", "onInput", "onChange", "onFocus", "onBlur"]));
|
|
94
124
|
}
|
|
95
|
-
}),
|
|
96
|
-
const
|
|
97
|
-
for (const [
|
|
98
|
-
|
|
99
|
-
return
|
|
100
|
-
}, z = /* @__PURE__ */
|
|
125
|
+
}), T = (t, a) => {
|
|
126
|
+
const u = t.__vccOpts || t;
|
|
127
|
+
for (const [i, l] of a)
|
|
128
|
+
u[i] = l;
|
|
129
|
+
return u;
|
|
130
|
+
}, z = /* @__PURE__ */ T(A, [["__scopeId", "data-v-d2cb3159"]]), M = {
|
|
101
131
|
"--das-ui-select-input-border-color": { light: "#999" },
|
|
102
132
|
"--das-ui-select-input-border-color-search": { light: "#D9D9D9" }
|
|
103
|
-
},
|
|
104
|
-
S(
|
|
133
|
+
}, X = F(z);
|
|
134
|
+
S(M);
|
|
105
135
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
136
|
+
X as DasSelectInput,
|
|
137
|
+
X as default
|
|
108
138
|
};
|
|
Binary file
|
|
@@ -13,6 +13,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
13
13
|
onInputChange?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
modelValue: any;
|
|
16
|
+
width: string | number;
|
|
16
17
|
options: any;
|
|
17
18
|
optionValue: any;
|
|
18
19
|
optionsLabelKey: string | number | object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-input.only-border-bottom[data-v-
|
|
1
|
+
.das-ui-input.only-border-bottom[data-v-d2cb3159]{transition:width .3s ease}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input{height:24px}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group{border-color:var(--das-ui-select-input-border-color)}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group.is-search{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group.input-focus-color,.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group:hover{border-color:var(--das-ui-input-only-bottom-active-border-color)}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group.is-disabled{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group.is-error{border-color:var(--das-ui-input-error-color)}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group .el-input-group__prepend{padding-right:8px!important}.das-ui-input.only-border-bottom[data-v-d2cb3159] .das-select-input.el-input.el-input-group .el-input-group__prepend .ant-select-selection-item{padding-right:18px}[data-v-d2cb3159] .el-input__icon{font-size:16px}.das-select-input-select-container.ant-select-dropdown{min-width:100px!important;padding:8px 0;max-height:328px;max-width:180px}.das-select-input-select-container.ant-select-dropdown .rc-virtual-list-holder{max-height:160px!important}.das-select-input .das-ui-select{min-width:68px}
|
|
Binary file
|
|
@@ -25,7 +25,7 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
25
25
|
emits: ["show", "hide"],
|
|
26
26
|
setup(n, { expose: d, emit: i }) {
|
|
27
27
|
E((e) => ({
|
|
28
|
-
"
|
|
28
|
+
"3f0a84b4": M.value
|
|
29
29
|
}));
|
|
30
30
|
const o = n, a = i, h = m(), w = m(!1), M = c(() => Number(o.row)), B = c(() => o.disabled ?? (o.text ? !w.value : !1)), g = c(() => o.content || o.text), H = (e) => {
|
|
31
31
|
w.value = e.target.scrollHeight > e.target.clientHeight;
|
|
@@ -57,10 +57,11 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
57
57
|
placement: e.placement,
|
|
58
58
|
"popper-class": `das-ui-tooltip-popper ${e.isMaxheight ? "max-height" : ""} ${e.selfPopperClass}`,
|
|
59
59
|
"hide-after": 100,
|
|
60
|
-
"show-after": 100
|
|
60
|
+
"show-after": 100
|
|
61
|
+
}, e.$attrs, {
|
|
61
62
|
onShow: R,
|
|
62
63
|
onHide: v
|
|
63
|
-
}
|
|
64
|
+
}), {
|
|
64
65
|
content: u(() => [
|
|
65
66
|
D(x(j), null, {
|
|
66
67
|
default: u(() => [
|
|
@@ -129,7 +130,7 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
129
130
|
for (const [o, a] of d)
|
|
130
131
|
i[o] = a;
|
|
131
132
|
return i;
|
|
132
|
-
}, U = /* @__PURE__ */ Q(K, [["__scopeId", "data-v-
|
|
133
|
+
}, U = /* @__PURE__ */ Q(K, [["__scopeId", "data-v-e1845c9c"]]), Z = {
|
|
133
134
|
"--das-ui-tooltip-font-normal": "#212121",
|
|
134
135
|
"--das-ui-tooltip-font-light": "#fff",
|
|
135
136
|
"--das-ui-tooltip-bgff-color": "#fff"
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-tooltip-popper.el-popper{max-width:360px;box-shadow:0 4px 10px #0003;border:none;font-size:var(--das-ui-font-size-sm);padding:0;border-radius:unset}.das-ui-tooltip-popper.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-3px!important}.das-ui-tooltip-popper.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-3px!important}.das-ui-tooltip-popper.el-popper .das-popper-content{padding:7px 12px}.das-ui-tooltip-popper.el-popper .max-height{max-height:29px}.das-ui-tooltip-popper.el-popper.is-light{color:var(--das-ui-color-normal);background-color:var(--das-ui-tooltip-bgff-color)}.das-ui-tooltip-popper.el-popper.is-light:after{position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;content:"";background:var(--das-ui-tooltip-bgff-color);border-radius:2px}.das-ui-tooltip-popper.el-popper.is-light .el-popper__arrow:before{height:8px;width:8px;background-color:var(--das-ui-tooltip-bgff-color);border-color:var(--das-ui-tooltip-bgff-color);border-radius:0!important}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=top] .el-popper__arrow:before{box-shadow:3px 3px 5px #00000026}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=bottom] .el-popper__arrow:before{box-shadow:-2px -2px 5px #0000001a}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=left] .el-popper__arrow:before{box-shadow:3px 0 6px #0000001f,0 -2px 6px #cc95951f}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=right] .el-popper__arrow:before{box-shadow:0 3px 6px #0000001a,-2px 0 6px #0000001a}.das-tooltip-text-wrap[data-v-
|
|
1
|
+
.das-ui-tooltip-popper.el-popper{max-width:360px;box-shadow:0 4px 10px #0003;border:none;font-size:var(--das-ui-font-size-sm);padding:0;border-radius:unset}.das-ui-tooltip-popper.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-3px!important}.das-ui-tooltip-popper.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-3px!important}.das-ui-tooltip-popper.el-popper .das-popper-content{padding:7px 12px}.das-ui-tooltip-popper.el-popper .max-height{max-height:29px}.das-ui-tooltip-popper.el-popper.is-light{color:var(--das-ui-color-normal);background-color:var(--das-ui-tooltip-bgff-color)}.das-ui-tooltip-popper.el-popper.is-light:after{position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;content:"";background:var(--das-ui-tooltip-bgff-color);border-radius:2px}.das-ui-tooltip-popper.el-popper.is-light .el-popper__arrow:before{height:8px;width:8px;background-color:var(--das-ui-tooltip-bgff-color);border-color:var(--das-ui-tooltip-bgff-color);border-radius:0!important}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=top] .el-popper__arrow:before{box-shadow:3px 3px 5px #00000026}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=bottom] .el-popper__arrow:before{box-shadow:-2px -2px 5px #0000001a}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=left] .el-popper__arrow:before{box-shadow:3px 0 6px #0000001f,0 -2px 6px #cc95951f}.das-ui-tooltip-popper.el-popper.is-light[data-popper-placement^=right] .el-popper__arrow:before{box-shadow:0 3px 6px #0000001a,-2px 0 6px #0000001a}.das-tooltip-text-wrap[data-v-e1845c9c]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--3f0a84b4)}
|
|
Binary file
|
|
@@ -125,7 +125,7 @@ function _t(e, i, c) {
|
|
|
125
125
|
}
|
|
126
126
|
var qt = _t;
|
|
127
127
|
const Xt = /* @__PURE__ */ Xe(qt), Jt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), K = (e) => typeof e == "string" && Jt(e) ? e : e + "px", Qt = (e, i, c, d, b, C) => {
|
|
128
|
-
const y = N(null), v = N(null), f = Ie(), x = N(), S = N(!1), T = N(""), R = N(""), p = m(() =>
|
|
128
|
+
const y = N(null), v = N(null), f = Ie(), x = N(), S = N(!1), T = N(""), R = N(""), p = m(() => e.mode === "multiple" || e.mode === "tags"), g = m(() => ({ label: "name", children: "children", pathName: "pathName", disabled: "disabled", ...d.props ?? {} })), s = m({
|
|
129
129
|
get: () => e.modelValue ? e.modelValue : void 0,
|
|
130
130
|
set: (t) => {
|
|
131
131
|
i("update:modelValue", t);
|
|
Binary file
|
|
@@ -23,7 +23,8 @@ const s = {
|
|
|
23
23
|
"--das-ui-color-normal": "#212121",
|
|
24
24
|
"--das-ui-color-secondary": "#666666",
|
|
25
25
|
"--das-ui-color-help": "#999999",
|
|
26
|
-
"--das-ui-color-disabled": "#B2B2B2"
|
|
26
|
+
"--das-ui-color-disabled": "#B2B2B2",
|
|
27
|
+
"--das-ui-color-overlay-error": "#FFDBE0"
|
|
27
28
|
}, a = {
|
|
28
29
|
"--das-ui-font-size-sm": "12px",
|
|
29
30
|
"--das-ui-font-size-md": "14px",
|
|
Binary file
|