vue-devui 1.0.0 → 1.1.0
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/README.md +36 -5
- package/alert/style.css +1 -1
- package/auto-complete/index.es.js +27 -16
- package/auto-complete/index.umd.js +11 -11
- package/auto-complete/style.css +1 -1
- package/button/index.es.js +7 -6
- package/button/index.umd.js +5 -5
- package/button/style.css +1 -1
- package/card/style.css +1 -1
- package/checkbox/index.es.js +19 -14
- package/checkbox/index.umd.js +8 -8
- package/checkbox/style.css +1 -1
- package/date-picker-pro/index.es.js +138 -133
- package/date-picker-pro/index.umd.js +13 -13
- package/date-picker-pro/style.css +1 -1
- package/drawer/index.es.js +22 -5
- package/drawer/index.umd.js +1 -1
- package/drawer/style.css +1 -1
- package/dropdown/index.es.js +16 -3
- package/dropdown/index.umd.js +1 -1
- package/dropdown/style.css +1 -1
- package/editable-select/index.es.js +67 -62
- package/editable-select/index.umd.js +1 -1
- package/editable-select/style.css +1 -1
- package/form/index.es.js +14 -8
- package/form/index.umd.js +5 -5
- package/form/style.css +1 -1
- package/icon/index.es.js +2 -1
- package/icon/index.umd.js +1 -1
- package/icon/style.css +1 -1
- package/image-preview/style.css +1 -1
- package/input/index.es.js +22 -11
- package/input/index.umd.js +4 -4
- package/input/style.css +1 -1
- package/input-number/index.es.js +26 -23
- package/input-number/index.umd.js +1 -1
- package/input-number/style.css +1 -1
- package/loading/index.es.js +51 -51
- package/loading/index.umd.js +1 -1
- package/mention/index.es.js +33 -17
- package/mention/index.umd.js +10 -10
- package/mention/style.css +1 -1
- package/message/index.es.js +2 -1
- package/message/index.umd.js +1 -1
- package/message/style.css +1 -1
- package/modal/index.es.js +158 -43
- package/modal/index.umd.js +1 -1
- package/modal/style.css +1 -1
- package/notification/index.es.js +7 -9
- package/notification/index.umd.js +1 -1
- package/notification/style.css +1 -1
- package/nuxt/components/paginationInjectionKey.js +3 -0
- package/overlay/index.es.js +12 -2
- package/overlay/index.umd.js +1 -1
- package/overlay/style.css +1 -1
- package/package.json +2 -2
- package/pagination/index.es.js +10160 -278
- package/pagination/index.umd.js +27 -1
- package/pagination/style.css +1 -1
- package/panel/index.es.js +4 -0
- package/panel/index.umd.js +1 -1
- package/popover/index.es.js +13 -5
- package/popover/index.umd.js +9 -9
- package/popover/style.css +1 -1
- package/radio/index.es.js +14 -8
- package/radio/index.umd.js +4 -4
- package/radio/style.css +1 -1
- package/result/index.es.js +2 -1
- package/result/index.umd.js +1 -1
- package/result/style.css +1 -1
- package/search/index.es.js +23 -12
- package/search/index.umd.js +4 -4
- package/search/style.css +1 -1
- package/select/index.es.js +134 -113
- package/select/index.umd.js +10 -10
- package/select/style.css +1 -1
- package/skeleton/style.css +1 -1
- package/splitter/index.es.js +30 -7
- package/splitter/index.umd.js +16 -16
- package/splitter/style.css +1 -1
- package/status/index.es.js +4 -0
- package/status/index.umd.js +1 -1
- package/steps/index.es.js +2 -1
- package/steps/index.umd.js +1 -1
- package/steps/style.css +1 -1
- package/style.css +1 -1
- package/switch/index.es.js +14 -8
- package/switch/index.umd.js +13 -13
- package/switch/style.css +1 -1
- package/table/index.es.js +159 -66
- package/table/index.umd.js +7 -7
- package/table/style.css +1 -1
- package/tabs/index.es.js +95 -44
- package/tabs/index.umd.js +1 -1
- package/tabs/style.css +1 -1
- package/tag/index.es.js +1 -1
- package/tag/index.umd.js +1 -1
- package/tag/style.css +1 -1
- package/textarea/index.es.js +17 -9
- package/textarea/index.umd.js +13 -13
- package/textarea/style.css +1 -1
- package/time-picker/index.es.js +154 -151
- package/time-picker/index.umd.js +14 -14
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +141 -117
- package/time-select/index.umd.js +13 -13
- package/time-select/style.css +1 -1
- package/timeline/index.es.js +2 -1
- package/timeline/index.umd.js +1 -1
- package/timeline/style.css +1 -1
- package/tooltip/index.es.js +28 -6
- package/tooltip/index.umd.js +7 -7
- package/tooltip/style.css +1 -1
- package/tree/index.es.js +47 -38
- package/tree/index.umd.js +7 -7
- package/tree/style.css +1 -1
- package/upload/index.es.js +9 -10
- package/upload/index.umd.js +1 -1
- package/upload/style.css +1 -1
- package/vue-devui.es.js +3496 -3121
- package/vue-devui.umd.js +21 -21
- package/alert/index.d.ts +0 -7
- package/auto-complete/index.d.ts +0 -7
- package/avatar/index.d.ts +0 -7
- package/badge/index.d.ts +0 -7
- package/button/index.d.ts +0 -7
- package/card/index.d.ts +0 -7
- package/checkbox/index.d.ts +0 -7
- package/collapse/index.d.ts +0 -7
- package/countdown/index.d.ts +0 -7
- package/date-picker-pro/index.d.ts +0 -7
- package/drawer/index.d.ts +0 -7
- package/dropdown/index.d.ts +0 -7
- package/editable-select/index.d.ts +0 -7
- package/form/index.d.ts +0 -7
- package/fullscreen/index.d.ts +0 -7
- package/grid/index.d.ts +0 -7
- package/icon/index.d.ts +0 -7
- package/image-preview/index.d.ts +0 -7
- package/index.d.ts +0 -7
- package/input/index.d.ts +0 -7
- package/input-number/index.d.ts +0 -7
- package/layout/index.d.ts +0 -7
- package/loading/index.d.ts +0 -7
- package/mention/index.d.ts +0 -7
- package/menu/index.d.ts +0 -7
- package/message/index.d.ts +0 -7
- package/modal/index.d.ts +0 -7
- package/notification/index.d.ts +0 -7
- package/nuxt/components/Loading.js +0 -3
- package/overlay/index.d.ts +0 -7
- package/pagination/index.d.ts +0 -7
- package/panel/index.d.ts +0 -7
- package/popover/index.d.ts +0 -7
- package/progress/index.d.ts +0 -7
- package/radio/index.d.ts +0 -7
- package/rate/index.d.ts +0 -7
- package/result/index.d.ts +0 -7
- package/ripple/index.d.ts +0 -7
- package/search/index.d.ts +0 -7
- package/select/index.d.ts +0 -7
- package/skeleton/index.d.ts +0 -7
- package/slider/index.d.ts +0 -7
- package/splitter/index.d.ts +0 -7
- package/statistic/index.d.ts +0 -7
- package/status/index.d.ts +0 -7
- package/steps/index.d.ts +0 -7
- package/switch/index.d.ts +0 -7
- package/table/index.d.ts +0 -7
- package/tabs/index.d.ts +0 -7
- package/tag/index.d.ts +0 -7
- package/textarea/index.d.ts +0 -7
- package/time-picker/index.d.ts +0 -7
- package/time-select/index.d.ts +0 -7
- package/timeline/index.d.ts +0 -7
- package/tooltip/index.d.ts +0 -7
- package/tree/index.d.ts +0 -7
- package/upload/index.d.ts +0 -7
package/checkbox/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.devui-fixed-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--devui-shadow, rgba(37, 43, 58, .2));z-index:1050}.devui-fixed-overlay--fade-enter-active,.devui-fixed-overlay--fade-leave-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.devui-fixed-overlay--fade-enter-from,.devui-fixed-overlay--fade-leave-to{opacity:0}.devui-flexible-overlay{position:fixed;border-radius:var(--devui-border-radius, 4px);background-color:var(--devui-connected-overlay-bg, #ffffff);box-shadow:var(--devui-shadow-length-connected-overlay, 0 4px 8px 0) var(--devui-shadow, rgba(37, 43, 58, .2));z-index:1000}.devui-flexible-overlay__arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg);background-color:inherit}.devui-popover__icon-wrap{width:16px;height:16px;margin-right:8px}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>path{fill:var(--devui-success, #50d4ab)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>circle,.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>polygon{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--warning>g>path{fill:var(--devui-warning, #fac20a)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--warning>g>polygon{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--info>g>g{fill:var(--devui-info, #5e7ce0)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--info>g>circle{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--error>g>path{fill:var(--devui-danger, #f66f6a)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--error>g>circle{fill:var(--devui-light-text, #ffffff)}.devui-popover__content.devui-flexible-overlay{display:flex;flex-wrap:wrap;align-items:center;white-space:nowrap;padding:4px 12px;line-height:1.5;border-radius:var(--devui-border-radius-feedback, 4px);color:var(--devui-feedback-overlay-text, #dfe1e6);background-color:var(--devui-feedback-overlay-bg, #464d6e);font-size:var(--devui-font-size-sm, 12px)}.devui-popover__content.devui-flexible-overlay.is-icon{flex-wrap:nowrap}.devui-popover--fade-bottom-enter-from,.devui-popover--fade-bottom-leave-to,.devui-popover--fade-top-enter-from,.devui-popover--fade-top-leave-to{opacity:.8;transform:scaleY(.8)}.devui-popover--fade-bottom-enter-to,.devui-popover--fade-bottom-leave-from,.devui-popover--fade-top-enter-to,.devui-popover--fade-top-leave-from{opacity:1;transform:scaleY(1)}.devui-popover--fade-bottom-enter-active,.devui-popover--fade-top-enter-active{transition:transform .1s cubic-bezier(.16,.75,.5,1),opacity .1s cubic-bezier(.16,.75,.5,1)}.devui-popover--fade-bottom-leave-active,.devui-popover--fade-top-leave-active{transition:transform .1s cubic-bezier(.5,0,.84,.25),opacity .1s cubic-bezier(.5,0,.84,.25)}.devui-popover--fade-left-enter-from,.devui-popover--fade-left-leave-to,.devui-popover--fade-right-enter-from,.devui-popover--fade-right-leave-to{opacity:.8;transform:scaleX(.8)}.devui-popover--fade-left-enter-to,.devui-popover--fade-left-leave-from,.devui-popover--fade-right-enter-to,.devui-popover--fade-right-leave-from{opacity:1;transform:scaleX(1)}.devui-popover--fade-left-enter-active,.devui-popover--fade-right-enter-active{transition:transform .1s cubic-bezier(.16,.75,.5,1),opacity .1s cubic-bezier(.16,.75,.5,1)}.devui-popover--fade-left-leave-active,.devui-popover--fade-right-leave-active{transition:transform .1s cubic-bezier(.5,0,.84,.25),opacity .1s cubic-bezier(.5,0,.84,.25)}.devui-form__label{align-self:flex-start}.devui-form__label--vertical{padding-bottom:8px}.devui-form__label--sm{flex:0 0 80px}.devui-form__label--md{flex:0 0 100px}.devui-form__label--lg{flex:0 0 150px}.devui-form__label--start{text-align:left}.devui-form__label--center{text-align:center}.devui-form__label--end{text-align:end}.devui-form__label-span{display:inline-block;vertical-align:middle;color:var(--devui-text, #252b3a)}.devui-form__label--required:before{content:"*";color:red;display:inline-block;margin-right:8px;margin-left:-12px}.devui-form__label-help{position:relative;top:-.1em;display:inline-block;vertical-align:middle;margin-left:4px;cursor:pointer}.devui-form__control{flex:1 1 auto;position:relative;width:100%}.devui-form__control--horizontal{margin-left:16px}.devui-form__control .devui-star{color:red}.devui-form__control .devui-form__control-container{position:relative}.devui-form__control .devui-form__control-container--horizontal{display:flex;width:100%}.devui-form__control .devui-form__control-container--horizontal .devui-validate-tip{margin:0}.devui-form__control .devui-form__control-container .devui-form__feedback-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:16px;text-align:center;visibility:visible;pointer-events:none;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--error svg circle{fill:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--error svg polygon{fill:var(--devui-base-bg, #ffffff)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--success svg circle{fill:var(--devui-success, #50d4ab)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--success svg polygon{fill:var(--devui-base-bg, #ffffff)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--pending svg{animation:loading-keyframes 1s infinite linear}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--pending svg path{fill:var(--devui-brand, #5e7ce0)}.devui-form__control .devui-form__control-content{width:100%}.devui-form__control .devui-form__control-container--has-feedback{display:flex;align-items:center}.devui-form__control .devui-form__control-container--has-feedback input{padding-right:28px}.devui-form__control .devui-form__control-container--feedback-error{border:1px solid #f66f6a;border-radius:2px}.devui-form__control .devui-form__control-container--feedback-error input{background-color:#ffeeed;border-color:transparent}.devui-form__control .devui-form__control-container--feedback-error input:hover{border-color:transparent!important}.devui-form__control .devui-form__control-container--feedback-error input:focus{border-color:transparent!important}.devui-form__control .devui-form__control-container--feedback-error .devui-select-arrow{right:24px!important}.devui-form__control .devui-form__control-info{line-height:1}.devui-form__control .devui-form__control-info .error-message{display:inline-block;min-height:20px;line-height:1.5;font-size:var(--devui-font-size, 14px);color:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-info .devui-form__control-extra{font-size:var(--devui-font-size, 14px);color:var(--devui-aide-text, #71757f);min-height:20px;line-height:1.5;text-align:justify}@keyframes loading-keyframes{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.devui-form__item--horizontal{display:flex;align-items:center;margin-bottom:20px}.devui-form__item--vertical{display:flex;flex-direction:column;margin-bottom:20px}.devui-form__item--error{margin-bottom:0}.devui-form-operation .star{color:red}.devui-checkbox{position:relative;display:flex;display:-ms-flexbox;align-items:center;-ms-flex-align:center;height:100%;margin:0}.devui-checkbox .devui-checkbox__tick-wrap{position:absolute}.devui-checkbox .devui-checkbox__tick-wrap .devui-checkbox__tick{fill:var(--devui-light-text, #ffffff);stroke-dashoffset:50;opacity:0;transform:scale(0);transform-origin:50% 50%;transition:stroke-dashoffset .2s ease-in-out,opacity .2s ease-in-out,transform .2s ease-in-out}.devui-checkbox.active:not(.half-checked) .devui-checkbox__tick{opacity:1;stroke-dashoffset:0;transform:scale(1);transition:stroke-dashoffset .3s cubic-bezier(.755,.05,.855,.06),opacity .2s cubic-bezier(.755,.05,.855,.06)}.devui-checkbox.active:not(.disabled) .devui-checkbox__material:not(.custom-color),.devui-checkbox.half-checked:not(.disabled) .devui-checkbox__material:not(.custom-color){border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.active .devui-checkbox--bordered,.devui-checkbox.half-checked .devui-checkbox--bordered{border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.active:not(.disabled) .devui-checkbox__material{background-size:100% 100%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material:not(.custom-color){background-size:0% 0%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material:not(.custom-color):hover{border-color:var(--devui-icon-fill-active, #252b3a)}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material.custom-color{background-size:0% 0%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.half-checked .devui-checkbox__material:not(.custom-color){background-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.half-checked .devui-checkbox__material:not(.custom-color)>.devui-checkbox__halfchecked-bg{opacity:1;transform:scale(.4288);transition:transform .2s cubic-bezier(.755,.05,.855,.06);background-color:var(--devui-light-text, #ffffff)}.devui-checkbox.half-checked .devui-checkbox__material.custom-color>.devui-checkbox__halfchecked-bg{opacity:1;transform:scale(.4288);transition:transform .2s cubic-bezier(.755,.05,.855,.06);background-color:var(--devui-light-text, #ffffff)}.devui-checkbox .devui-checkbox__material{text-align:initial;height:14px;width:14px;position:relative;user-select:none;border:1px solid var(--devui-line, #d7d8da);border-radius:var(--devui-border-radius, 4px);background:linear-gradient(var(--devui-brand, #5e7ce0),var(--devui-brand, #5e7ce0)) no-repeat 50%/0;margin-right:8px;vertical-align:text-bottom}.devui-checkbox .devui-checkbox__material.devui-checkbox__default-background{background-color:var(--devui-base-bg, #ffffff)}.devui-checkbox .devui-checkbox__material.devui-checkbox--no-label{margin-right:0}.devui-checkbox .devui-checkbox__material>.devui-checkbox__halfchecked-bg{display:inline-block;position:absolute;content:"";background-color:var(--devui-light-text, #ffffff);top:0;left:0;height:100%;width:100%;transform:scale(1);opacity:0}.devui-checkbox .devui-checkbox__material>svg{width:14px;height:14px}.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):focus,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover{background-color:var(--devui-icon-fill-active, #252b3a)}.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):focus,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover:active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover:focus{background-color:var(--devui-brand-active-focus, #344899)}.devui-checkbox__input{opacity:0;position:absolute;margin:0;z-index:-1;width:0;height:0;overflow:hidden;left:0;pointer-events:none}.devui-checkbox label{position:relative;font-weight:400;height:16px;line-height:16px;cursor:pointer;color:var(--devui-text, #252b3a);margin:0;display:block}.devui-checkbox label.devui-checkbox--lg{font-size:var(--devui-font-size-lg, 14px)}.devui-checkbox label.devui-checkbox--lg .devui-checkbox__material{width:16px;height:16px}.devui-checkbox label.devui-checkbox--lg .devui-checkbox__material>svg{width:16px;height:16px}.devui-checkbox label.devui-checkbox--lg.devui-checkbox--bordered{height:40px;line-height:40px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--md{font-size:var(--devui-font-size-lg, 14px)}.devui-checkbox label.devui-checkbox--md .devui-checkbox__material{width:16px;height:16px}.devui-checkbox label.devui-checkbox--md .devui-checkbox__material>svg{width:16px;height:16px}.devui-checkbox label.devui-checkbox--md.devui-checkbox--bordered{height:36px;line-height:36px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--sm{font-size:var(--devui-font-size-sm, 12px)}.devui-checkbox label.devui-checkbox--sm .devui-checkbox__material{width:14px;height:14px}.devui-checkbox label.devui-checkbox--sm .devui-checkbox__material>svg{width:14px;height:14px}.devui-checkbox label.devui-checkbox--sm.devui-checkbox--bordered{height:32px;line-height:32px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--xs{font-size:var(--devui-font-size-sm, 12px)}.devui-checkbox label.devui-checkbox--xs .devui-checkbox__material{width:14px;height:14px}.devui-checkbox label.devui-checkbox--xs .devui-checkbox__material>svg{width:14px;height:14px}.devui-checkbox label.devui-checkbox--xs.devui-checkbox--bordered{height:28px;line-height:28px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--bordered{border:1px solid var(--devui-disabled-line, #dfe1e6);border-radius:var(--devui-border-radius, 4px)}.devui-checkbox label>span{display:inline-block;box-sizing:content-box;vertical-align:top}.devui-checkbox.disabled label{cursor:not-allowed;color:var(--devui-disabled-text, #adb0b8)}.devui-checkbox.disabled .devui-checkbox__material{border-color:var(--devui-icon-fill-active-disabled, #beccfa);background-color:var(--devui-icon-fill-active-disabled, #beccfa)}.devui-checkbox.disabled.unchecked .devui-checkbox__material{border-color:var(--devui-disabled-line, #dfe1e6);background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-checkbox.disabled.half-checked .devui-checkbox__material{background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-checkbox.disabled.half-checked .devui-checkbox__material .devui-checkbox__halfchecked-bg{transform:scale(.4288);background-color:var(--devui-disabled-text, #adb0b8);opacity:1}.devui-checkbox.disabled.active svg polygon{fill:var(--devui-light-text, #ffffff)}.devui-checkbox--no-animation{transition:none!important}.devui-checkbox__column-margin{height:28px;line-height:28px}.devui-checkbox__wrap .devui-checkbox label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host{display:block}.devui-checkbox--list-inline{min-height:28px;line-height:28px;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin:-8px 0 0}.devui-checkbox--list-inline div:not(:last-child){margin-right:20px}.devui-checkbox--list-inline>*{margin-top:8px}.devui-checkbox-button{display:inline-block;position:relative}.devui-checkbox-button__input{opacity:0;position:absolute;margin:0;z-index:-1;width:0;height:0;overflow:hidden;left:0;pointer-events:none}.devui-checkbox-button__content{font-size:14px;color:var(--devui-text, #252b3a);padding:10px 20px;cursor:pointer;border:1px solid var(--devui-disabled-line, #dfe1e6);border-left:none;display:inline-block;line-height:1;user-select:none;box-shadow:-1px 0 0 0 var(--devui-disabled-line, #dfe1e6)}.devui-checkbox-button__content.devui-checkbox-button--lg{font-size:var(--devui-font-size-lg, 14px);padding:12px 20px}.devui-checkbox-button__content.devui-checkbox-button--md{font-size:var(--devui-font-size-lg, 14px);padding:10px 20px}.devui-checkbox-button__content.devui-checkbox-button--sm{font-size:var(--devui-font-size-sm, 12px);padding:9px 15px}.devui-checkbox-button__content.devui-checkbox-button--xs{font-size:var(--devui-font-size-sm, 12px);padding:7px 15px}.devui-checkbox-button.active .devui-checkbox-button__content{color:#fff;background-color:var(--devui-brand, #5e7ce0);border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox-button.active.disabled .devui-checkbox-button__content{color:#fff;background-color:var(--devui-icon-fill-active-disabled, #beccfa);border-color:var(--devui-icon-fill-active-disabled, #beccfa)}.devui-checkbox-button.disabled .devui-checkbox-button__content{cursor:not-allowed;color:var(--devui-disabled-text, #adb0b8);background-color:#fff;border-color:var(--devui-disabled-line, #dfe1e6)}.devui-checkbox-button:first-child .devui-checkbox-button__content{border-top-left-radius:var(--devui-border-radius, 4px);border-bottom-left-radius:var(--devui-border-radius, 4px);border-left:1px solid var(--devui-disabled-line, #dfe1e6);box-shadow:none}.devui-checkbox-button:last-child .devui-checkbox-button__content{border-top-right-radius:var(--devui-border-radius, 4px);border-bottom-right-radius:var(--devui-border-radius, 4px)}
|
|
1
|
+
.devui-fixed-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--devui-shadow, rgba(37, 43, 58, .2));z-index:1050}.devui-fixed-overlay--fade-enter-active,.devui-fixed-overlay--fade-leave-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.devui-fixed-overlay--fade-enter-from,.devui-fixed-overlay--fade-leave-to{opacity:0}.devui-flexible-overlay{position:fixed;border-radius:var(--devui-border-radius, 2px);background-color:var(--devui-connected-overlay-bg, #ffffff);box-shadow:var(--devui-shadow-length-connected-overlay, 0 4px 8px 0) var(--devui-shadow, rgba(37, 43, 58, .2));z-index:1000}.devui-flexible-overlay__arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg);background-color:inherit}.devui-popover__icon-wrap{width:16px;height:16px;margin-right:8px}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>path{fill:var(--devui-success, #50d4ab)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>circle,.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--success>g>polygon{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--warning>g>path{fill:var(--devui-warning, #fac20a)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--warning>g>polygon{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--info>g>g{fill:var(--devui-info, #5e7ce0)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--info>g>circle{fill:var(--devui-light-text, #ffffff)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--error>g>path{fill:var(--devui-danger, #f66f6a)}.devui-popover__icon-wrap .devui-popover__icon.devui-popover__icon--error>g>circle{fill:var(--devui-light-text, #ffffff)}.devui-popover__content.devui-flexible-overlay{display:flex;flex-wrap:wrap;align-items:center;white-space:nowrap;padding:4px 12px;line-height:1.5;border-radius:var(--devui-border-radius-feedback, 4px);color:var(--devui-feedback-overlay-text, #dfe1e6);background-color:var(--devui-feedback-overlay-bg, #464d6e);font-size:var(--devui-font-size-sm, 12px)}.devui-popover__content.devui-flexible-overlay.is-icon{flex-wrap:nowrap}.devui-popover--fade-bottom-enter-from,.devui-popover--fade-bottom-leave-to,.devui-popover--fade-top-enter-from,.devui-popover--fade-top-leave-to{opacity:.8;transform:scaleY(.8)}.devui-popover--fade-bottom-enter-to,.devui-popover--fade-bottom-leave-from,.devui-popover--fade-top-enter-to,.devui-popover--fade-top-leave-from{opacity:1;transform:scaleY(1)}.devui-popover--fade-bottom-enter-active,.devui-popover--fade-top-enter-active{transition:transform .1s cubic-bezier(.16,.75,.5,1),opacity .1s cubic-bezier(.16,.75,.5,1)}.devui-popover--fade-bottom-leave-active,.devui-popover--fade-top-leave-active{transition:transform .1s cubic-bezier(.5,0,.84,.25),opacity .1s cubic-bezier(.5,0,.84,.25)}.devui-popover--fade-left-enter-from,.devui-popover--fade-left-leave-to,.devui-popover--fade-right-enter-from,.devui-popover--fade-right-leave-to{opacity:.8;transform:scaleX(.8)}.devui-popover--fade-left-enter-to,.devui-popover--fade-left-leave-from,.devui-popover--fade-right-enter-to,.devui-popover--fade-right-leave-from{opacity:1;transform:scaleX(1)}.devui-popover--fade-left-enter-active,.devui-popover--fade-right-enter-active{transition:transform .1s cubic-bezier(.16,.75,.5,1),opacity .1s cubic-bezier(.16,.75,.5,1)}.devui-popover--fade-left-leave-active,.devui-popover--fade-right-leave-active{transition:transform .1s cubic-bezier(.5,0,.84,.25),opacity .1s cubic-bezier(.5,0,.84,.25)}.devui-form__label{align-self:flex-start}.devui-form__label--vertical{padding-bottom:8px}.devui-form__label--sm{flex:0 0 80px}.devui-form__label--md{flex:0 0 100px}.devui-form__label--lg{flex:0 0 150px}.devui-form__label--start{text-align:left}.devui-form__label--center{text-align:center}.devui-form__label--end{text-align:end}.devui-form__label-span{display:inline-block;vertical-align:middle;color:var(--devui-text, #252b3a)}.devui-form__label--required:before{content:"*";color:red;display:inline-block;margin-right:8px;margin-left:-12px}.devui-form__label-help{position:relative;top:-.1em;display:inline-block;vertical-align:middle;margin-left:4px;cursor:pointer}.devui-form__control{flex:1 1 auto;position:relative;width:100%}.devui-form__control--horizontal{margin-left:16px}.devui-form__control .devui-star{color:red}.devui-form__control .devui-form__control-container{position:relative}.devui-form__control .devui-form__control-container--horizontal{display:flex;width:100%}.devui-form__control .devui-form__control-container--horizontal .devui-validate-tip{margin:0}.devui-form__control .devui-form__control-container .devui-form__feedback-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:16px;text-align:center;visibility:visible;pointer-events:none;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--error svg circle{fill:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--error svg polygon{fill:var(--devui-base-bg, #ffffff)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--success svg circle{fill:var(--devui-success, #50d4ab)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--success svg polygon{fill:var(--devui-base-bg, #ffffff)}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--pending svg{animation:loading-keyframes 1s infinite linear}.devui-form__control .devui-form__control-container .devui-form__feedback-icon--pending svg path{fill:var(--devui-brand, #5e7ce0)}.devui-form__control .devui-form__control-container--has-feedback{display:flex;align-items:center}.devui-form__control .devui-form__control-container--has-feedback input{padding-right:28px}.devui-form__control .devui-form__control-container--feedback-error{border:1px solid #f66f6a;border-radius:2px}.devui-form__control .devui-form__control-container--feedback-error input{background-color:#ffeeed;border-color:transparent}.devui-form__control .devui-form__control-container--feedback-error input:hover{border-color:transparent!important}.devui-form__control .devui-form__control-container--feedback-error input:focus{border-color:transparent!important}.devui-form__control .devui-form__control-container--feedback-error .devui-select-arrow{right:24px!important}.devui-form__control .devui-form__control-info{line-height:1}.devui-form__control .devui-form__control-info .error-message{display:inline-block;min-height:20px;line-height:1.5;font-size:var(--devui-font-size, 14px);color:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-info .devui-form__control-extra{font-size:var(--devui-font-size, 14px);color:var(--devui-aide-text, #71757f);min-height:20px;line-height:1.5;text-align:justify}@keyframes loading-keyframes{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.devui-form__item--horizontal{display:flex;align-items:center;margin-bottom:20px}.devui-form__item--vertical{display:flex;flex-direction:column;margin-bottom:20px}.devui-form__item--error{margin-bottom:0}.devui-form-operation .star{color:red}.devui-checkbox{position:relative;display:flex;display:-ms-flexbox;align-items:center;-ms-flex-align:center;height:100%;margin:0}.devui-checkbox .devui-checkbox__tick-wrap{position:absolute}.devui-checkbox .devui-checkbox__tick-wrap .devui-checkbox__tick{fill:var(--devui-light-text, #ffffff);stroke-dashoffset:50;opacity:0;transform:scale(0);transform-origin:50% 50%;transition:stroke-dashoffset .2s ease-in-out,opacity .2s ease-in-out,transform .2s ease-in-out}.devui-checkbox.active:not(.half-checked) .devui-checkbox__tick{opacity:1;stroke-dashoffset:0;transform:scale(1);transition:stroke-dashoffset .3s cubic-bezier(.755,.05,.855,.06),opacity .2s cubic-bezier(.755,.05,.855,.06)}.devui-checkbox.active:not(.disabled) .devui-checkbox__material:not(.custom-color),.devui-checkbox.half-checked:not(.disabled) .devui-checkbox__material:not(.custom-color){border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.active .devui-checkbox--bordered,.devui-checkbox.half-checked .devui-checkbox--bordered{border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.active:not(.disabled) .devui-checkbox__material{background-size:100% 100%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material:not(.custom-color){background-size:0% 0%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material:not(.custom-color):hover{border-color:var(--devui-icon-fill-active, #252b3a)}.devui-checkbox.unchecked:not(.disabled) .devui-checkbox__material.custom-color{background-size:0% 0%;transition:background-size .2s ease-in-out,border-color .2s ease-in-out}.devui-checkbox.half-checked .devui-checkbox__material:not(.custom-color){background-color:var(--devui-brand, #5e7ce0)}.devui-checkbox.half-checked .devui-checkbox__material:not(.custom-color)>.devui-checkbox__halfchecked-bg{opacity:1;transform:scale(.4288);transition:transform .2s cubic-bezier(.755,.05,.855,.06);background-color:var(--devui-light-text, #ffffff)}.devui-checkbox.half-checked .devui-checkbox__material.custom-color>.devui-checkbox__halfchecked-bg{opacity:1;transform:scale(.4288);transition:transform .2s cubic-bezier(.755,.05,.855,.06);background-color:var(--devui-light-text, #ffffff)}.devui-checkbox .devui-checkbox__material{text-align:initial;height:14px;width:14px;position:relative;user-select:none;border:1px solid var(--devui-line, #d7d8da);border-radius:var(--devui-border-radius, 2px);background:linear-gradient(var(--devui-brand, #5e7ce0),var(--devui-brand, #5e7ce0)) no-repeat 50%/0;margin-right:8px;vertical-align:text-bottom}.devui-checkbox .devui-checkbox__material.devui-checkbox__default-background{background-color:var(--devui-base-bg, #ffffff)}.devui-checkbox .devui-checkbox__material.devui-checkbox--no-label{margin-right:0}.devui-checkbox .devui-checkbox__material>.devui-checkbox__halfchecked-bg{display:inline-block;position:absolute;content:"";background-color:var(--devui-light-text, #ffffff);top:0;left:0;height:100%;width:100%;transform:scale(1);opacity:0}.devui-checkbox .devui-checkbox__material>svg{width:14px;height:14px}.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):focus,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover{background-color:var(--devui-icon-fill-active, #252b3a)}.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):focus,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover:active,.devui-checkbox:not(.disabled).half-checked .devui-checkbox__material:not(.custom-color):hover:focus{background-color:var(--devui-brand-active-focus, #344899)}.devui-checkbox__input{opacity:0;position:absolute;margin:0;z-index:-1;width:0;height:0;overflow:hidden;left:0;pointer-events:none}.devui-checkbox label{position:relative;font-weight:400;height:16px;line-height:16px;cursor:pointer;color:var(--devui-text, #252b3a);margin:0;display:block}.devui-checkbox label.devui-checkbox--lg{display:flex;align-items:center;font-size:var(--devui-font-size-lg, 14px)}.devui-checkbox label.devui-checkbox--lg .devui-checkbox__material{width:18px;height:18px}.devui-checkbox label.devui-checkbox--lg .devui-checkbox__material>svg{width:18px;height:18px}.devui-checkbox label.devui-checkbox--lg.devui-checkbox--bordered{height:40px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--md{display:flex;align-items:center;font-size:var(--devui-font-size-md, 14px)}.devui-checkbox label.devui-checkbox--md .devui-checkbox__material{width:16px;height:16px}.devui-checkbox label.devui-checkbox--md .devui-checkbox__material>svg{width:16px;height:16px}.devui-checkbox label.devui-checkbox--md.devui-checkbox--bordered{height:32px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--sm{display:flex;align-items:center;font-size:var(--devui-font-size-sm, 12px)}.devui-checkbox label.devui-checkbox--sm .devui-checkbox__material{width:14px;height:14px}.devui-checkbox label.devui-checkbox--sm .devui-checkbox__material>svg{width:14px;height:14px}.devui-checkbox label.devui-checkbox--sm.devui-checkbox--bordered{height:24px;padding:0 15px 0 10px}.devui-checkbox label.devui-checkbox--bordered{border:1px solid var(--devui-disabled-line, #dfe1e6);border-radius:var(--devui-border-radius, 2px)}.devui-checkbox label>span{display:inline-block;box-sizing:content-box;vertical-align:top}.devui-checkbox.disabled label{cursor:not-allowed;color:var(--devui-disabled-text, #adb0b8)}.devui-checkbox.disabled .devui-checkbox__material{border-color:var(--devui-icon-fill-active-disabled, #beccfa);background-color:var(--devui-icon-fill-active-disabled, #beccfa)}.devui-checkbox.disabled.unchecked .devui-checkbox__material{border-color:var(--devui-disabled-line, #dfe1e6);background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-checkbox.disabled.half-checked .devui-checkbox__material{background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-checkbox.disabled.half-checked .devui-checkbox__material .devui-checkbox__halfchecked-bg{transform:scale(.4288);background-color:var(--devui-disabled-text, #adb0b8);opacity:1}.devui-checkbox.disabled.active svg polygon{fill:var(--devui-light-text, #ffffff)}.devui-checkbox--no-animation{transition:none!important}.devui-checkbox__column-margin{height:28px;line-height:28px}.devui-checkbox__wrap .devui-checkbox label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.devui-checkbox__group{display:inline-flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.devui-checkbox__group>*{margin-top:8px}.devui-checkbox__group.is-row{flex-direction:row}.devui-checkbox__group.is-row div:not(:last-child){margin-right:20px}.devui-checkbox__group.is-column{flex-direction:column}.devui-checkbox-button{display:flex;align-items:center;position:relative}.devui-checkbox-button__input{opacity:0;position:absolute;margin:0;z-index:-1;width:0;height:0;overflow:hidden;left:0;pointer-events:none}.devui-checkbox-button__content{font-size:14px;color:var(--devui-text, #252b3a);padding:10px 20px;cursor:pointer;border:1px solid var(--devui-disabled-line, #dfe1e6);border-left:none;display:inline-block;line-height:1;user-select:none;box-shadow:-1px 0 0 0 var(--devui-disabled-line, #dfe1e6)}.devui-checkbox-button__content.devui-checkbox-button--lg{font-size:var(--devui-font-size-lg, 14px);padding:var(--devui-btn-lg-padding, 0 24px);height:40px;line-height:40px}.devui-checkbox-button__content.devui-checkbox-button--md{font-size:var(--devui-font-size-md, 14px);padding:var(--devui-btn-padding, 0 20px);height:32px;line-height:32px}.devui-checkbox-button__content.devui-checkbox-button--sm{font-size:var(--devui-font-size-sm, 12px);padding:var(--devui-btn-sm-padding, 0 16px);height:24px;line-height:24px}.devui-checkbox-button.active .devui-checkbox-button__content{color:#fff;background-color:var(--devui-brand, #5e7ce0);border-color:var(--devui-brand, #5e7ce0)}.devui-checkbox-button.active.disabled .devui-checkbox-button__content{color:#fff;background-color:var(--devui-icon-fill-active-disabled, #beccfa);border-color:var(--devui-icon-fill-active-disabled, #beccfa)}.devui-checkbox-button.disabled .devui-checkbox-button__content{cursor:not-allowed;color:var(--devui-disabled-text, #adb0b8);background-color:#fff;border-color:var(--devui-disabled-line, #dfe1e6)}.devui-checkbox-button:first-child .devui-checkbox-button__content{border-top-left-radius:var(--devui-border-radius, 2px);border-bottom-left-radius:var(--devui-border-radius, 2px);border-left:1px solid var(--devui-disabled-line, #dfe1e6);box-shadow:none}.devui-checkbox-button:last-child .devui-checkbox-button__content{border-top-right-radius:var(--devui-border-radius, 2px);border-bottom-right-radius:var(--devui-border-radius, 2px)}
|
|
@@ -33,7 +33,7 @@ var __publicField = (obj, key, value) => {
|
|
|
33
33
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
34
34
|
return value;
|
|
35
35
|
};
|
|
36
|
-
import { defineComponent, watch, provide, reactive, toRefs, createVNode, onUnmounted, Transition, mergeProps, ref, unref, nextTick, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, Teleport,
|
|
36
|
+
import { defineComponent, watch, provide, reactive, toRefs, createVNode, onUnmounted, Transition, mergeProps, ref, unref, nextTick, withModifiers, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, Teleport, createTextVNode, onBeforeUnmount, shallowRef, resolveDynamicComponent, getCurrentInstance, onBeforeMount, isVNode, onUpdated, toRaw, watchEffect, render, resolveDirective, toRef, renderSlot, useSlots } from "vue";
|
|
37
37
|
import { onClickOutside } from "@vueuse/core";
|
|
38
38
|
import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
|
|
39
39
|
const datePickerProCommonProps = {
|
|
@@ -6093,6 +6093,10 @@ const flexibleOverlayProps = {
|
|
|
6093
6093
|
isArrowCenter: {
|
|
6094
6094
|
type: Boolean,
|
|
6095
6095
|
default: true
|
|
6096
|
+
},
|
|
6097
|
+
clickEventBubble: {
|
|
6098
|
+
type: Boolean,
|
|
6099
|
+
default: false
|
|
6096
6100
|
}
|
|
6097
6101
|
};
|
|
6098
6102
|
function getScrollParent(element) {
|
|
@@ -6207,6 +6211,9 @@ const FlexibleOverlay = defineComponent({
|
|
|
6207
6211
|
expose
|
|
6208
6212
|
}) {
|
|
6209
6213
|
const ns2 = useNamespace("flexible-overlay");
|
|
6214
|
+
const {
|
|
6215
|
+
clickEventBubble
|
|
6216
|
+
} = toRefs(props);
|
|
6210
6217
|
const {
|
|
6211
6218
|
arrowRef,
|
|
6212
6219
|
overlayRef,
|
|
@@ -6220,7 +6227,10 @@ const FlexibleOverlay = defineComponent({
|
|
|
6220
6227
|
return props.modelValue && createVNode("div", mergeProps({
|
|
6221
6228
|
"ref": overlayRef,
|
|
6222
6229
|
"class": ns2.b()
|
|
6223
|
-
}, attrs
|
|
6230
|
+
}, attrs, {
|
|
6231
|
+
"onClick": withModifiers(() => ({}), [clickEventBubble.value ? "" : "stop"]),
|
|
6232
|
+
"onPointerup": withModifiers(() => ({}), ["stop"])
|
|
6233
|
+
}), [(_a = slots.default) == null ? void 0 : _a.call(slots), props.showArrow && createVNode("div", {
|
|
6224
6234
|
"ref": arrowRef,
|
|
6225
6235
|
"class": ns2.e("arrow")
|
|
6226
6236
|
}, null)]);
|
|
@@ -6338,7 +6348,7 @@ const TransformOriginMap = {
|
|
|
6338
6348
|
function usePopover(props, visible, placement, origin, popoverRef) {
|
|
6339
6349
|
const { trigger, isOpen } = toRefs(props);
|
|
6340
6350
|
const overlayStyles = computed(() => ({
|
|
6341
|
-
zIndex: 1060,
|
|
6351
|
+
zIndex: "var(--devui-z-index-pop-up, 1060)",
|
|
6342
6352
|
transformOrigin: TransformOriginMap[placement.value]
|
|
6343
6353
|
}));
|
|
6344
6354
|
const onDocumentClick = (e) => {
|
|
@@ -6581,8 +6591,6 @@ var Popover = defineComponent({
|
|
|
6581
6591
|
"style": overlayStyles.value
|
|
6582
6592
|
}, attrs, {
|
|
6583
6593
|
"onPositionChange": handlePositionChange,
|
|
6584
|
-
"onClick": withModifiers(() => ({}), ["stop"]),
|
|
6585
|
-
"onPointerup": withModifiers(() => ({}), ["stop"]),
|
|
6586
6594
|
"onMouseenter": onMouseenter,
|
|
6587
6595
|
"onMouseleave": onMouseleave
|
|
6588
6596
|
}), {
|
|
@@ -6781,9 +6789,7 @@ var FormControl = defineComponent({
|
|
|
6781
6789
|
}, {
|
|
6782
6790
|
default: () => {
|
|
6783
6791
|
var _a, _b;
|
|
6784
|
-
return [
|
|
6785
|
-
"class": ns2.e("control-content")
|
|
6786
|
-
}, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)]), createTextVNode(",")];
|
|
6792
|
+
return [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)];
|
|
6787
6793
|
}
|
|
6788
6794
|
}), showFeedback.value && createVNode("span", {
|
|
6789
6795
|
"class": [ns2.e("feedback-icon"), ns2.em("feedback-icon", feedbackStatus.value)]
|
|
@@ -8043,7 +8049,6 @@ defineComponent({
|
|
|
8043
8049
|
function usePickerPro(props, ctx, t) {
|
|
8044
8050
|
const formContext = inject(FORM_TOKEN, void 0);
|
|
8045
8051
|
const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
|
|
8046
|
-
const containerRef = shallowRef();
|
|
8047
8052
|
const originRef = ref();
|
|
8048
8053
|
const inputRef = shallowRef();
|
|
8049
8054
|
const overlayRef = shallowRef();
|
|
@@ -8060,11 +8065,10 @@ function usePickerPro(props, ctx, t) {
|
|
|
8060
8065
|
ctx.emit("blur");
|
|
8061
8066
|
}
|
|
8062
8067
|
};
|
|
8063
|
-
onClickOutside(
|
|
8068
|
+
onClickOutside(overlayRef, () => {
|
|
8064
8069
|
toggleChange(false);
|
|
8065
|
-
});
|
|
8070
|
+
}, { ignore: [originRef] });
|
|
8066
8071
|
const onFocus = function(e) {
|
|
8067
|
-
e.stopPropagation();
|
|
8068
8072
|
toggleChange(true);
|
|
8069
8073
|
ctx.emit("focus", e);
|
|
8070
8074
|
};
|
|
@@ -8115,7 +8119,6 @@ function usePickerPro(props, ctx, t) {
|
|
|
8115
8119
|
formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
|
|
8116
8120
|
}, { deep: true });
|
|
8117
8121
|
return {
|
|
8118
|
-
containerRef,
|
|
8119
8122
|
originRef,
|
|
8120
8123
|
inputRef,
|
|
8121
8124
|
overlayRef,
|
|
@@ -8288,7 +8291,8 @@ var Icon = defineComponent({
|
|
|
8288
8291
|
const wrapClassed = computed(() => ({
|
|
8289
8292
|
[ns2.e("container")]: true,
|
|
8290
8293
|
[ns2.m("disabled")]: disabled.value,
|
|
8291
|
-
[ns2.m("operable")]: operable.value
|
|
8294
|
+
[ns2.m("operable")]: operable.value,
|
|
8295
|
+
[ns2.m("no-slots")]: !Object.keys(ctx.slots).length
|
|
8292
8296
|
}));
|
|
8293
8297
|
const onClick = (e) => {
|
|
8294
8298
|
if (disabled.value) {
|
|
@@ -8445,7 +8449,8 @@ function deepAssign(...objects) {
|
|
|
8445
8449
|
var zhCN = {
|
|
8446
8450
|
pagination: {
|
|
8447
8451
|
totalItemText: "\u6240\u6709\u6761\u76EE",
|
|
8448
|
-
goToText: "\u8DF3\u81F3"
|
|
8452
|
+
goToText: "\u8DF3\u81F3",
|
|
8453
|
+
perPage: "\u6761/\u9875"
|
|
8449
8454
|
},
|
|
8450
8455
|
accordion: {
|
|
8451
8456
|
loading: "\u52A0\u8F7D\u4E2D",
|
|
@@ -8638,7 +8643,10 @@ var Input = defineComponent({
|
|
|
8638
8643
|
const prefixVisible = ctx.slots.prefix || props.prefix;
|
|
8639
8644
|
const suffixVisible = ctx.slots.suffix || props.suffix || props.showPassword || props.clearable;
|
|
8640
8645
|
const showPwdVisible = computed(() => props.showPassword && !inputDisabled.value);
|
|
8641
|
-
const showClearable = computed(() =>
|
|
8646
|
+
const showClearable = computed(() => {
|
|
8647
|
+
var _a;
|
|
8648
|
+
return props.clearable && !inputDisabled.value && ((_a = modelValue.value) == null ? void 0 : _a.length) > 0;
|
|
8649
|
+
});
|
|
8642
8650
|
watch(() => props.modelValue, () => {
|
|
8643
8651
|
if (props.validateEvent) {
|
|
8644
8652
|
formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
|
|
@@ -9046,6 +9054,7 @@ function useCalendarPanel(props, ctx) {
|
|
|
9046
9054
|
isDisabled
|
|
9047
9055
|
};
|
|
9048
9056
|
}
|
|
9057
|
+
const DEFAULT_ITEM_HEIGHT = 20;
|
|
9049
9058
|
const virtualListProps = {
|
|
9050
9059
|
data: {
|
|
9051
9060
|
type: Array,
|
|
@@ -9061,7 +9070,7 @@ const virtualListProps = {
|
|
|
9061
9070
|
},
|
|
9062
9071
|
itemHeight: {
|
|
9063
9072
|
type: Number,
|
|
9064
|
-
default:
|
|
9073
|
+
default: DEFAULT_ITEM_HEIGHT
|
|
9065
9074
|
},
|
|
9066
9075
|
virtual: {
|
|
9067
9076
|
type: Boolean,
|
|
@@ -9120,19 +9129,17 @@ const resizeObserverProps = {
|
|
|
9120
9129
|
}
|
|
9121
9130
|
};
|
|
9122
9131
|
function useVirtual(props) {
|
|
9132
|
+
const {
|
|
9133
|
+
height,
|
|
9134
|
+
data,
|
|
9135
|
+
itemHeight,
|
|
9136
|
+
virtual
|
|
9137
|
+
} = toRefs(props);
|
|
9123
9138
|
const isVirtual = computed(() => {
|
|
9124
|
-
|
|
9125
|
-
height,
|
|
9126
|
-
virtual
|
|
9127
|
-
} = props;
|
|
9128
|
-
return !!(virtual !== false && height);
|
|
9139
|
+
return Boolean(virtual.value !== false && height.value);
|
|
9129
9140
|
});
|
|
9130
9141
|
const inVirtual = computed(() => {
|
|
9131
|
-
|
|
9132
|
-
height,
|
|
9133
|
-
data
|
|
9134
|
-
} = props;
|
|
9135
|
-
return isVirtual.value && data && 20 * data.length > height;
|
|
9142
|
+
return Boolean(isVirtual.value && data.value.length && itemHeight.value * data.value.length > height.value);
|
|
9136
9143
|
});
|
|
9137
9144
|
return {
|
|
9138
9145
|
isVirtual,
|
|
@@ -9463,7 +9470,6 @@ var ResizeObserverContainer = defineComponent({
|
|
|
9463
9470
|
};
|
|
9464
9471
|
innerStyle.value = __spreadProps(__spreadValues({}, innerStyle.value), {
|
|
9465
9472
|
transform: `translateY(${offset2.value}px)`,
|
|
9466
|
-
position: "absolute",
|
|
9467
9473
|
left: 0,
|
|
9468
9474
|
right: 0,
|
|
9469
9475
|
top: 0
|
|
@@ -9730,7 +9736,6 @@ const ScrollStyle = {
|
|
|
9730
9736
|
overflowY: "auto",
|
|
9731
9737
|
overflowAnchor: "none"
|
|
9732
9738
|
};
|
|
9733
|
-
const DEFAULT_HEIGHT = 20;
|
|
9734
9739
|
var VirtualList = defineComponent({
|
|
9735
9740
|
name: "DVirtualList",
|
|
9736
9741
|
props: virtualListProps,
|
|
@@ -9839,7 +9844,7 @@ var VirtualList = defineComponent({
|
|
|
9839
9844
|
cacheHeight = heights.get(key);
|
|
9840
9845
|
}
|
|
9841
9846
|
if (cacheHeight === void 0) {
|
|
9842
|
-
cacheHeight = props.itemHeight ||
|
|
9847
|
+
cacheHeight = props.itemHeight || DEFAULT_ITEM_HEIGHT;
|
|
9843
9848
|
}
|
|
9844
9849
|
const currentItemBottom = itemTop + cacheHeight;
|
|
9845
9850
|
if (startIndex === void 0 && currentItemBottom >= scrollTop) {
|
|
@@ -9975,7 +9980,7 @@ var VirtualList = defineComponent({
|
|
|
9975
9980
|
});
|
|
9976
9981
|
ctx.expose({
|
|
9977
9982
|
scrollTo(index2) {
|
|
9978
|
-
syncScrollTop(index2 * (props.itemHeight ||
|
|
9983
|
+
syncScrollTop(index2 * (props.itemHeight || DEFAULT_ITEM_HEIGHT));
|
|
9979
9984
|
}
|
|
9980
9985
|
});
|
|
9981
9986
|
return () => {
|
|
@@ -10305,6 +10310,36 @@ const usePopupLine = (hourListRef, minuteListRef, secondListRef, minTime, maxTim
|
|
|
10305
10310
|
resetScrollTop
|
|
10306
10311
|
};
|
|
10307
10312
|
};
|
|
10313
|
+
const popupLineProps = {
|
|
10314
|
+
hourList: {
|
|
10315
|
+
type: Array,
|
|
10316
|
+
default: () => []
|
|
10317
|
+
},
|
|
10318
|
+
minuteList: {
|
|
10319
|
+
type: Array,
|
|
10320
|
+
default: () => []
|
|
10321
|
+
},
|
|
10322
|
+
secondList: {
|
|
10323
|
+
type: Array,
|
|
10324
|
+
default: () => []
|
|
10325
|
+
},
|
|
10326
|
+
format: {
|
|
10327
|
+
type: String,
|
|
10328
|
+
default: "hh:mm:ss"
|
|
10329
|
+
},
|
|
10330
|
+
minTime: {
|
|
10331
|
+
type: String,
|
|
10332
|
+
default: "00:00:00"
|
|
10333
|
+
},
|
|
10334
|
+
maxTime: {
|
|
10335
|
+
type: String,
|
|
10336
|
+
default: "23:59:59"
|
|
10337
|
+
},
|
|
10338
|
+
itemHeight: {
|
|
10339
|
+
type: Number,
|
|
10340
|
+
default: 32
|
|
10341
|
+
}
|
|
10342
|
+
};
|
|
10308
10343
|
const timePickerProps = {
|
|
10309
10344
|
modelValue: {
|
|
10310
10345
|
type: String,
|
|
@@ -10504,39 +10539,7 @@ var TimeScroll = defineComponent({
|
|
|
10504
10539
|
var index$1 = "";
|
|
10505
10540
|
var DTimeList = defineComponent({
|
|
10506
10541
|
name: "DTimeList",
|
|
10507
|
-
|
|
10508
|
-
TimeScroll
|
|
10509
|
-
},
|
|
10510
|
-
props: {
|
|
10511
|
-
hourList: {
|
|
10512
|
-
type: Array,
|
|
10513
|
-
default: () => []
|
|
10514
|
-
},
|
|
10515
|
-
minuteList: {
|
|
10516
|
-
type: Array,
|
|
10517
|
-
default: () => []
|
|
10518
|
-
},
|
|
10519
|
-
secondList: {
|
|
10520
|
-
type: Array,
|
|
10521
|
-
default: () => []
|
|
10522
|
-
},
|
|
10523
|
-
format: {
|
|
10524
|
-
type: String,
|
|
10525
|
-
default: "hh:mm:ss"
|
|
10526
|
-
},
|
|
10527
|
-
minTime: {
|
|
10528
|
-
type: String,
|
|
10529
|
-
default: "00:00:00"
|
|
10530
|
-
},
|
|
10531
|
-
maxTime: {
|
|
10532
|
-
type: String,
|
|
10533
|
-
default: "23:59:59"
|
|
10534
|
-
},
|
|
10535
|
-
itemHeight: {
|
|
10536
|
-
type: Number,
|
|
10537
|
-
default: 32
|
|
10538
|
-
}
|
|
10539
|
-
},
|
|
10542
|
+
props: popupLineProps,
|
|
10540
10543
|
emits: ["change"],
|
|
10541
10544
|
setup(props, ctx) {
|
|
10542
10545
|
const ns2 = useNamespace("time-list");
|
|
@@ -10551,14 +10554,12 @@ var DTimeList = defineComponent({
|
|
|
10551
10554
|
resetTimeValue(time);
|
|
10552
10555
|
};
|
|
10553
10556
|
const TimeLi = (timeArr) => {
|
|
10554
|
-
return timeArr.map((item, index2) => {
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
}, [createVNode("span", null, [item.time])]);
|
|
10561
|
-
});
|
|
10557
|
+
return timeArr.map((item, index2) => createVNode("li", {
|
|
10558
|
+
"class": `time-li ${item.flag}Id-${index2} ${item.isActive ? "active-li" : ""} ${item.isDisabled ? "disabled-li" : ""}`,
|
|
10559
|
+
"onClick": (e) => {
|
|
10560
|
+
activeTimeFun(e, item, index2);
|
|
10561
|
+
}
|
|
10562
|
+
}, [createVNode("span", null, [item.time])]));
|
|
10562
10563
|
};
|
|
10563
10564
|
const TimeUl = (timeList) => {
|
|
10564
10565
|
return createVNode("div", {
|
|
@@ -10588,12 +10589,10 @@ var DTimeList = defineComponent({
|
|
|
10588
10589
|
setOuterTime,
|
|
10589
10590
|
getNewTime
|
|
10590
10591
|
});
|
|
10591
|
-
return () => {
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
}, [formatTimeUl()]);
|
|
10596
|
-
};
|
|
10592
|
+
return () => createVNode("div", {
|
|
10593
|
+
"class": ns2.b(),
|
|
10594
|
+
"ref": timeListDom
|
|
10595
|
+
}, [formatTimeUl()]);
|
|
10597
10596
|
}
|
|
10598
10597
|
});
|
|
10599
10598
|
function initializeTimeData(type4) {
|
|
@@ -10729,7 +10728,7 @@ class LoadingOptions {
|
|
|
10729
10728
|
}
|
|
10730
10729
|
var loading = "";
|
|
10731
10730
|
var Loading = defineComponent({
|
|
10732
|
-
name: "
|
|
10731
|
+
name: "Loading",
|
|
10733
10732
|
inheritAttrs: false,
|
|
10734
10733
|
props: loadingProps,
|
|
10735
10734
|
setup(props) {
|
|
@@ -10882,12 +10881,12 @@ const handleProps = (el, vprops) => {
|
|
|
10882
10881
|
const props = __spreadValues(__spreadValues({}, new LoadingOptions()), vprops);
|
|
10883
10882
|
const loadingTemplateRef = props.loadingTemplateRef;
|
|
10884
10883
|
const loadingInstance = createComponent(loadingConstructor, __spreadValues({}, props), loadingTemplateRef ? () => loadingTemplateRef : null);
|
|
10885
|
-
el.style.position = props.positionType;
|
|
10884
|
+
el.style.position = props.positionType || "relative";
|
|
10886
10885
|
el.options = props;
|
|
10887
10886
|
el.instance = loadingInstance;
|
|
10888
10887
|
el.mask = (_a = loadingInstance == null ? void 0 : loadingInstance.proxy) == null ? void 0 : _a.$el;
|
|
10889
10888
|
};
|
|
10890
|
-
const
|
|
10889
|
+
const LoadingDirective = {
|
|
10891
10890
|
mounted: function(el, binding, vnode) {
|
|
10892
10891
|
handleProps(el, vnode.props);
|
|
10893
10892
|
removeAttribute(el);
|
|
@@ -10977,7 +10976,7 @@ var button = "";
|
|
|
10977
10976
|
var Button = defineComponent({
|
|
10978
10977
|
name: "DButton",
|
|
10979
10978
|
directives: {
|
|
10980
|
-
|
|
10979
|
+
Loading: LoadingDirective
|
|
10981
10980
|
},
|
|
10982
10981
|
props: buttonProps,
|
|
10983
10982
|
emits: ["click"],
|
|
@@ -11010,7 +11009,7 @@ var Button = defineComponent({
|
|
|
11010
11009
|
"class": iconClass.value
|
|
11011
11010
|
}, null), createVNode("span", {
|
|
11012
11011
|
"class": "button-content"
|
|
11013
|
-
}, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])]), [[resolveDirective("
|
|
11012
|
+
}, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])]), [[resolveDirective("loading"), loading2.value]]);
|
|
11014
11013
|
};
|
|
11015
11014
|
}
|
|
11016
11015
|
});
|
|
@@ -11686,7 +11685,6 @@ var DatePickerPro = defineComponent({
|
|
|
11686
11685
|
const t = createI18nTranslate("DDatePickerPro", app);
|
|
11687
11686
|
const ns2 = useNamespace("date-picker-pro");
|
|
11688
11687
|
const {
|
|
11689
|
-
containerRef,
|
|
11690
11688
|
originRef,
|
|
11691
11689
|
inputRef,
|
|
11692
11690
|
overlayRef,
|
|
@@ -11712,8 +11710,7 @@ var DatePickerPro = defineComponent({
|
|
|
11712
11710
|
footer: ((_b = ctx.slots) == null ? void 0 : _b.footer) && (() => renderSlot(useSlots(), "footer"))
|
|
11713
11711
|
};
|
|
11714
11712
|
return createVNode("div", {
|
|
11715
|
-
"class": ns2.b()
|
|
11716
|
-
"ref": containerRef
|
|
11713
|
+
"class": ns2.b()
|
|
11717
11714
|
}, [createVNode("div", {
|
|
11718
11715
|
"class": ns2.e("single-picker"),
|
|
11719
11716
|
"ref": originRef,
|
|
@@ -11723,7 +11720,7 @@ var DatePickerPro = defineComponent({
|
|
|
11723
11720
|
"ref": inputRef,
|
|
11724
11721
|
"modelValue": displayDateValue.value,
|
|
11725
11722
|
"placeholder": placeholder.value || t("placeholder"),
|
|
11726
|
-
"onFocus": onFocus,
|
|
11723
|
+
"onFocus": withModifiers(onFocus, ["stop"]),
|
|
11727
11724
|
"size": pickerSize.value,
|
|
11728
11725
|
"disabled": pickerDisabled.value,
|
|
11729
11726
|
"error": isValidateError.value
|
|
@@ -11735,23 +11732,30 @@ var DatePickerPro = defineComponent({
|
|
|
11735
11732
|
"class": ["close-icon", showCloseIcon.value ? ns2.m("icon-visible") : ns2.m("icon-hidden")],
|
|
11736
11733
|
"onClick": handlerClearTime
|
|
11737
11734
|
}, [createVNode(IconClose, null, null)])
|
|
11738
|
-
})]), createVNode(
|
|
11739
|
-
"
|
|
11735
|
+
})]), createVNode(Teleport, {
|
|
11736
|
+
"to": "body"
|
|
11740
11737
|
}, {
|
|
11741
|
-
default: () => [createVNode(
|
|
11742
|
-
"
|
|
11743
|
-
"onUpdate:modelValue": ($event) => isPanelShow.value = $event,
|
|
11744
|
-
"ref": overlayRef,
|
|
11745
|
-
"origin": originRef.value,
|
|
11746
|
-
"align": "start",
|
|
11747
|
-
"position": position.value
|
|
11738
|
+
default: () => [createVNode(Transition, {
|
|
11739
|
+
"name": "fade"
|
|
11748
11740
|
}, {
|
|
11749
|
-
default: () => [createVNode(
|
|
11750
|
-
"
|
|
11751
|
-
"
|
|
11752
|
-
"
|
|
11753
|
-
"
|
|
11754
|
-
|
|
11741
|
+
default: () => [createVNode(FlexibleOverlay, {
|
|
11742
|
+
"modelValue": isPanelShow.value,
|
|
11743
|
+
"onUpdate:modelValue": ($event) => isPanelShow.value = $event,
|
|
11744
|
+
"ref": overlayRef,
|
|
11745
|
+
"origin": originRef.value,
|
|
11746
|
+
"align": "start",
|
|
11747
|
+
"position": position.value,
|
|
11748
|
+
"style": {
|
|
11749
|
+
zIndex: "var(--devui-z-index-dropdown, 1052)"
|
|
11750
|
+
}
|
|
11751
|
+
}, {
|
|
11752
|
+
default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
|
|
11753
|
+
"dateValue": dateValue.value,
|
|
11754
|
+
"visible": isPanelShow.value,
|
|
11755
|
+
"format": format2.value,
|
|
11756
|
+
"onSelectedDate": onSelectedDate
|
|
11757
|
+
}), vSlots)]
|
|
11758
|
+
})]
|
|
11755
11759
|
})]
|
|
11756
11760
|
})]);
|
|
11757
11761
|
};
|
|
@@ -11774,7 +11778,6 @@ const rangeDatePickerProProps = __spreadValues({
|
|
|
11774
11778
|
function useRangePickerPro(props, ctx) {
|
|
11775
11779
|
const formContext = inject(FORM_TOKEN, void 0);
|
|
11776
11780
|
const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
|
|
11777
|
-
const containerRef = shallowRef();
|
|
11778
11781
|
const originRef = ref();
|
|
11779
11782
|
const startInputRef = shallowRef();
|
|
11780
11783
|
const endInputRef = shallowRef();
|
|
@@ -11793,9 +11796,9 @@ function useRangePickerPro(props, ctx) {
|
|
|
11793
11796
|
ctx.emit("blur");
|
|
11794
11797
|
}
|
|
11795
11798
|
};
|
|
11796
|
-
onClickOutside(
|
|
11799
|
+
onClickOutside(overlayRef, () => {
|
|
11797
11800
|
toggleChange(false);
|
|
11798
|
-
});
|
|
11801
|
+
}, { ignore: [originRef] });
|
|
11799
11802
|
const focusHandler = function(e) {
|
|
11800
11803
|
ctx.emit("focus", e);
|
|
11801
11804
|
};
|
|
@@ -11877,7 +11880,6 @@ function useRangePickerPro(props, ctx) {
|
|
|
11877
11880
|
formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
|
|
11878
11881
|
}, { deep: true });
|
|
11879
11882
|
return {
|
|
11880
|
-
containerRef,
|
|
11881
11883
|
originRef,
|
|
11882
11884
|
startInputRef,
|
|
11883
11885
|
endInputRef,
|
|
@@ -11909,7 +11911,6 @@ var DRangeDatePickerPro = defineComponent({
|
|
|
11909
11911
|
const t = createI18nTranslate("DDatePickerPro", app);
|
|
11910
11912
|
const ns2 = useNamespace("range-date-picker-pro");
|
|
11911
11913
|
const {
|
|
11912
|
-
containerRef,
|
|
11913
11914
|
originRef,
|
|
11914
11915
|
startInputRef,
|
|
11915
11916
|
endInputRef,
|
|
@@ -11939,8 +11940,7 @@ var DRangeDatePickerPro = defineComponent({
|
|
|
11939
11940
|
footer: ((_b = ctx.slots) == null ? void 0 : _b.footer) && (() => renderSlot(useSlots(), "footer"))
|
|
11940
11941
|
};
|
|
11941
11942
|
return createVNode("div", {
|
|
11942
|
-
"class": [ns2.b(), props.showTime ? ns2.e("range-time-width") : ns2.e("range-width"), isPanelShow.value && ns2.m("open")]
|
|
11943
|
-
"ref": containerRef
|
|
11943
|
+
"class": [ns2.b(), props.showTime ? ns2.e("range-time-width") : ns2.e("range-width"), isPanelShow.value && ns2.m("open")]
|
|
11944
11944
|
}, [createVNode("div", {
|
|
11945
11945
|
"class": [ns2.e("range-picker"), pickerDisabled.value && ns2.m("disabled"), isValidateError.value && ns2.m("error")],
|
|
11946
11946
|
"ref": originRef,
|
|
@@ -11952,11 +11952,10 @@ var DRangeDatePickerPro = defineComponent({
|
|
|
11952
11952
|
"ref": startInputRef,
|
|
11953
11953
|
"modelValue": displayDateValue.value[0],
|
|
11954
11954
|
"placeholder": placeholder.value[0] || t("startPlaceholder"),
|
|
11955
|
-
"onFocus": (e) => {
|
|
11956
|
-
e.stopPropagation();
|
|
11955
|
+
"onFocus": withModifiers((e) => {
|
|
11957
11956
|
onFocus("start");
|
|
11958
11957
|
focusHandler(e);
|
|
11959
|
-
},
|
|
11958
|
+
}, ["stop"]),
|
|
11960
11959
|
"size": pickerSize.value,
|
|
11961
11960
|
"disabled": pickerDisabled.value
|
|
11962
11961
|
}, {
|
|
@@ -11971,11 +11970,10 @@ var DRangeDatePickerPro = defineComponent({
|
|
|
11971
11970
|
"ref": endInputRef,
|
|
11972
11971
|
"modelValue": displayDateValue.value[1],
|
|
11973
11972
|
"placeholder": placeholder.value[1] || t("endPlaceholder"),
|
|
11974
|
-
"onFocus": (e) => {
|
|
11975
|
-
e.stopPropagation();
|
|
11973
|
+
"onFocus": withModifiers((e) => {
|
|
11976
11974
|
onFocus("end");
|
|
11977
11975
|
focusHandler(e);
|
|
11978
|
-
},
|
|
11976
|
+
}, ["stop"]),
|
|
11979
11977
|
"size": pickerSize.value,
|
|
11980
11978
|
"disabled": pickerDisabled.value
|
|
11981
11979
|
}, {
|
|
@@ -11983,26 +11981,33 @@ var DRangeDatePickerPro = defineComponent({
|
|
|
11983
11981
|
"class": [showCloseIcon.value ? ns2.m("icon-visible") : ns2.m("icon-hidden"), "close-icon"],
|
|
11984
11982
|
"onClick": handlerClearTime
|
|
11985
11983
|
}, [createVNode(IconClose, null, null)])
|
|
11986
|
-
})])]), createVNode(
|
|
11987
|
-
"
|
|
11984
|
+
})])]), createVNode(Teleport, {
|
|
11985
|
+
"to": "body"
|
|
11988
11986
|
}, {
|
|
11989
|
-
default: () => [createVNode(
|
|
11990
|
-
"
|
|
11991
|
-
"onUpdate:modelValue": ($event) => isPanelShow.value = $event,
|
|
11992
|
-
"ref": overlayRef,
|
|
11993
|
-
"origin": originRef.value,
|
|
11994
|
-
"align": "start",
|
|
11995
|
-
"position": position.value
|
|
11987
|
+
default: () => [createVNode(Transition, {
|
|
11988
|
+
"name": "fade"
|
|
11996
11989
|
}, {
|
|
11997
|
-
default: () => [createVNode(
|
|
11998
|
-
"
|
|
11999
|
-
"
|
|
12000
|
-
"
|
|
12001
|
-
"
|
|
12002
|
-
"
|
|
12003
|
-
"
|
|
12004
|
-
"
|
|
12005
|
-
|
|
11990
|
+
default: () => [createVNode(FlexibleOverlay, {
|
|
11991
|
+
"modelValue": isPanelShow.value,
|
|
11992
|
+
"onUpdate:modelValue": ($event) => isPanelShow.value = $event,
|
|
11993
|
+
"ref": overlayRef,
|
|
11994
|
+
"origin": originRef.value,
|
|
11995
|
+
"align": "start",
|
|
11996
|
+
"position": position.value,
|
|
11997
|
+
"style": {
|
|
11998
|
+
zIndex: "var(--devui-z-index-dropdown, 1052)"
|
|
11999
|
+
}
|
|
12000
|
+
}, {
|
|
12001
|
+
default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
|
|
12002
|
+
"dateValue": dateValue.value,
|
|
12003
|
+
"visible": isPanelShow.value,
|
|
12004
|
+
"format": format2.value,
|
|
12005
|
+
"isRangeType": true,
|
|
12006
|
+
"focusType": focusType.value,
|
|
12007
|
+
"onSelectedDate": onSelectedDate,
|
|
12008
|
+
"onChangeRangeFocusType": onChangeRangeFocusType
|
|
12009
|
+
}), vSlots)]
|
|
12010
|
+
})]
|
|
12006
12011
|
})]
|
|
12007
12012
|
})]);
|
|
12008
12013
|
};
|