@das-fed/upf-ui 6.4.0-dev.249 → 6.4.0-dev.250
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/front-end/i18n/front-end-page/dasui_en-US.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
- package/package.json +3 -3
- package/packages/components/checkbox/index.d.ts +9 -9
- package/packages/components/checkbox/src/Index.vue.d.ts +1 -1
- package/packages/components/date-picker/index.js +637 -636
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/loading/index.js +176 -174
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/progress/index.js +207 -213
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +9 -9
- package/packages/components/radio/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/index.js +124 -124
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +2 -2
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +1 -1
- 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 +139 -138
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/type.d.ts +2 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/spin/index.js +46 -52
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +2 -0
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -0
- package/packages/components/virtual-tree/index.js +99 -105
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-93b3fa17]{--upf-select-text-color: var(--upf-text-primary);--upf-select-placeholder-color: var(--upf-text-placeholder);--upf-select-border-color: var(--upf-border-color, #d9d9d9);--upf-select-underline-color: var(--upf-text-disabled);--upf-select-active-border-color: var(--upf-form-active-border-color, var(--upf-color-primary));--upf-select-primary-color: var(--upf-color-primary);--upf-select-error-color: var(--upf-color-error);--upf-select-disabled-text-color: var(--upf-text-disabled);--upf-select-disabled-border-color: var(--upf-border-color, #d9d9d9);--upf-select-disabled-bg-color: var(--upf-bg-secondary);--upf-select-option-active-bg: var(--upf-menu-hover-bg);--upf-select-help-color: var(--upf-text-secondary);--upf-select-overlay-error-color: var(--upf-color-error);--upf-select-height-sm: 24px;--upf-select-height-md: 32px;--upf-select-height-lg: 36px;--upf-select-max-height-sm: 66px;--upf-select-max-height-md: 82px;--upf-select-max-height-lg: 85px;--upf-select-tag-font-size-sm: 14px;--upf-select-tag-font-size-md: 14px;--upf-select-tag-font-size-lg: 15px;display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-93b3fa17]{position:absolute;top:100%;left:0;width:var(--c89c8c78)}.das-ui-select.show-ellipsis[data-v-93b3fa17] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-93b3fa17] .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-93b3fa17] .ant-select{width:100%;height:var(--v7e92f62e)}.das-ui-select[data-v-93b3fa17] .ant-select .das-select-error-label-content{width:var(--c89c8c78);font-size:12px}.das-ui-select[data-v-93b3fa17] .ant-select .das-select-error-label-content .label{display:block;color:var(--upf-select-overlay-error-color);white-space:break-spaces}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-arrow{color:var(--upf-text-secondary);width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-93b3fa17] .ant-select:hover .ant-select-arrow{color:var(--upf-select-primary-color)}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-clear{color:var(--upf-text-placeholder);width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:auto}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-clear:hover{color:var(--upf-text-secondary)}.das-ui-select[data-v-93b3fa17] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-md)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-sm)}.das-ui-select[data-v-93b3fa17] .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-93b3fa17] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-lg)}.das-ui-select[data-v-93b3fa17] .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-93b3fa17] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select .ant-select-selection-item{color:var(--upf-select-text-color)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--upf-select-height-md)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--upf-select-height-md) - 2px);line-height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-tag{color:var(--upf-select-text-color);height:calc(var(--upf-select-height-md) - 4px);line-height:calc(var(--upf-select-height-md) - 5px);font-size:var(--upf-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--upf-select-height-md) - 4px);font-size:var(--upf-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-93b3fa17] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--upf-select-max-height-md)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--upf-select-height-sm)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--upf-select-height-sm) - 2px);line-height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--upf-select-height-sm) - 4px);line-height:calc(var(--upf-select-height-sm) - 5px);font-size:var(--upf-select-tag-font-size-sm)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--upf-select-height-sm) - 2px);line-height:calc(var(--upf-select-height-sm) - 2px);font-size:var(--upf-select-tag-font-size-sm)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--upf-select-max-height-sm)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--upf-select-height-lg)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--upf-select-height-lg) - 2px);line-height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--upf-select-height-lg) - 8px);line-height:calc(var(--upf-select-height-lg) - 8px);font-size:var(--upf-select-tag-font-size-lg)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--upf-select-height-lg) - 7px);line-height:calc(var(--upf-select-height-lg) - 7px);font-size:var(--upf-select-tag-font-size-lg)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--upf-select-max-height-lg)}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-93b3fa17] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-93b3fa17] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-93b3fa17] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-arrow,.das-ui-select[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-tag{color:var(--upf-select-disabled-text-color)}.das-ui-select[data-v-93b3fa17] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-93b3fa17] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-93b3fa17] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--upf-select-underline-color)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-93b3fa17] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-93b3fa17] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--upf-select-active-border-color)!important}.das-ui-select.underline[data-v-93b3fa17] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-93b3fa17] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-93b3fa17] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-93b3fa17] .ant-select .ant-select-selector:hover{border-bottom-color:var(--upf-select-error-color)!important}.das-ui-select.underline[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--upf-select-disabled-border-color)!important}.das-ui-select.bordered[data-v-93b3fa17] .ant-select .ant-select-selector{border-color:var(--upf-select-border-color)!important}.das-ui-select.bordered[data-v-93b3fa17] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--upf-select-active-border-color)!important}.das-ui-select.bordered[data-v-93b3fa17] .ant-select .ant-select-selector .ant-select-selection-search{-webkit-user-select:text;user-select:text;cursor:text;left:8px}.das-ui-select.bordered[data-v-93b3fa17] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-93b3fa17] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px;-webkit-user-select:text;user-select:text}.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-93b3fa17] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-93b3fa17] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-93b3fa17] .ant-select .ant-select-selector:hover{border-color:var(--upf-select-error-color)!important}.das-ui-select.bordered[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--upf-select-disabled-border-color)!important}.das-ui-select.none[data-v-93b3fa17] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-93b3fa17] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default;-webkit-user-select:text;user-select:text}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selector input{cursor:text;-webkit-user-select:text;user-select:text}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--upf-select-text-color);cursor:default}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--upf-select-text-color)}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--upf-select-text-color);border-color:transparent}.das-ui-select.readonly[data-v-93b3fa17] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--upf-select-text-color)}.das-ui-select.readonly[data-v-93b3fa17] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-93b3fa17] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-93b3fa17]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-93b3fa17]{display:block;color:var(--upf-select-error-color)}.das-ui-select-dorpdown .hasNoData{padding:2px 0 6px;color:var(--upf-text-primary);font-size:12px}.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(--upf-color-primary-bg);font-weight:400;color:var(--upf-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--upf-text-primary)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--upf-border-color)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--upf-text-secondary)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--upf-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 var(--upf-border-color)}.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:var(--upf-text-primary)}
|
|
1
|
+
.das-ui-select[data-v-00ff3a8a]{--upf-select-text-color: var(--upf-text-primary);--upf-select-placeholder-color: var(--upf-text-placeholder);--upf-select-border-color: var(--upf-border-color, #d9d9d9);--upf-select-underline-color: var(--upf-text-disabled);--upf-select-active-border-color: var(--upf-form-active-border-color, var(--upf-color-primary));--upf-select-primary-color: var(--upf-color-primary);--upf-select-error-color: var(--upf-color-error);--upf-select-disabled-text-color: var(--upf-text-disabled);--upf-select-disabled-border-color: var(--upf-border-color, #d9d9d9);--upf-select-disabled-bg-color: var(--upf-bg-secondary);--upf-select-option-active-bg: var(--upf-menu-hover-bg);--upf-select-help-color: var(--upf-text-secondary);--upf-select-overlay-error-color: var(--upf-color-error);--upf-select-height-sm: 24px;--upf-select-height-md: 32px;--upf-select-height-lg: 36px;--upf-select-max-height-sm: 66px;--upf-select-max-height-md: 82px;--upf-select-max-height-lg: 85px;--upf-select-tag-font-size-sm: 14px;--upf-select-tag-font-size-md: 14px;--upf-select-tag-font-size-lg: 15px;display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-00ff3a8a]{position:absolute;top:100%;left:0;width:var(--v508aeef9)}.das-ui-select.show-ellipsis[data-v-00ff3a8a] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-00ff3a8a] .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-00ff3a8a] .ant-select{width:100%;height:var(--b1f81358)}.das-ui-select[data-v-00ff3a8a] .ant-select .das-select-error-label-content{width:var(--v508aeef9);font-size:12px}.das-ui-select[data-v-00ff3a8a] .ant-select .das-select-error-label-content .label{display:block;color:var(--upf-select-overlay-error-color);white-space:break-spaces}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-arrow{color:var(--upf-text-secondary);width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-00ff3a8a] .ant-select:hover .ant-select-arrow{color:var(--upf-select-primary-color)}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-clear{color:var(--upf-text-placeholder);width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:auto}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-clear:hover{color:var(--upf-text-secondary)}.das-ui-select[data-v-00ff3a8a] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-md)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-sm)}.das-ui-select[data-v-00ff3a8a] .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-00ff3a8a] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--upf-select-height-lg)}.das-ui-select[data-v-00ff3a8a] .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-00ff3a8a] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select .ant-select-selection-item{color:var(--upf-select-text-color)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--upf-select-height-md)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--upf-select-height-md) - 2px);line-height:calc(var(--upf-select-height-md) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-tag{color:var(--upf-select-text-color);height:calc(var(--upf-select-height-md) - 4px);line-height:calc(var(--upf-select-height-md) - 5px);font-size:var(--upf-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--upf-select-height-md) - 4px);font-size:var(--upf-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-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--upf-select-max-height-md)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--upf-select-height-sm)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--upf-select-height-sm) - 2px);line-height:calc(var(--upf-select-height-sm) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--upf-select-height-sm) - 4px);line-height:calc(var(--upf-select-height-sm) - 5px);font-size:var(--upf-select-tag-font-size-sm)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--upf-select-height-sm) - 2px);line-height:calc(var(--upf-select-height-sm) - 2px);font-size:var(--upf-select-tag-font-size-sm)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--upf-select-max-height-sm)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--upf-select-height-lg)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--upf-select-height-lg) - 2px);line-height:calc(var(--upf-select-height-lg) - 2px)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--upf-select-height-lg) - 8px);line-height:calc(var(--upf-select-height-lg) - 8px);font-size:var(--upf-select-tag-font-size-lg)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--upf-select-height-lg) - 7px);line-height:calc(var(--upf-select-height-lg) - 7px);font-size:var(--upf-select-tag-font-size-lg)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--upf-select-max-height-lg)}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-00ff3a8a] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-00ff3a8a] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-00ff3a8a] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-arrow,.das-ui-select[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-tag{color:var(--upf-select-disabled-text-color)}.das-ui-select[data-v-00ff3a8a] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-00ff3a8a] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-00ff3a8a] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--upf-select-underline-color)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-00ff3a8a] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-00ff3a8a] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--upf-select-active-border-color)!important}.das-ui-select.underline[data-v-00ff3a8a] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-00ff3a8a] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-00ff3a8a] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-00ff3a8a] .ant-select .ant-select-selector:hover{border-bottom-color:var(--upf-select-error-color)!important}.das-ui-select.underline[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--upf-select-disabled-border-color)!important}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select .ant-select-selector{border-color:var(--upf-select-border-color)!important}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--upf-select-active-border-color)!important}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-select-selection-search{-webkit-user-select:text;user-select:text;cursor:text;left:8px}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-00ff3a8a] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px;-webkit-user-select:text;user-select:text}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-00ff3a8a] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-00ff3a8a] .ant-select .ant-select-selector:hover{border-color:var(--upf-select-error-color)!important}.das-ui-select.bordered[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--upf-select-disabled-border-color)!important}.das-ui-select.none[data-v-00ff3a8a] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-00ff3a8a] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default;-webkit-user-select:text;user-select:text}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selector input{cursor:text;-webkit-user-select:text;user-select:text}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--upf-select-text-color);cursor:default}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--upf-select-text-color)}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--upf-select-text-color);border-color:transparent}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--upf-select-text-color)}.das-ui-select.readonly[data-v-00ff3a8a] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-00ff3a8a] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-00ff3a8a]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-00ff3a8a]{display:block;color:var(--upf-select-error-color)}.das-ui-select-dorpdown .hasNoData{padding:2px 0 6px;color:var(--upf-text-primary);font-size:12px}.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(--upf-color-primary-bg);font-weight:400;color:var(--upf-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--upf-text-primary)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--upf-border-color)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--upf-text-secondary)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--upf-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 var(--upf-border-color)}.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:var(--upf-text-primary)}
|
|
Binary file
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { setI18nRule as
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { openBlock as
|
|
4
|
-
import { Spin as
|
|
1
|
+
import { setI18nRule as f, t as l } from "@das-fed/upf-web/packages/i18n/index";
|
|
2
|
+
import { withInstall as m } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
+
import { openBlock as e, createElementBlock as o, createStaticVNode as p, createElementVNode as c, defineComponent as u, useAttrs as _, computed as v, h as i, normalizeClass as $, createVNode as C, unref as g, mergeProps as y, withCtx as z, renderSlot as S } from "vue";
|
|
4
|
+
import { Spin as x } from "ant-design-vue";
|
|
5
5
|
import "ant-design-vue/es/spin/style/css";
|
|
6
|
-
import { DasIconLoad as
|
|
6
|
+
import { DasIconLoad as h } from "@das-fed/upf-ui/packages/icons/load/index";
|
|
7
7
|
import "@das-fed/upf-ui/packages/global/theme"
|
|
8
8
|
import '@das-fed/upf-ui/packages/components/spin/style.css';
|
|
9
9
|
;
|
|
10
|
-
const r = (
|
|
11
|
-
const
|
|
12
|
-
for (const [
|
|
13
|
-
|
|
14
|
-
return
|
|
15
|
-
},
|
|
16
|
-
function
|
|
17
|
-
return
|
|
18
|
-
|
|
10
|
+
const r = (s, t) => {
|
|
11
|
+
const a = s.__vccOpts || s;
|
|
12
|
+
for (const [d, n] of t)
|
|
13
|
+
a[d] = n;
|
|
14
|
+
return a;
|
|
15
|
+
}, I = {}, L = { class: "das-spin-container das-spin-page" };
|
|
16
|
+
function k(s, t) {
|
|
17
|
+
return e(), o("div", L, [...t[0] || (t[0] = [
|
|
18
|
+
p('<div class="das-spin-dot-spin" data-v-323f37a9><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i></div>', 1)
|
|
19
19
|
])]);
|
|
20
20
|
}
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
return
|
|
24
|
-
|
|
21
|
+
const N = /* @__PURE__ */ r(I, [["render", k], ["__scopeId", "data-v-323f37a9"]]), w = {}, B = { class: "das-spin-container das-spin-component" };
|
|
22
|
+
function V(s, t) {
|
|
23
|
+
return e(), o("div", B, [...t[0] || (t[0] = [
|
|
24
|
+
c(
|
|
25
25
|
"div",
|
|
26
26
|
{ class: "das-spin-dot-spin" },
|
|
27
27
|
[
|
|
28
|
-
|
|
28
|
+
c("i", { class: "das-spin-dot-item" })
|
|
29
29
|
],
|
|
30
30
|
-1
|
|
31
31
|
/* CACHED */
|
|
32
32
|
)
|
|
33
33
|
])]);
|
|
34
34
|
}
|
|
35
|
-
const
|
|
36
|
-
function
|
|
37
|
-
return
|
|
38
|
-
|
|
35
|
+
const D = /* @__PURE__ */ r(w, [["render", V], ["__scopeId", "data-v-f47a1ae6"]]), E = {}, O = { class: "das-spin-container das-spin-containerload" };
|
|
36
|
+
function P(s, t) {
|
|
37
|
+
return e(), o("div", O, [...t[0] || (t[0] = [
|
|
38
|
+
p('<div class="das-spin-dot-spin" data-v-f7548f22><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i></div>', 1)
|
|
39
39
|
])]);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const b = /* @__PURE__ */ r(E, [["render", P], ["__scopeId", "data-v-f7548f22"]]), A = /* @__PURE__ */ u({
|
|
42
42
|
__name: "index",
|
|
43
43
|
props: {
|
|
44
44
|
type: { default: "page" },
|
|
@@ -47,35 +47,29 @@ const M = /* @__PURE__ */ r(P, [["render", A], ["__scopeId", "data-v-f7548f22"]]
|
|
|
47
47
|
iconColor: { default: "var(--upf-loading-color-5, var(--upf-color-primary))" },
|
|
48
48
|
full: { type: Boolean, default: !0 }
|
|
49
49
|
},
|
|
50
|
-
setup(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
()
|
|
55
|
-
(
|
|
56
|
-
|
|
50
|
+
setup(s) {
|
|
51
|
+
const t = s, a = _(), d = v(() => {
|
|
52
|
+
if (a.indicator) return a.indicator;
|
|
53
|
+
if (t.type == "page") return i(N);
|
|
54
|
+
if (t.type == "container") return i(b);
|
|
55
|
+
if (t.type == "component") return i(D);
|
|
56
|
+
if (t.type == "load")
|
|
57
|
+
return i(h, {
|
|
57
58
|
iconColor: t.iconColor,
|
|
58
59
|
customSize: t.customSize
|
|
59
|
-
})
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
), f(
|
|
63
|
-
() => e,
|
|
64
|
-
(s, c) => {
|
|
65
|
-
e.indicator && (i.value = e.indicator);
|
|
66
|
-
},
|
|
67
|
-
{ immediate: !0 }
|
|
68
|
-
), (s, c) => (n(), d(
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
return (n, R) => (e(), o(
|
|
69
63
|
"div",
|
|
70
64
|
{
|
|
71
|
-
class:
|
|
65
|
+
class: $({ "das-spin-container": !0, full: s.full })
|
|
72
66
|
},
|
|
73
67
|
[
|
|
74
|
-
|
|
75
|
-
class: `das-slef-spin ${
|
|
76
|
-
},
|
|
77
|
-
default:
|
|
78
|
-
|
|
68
|
+
C(g(x), y({
|
|
69
|
+
class: `das-slef-spin ${s.size} ${s.type} `
|
|
70
|
+
}, n.$attrs, { indicator: d.value }), {
|
|
71
|
+
default: z(() => [
|
|
72
|
+
S(n.$slots, "default")
|
|
79
73
|
]),
|
|
80
74
|
_: 3
|
|
81
75
|
/* FORWARDED */
|
|
@@ -85,10 +79,10 @@ const M = /* @__PURE__ */ r(P, [["render", A], ["__scopeId", "data-v-f7548f22"]]
|
|
|
85
79
|
/* CLASS */
|
|
86
80
|
));
|
|
87
81
|
}
|
|
88
|
-
}),
|
|
89
|
-
|
|
90
|
-
const
|
|
82
|
+
}), M = { 加载中: { "zh-CN": "加载中", en: "Loading", "zh-MO": "加載中", _appCode: "framework" } };
|
|
83
|
+
f(M);
|
|
84
|
+
const Q = m(A), T = { name: `Spin ${l("加载中")}` };
|
|
91
85
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
Q as DasSpin,
|
|
87
|
+
T as default
|
|
94
88
|
};
|
|
Binary file
|
|
@@ -10,6 +10,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
10
10
|
readonly options?: any;
|
|
11
11
|
readonly preserveLabelWhenMissing?: boolean | undefined;
|
|
12
12
|
readonly mode?: ("multiple" | "tags" | "combobox") | undefined;
|
|
13
|
+
readonly showSearch?: boolean | undefined;
|
|
13
14
|
readonly fieldNames?: any;
|
|
14
15
|
readonly borderType?: ("underline" | "bordered" | "none") | undefined;
|
|
15
16
|
readonly placeholder?: string | undefined;
|
|
@@ -225,6 +226,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
225
226
|
readonly options?: any;
|
|
226
227
|
readonly preserveLabelWhenMissing?: boolean | undefined;
|
|
227
228
|
readonly mode?: ("multiple" | "tags" | "combobox") | undefined;
|
|
229
|
+
readonly showSearch?: boolean | undefined;
|
|
228
230
|
readonly fieldNames?: any;
|
|
229
231
|
readonly borderType?: ("underline" | "bordered" | "none") | undefined;
|
|
230
232
|
readonly placeholder?: string | undefined;
|
|
@@ -13,6 +13,7 @@ export declare const useTreeSelect: (props: Props, emit: Emits, nodeKey: any, at
|
|
|
13
13
|
readonly options?: any;
|
|
14
14
|
readonly preserveLabelWhenMissing?: boolean | undefined;
|
|
15
15
|
readonly mode?: ("multiple" | "tags" | "combobox") | undefined;
|
|
16
|
+
readonly showSearch?: boolean | undefined;
|
|
16
17
|
readonly fieldNames?: any;
|
|
17
18
|
readonly borderType?: ("underline" | "bordered" | "none") | undefined;
|
|
18
19
|
readonly placeholder?: string | undefined;
|
|
@@ -228,6 +229,7 @@ export declare const useTreeSelect: (props: Props, emit: Emits, nodeKey: any, at
|
|
|
228
229
|
readonly options?: any;
|
|
229
230
|
readonly preserveLabelWhenMissing?: boolean | undefined;
|
|
230
231
|
readonly mode?: ("multiple" | "tags" | "combobox") | undefined;
|
|
232
|
+
readonly showSearch?: boolean | undefined;
|
|
231
233
|
readonly fieldNames?: any;
|
|
232
234
|
readonly borderType?: ("underline" | "bordered" | "none") | undefined;
|
|
233
235
|
readonly placeholder?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, openBlock as i, createElementBlock as l, createElementVNode as h, renderSlot as g, createTextVNode as H, toDisplayString as B, createStaticVNode as A, useAttrs as P, computed as u, h as y, normalizeClass as J, createVNode as w, unref as T, mergeProps as K, withCtx as _, createBlock as z, ref as p, watch as C, onMounted as W, onBeforeUnmount as U, normalizeStyle as j, Fragment as E, createCommentVNode as D, createSlots as q, nextTick as G } from "vue";
|
|
2
2
|
import { withInstall as Q } from "@das-fed/upf-utils/with-install/index";
|
|
3
3
|
import { ElTreeV2 as X } from "element-plus";
|
|
4
4
|
import "element-plus/es/components/tree-v2/style/css";
|
|
@@ -9,20 +9,20 @@ import { DasIconLoad as te } from "@das-fed/upf-ui/packages/icons/load/index";
|
|
|
9
9
|
import "@das-fed/upf-ui/packages/components/icon/index";
|
|
10
10
|
import { DasIconCaretRight as ae } from "@das-fed/upf-ui/packages/icons/caret-right/index";
|
|
11
11
|
import { SizeWatcher as ne } from "@das-fed/upf-utils/size-watcher";
|
|
12
|
-
import { flatTree as
|
|
12
|
+
import { flatTree as N } from "@das-fed/upf-utils/common-tools"
|
|
13
13
|
import '@das-fed/upf-ui/packages/components/virtual-tree/style.css';
|
|
14
14
|
;
|
|
15
|
-
const se = { class: "tree-empty-block" },
|
|
15
|
+
const se = { class: "tree-empty-block" }, oe = { class: "tree-empty-text" }, ie = /* @__PURE__ */ x({
|
|
16
16
|
__name: "empty",
|
|
17
17
|
props: {
|
|
18
18
|
emptyText: {}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
setup(a) {
|
|
21
|
+
return (t, d) => (i(), l("div", se, [
|
|
22
|
+
h("div", oe, [
|
|
23
|
+
g(t.$slots, "default", {}, () => [
|
|
24
24
|
H(
|
|
25
|
-
B(
|
|
25
|
+
B(a.emptyText),
|
|
26
26
|
1
|
|
27
27
|
/* TEXT */
|
|
28
28
|
)
|
|
@@ -30,38 +30,38 @@ const se = { class: "tree-empty-block" }, ie = { class: "tree-empty-text" }, oe
|
|
|
30
30
|
])
|
|
31
31
|
]));
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
34
|
-
const
|
|
35
|
-
for (const [
|
|
36
|
-
|
|
37
|
-
return
|
|
38
|
-
},
|
|
39
|
-
function ce(
|
|
40
|
-
return
|
|
33
|
+
}), v = (a, t) => {
|
|
34
|
+
const d = a.__vccOpts || a;
|
|
35
|
+
for (const [c, f] of t)
|
|
36
|
+
d[c] = f;
|
|
37
|
+
return d;
|
|
38
|
+
}, de = /* @__PURE__ */ v(ie, [["__scopeId", "data-v-507e2bf9"]]), re = {}, le = { class: "das-spin-container das-spin-page" };
|
|
39
|
+
function ce(a, t) {
|
|
40
|
+
return i(), l("div", le, [...t[0] || (t[0] = [
|
|
41
41
|
A('<div class="das-spin-dot-spin" data-v-323f37a9><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i></div>', 1)
|
|
42
42
|
])]);
|
|
43
43
|
}
|
|
44
|
-
const fe = /* @__PURE__ */
|
|
45
|
-
function me(
|
|
46
|
-
return
|
|
47
|
-
|
|
44
|
+
const fe = /* @__PURE__ */ v(re, [["render", ce], ["__scopeId", "data-v-323f37a9"]]), ue = {}, pe = { class: "das-spin-container das-spin-component" };
|
|
45
|
+
function me(a, t) {
|
|
46
|
+
return i(), l("div", pe, [...t[0] || (t[0] = [
|
|
47
|
+
h(
|
|
48
48
|
"div",
|
|
49
49
|
{ class: "das-spin-dot-spin" },
|
|
50
50
|
[
|
|
51
|
-
|
|
51
|
+
h("i", { class: "das-spin-dot-item" })
|
|
52
52
|
],
|
|
53
53
|
-1
|
|
54
54
|
/* CACHED */
|
|
55
55
|
)
|
|
56
56
|
])]);
|
|
57
57
|
}
|
|
58
|
-
const he = /* @__PURE__ */
|
|
59
|
-
function
|
|
60
|
-
return
|
|
58
|
+
const he = /* @__PURE__ */ v(ue, [["render", me], ["__scopeId", "data-v-f47a1ae6"]]), ve = {}, ye = { class: "das-spin-container das-spin-containerload" };
|
|
59
|
+
function _e(a, t) {
|
|
60
|
+
return i(), l("div", ye, [...t[0] || (t[0] = [
|
|
61
61
|
A('<div class="das-spin-dot-spin" data-v-f7548f22><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i></div>', 1)
|
|
62
62
|
])]);
|
|
63
63
|
}
|
|
64
|
-
const ge = /* @__PURE__ */
|
|
64
|
+
const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22"]]), xe = /* @__PURE__ */ x({
|
|
65
65
|
__name: "index",
|
|
66
66
|
props: {
|
|
67
67
|
type: { default: "page" },
|
|
@@ -70,35 +70,29 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
70
70
|
iconColor: { default: "var(--upf-loading-color-5, var(--upf-color-primary))" },
|
|
71
71
|
full: { type: Boolean, default: !0 }
|
|
72
72
|
},
|
|
73
|
-
setup(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
()
|
|
78
|
-
(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
),
|
|
86
|
-
() => r,
|
|
87
|
-
(o, e) => {
|
|
88
|
-
r.indicator && (s.value = r.indicator);
|
|
89
|
-
},
|
|
90
|
-
{ immediate: !0 }
|
|
91
|
-
), (o, e) => (d(), f(
|
|
73
|
+
setup(a) {
|
|
74
|
+
const t = a, d = P(), c = u(() => {
|
|
75
|
+
if (d.indicator) return d.indicator;
|
|
76
|
+
if (t.type == "page") return y(fe);
|
|
77
|
+
if (t.type == "container") return y(ge);
|
|
78
|
+
if (t.type == "component") return y(he);
|
|
79
|
+
if (t.type == "load")
|
|
80
|
+
return y(te, {
|
|
81
|
+
iconColor: t.iconColor,
|
|
82
|
+
customSize: t.customSize
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
return (f, e) => (i(), l(
|
|
92
86
|
"div",
|
|
93
87
|
{
|
|
94
|
-
class: J({ "das-spin-container": !0, full:
|
|
88
|
+
class: J({ "das-spin-container": !0, full: a.full })
|
|
95
89
|
},
|
|
96
90
|
[
|
|
97
|
-
|
|
98
|
-
class: `das-slef-spin ${
|
|
99
|
-
},
|
|
100
|
-
default:
|
|
101
|
-
|
|
91
|
+
w(T(ee), K({
|
|
92
|
+
class: `das-slef-spin ${a.size} ${a.type} `
|
|
93
|
+
}, f.$attrs, { indicator: c.value }), {
|
|
94
|
+
default: _(() => [
|
|
95
|
+
g(f.$slots, "default")
|
|
102
96
|
]),
|
|
103
97
|
_: 3
|
|
104
98
|
/* FORWARDED */
|
|
@@ -108,15 +102,15 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
108
102
|
/* CLASS */
|
|
109
103
|
));
|
|
110
104
|
}
|
|
111
|
-
}), $e = /* @__PURE__ */
|
|
105
|
+
}), $e = /* @__PURE__ */ x({
|
|
112
106
|
__name: "expand-icon",
|
|
113
|
-
setup(
|
|
114
|
-
return (
|
|
107
|
+
setup(a) {
|
|
108
|
+
return (t, d) => (i(), z(T(ae), {
|
|
115
109
|
class: "das-tree__expand-icon",
|
|
116
110
|
size: "medium"
|
|
117
111
|
}));
|
|
118
112
|
}
|
|
119
|
-
}), ke = /* @__PURE__ */
|
|
113
|
+
}), ke = /* @__PURE__ */ v($e, [["__scopeId", "data-v-e225c8a8"]]), Ce = { class: "tree-normal-node" }, Ne = /* @__PURE__ */ x({
|
|
120
114
|
name: "DasVirtualTree",
|
|
121
115
|
inheritAttrs: !1,
|
|
122
116
|
__name: "App",
|
|
@@ -133,90 +127,90 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
133
127
|
emptyText: { default: "" },
|
|
134
128
|
filterMethod: {}
|
|
135
129
|
},
|
|
136
|
-
setup(
|
|
137
|
-
const
|
|
130
|
+
setup(a, { expose: t }) {
|
|
131
|
+
const d = p(), c = p(), f = p(0), e = a, I = u(() => e.emptyText || Y("暂无数据")), r = u(() => ({ label: "name", children: "children", disabled: "disabled", ...e.props, value: e.nodeKey })), L = u(() => e != null && e.height ? e.height + "px" : "100%"), O = u(() => e != null && e.height ? e.height : f.value), R = (n, o) => o[r.value.label].toLowerCase().includes(n.toLowerCase()), V = u(() => (e == null ? void 0 : e.filterMethod) ?? R), S = () => {
|
|
138
132
|
if (e.data && e.data.length) {
|
|
139
|
-
const
|
|
133
|
+
const o = N(e.data, r.value.children, !1).filter((s) => s[r.value.children] && s[r.value.children].length).map((s) => s[e.nodeKey]);
|
|
140
134
|
G(() => {
|
|
141
|
-
var
|
|
142
|
-
(
|
|
135
|
+
var s;
|
|
136
|
+
(s = c.value) == null || s.setExpandedKeys(o);
|
|
143
137
|
});
|
|
144
138
|
}
|
|
145
139
|
};
|
|
146
|
-
|
|
140
|
+
C(
|
|
147
141
|
() => e.defaultExpandAll,
|
|
148
142
|
(n) => {
|
|
149
143
|
n && S();
|
|
150
144
|
},
|
|
151
145
|
{ immediate: !0 }
|
|
152
|
-
),
|
|
146
|
+
), C(
|
|
153
147
|
() => e.data,
|
|
154
|
-
(n,
|
|
148
|
+
(n, o) => {
|
|
155
149
|
if (!e.defaultExpandAll) return;
|
|
156
|
-
const
|
|
157
|
-
|
|
150
|
+
const s = n && n.length ? n : [], m = o && o.length ? o : [], M = N(s).map((k) => k[e.nodeKey]), F = N(m).map((k) => k[e.nodeKey]);
|
|
151
|
+
m.length && JSON.stringify(M) === JSON.stringify(F) || S();
|
|
158
152
|
}
|
|
159
153
|
);
|
|
160
|
-
const
|
|
161
|
-
|
|
154
|
+
const $ = p(!1);
|
|
155
|
+
C(
|
|
162
156
|
() => e.data,
|
|
163
157
|
(n) => {
|
|
164
158
|
if (n && n.length) {
|
|
165
|
-
const
|
|
166
|
-
(
|
|
159
|
+
const o = n.find(
|
|
160
|
+
(s) => s[r.value.children] && s[r.value.children].length
|
|
167
161
|
);
|
|
168
|
-
|
|
162
|
+
$.value = !o;
|
|
169
163
|
} else
|
|
170
|
-
|
|
164
|
+
$.value = !1;
|
|
171
165
|
},
|
|
172
166
|
{ immediate: !0, deep: !0 }
|
|
173
167
|
);
|
|
174
|
-
const b =
|
|
168
|
+
const b = p();
|
|
175
169
|
return W(() => {
|
|
176
170
|
b.value = ne(
|
|
177
171
|
(n) => {
|
|
178
|
-
|
|
172
|
+
f.value = n.height;
|
|
179
173
|
},
|
|
180
|
-
|
|
174
|
+
d.value.parentElement
|
|
181
175
|
);
|
|
182
176
|
}), U(() => {
|
|
183
177
|
b.value.disconnect();
|
|
184
|
-
}),
|
|
185
|
-
treeRef:
|
|
186
|
-
}), (n,
|
|
178
|
+
}), t({
|
|
179
|
+
treeRef: c
|
|
180
|
+
}), (n, o) => (i(), l(
|
|
187
181
|
"div",
|
|
188
182
|
{
|
|
189
183
|
ref_key: "cotainerRef",
|
|
190
|
-
ref:
|
|
184
|
+
ref: d,
|
|
191
185
|
class: "das-ui-tree das-ui-virtual-tree",
|
|
192
|
-
style: j({ height:
|
|
186
|
+
style: j({ height: L.value })
|
|
193
187
|
},
|
|
194
188
|
[
|
|
195
|
-
|
|
189
|
+
a.data && a.data.length ? (i(), z(T(X), K({
|
|
196
190
|
key: 0,
|
|
197
191
|
ref_key: "treeRef",
|
|
198
|
-
ref:
|
|
199
|
-
data:
|
|
200
|
-
class: { "is-root-all-left":
|
|
192
|
+
ref: c,
|
|
193
|
+
data: a.data,
|
|
194
|
+
class: { "is-root-all-left": $.value },
|
|
201
195
|
icon: ke,
|
|
202
|
-
props:
|
|
196
|
+
props: r.value,
|
|
203
197
|
"show-checkbox": !1,
|
|
204
|
-
"expand-on-click-node":
|
|
205
|
-
height:
|
|
198
|
+
"expand-on-click-node": a.expandOnClickNode,
|
|
199
|
+
height: O.value,
|
|
206
200
|
"item-size": 32,
|
|
207
201
|
"default-expand-all": "",
|
|
208
|
-
"filter-method":
|
|
202
|
+
"filter-method": V.value,
|
|
209
203
|
"empty-text": I.value
|
|
210
204
|
}, n.$attrs), {
|
|
211
|
-
default:
|
|
212
|
-
|
|
213
|
-
node:
|
|
214
|
-
data:
|
|
205
|
+
default: _(({ node: s, data: m }) => [
|
|
206
|
+
g(n.$slots, "default", {
|
|
207
|
+
node: s,
|
|
208
|
+
data: m
|
|
215
209
|
}, () => [
|
|
216
|
-
|
|
210
|
+
h(
|
|
217
211
|
"div",
|
|
218
212
|
Ce,
|
|
219
|
-
B(
|
|
213
|
+
B(m[r.value.label]),
|
|
220
214
|
1
|
|
221
215
|
/* TEXT */
|
|
222
216
|
)
|
|
@@ -224,22 +218,22 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
224
218
|
]),
|
|
225
219
|
_: 3
|
|
226
220
|
/* FORWARDED */
|
|
227
|
-
}, 16, ["data", "class", "props", "expand-on-click-node", "height", "filter-method", "empty-text"])) : (
|
|
221
|
+
}, 16, ["data", "class", "props", "expand-on-click-node", "height", "filter-method", "empty-text"])) : (i(), l(
|
|
228
222
|
E,
|
|
229
223
|
{ key: 1 },
|
|
230
224
|
[
|
|
231
225
|
D(" 空状态 "),
|
|
232
|
-
|
|
226
|
+
a.loading ? (i(), l(
|
|
233
227
|
E,
|
|
234
228
|
{ key: 1 },
|
|
235
229
|
[
|
|
236
230
|
D(" 加载状态 "),
|
|
237
|
-
|
|
231
|
+
w(xe, {
|
|
238
232
|
size: "small",
|
|
239
|
-
spinning:
|
|
233
|
+
spinning: a.loading
|
|
240
234
|
}, {
|
|
241
|
-
default:
|
|
242
|
-
|
|
235
|
+
default: _(() => [...o[0] || (o[0] = [
|
|
236
|
+
h(
|
|
243
237
|
"div",
|
|
244
238
|
{ style: { width: "100%", height: "100%" } },
|
|
245
239
|
null,
|
|
@@ -253,7 +247,7 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
253
247
|
],
|
|
254
248
|
2112
|
|
255
249
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
256
|
-
)) : (
|
|
250
|
+
)) : (i(), z(de, {
|
|
257
251
|
key: 0,
|
|
258
252
|
"empty-text": I.value
|
|
259
253
|
}, q({
|
|
@@ -262,8 +256,8 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
262
256
|
}, [
|
|
263
257
|
n.$slots["empty-text"] ? {
|
|
264
258
|
name: "default",
|
|
265
|
-
fn:
|
|
266
|
-
|
|
259
|
+
fn: _(() => [
|
|
260
|
+
g(n.$slots, "empty-text")
|
|
267
261
|
]),
|
|
268
262
|
key: "0"
|
|
269
263
|
} : void 0
|
|
@@ -279,9 +273,9 @@ const ge = /* @__PURE__ */ _(ve, [["render", ye], ["__scopeId", "data-v-f7548f22
|
|
|
279
273
|
}
|
|
280
274
|
}), ze = { 暂无数据: { "zh-CN": "暂无数据", en: "No Data", "zh-MO": "暫無數據", _appCode: "framework" } };
|
|
281
275
|
Z(ze);
|
|
282
|
-
const
|
|
276
|
+
const Re = Q(Ne), Ve = () => p(null), Me = { title: "virtual-tree 虚拟树" };
|
|
283
277
|
export {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
278
|
+
Re as DasVirtualTree,
|
|
279
|
+
Ve as DasVirtualTreeRef,
|
|
280
|
+
Me as default
|
|
287
281
|
};
|
|
Binary file
|