cnhis-design-vue 3.1.49-beta.0 → 3.1.49-beta.2
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/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +4 -2
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +4 -2
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +4 -2
- package/es/components/classification/src/index.vue.d.ts +4 -2
- package/es/components/date-picker/index.d.ts +2 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/field-set/index.d.ts +26 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +26 -0
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +13 -0
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -1
- package/es/components/index.css +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +4 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +4 -2
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +8 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +8 -4
- package/es/shared/hooks/useDateTime.d.ts +1 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -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 .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{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}.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}.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 .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{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%}
|
|
@@ -113,8 +113,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
114
114
|
focus: () => any;
|
|
115
115
|
blur: () => any;
|
|
116
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
116
117
|
onUpdateShow: (show: boolean) => void;
|
|
117
|
-
onConfirm: (...args: any[]) => void
|
|
118
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
118
119
|
NDatePicker: any;
|
|
119
120
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
120
121
|
updateUnchangedValue: {
|
|
@@ -672,8 +673,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
672
673
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
673
674
|
focus: () => any;
|
|
674
675
|
blur: () => any;
|
|
676
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
675
677
|
onUpdateShow: (show: boolean) => void;
|
|
676
|
-
onConfirm: (...args: any[]) => void
|
|
678
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
677
679
|
NDatePicker: any;
|
|
678
680
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
679
681
|
updateUnchangedValue: {
|
|
@@ -78,8 +78,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
79
79
|
focus: () => any;
|
|
80
80
|
blur: () => any;
|
|
81
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
81
82
|
onUpdateShow: (show: boolean) => void;
|
|
82
|
-
onConfirm: (...args: any[]) => void
|
|
83
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
83
84
|
NDatePicker: any;
|
|
84
85
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
86
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
|
@@ -91,8 +91,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
92
92
|
focus: () => any;
|
|
93
93
|
blur: () => any;
|
|
94
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
94
95
|
onUpdateShow: (show: boolean) => void;
|
|
95
|
-
onConfirm: (...args: any[]) => void
|
|
96
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
96
97
|
NDatePicker: any;
|
|
97
98
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
99
|
updateUnchangedValue: {
|
|
@@ -78,8 +78,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
|
78
78
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
79
79
|
focus: () => any;
|
|
80
80
|
blur: () => any;
|
|
81
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
81
82
|
onUpdateShow: (show: boolean) => void;
|
|
82
|
-
onConfirm: (...args: any[]) => void
|
|
83
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
83
84
|
NDatePicker: any;
|
|
84
85
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
86
|
updateUnchangedValue: {
|
|
@@ -637,8 +638,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
|
637
638
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
638
639
|
focus: () => any;
|
|
639
640
|
blur: () => any;
|
|
641
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
640
642
|
onUpdateShow: (show: boolean) => void;
|
|
641
|
-
onConfirm: (...args: any[]) => void
|
|
643
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
642
644
|
NDatePicker: any;
|
|
643
645
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
644
646
|
updateUnchangedValue: {
|
|
@@ -236,8 +236,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
236
236
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
237
237
|
focus: () => any;
|
|
238
238
|
blur: () => any;
|
|
239
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
239
240
|
onUpdateShow: (show: boolean) => void;
|
|
240
|
-
onConfirm: (...args: any[]) => void
|
|
241
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
241
242
|
NDatePicker: any;
|
|
242
243
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
243
244
|
updateUnchangedValue: {
|
|
@@ -795,8 +796,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
795
796
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
796
797
|
focus: () => any;
|
|
797
798
|
blur: () => any;
|
|
799
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
798
800
|
onUpdateShow: (show: boolean) => void;
|
|
799
|
-
onConfirm: (...args: any[]) => void
|
|
801
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
800
802
|
NDatePicker: any;
|
|
801
803
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
802
804
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
|
@@ -109,8 +109,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
110
110
|
focus: () => any;
|
|
111
111
|
blur: () => any;
|
|
112
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
112
113
|
onUpdateShow: (show: boolean) => void;
|
|
113
|
-
onConfirm: (...args: any[]) => void
|
|
114
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
114
115
|
NDatePicker: any;
|
|
115
116
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
116
117
|
updateUnchangedValue: {
|
|
@@ -92,8 +92,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
93
93
|
focus: () => any;
|
|
94
94
|
blur: () => any;
|
|
95
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
95
96
|
onUpdateShow: (show: boolean) => void;
|
|
96
|
-
onConfirm: (...args: any[]) => void
|
|
97
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
97
98
|
NDatePicker: any;
|
|
98
99
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
100
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -127,8 +127,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
127
127
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
128
128
|
focus: () => any;
|
|
129
129
|
blur: () => any;
|
|
130
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
130
131
|
onUpdateShow: (show: boolean) => void;
|
|
131
|
-
onConfirm: (...args: any[]) => void
|
|
132
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
132
133
|
NDatePicker: any;
|
|
133
134
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
135
|
updateUnchangedValue: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
|
@@ -94,8 +94,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
95
95
|
focus: () => any;
|
|
96
96
|
blur: () => any;
|
|
97
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
97
98
|
onUpdateShow: (show: boolean) => void;
|
|
98
|
-
onConfirm: (...args: any[]) => void
|
|
99
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
99
100
|
NDatePicker: any;
|
|
100
101
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
102
|
updateUnchangedValue: {
|
|
@@ -273,8 +273,9 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
|
273
273
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
274
274
|
focus: () => any;
|
|
275
275
|
blur: () => any;
|
|
276
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
276
277
|
onUpdateShow: (show: boolean) => void;
|
|
277
|
-
onConfirm: (...args: any[]) => void
|
|
278
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
278
279
|
NDatePicker: any;
|
|
279
280
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
280
281
|
updateUnchangedValue: {
|
|
@@ -483,8 +484,9 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
|
483
484
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
484
485
|
focus: () => any;
|
|
485
486
|
blur: () => any;
|
|
487
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
486
488
|
onUpdateShow: (show: boolean) => void;
|
|
487
|
-
onConfirm: (...args: any[]) => void
|
|
489
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
488
490
|
NDatePicker: any;
|
|
489
491
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
490
492
|
updateUnchangedValue: {
|
|
@@ -655,8 +657,9 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
|
655
657
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
656
658
|
focus: () => any;
|
|
657
659
|
blur: () => any;
|
|
660
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
658
661
|
onUpdateShow: (show: boolean) => void;
|
|
659
|
-
onConfirm: (...args: any[]) => void
|
|
662
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
660
663
|
NDatePicker: any;
|
|
661
664
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
662
665
|
updateUnchangedValue: {
|
|
@@ -872,8 +875,9 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
|
872
875
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
873
876
|
focus: () => any;
|
|
874
877
|
blur: () => any;
|
|
878
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
875
879
|
onUpdateShow: (show: boolean) => void;
|
|
876
|
-
onConfirm: (...args: any[]) => void
|
|
880
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
877
881
|
NDatePicker: any;
|
|
878
882
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
879
883
|
updateUnchangedValue: {
|
|
@@ -420,8 +420,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
420
420
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
421
421
|
focus: () => any;
|
|
422
422
|
blur: () => any;
|
|
423
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
423
424
|
onUpdateShow: (show: boolean) => void;
|
|
424
|
-
onConfirm: (...args: any[]) => void
|
|
425
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
425
426
|
NDatePicker: any;
|
|
426
427
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
427
428
|
updateUnchangedValue: {
|
|
@@ -643,8 +644,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
643
644
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
644
645
|
focus: () => any;
|
|
645
646
|
blur: () => any;
|
|
647
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
646
648
|
onUpdateShow: (show: boolean) => void;
|
|
647
|
-
onConfirm: (...args: any[]) => void
|
|
649
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
648
650
|
NDatePicker: any;
|
|
649
651
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
650
652
|
updateUnchangedValue: {
|
|
@@ -828,8 +830,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
828
830
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
829
831
|
focus: () => any;
|
|
830
832
|
blur: () => any;
|
|
833
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
831
834
|
onUpdateShow: (show: boolean) => void;
|
|
832
|
-
onConfirm: (...args: any[]) => void
|
|
835
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
833
836
|
NDatePicker: any;
|
|
834
837
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
835
838
|
updateUnchangedValue: {
|
|
@@ -1058,8 +1061,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1058
1061
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
1059
1062
|
focus: () => any;
|
|
1060
1063
|
blur: () => any;
|
|
1064
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
1061
1065
|
onUpdateShow: (show: boolean) => void;
|
|
1062
|
-
onConfirm: (...args: any[]) => void
|
|
1066
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
1063
1067
|
NDatePicker: any;
|
|
1064
1068
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1065
1069
|
updateUnchangedValue: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
2
|
import { AnyObject } from '../../../es/shared/types';
|
|
3
3
|
export declare function useDateTime(datePickerRef: Ref<AnyObject | null>, formatRef: ComputedRef<string | [string, string]>, attrs: AnyObject, isPanel?: boolean): {
|
|
4
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
4
5
|
focus: () => any;
|
|
5
6
|
blur: () => any;
|
|
6
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(
|
|
1
|
+
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(e,t=""){e.value=t,e.dispatchEvent(new InputEvent("input"))}function o(e,t,n,l){const o=e.value;if(!o)return;const u=e.selectionEnd||0,s=o.length;let r=0,c=0,a=0,d="",f=0;for(;r<s;){const e=o[r++];if(/\d/.test(e)&&(d+=e),r===u){a=d.length;const e=o.slice(r).match(/^\d+/);f=e?e[0].length:0}}const v=Array.isArray(t)?function(e){var t,n;let l=!1,i=e.parentNode||null;for(;i;){if(null==(n=null==(t=i.classList)?void 0:t.contains)?void 0:n.call(t,"n-time-picker")){l=!0;break}i=i.parentNode||null}return l}(e)?t[1]:t[0]:t;let g="",m=0,h=0;for(r=0;r<v.length&&(l||!(c>=d.length));){const e=v[r++];if(/[yMdHms]/.test(e)?g+=d[c++]||"0":g+=e,n&&c===a){a=-1,m=g.length,h=m;let e=v.slice(r).match(/^[yMdHms]+/);e?(f=Math.min(f,e[0].length),f&&(g+=d.slice(c,c+f),c+=f),r+=e[0].length):(e=v.slice(r).match(/^([^yMdHms]+)([yMdHms]*)/),e&&(m+=e[1].length,h=m+e[2].length))}}const p=g!==o;return p&&i(e,g),n&&(m=m||g.length+1,h=h||g.length+1,e.setSelectionRange(m,h)),p}function u(u,s,r,c){const a=e((()=>{var e;return null==(e=u.value)?void 0:e.$el})),d=e((()=>{const e={};return["date","time","hour","minute","second"].forEach((t=>function(e,t){const n=`is-${t}-disabled`;r[n]&&(e[n.replace(/-(\w)/g,((e,t)=>t.toUpperCase()))]=r[n])}(e,t))),e}));function f(e){o(e,t(s),!1,!0);const n=null==e?void 0:e.value,u=Reflect.get(r,"type")||"";n&&!u.includes("range")&&l(new Date(n))&&!function(e){const{isTimeDisabled:t,isDateDisabled:n,isHourDisabled:l,isMinuteDisabled:i,isSecondDisabled:o}=d.value;if(null==n?void 0:n(e.getTime()))return;const u=(null==t?void 0:t(e.getTime()).isHourDisabled)||l,s=(null==t?void 0:t(e.getTime()).isMinuteDisabled)||i,r=(null==t?void 0:t(e.getTime()).isSecondDisabled)||o;if(null==u?void 0:u(e.getHours()))return;if(null==s?void 0:s(e.getMinutes()))return;if(null==r?void 0:r(e.getMinutes()))return;return!0}(new Date(n))&&i(e)}return n(a,"input",(function(e){const n=e.target;if(!n.value||!Reflect.get(n,"_f_"))return;Reflect.set(n,"_f_",0),o(n,t(s),!0)&&(e.preventDefault(),e.stopPropagation())}),!0),n(a,"keydown",(function(e){const{key:t}=e,n=e.target;if(/\d/.test(t)&&n)Reflect.set(n,"_f_",1);else if("Enter"===t)f(n);else if("Backspace"===t&&!c){const e=null==n?void 0:n.value;1===(null==e?void 0:e.length)&&(i(n),n.blur(),n.focus())}}),!0),n(a,"mouseup",(function(e){const t=e.target;["INPUT"].includes(t.tagName)&&0===e.button&&function(e){const{selectionStart:t=0,selectionEnd:n=0,value:l}=e;if(t!==n)return;const i=/(\d+)/g;let o,u,s;for(;null!==(o=i.exec(l));)if(t&&o.index<=t&&t<=i.lastIndex){u=o.index,s=i.lastIndex;break}void 0!==u&&void 0!==s&&e.setSelectionRange(u,s)}(t)}),!0),{handleConfirm:f,focus:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.blur)?void 0:t.call(e)}}}export{u as useDateTime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.1.49-beta.
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.1.49-beta.2",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.49-beta.2",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.49-beta.
|
|
3
|
+
"version": "3.1.49-beta.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"iOS 7",
|
|
64
64
|
"last 3 iOS versions"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "a8f7d7cdca3113620c2a7b0dbaf062673dfc51cc"
|
|
67
67
|
}
|