cnhis-design-vue 3.1.54-beta.20 → 3.1.54-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/chat-sdk/src/chatSDK.d.ts +12 -0
- package/es/components/chat-sdk/src/chatSDK.js +1 -1
- package/es/components/classification/index.d.ts +498 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +485 -1
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +485 -1
- package/es/components/classification/src/index.vue.d.ts +498 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +45 -45
- package/es/components/form-config/src/FormConfig.vue.d.ts +45 -45
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +15 -15
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
- package/es/components/index.css +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +5 -5
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -5
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +332 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +486 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px;width:20%}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{box-sizing:border-box;flex-basis:134px;line-height:32px;min-width:130px;overflow:hidden;padding-left:4px;padding-right:4px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 4px;width:calc(100% - 134px)}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block;width:100%}
|
|
1
|
+
.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding:12px 0 0}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .filter-expression{display:flex;flex-direction:column}.classification-modal-block .n-card__content .class-filter-content .filter-expression .textarea{margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px;width:20%}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{box-sizing:border-box;flex-basis:134px;line-height:32px;min-width:130px;overflow:hidden;padding-left:4px;padding-right:4px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 4px;width:calc(100% - 134px)}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block;width:100%}
|
|
@@ -170,14 +170,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
170
170
|
compareMap?: {
|
|
171
171
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
172
172
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
173
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
174
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
173
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
174
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
176
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
181
|
} | undefined;
|
|
182
182
|
}[] | undefined;
|
|
183
183
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -173,14 +173,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
compareMap?: {
|
|
174
174
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
175
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
176
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
177
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
179
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}[] | undefined;
|
|
186
186
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
presetVal: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: null;
|
|
13
|
+
};
|
|
14
|
+
isAccurate: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
paramCfg: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
presetVal: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
isAccurate: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}>>;
|
|
39
|
+
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
|
|
40
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
41
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
|
42
|
+
isAccurateCp: import("vue").WritableComputedRef<boolean>;
|
|
43
|
+
isSelectMode: import("vue").ComputedRef<boolean>;
|
|
44
|
+
biType: import("vue").ComputedRef<any>;
|
|
45
|
+
Date: import("vue").DefineComponent<{
|
|
46
|
+
componentCfg: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
};
|
|
49
|
+
paramCfg: {
|
|
50
|
+
type: ObjectConstructor;
|
|
51
|
+
default: null;
|
|
52
|
+
};
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
componentCfg: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
};
|
|
62
|
+
paramCfg: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default: null;
|
|
65
|
+
};
|
|
66
|
+
modelValue: {
|
|
67
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
68
|
+
default: null;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>>;
|
|
73
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
74
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
75
|
+
dateType: any;
|
|
76
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
77
|
+
compType: import("vue").ComputedRef<any>;
|
|
78
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
79
|
+
updateUnchangedValue: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
};
|
|
82
|
+
onConfirm: {
|
|
83
|
+
type: FunctionConstructor;
|
|
84
|
+
};
|
|
85
|
+
formattedValue: {
|
|
86
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
87
|
+
};
|
|
88
|
+
placeholder: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
allowedInvalidValue: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
attrs: {
|
|
96
|
+
[x: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
+
updateUnchangedValue: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
};
|
|
102
|
+
onConfirm: {
|
|
103
|
+
type: FunctionConstructor;
|
|
104
|
+
};
|
|
105
|
+
formattedValue: {
|
|
106
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
107
|
+
};
|
|
108
|
+
placeholder: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
};
|
|
111
|
+
allowedInvalidValue: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
114
|
+
}>> & {
|
|
115
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
}>>;
|
|
117
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
118
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
119
|
+
panelInstRef: import("vue").Ref<null>;
|
|
120
|
+
placeholderRef: import("vue").Ref<any>;
|
|
121
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
122
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
123
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
124
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
125
|
+
focus: () => any;
|
|
126
|
+
blur: () => any;
|
|
127
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
128
|
+
onUpdateShow: (show: boolean) => void;
|
|
129
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
130
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
131
|
+
NDatePicker: any;
|
|
132
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
133
|
+
updateUnchangedValue: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
};
|
|
136
|
+
onConfirm: {
|
|
137
|
+
type: FunctionConstructor;
|
|
138
|
+
};
|
|
139
|
+
formattedValue: {
|
|
140
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
141
|
+
};
|
|
142
|
+
placeholder: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
};
|
|
145
|
+
allowedInvalidValue: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
};
|
|
148
|
+
}>> & {
|
|
149
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
updateUnchangedValue: boolean;
|
|
152
|
+
}>>;
|
|
153
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
+
componentCfg: {
|
|
155
|
+
type: ObjectConstructor;
|
|
156
|
+
};
|
|
157
|
+
paramCfg: {
|
|
158
|
+
type: ObjectConstructor;
|
|
159
|
+
default: null;
|
|
160
|
+
};
|
|
161
|
+
modelValue: {
|
|
162
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
163
|
+
default: null;
|
|
164
|
+
};
|
|
165
|
+
}>> & {
|
|
166
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
modelValue: string | number | unknown[];
|
|
169
|
+
paramCfg: Record<string, any>;
|
|
170
|
+
}>;
|
|
171
|
+
InputFilter: import("vue").DefineComponent<{
|
|
172
|
+
paramCfg: {
|
|
173
|
+
type: ObjectConstructor;
|
|
174
|
+
default: null;
|
|
175
|
+
};
|
|
176
|
+
modelValue: {
|
|
177
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
178
|
+
default: null;
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
182
|
+
paramCfg: {
|
|
183
|
+
type: ObjectConstructor;
|
|
184
|
+
default: null;
|
|
185
|
+
};
|
|
186
|
+
modelValue: {
|
|
187
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
188
|
+
default: null;
|
|
189
|
+
};
|
|
190
|
+
}>> & {
|
|
191
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
}>>;
|
|
193
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
194
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
195
|
+
NInput: any;
|
|
196
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
197
|
+
paramCfg: {
|
|
198
|
+
type: ObjectConstructor;
|
|
199
|
+
default: null;
|
|
200
|
+
};
|
|
201
|
+
modelValue: {
|
|
202
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
203
|
+
default: null;
|
|
204
|
+
};
|
|
205
|
+
}>> & {
|
|
206
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
modelValue: string | number | unknown[];
|
|
209
|
+
paramCfg: Record<string, any>;
|
|
210
|
+
}>;
|
|
211
|
+
InputNumber: import("vue").DefineComponent<{
|
|
212
|
+
modelValue: {
|
|
213
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
214
|
+
default: null;
|
|
215
|
+
};
|
|
216
|
+
}, {
|
|
217
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
218
|
+
modelValue: {
|
|
219
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
220
|
+
default: null;
|
|
221
|
+
};
|
|
222
|
+
}>> & {
|
|
223
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
}>>;
|
|
225
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
226
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
227
|
+
NInputNumber: any;
|
|
228
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
229
|
+
modelValue: {
|
|
230
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
231
|
+
default: null;
|
|
232
|
+
};
|
|
233
|
+
}>> & {
|
|
234
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
modelValue: string | number | unknown[];
|
|
237
|
+
}>;
|
|
238
|
+
SelectFilter: import("vue").DefineComponent<{
|
|
239
|
+
paramCfg: {
|
|
240
|
+
type: ObjectConstructor;
|
|
241
|
+
default: null;
|
|
242
|
+
};
|
|
243
|
+
modelValue: {
|
|
244
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
245
|
+
default: null;
|
|
246
|
+
};
|
|
247
|
+
}, {
|
|
248
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
249
|
+
paramCfg: {
|
|
250
|
+
type: ObjectConstructor;
|
|
251
|
+
default: null;
|
|
252
|
+
};
|
|
253
|
+
modelValue: {
|
|
254
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
255
|
+
default: null;
|
|
256
|
+
};
|
|
257
|
+
}>> & {
|
|
258
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
259
|
+
}>>;
|
|
260
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
261
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
262
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
263
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
264
|
+
NSelect: any;
|
|
265
|
+
WidgetOptionEnums: {
|
|
266
|
+
RADIO: string;
|
|
267
|
+
MULTIPLE: string;
|
|
268
|
+
ALL: string;
|
|
269
|
+
SELECT_TIME: string;
|
|
270
|
+
PAST_TIME: string;
|
|
271
|
+
FUTURE_TIME: string;
|
|
272
|
+
};
|
|
273
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
274
|
+
paramCfg: {
|
|
275
|
+
type: ObjectConstructor;
|
|
276
|
+
default: null;
|
|
277
|
+
};
|
|
278
|
+
modelValue: {
|
|
279
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
280
|
+
default: null;
|
|
281
|
+
};
|
|
282
|
+
}>> & {
|
|
283
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
modelValue: string | number | unknown[];
|
|
286
|
+
paramCfg: Record<string, any>;
|
|
287
|
+
}>;
|
|
288
|
+
WidgetTypeEnums: {
|
|
289
|
+
INPUT_NUMBER: string;
|
|
290
|
+
INPUT: string;
|
|
291
|
+
SELECT: string;
|
|
292
|
+
DATE: string;
|
|
293
|
+
DATE_OUT: string;
|
|
294
|
+
DATE_TIME: string;
|
|
295
|
+
DATETIME_OUT: string;
|
|
296
|
+
CHECKBOX_GROUP: string;
|
|
297
|
+
INPUTNUMBER_RANGE: string;
|
|
298
|
+
DATE_RANGE_OUT: string;
|
|
299
|
+
DATE_RANGE_INNER: string;
|
|
300
|
+
DATETIME_RANGE_OUT: string;
|
|
301
|
+
DATETIME_RANGE_INNER: string;
|
|
302
|
+
LABEL: string;
|
|
303
|
+
SELECTLABEL: string;
|
|
304
|
+
SELECTDYNAMIC: string;
|
|
305
|
+
};
|
|
306
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
307
|
+
paramCfg: {
|
|
308
|
+
type: ObjectConstructor;
|
|
309
|
+
default: null;
|
|
310
|
+
};
|
|
311
|
+
modelValue: {
|
|
312
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
313
|
+
default: null;
|
|
314
|
+
};
|
|
315
|
+
presetVal: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: null;
|
|
318
|
+
};
|
|
319
|
+
isAccurate: {
|
|
320
|
+
type: BooleanConstructor;
|
|
321
|
+
};
|
|
322
|
+
}>> & {
|
|
323
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
324
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
modelValue: string | number | unknown[];
|
|
328
|
+
paramCfg: Record<string, any>;
|
|
329
|
+
presetVal: string;
|
|
330
|
+
isAccurate: boolean;
|
|
331
|
+
}>;
|
|
332
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./ValueCfg.vue2.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","ValueCfg.vue"]]);export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as a,openBlock as l,createElementBlock as t,createCommentVNode as u,unref as p,createBlock as r,isRef as o}from"vue";import{InputNumber as m,InputFilter as n,SelectFilter as d,Date as s}from"./components/index.js";import{WidgetTypeEnums as f}from"../../types/enums.js";import{typeMappingOptions as i}from"./helpers/options.js";const g={class:"value-cfg_wrapper"};var V=e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null},isAccurate:{type:Boolean}},emits:["update:modelValue","update:presetVal","update:isAccurate"],setup(e,{emit:V}){const v=e,c=a({set(e){V("update:modelValue",e)},get:()=>v.modelValue});a({set(e){V("update:presetVal",e)},get:()=>v.presetVal}),a({set(e){V("update:isAccurate",e)},get:()=>v.isAccurate});const C=a((()=>{var e,a;const l=null==(e=v.paramCfg)?void 0:e.optionInfo;return!!((null==l?void 0:l.manualMapping)&&(null==(a=l.list)?void 0:a.length)>0)})),y=a((()=>{var e;const a=(null==(e=v.paramCfg)?void 0:e._rawData.type)||"";return i[a]}));return(a,i)=>(l(),t("div",g,[u(" 数字框 "),p(y)===p(f).INPUT_NUMBER?(l(),r(p(m),{key:0,paramCfg:e.paramCfg,modelValue:p(c),"onUpdate:modelValue":i[0]||(i[0]=e=>o(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):u("v-if",!0),u(" 文本框 "),p(y)!==p(f).INPUT||p(C)?u("v-if",!0):(l(),r(p(n),{key:1,paramCfg:e.paramCfg,modelValue:p(c),"onUpdate:modelValue":i[1]||(i[1]=e=>o(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])),u(" 静态数据源下拉框 "),p(y)===p(f).INPUT&&p(C)?(l(),r(p(d),{key:2,paramCfg:e.paramCfg,modelValue:p(c),"onUpdate:modelValue":i[2]||(i[2]=e=>o(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):u("v-if",!0),u(" 日期框、日期时间框 "),p(y)===p(f).DATE||p(y)===p(f).DATE_TIME?(l(),r(p(s),{key:3,paramCfg:e.paramCfg,modelValue:p(c),"onUpdate:modelValue":i[3]||(i[3]=e=>o(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):u("v-if",!0)]))}});export{V as default};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
componentCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
paramCfg: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
componentCfg: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
};
|
|
18
|
+
paramCfg: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>>;
|
|
29
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
30
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
31
|
+
dateType: any;
|
|
32
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
33
|
+
compType: import("vue").ComputedRef<any>;
|
|
34
|
+
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
35
|
+
updateUnchangedValue: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
onConfirm: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
};
|
|
41
|
+
formattedValue: {
|
|
42
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
43
|
+
};
|
|
44
|
+
placeholder: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
};
|
|
47
|
+
allowedInvalidValue: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
attrs: {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
updateUnchangedValue: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
onConfirm: {
|
|
59
|
+
type: FunctionConstructor;
|
|
60
|
+
};
|
|
61
|
+
formattedValue: {
|
|
62
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
63
|
+
};
|
|
64
|
+
placeholder: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
};
|
|
67
|
+
allowedInvalidValue: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>>;
|
|
73
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
74
|
+
datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
|
|
75
|
+
panelInstRef: import("vue").Ref<null>;
|
|
76
|
+
placeholderRef: import("vue").Ref<any>;
|
|
77
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
78
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
79
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
80
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
81
|
+
focus: () => any;
|
|
82
|
+
blur: () => any;
|
|
83
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
84
|
+
onUpdateShow: (show: boolean) => void;
|
|
85
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
86
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
87
|
+
NDatePicker: any;
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
updateUnchangedValue: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
onConfirm: {
|
|
93
|
+
type: FunctionConstructor;
|
|
94
|
+
};
|
|
95
|
+
formattedValue: {
|
|
96
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
97
|
+
};
|
|
98
|
+
placeholder: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
allowedInvalidValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
updateUnchangedValue: boolean;
|
|
108
|
+
}>>;
|
|
109
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
+
componentCfg: {
|
|
111
|
+
type: ObjectConstructor;
|
|
112
|
+
};
|
|
113
|
+
paramCfg: {
|
|
114
|
+
type: ObjectConstructor;
|
|
115
|
+
default: null;
|
|
116
|
+
};
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
119
|
+
default: null;
|
|
120
|
+
};
|
|
121
|
+
}>> & {
|
|
122
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
modelValue: string | number | unknown[];
|
|
125
|
+
paramCfg: Record<string, any>;
|
|
126
|
+
}>;
|
|
127
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as a,createBlock as l,unref as r,isRef as o}from"vue";import m from"../../../../../date-picker/index.js";import{WidgetTypeEnums as u}from"../../../types/enums.js";var p=e({__name:"Date",props:{componentCfg:{type:Object},paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const d=e,s=t({set(e){p("update:modelValue",e)},get:()=>d.modelValue}),y=t((()=>f.value.toLowerCase()||u.DATE.toLowerCase())),n=t((()=>{let e="";switch(f.value){case u.DATE:e="yyyy-MM-dd";break;case u.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),f=t((()=>d.paramCfg._rawData.type));return(e,t)=>(a(),l(r(m),{class:"form-item",type:r(y),clearable:"",to:"body",valueFormat:r(n),"formatted-value":r(s),"onUpdate:formatted-value":t[0]||(t[0]=e=>o(s)?s.value=e:null)},null,8,["type","valueFormat","formatted-value"]))}});export{p as default};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
paramCfg: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
24
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
25
|
+
NInput: any;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
paramCfg: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
}>> & {
|
|
36
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
modelValue: string | number | unknown[];
|
|
39
|
+
paramCfg: Record<string, any>;
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./InputFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","InputFilter.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as t,createBlock as a,unref as u,isRef as r}from"vue";import{NInput as m}from"naive-ui";var p=e({__name:"InputFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const n=e,o=l({set(e){p("update:modelValue",e)},get:()=>n.modelValue});return(e,l)=>(t(),a(u(m),{style:{width:"160px"},value:u(o),"onUpdate:value":l[0]||(l[0]=e=>r(o)?o.value=e:null),maxlength:"255",clearable:""},null,8,["value"]))}});export{p as default};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
}>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>>;
|
|
15
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
16
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
17
|
+
NInputNumber: any;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
modelValue: string | number | unknown[];
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./InputNumber.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","InputNumber.vue"]]);export{u as default};
|