vue-devui 1.0.0 → 1.0.1

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.
Files changed (123) hide show
  1. package/README.md +31 -6
  2. package/alert/style.css +1 -1
  3. package/auto-complete/index.es.js +27 -16
  4. package/auto-complete/index.umd.js +11 -11
  5. package/auto-complete/style.css +1 -1
  6. package/button/index.es.js +7 -6
  7. package/button/index.umd.js +5 -5
  8. package/button/style.css +1 -1
  9. package/card/style.css +1 -1
  10. package/checkbox/index.es.js +14 -8
  11. package/checkbox/index.umd.js +8 -8
  12. package/checkbox/style.css +1 -1
  13. package/date-picker-pro/index.es.js +135 -133
  14. package/date-picker-pro/index.umd.js +13 -13
  15. package/date-picker-pro/style.css +1 -1
  16. package/drawer/index.es.js +22 -5
  17. package/drawer/index.umd.js +1 -1
  18. package/drawer/style.css +1 -1
  19. package/dropdown/index.es.js +16 -3
  20. package/dropdown/index.umd.js +1 -1
  21. package/dropdown/style.css +1 -1
  22. package/editable-select/index.es.js +67 -62
  23. package/editable-select/index.umd.js +1 -1
  24. package/editable-select/style.css +1 -1
  25. package/form/index.es.js +14 -8
  26. package/form/index.umd.js +5 -5
  27. package/form/style.css +1 -1
  28. package/icon/index.es.js +2 -1
  29. package/icon/index.umd.js +1 -1
  30. package/icon/style.css +1 -1
  31. package/image-preview/style.css +1 -1
  32. package/input/index.es.js +19 -11
  33. package/input/index.umd.js +4 -4
  34. package/input/style.css +1 -1
  35. package/input-number/index.es.js +26 -23
  36. package/input-number/index.umd.js +1 -1
  37. package/input-number/style.css +1 -1
  38. package/loading/index.es.js +51 -51
  39. package/loading/index.umd.js +1 -1
  40. package/mention/index.es.js +19 -10
  41. package/mention/index.umd.js +6 -6
  42. package/mention/style.css +1 -1
  43. package/menu/index.es.js +131 -144
  44. package/menu/index.umd.js +1 -1
  45. package/menu/style.css +1 -1
  46. package/message/index.es.js +2 -1
  47. package/message/index.umd.js +1 -1
  48. package/message/style.css +1 -1
  49. package/modal/index.es.js +158 -43
  50. package/modal/index.umd.js +1 -1
  51. package/modal/style.css +1 -1
  52. package/notification/index.es.js +7 -9
  53. package/notification/index.umd.js +1 -1
  54. package/notification/style.css +1 -1
  55. package/nuxt/components/paginationInjectionKey.js +3 -0
  56. package/overlay/index.es.js +12 -2
  57. package/overlay/index.umd.js +1 -1
  58. package/overlay/style.css +1 -1
  59. package/package.json +2 -2
  60. package/pagination/index.es.js +10161 -278
  61. package/pagination/index.umd.js +27 -1
  62. package/pagination/style.css +1 -1
  63. package/panel/index.es.js +4 -0
  64. package/panel/index.umd.js +1 -1
  65. package/popover/index.es.js +13 -5
  66. package/popover/index.umd.js +9 -9
  67. package/popover/style.css +1 -1
  68. package/radio/index.es.js +14 -8
  69. package/radio/index.umd.js +4 -4
  70. package/radio/style.css +1 -1
  71. package/result/index.es.js +2 -1
  72. package/result/index.umd.js +1 -1
  73. package/result/style.css +1 -1
  74. package/search/index.es.js +20 -12
  75. package/search/index.umd.js +4 -4
  76. package/search/style.css +1 -1
  77. package/select/index.es.js +126 -104
  78. package/select/index.umd.js +10 -10
  79. package/select/style.css +1 -1
  80. package/skeleton/style.css +1 -1
  81. package/splitter/index.es.js +30 -7
  82. package/splitter/index.umd.js +16 -16
  83. package/splitter/style.css +1 -1
  84. package/status/index.es.js +4 -0
  85. package/status/index.umd.js +1 -1
  86. package/steps/index.es.js +2 -1
  87. package/steps/index.umd.js +1 -1
  88. package/steps/style.css +1 -1
  89. package/style.css +1 -1
  90. package/switch/index.es.js +14 -8
  91. package/switch/index.umd.js +13 -13
  92. package/switch/style.css +1 -1
  93. package/table/index.es.js +154 -60
  94. package/table/index.umd.js +7 -7
  95. package/table/style.css +1 -1
  96. package/tabs/index.es.js +54 -42
  97. package/tabs/index.umd.js +1 -1
  98. package/tabs/style.css +1 -1
  99. package/tag/style.css +1 -1
  100. package/textarea/index.es.js +17 -9
  101. package/textarea/index.umd.js +13 -13
  102. package/textarea/style.css +1 -1
  103. package/time-picker/index.es.js +151 -151
  104. package/time-picker/index.umd.js +14 -14
  105. package/time-picker/style.css +1 -1
  106. package/time-select/index.es.js +128 -106
  107. package/time-select/index.umd.js +13 -13
  108. package/time-select/style.css +1 -1
  109. package/timeline/index.es.js +2 -1
  110. package/timeline/index.umd.js +1 -1
  111. package/timeline/style.css +1 -1
  112. package/tooltip/index.es.js +28 -6
  113. package/tooltip/index.umd.js +7 -7
  114. package/tooltip/style.css +1 -1
  115. package/tree/index.es.js +42 -32
  116. package/tree/index.umd.js +7 -7
  117. package/tree/style.css +1 -1
  118. package/upload/index.es.js +9 -10
  119. package/upload/index.umd.js +1 -1
  120. package/upload/style.css +1 -1
  121. package/vue-devui.es.js +3580 -3269
  122. package/vue-devui.umd.js +20 -20
  123. package/nuxt/components/Loading.js +0 -3
@@ -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{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, 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-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, 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, withModifiers, createTextVNode, onBeforeUnmount, shallowRef, resolveDynamicComponent, getCurrentInstance, onBeforeMount, isVNode, onUpdated, toRaw, watchEffect, render, resolveDirective, toRef, renderSlot, useSlots } from "vue";
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), [(_a = slots.default) == null ? void 0 : _a.call(slots), props.showArrow && createVNode("div", {
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 [createVNode("div", {
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(containerRef, () => {
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",
@@ -8685,7 +8690,7 @@ var Input = defineComponent({
8685
8690
  "class": ns2.em("password", "icon"),
8686
8691
  "name": passwordVisible.value ? "preview" : "preview-forbidden",
8687
8692
  "onClick": clickPasswordIcon
8688
- }, null), showClearable.value && createVNode(Icon, {
8693
+ }, null), showClearable.value && modelValue.value.length > 0 && createVNode(Icon, {
8689
8694
  "size": inputSize.value,
8690
8695
  "class": ns2.em("clear", "icon"),
8691
8696
  "name": "close",
@@ -9046,6 +9051,7 @@ function useCalendarPanel(props, ctx) {
9046
9051
  isDisabled
9047
9052
  };
9048
9053
  }
9054
+ const DEFAULT_ITEM_HEIGHT = 20;
9049
9055
  const virtualListProps = {
9050
9056
  data: {
9051
9057
  type: Array,
@@ -9061,7 +9067,7 @@ const virtualListProps = {
9061
9067
  },
9062
9068
  itemHeight: {
9063
9069
  type: Number,
9064
- default: 0
9070
+ default: DEFAULT_ITEM_HEIGHT
9065
9071
  },
9066
9072
  virtual: {
9067
9073
  type: Boolean,
@@ -9120,19 +9126,17 @@ const resizeObserverProps = {
9120
9126
  }
9121
9127
  };
9122
9128
  function useVirtual(props) {
9129
+ const {
9130
+ height,
9131
+ data,
9132
+ itemHeight,
9133
+ virtual
9134
+ } = toRefs(props);
9123
9135
  const isVirtual = computed(() => {
9124
- const {
9125
- height,
9126
- virtual
9127
- } = props;
9128
- return !!(virtual !== false && height);
9136
+ return Boolean(virtual.value !== false && height.value);
9129
9137
  });
9130
9138
  const inVirtual = computed(() => {
9131
- const {
9132
- height,
9133
- data
9134
- } = props;
9135
- return isVirtual.value && data && 20 * data.length > height;
9139
+ return Boolean(isVirtual.value && data.value.length && itemHeight.value * data.value.length > height.value);
9136
9140
  });
9137
9141
  return {
9138
9142
  isVirtual,
@@ -9463,7 +9467,6 @@ var ResizeObserverContainer = defineComponent({
9463
9467
  };
9464
9468
  innerStyle.value = __spreadProps(__spreadValues({}, innerStyle.value), {
9465
9469
  transform: `translateY(${offset2.value}px)`,
9466
- position: "absolute",
9467
9470
  left: 0,
9468
9471
  right: 0,
9469
9472
  top: 0
@@ -9730,7 +9733,6 @@ const ScrollStyle = {
9730
9733
  overflowY: "auto",
9731
9734
  overflowAnchor: "none"
9732
9735
  };
9733
- const DEFAULT_HEIGHT = 20;
9734
9736
  var VirtualList = defineComponent({
9735
9737
  name: "DVirtualList",
9736
9738
  props: virtualListProps,
@@ -9839,7 +9841,7 @@ var VirtualList = defineComponent({
9839
9841
  cacheHeight = heights.get(key);
9840
9842
  }
9841
9843
  if (cacheHeight === void 0) {
9842
- cacheHeight = props.itemHeight || DEFAULT_HEIGHT;
9844
+ cacheHeight = props.itemHeight || DEFAULT_ITEM_HEIGHT;
9843
9845
  }
9844
9846
  const currentItemBottom = itemTop + cacheHeight;
9845
9847
  if (startIndex === void 0 && currentItemBottom >= scrollTop) {
@@ -9975,7 +9977,7 @@ var VirtualList = defineComponent({
9975
9977
  });
9976
9978
  ctx.expose({
9977
9979
  scrollTo(index2) {
9978
- syncScrollTop(index2 * (props.itemHeight || DEFAULT_HEIGHT));
9980
+ syncScrollTop(index2 * (props.itemHeight || DEFAULT_ITEM_HEIGHT));
9979
9981
  }
9980
9982
  });
9981
9983
  return () => {
@@ -10305,6 +10307,36 @@ const usePopupLine = (hourListRef, minuteListRef, secondListRef, minTime, maxTim
10305
10307
  resetScrollTop
10306
10308
  };
10307
10309
  };
10310
+ const popupLineProps = {
10311
+ hourList: {
10312
+ type: Array,
10313
+ default: () => []
10314
+ },
10315
+ minuteList: {
10316
+ type: Array,
10317
+ default: () => []
10318
+ },
10319
+ secondList: {
10320
+ type: Array,
10321
+ default: () => []
10322
+ },
10323
+ format: {
10324
+ type: String,
10325
+ default: "hh:mm:ss"
10326
+ },
10327
+ minTime: {
10328
+ type: String,
10329
+ default: "00:00:00"
10330
+ },
10331
+ maxTime: {
10332
+ type: String,
10333
+ default: "23:59:59"
10334
+ },
10335
+ itemHeight: {
10336
+ type: Number,
10337
+ default: 32
10338
+ }
10339
+ };
10308
10340
  const timePickerProps = {
10309
10341
  modelValue: {
10310
10342
  type: String,
@@ -10504,39 +10536,7 @@ var TimeScroll = defineComponent({
10504
10536
  var index$1 = "";
10505
10537
  var DTimeList = defineComponent({
10506
10538
  name: "DTimeList",
10507
- components: {
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
- },
10539
+ props: popupLineProps,
10540
10540
  emits: ["change"],
10541
10541
  setup(props, ctx) {
10542
10542
  const ns2 = useNamespace("time-list");
@@ -10551,14 +10551,12 @@ var DTimeList = defineComponent({
10551
10551
  resetTimeValue(time);
10552
10552
  };
10553
10553
  const TimeLi = (timeArr) => {
10554
- return timeArr.map((item, index2) => {
10555
- return createVNode("li", {
10556
- "class": `time-li ${item.flag}Id-${index2} ${item.isActive ? "active-li" : ""} ${item.isDisabled ? "disabled-li" : ""}`,
10557
- "onClick": (e) => {
10558
- activeTimeFun(e, item, index2);
10559
- }
10560
- }, [createVNode("span", null, [item.time])]);
10561
- });
10554
+ return timeArr.map((item, index2) => createVNode("li", {
10555
+ "class": `time-li ${item.flag}Id-${index2} ${item.isActive ? "active-li" : ""} ${item.isDisabled ? "disabled-li" : ""}`,
10556
+ "onClick": (e) => {
10557
+ activeTimeFun(e, item, index2);
10558
+ }
10559
+ }, [createVNode("span", null, [item.time])]));
10562
10560
  };
10563
10561
  const TimeUl = (timeList) => {
10564
10562
  return createVNode("div", {
@@ -10588,12 +10586,10 @@ var DTimeList = defineComponent({
10588
10586
  setOuterTime,
10589
10587
  getNewTime
10590
10588
  });
10591
- return () => {
10592
- return createVNode("div", {
10593
- "class": ns2.b(),
10594
- "ref": timeListDom
10595
- }, [formatTimeUl()]);
10596
- };
10589
+ return () => createVNode("div", {
10590
+ "class": ns2.b(),
10591
+ "ref": timeListDom
10592
+ }, [formatTimeUl()]);
10597
10593
  }
10598
10594
  });
10599
10595
  function initializeTimeData(type4) {
@@ -10729,7 +10725,7 @@ class LoadingOptions {
10729
10725
  }
10730
10726
  var loading = "";
10731
10727
  var Loading = defineComponent({
10732
- name: "DLoading",
10728
+ name: "Loading",
10733
10729
  inheritAttrs: false,
10734
10730
  props: loadingProps,
10735
10731
  setup(props) {
@@ -10882,12 +10878,12 @@ const handleProps = (el, vprops) => {
10882
10878
  const props = __spreadValues(__spreadValues({}, new LoadingOptions()), vprops);
10883
10879
  const loadingTemplateRef = props.loadingTemplateRef;
10884
10880
  const loadingInstance = createComponent(loadingConstructor, __spreadValues({}, props), loadingTemplateRef ? () => loadingTemplateRef : null);
10885
- el.style.position = props.positionType;
10881
+ el.style.position = props.positionType || "relative";
10886
10882
  el.options = props;
10887
10883
  el.instance = loadingInstance;
10888
10884
  el.mask = (_a = loadingInstance == null ? void 0 : loadingInstance.proxy) == null ? void 0 : _a.$el;
10889
10885
  };
10890
- const loadingDirective = {
10886
+ const LoadingDirective = {
10891
10887
  mounted: function(el, binding, vnode) {
10892
10888
  handleProps(el, vnode.props);
10893
10889
  removeAttribute(el);
@@ -10977,7 +10973,7 @@ var button = "";
10977
10973
  var Button = defineComponent({
10978
10974
  name: "DButton",
10979
10975
  directives: {
10980
- dLoading: loadingDirective
10976
+ Loading: LoadingDirective
10981
10977
  },
10982
10978
  props: buttonProps,
10983
10979
  emits: ["click"],
@@ -11010,7 +11006,7 @@ var Button = defineComponent({
11010
11006
  "class": iconClass.value
11011
11007
  }, null), createVNode("span", {
11012
11008
  "class": "button-content"
11013
- }, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])]), [[resolveDirective("dLoading"), loading2.value]]);
11009
+ }, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)])]), [[resolveDirective("loading"), loading2.value]]);
11014
11010
  };
11015
11011
  }
11016
11012
  });
@@ -11686,7 +11682,6 @@ var DatePickerPro = defineComponent({
11686
11682
  const t = createI18nTranslate("DDatePickerPro", app);
11687
11683
  const ns2 = useNamespace("date-picker-pro");
11688
11684
  const {
11689
- containerRef,
11690
11685
  originRef,
11691
11686
  inputRef,
11692
11687
  overlayRef,
@@ -11712,8 +11707,7 @@ var DatePickerPro = defineComponent({
11712
11707
  footer: ((_b = ctx.slots) == null ? void 0 : _b.footer) && (() => renderSlot(useSlots(), "footer"))
11713
11708
  };
11714
11709
  return createVNode("div", {
11715
- "class": ns2.b(),
11716
- "ref": containerRef
11710
+ "class": ns2.b()
11717
11711
  }, [createVNode("div", {
11718
11712
  "class": ns2.e("single-picker"),
11719
11713
  "ref": originRef,
@@ -11723,7 +11717,7 @@ var DatePickerPro = defineComponent({
11723
11717
  "ref": inputRef,
11724
11718
  "modelValue": displayDateValue.value,
11725
11719
  "placeholder": placeholder.value || t("placeholder"),
11726
- "onFocus": onFocus,
11720
+ "onFocus": withModifiers(onFocus, ["stop"]),
11727
11721
  "size": pickerSize.value,
11728
11722
  "disabled": pickerDisabled.value,
11729
11723
  "error": isValidateError.value
@@ -11735,23 +11729,30 @@ var DatePickerPro = defineComponent({
11735
11729
  "class": ["close-icon", showCloseIcon.value ? ns2.m("icon-visible") : ns2.m("icon-hidden")],
11736
11730
  "onClick": handlerClearTime
11737
11731
  }, [createVNode(IconClose, null, null)])
11738
- })]), createVNode(Transition, {
11739
- "name": "fade"
11732
+ })]), createVNode(Teleport, {
11733
+ "to": "body"
11740
11734
  }, {
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
11735
+ default: () => [createVNode(Transition, {
11736
+ "name": "fade"
11748
11737
  }, {
11749
- default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
11750
- "dateValue": dateValue.value,
11751
- "visible": isPanelShow.value,
11752
- "format": format2.value,
11753
- "onSelectedDate": onSelectedDate
11754
- }), vSlots)]
11738
+ default: () => [createVNode(FlexibleOverlay, {
11739
+ "modelValue": isPanelShow.value,
11740
+ "onUpdate:modelValue": ($event) => isPanelShow.value = $event,
11741
+ "ref": overlayRef,
11742
+ "origin": originRef.value,
11743
+ "align": "start",
11744
+ "position": position.value,
11745
+ "style": {
11746
+ zIndex: "var(--devui-z-index-dropdown, 1052)"
11747
+ }
11748
+ }, {
11749
+ default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
11750
+ "dateValue": dateValue.value,
11751
+ "visible": isPanelShow.value,
11752
+ "format": format2.value,
11753
+ "onSelectedDate": onSelectedDate
11754
+ }), vSlots)]
11755
+ })]
11755
11756
  })]
11756
11757
  })]);
11757
11758
  };
@@ -11774,7 +11775,6 @@ const rangeDatePickerProProps = __spreadValues({
11774
11775
  function useRangePickerPro(props, ctx) {
11775
11776
  const formContext = inject(FORM_TOKEN, void 0);
11776
11777
  const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
11777
- const containerRef = shallowRef();
11778
11778
  const originRef = ref();
11779
11779
  const startInputRef = shallowRef();
11780
11780
  const endInputRef = shallowRef();
@@ -11793,9 +11793,9 @@ function useRangePickerPro(props, ctx) {
11793
11793
  ctx.emit("blur");
11794
11794
  }
11795
11795
  };
11796
- onClickOutside(containerRef, () => {
11796
+ onClickOutside(overlayRef, () => {
11797
11797
  toggleChange(false);
11798
- });
11798
+ }, { ignore: [originRef] });
11799
11799
  const focusHandler = function(e) {
11800
11800
  ctx.emit("focus", e);
11801
11801
  };
@@ -11877,7 +11877,6 @@ function useRangePickerPro(props, ctx) {
11877
11877
  formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
11878
11878
  }, { deep: true });
11879
11879
  return {
11880
- containerRef,
11881
11880
  originRef,
11882
11881
  startInputRef,
11883
11882
  endInputRef,
@@ -11909,7 +11908,6 @@ var DRangeDatePickerPro = defineComponent({
11909
11908
  const t = createI18nTranslate("DDatePickerPro", app);
11910
11909
  const ns2 = useNamespace("range-date-picker-pro");
11911
11910
  const {
11912
- containerRef,
11913
11911
  originRef,
11914
11912
  startInputRef,
11915
11913
  endInputRef,
@@ -11939,8 +11937,7 @@ var DRangeDatePickerPro = defineComponent({
11939
11937
  footer: ((_b = ctx.slots) == null ? void 0 : _b.footer) && (() => renderSlot(useSlots(), "footer"))
11940
11938
  };
11941
11939
  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
11940
+ "class": [ns2.b(), props.showTime ? ns2.e("range-time-width") : ns2.e("range-width"), isPanelShow.value && ns2.m("open")]
11944
11941
  }, [createVNode("div", {
11945
11942
  "class": [ns2.e("range-picker"), pickerDisabled.value && ns2.m("disabled"), isValidateError.value && ns2.m("error")],
11946
11943
  "ref": originRef,
@@ -11952,11 +11949,10 @@ var DRangeDatePickerPro = defineComponent({
11952
11949
  "ref": startInputRef,
11953
11950
  "modelValue": displayDateValue.value[0],
11954
11951
  "placeholder": placeholder.value[0] || t("startPlaceholder"),
11955
- "onFocus": (e) => {
11956
- e.stopPropagation();
11952
+ "onFocus": withModifiers((e) => {
11957
11953
  onFocus("start");
11958
11954
  focusHandler(e);
11959
- },
11955
+ }, ["stop"]),
11960
11956
  "size": pickerSize.value,
11961
11957
  "disabled": pickerDisabled.value
11962
11958
  }, {
@@ -11971,11 +11967,10 @@ var DRangeDatePickerPro = defineComponent({
11971
11967
  "ref": endInputRef,
11972
11968
  "modelValue": displayDateValue.value[1],
11973
11969
  "placeholder": placeholder.value[1] || t("endPlaceholder"),
11974
- "onFocus": (e) => {
11975
- e.stopPropagation();
11970
+ "onFocus": withModifiers((e) => {
11976
11971
  onFocus("end");
11977
11972
  focusHandler(e);
11978
- },
11973
+ }, ["stop"]),
11979
11974
  "size": pickerSize.value,
11980
11975
  "disabled": pickerDisabled.value
11981
11976
  }, {
@@ -11983,26 +11978,33 @@ var DRangeDatePickerPro = defineComponent({
11983
11978
  "class": [showCloseIcon.value ? ns2.m("icon-visible") : ns2.m("icon-hidden"), "close-icon"],
11984
11979
  "onClick": handlerClearTime
11985
11980
  }, [createVNode(IconClose, null, null)])
11986
- })])]), createVNode(Transition, {
11987
- "name": "fade"
11981
+ })])]), createVNode(Teleport, {
11982
+ "to": "body"
11988
11983
  }, {
11989
- default: () => [createVNode(FlexibleOverlay, {
11990
- "modelValue": isPanelShow.value,
11991
- "onUpdate:modelValue": ($event) => isPanelShow.value = $event,
11992
- "ref": overlayRef,
11993
- "origin": originRef.value,
11994
- "align": "start",
11995
- "position": position.value
11984
+ default: () => [createVNode(Transition, {
11985
+ "name": "fade"
11996
11986
  }, {
11997
- default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
11998
- "dateValue": dateValue.value,
11999
- "visible": isPanelShow.value,
12000
- "format": format2.value,
12001
- "isRangeType": true,
12002
- "focusType": focusType.value,
12003
- "onSelectedDate": onSelectedDate,
12004
- "onChangeRangeFocusType": onChangeRangeFocusType
12005
- }), vSlots)]
11987
+ default: () => [createVNode(FlexibleOverlay, {
11988
+ "modelValue": isPanelShow.value,
11989
+ "onUpdate:modelValue": ($event) => isPanelShow.value = $event,
11990
+ "ref": overlayRef,
11991
+ "origin": originRef.value,
11992
+ "align": "start",
11993
+ "position": position.value,
11994
+ "style": {
11995
+ zIndex: "var(--devui-z-index-dropdown, 1052)"
11996
+ }
11997
+ }, {
11998
+ default: () => [createVNode(DatePickerProPanel, mergeProps(props, {
11999
+ "dateValue": dateValue.value,
12000
+ "visible": isPanelShow.value,
12001
+ "format": format2.value,
12002
+ "isRangeType": true,
12003
+ "focusType": focusType.value,
12004
+ "onSelectedDate": onSelectedDate,
12005
+ "onChangeRangeFocusType": onChangeRangeFocusType
12006
+ }), vSlots)]
12007
+ })]
12006
12008
  })]
12007
12009
  })]);
12008
12010
  };