vue-devui 1.5.12 → 1.5.13-hotfix.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 (92) hide show
  1. package/auto-complete/index.es.js +139 -61
  2. package/auto-complete/index.umd.js +16 -16
  3. package/auto-complete/style.css +1 -1
  4. package/checkbox/index.es.js +115 -61
  5. package/checkbox/index.umd.js +15 -15
  6. package/checkbox/style.css +1 -1
  7. package/code-editor/index.es.js +5 -2
  8. package/code-editor/index.umd.js +6 -6
  9. package/code-review/index.es.js +12 -1
  10. package/code-review/index.umd.js +18 -18
  11. package/code-review/style.css +1 -1
  12. package/date-picker-pro/index.es.js +213 -109
  13. package/date-picker-pro/index.umd.js +19 -19
  14. package/date-picker-pro/style.css +1 -1
  15. package/editor-md/index.es.js +1 -1
  16. package/editor-md/index.umd.js +1 -1
  17. package/form/index.es.js +142 -64
  18. package/form/index.umd.js +14 -14
  19. package/form/style.css +1 -1
  20. package/image-preview/index.es.js +2 -6
  21. package/image-preview/index.umd.js +2 -2
  22. package/image-preview/style.css +1 -1
  23. package/input/index.es.js +207 -79
  24. package/input/index.umd.js +18 -18
  25. package/input/style.css +1 -1
  26. package/input-number/index.es.js +123 -46
  27. package/input-number/index.umd.js +20 -20
  28. package/input-number/style.css +1 -1
  29. package/mention/index.es.js +138 -60
  30. package/mention/index.umd.js +16 -16
  31. package/mention/style.css +1 -1
  32. package/nuxt/components/STYLE_TOKEN.js +3 -0
  33. package/nuxt/components/formControlProps.js +3 -0
  34. package/package.json +1 -1
  35. package/pagination/index.es.js +155 -89
  36. package/pagination/index.umd.js +13 -13
  37. package/pagination/style.css +1 -1
  38. package/progress/index.es.js +6 -6
  39. package/progress/index.umd.js +1 -1
  40. package/radio/index.es.js +115 -61
  41. package/radio/index.umd.js +16 -16
  42. package/radio/style.css +1 -1
  43. package/search/index.es.js +211 -83
  44. package/search/index.umd.js +19 -19
  45. package/search/style.css +1 -1
  46. package/select/index.es.js +148 -82
  47. package/select/index.umd.js +11 -11
  48. package/select/style.css +1 -1
  49. package/skeleton/index.es.js +1 -0
  50. package/skeleton/index.umd.js +2 -2
  51. package/steps/index.es.js +35 -11
  52. package/steps/index.umd.js +1 -1
  53. package/style.css +1 -1
  54. package/switch/index.es.js +115 -61
  55. package/switch/index.umd.js +14 -14
  56. package/switch/style.css +1 -1
  57. package/table/index.es.js +88 -34
  58. package/table/index.umd.js +15 -15
  59. package/table/style.css +1 -1
  60. package/textarea/index.es.js +141 -63
  61. package/textarea/index.umd.js +17 -17
  62. package/textarea/style.css +1 -1
  63. package/time-picker/index.es.js +159 -55
  64. package/time-picker/index.umd.js +11 -11
  65. package/time-picker/style.css +1 -1
  66. package/time-select/index.es.js +148 -82
  67. package/time-select/index.umd.js +17 -17
  68. package/time-select/style.css +1 -1
  69. package/tree/index.es.js +86 -32
  70. package/tree/index.umd.js +11 -11
  71. package/tree/style.css +1 -1
  72. package/types/auto-focus/index.d.ts +9 -0
  73. package/types/auto-focus/src/auto-focus-directive.d.ts +4 -0
  74. package/types/code-review/src/code-review-types.d.ts +6 -0
  75. package/types/code-review/src/code-review.d.ts +9 -0
  76. package/types/form/index.d.ts +1 -0
  77. package/types/form/src/components/form-control/use-form-control.d.ts +11 -2
  78. package/types/form/src/components/form-item/form-item-types.d.ts +10 -2
  79. package/types/form/src/components/form-item/form-item.d.ts +3 -3
  80. package/types/form/src/components/form-label/form-label.d.ts +1 -13
  81. package/types/form/src/components/form-label/use-form-label.d.ts +14 -2
  82. package/types/form/src/form-types.d.ts +11 -0
  83. package/types/form/src/form.d.ts +18 -0
  84. package/types/input/src/composables/use-input-event.d.ts +12 -2
  85. package/types/input/src/input-types.d.ts +8 -0
  86. package/types/input/src/input.d.ts +18 -0
  87. package/types/input-icon/src/input-icon.d.ts +18 -0
  88. package/types/list/index.d.ts +0 -1
  89. package/types/select/src/composables/use-select-menu-size.d.ts +5 -0
  90. package/types/vue-devui.d.ts +2 -1
  91. package/vue-devui.es.js +202 -70
  92. package/vue-devui.umd.js +78 -78
@@ -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, .24));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 2px 12px 0) var(--devui-shadow, rgba(37, 43, 58, .24));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--required-hide:before{display:none}.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, 12px);color:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-info .devui-form__control-extra{font-size:var(--devui-font-size, 12px);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-textarea{width:100%;box-sizing:border-box;padding:4px 8px;color:var(--devui-text, #252b3a);vertical-align:middle;outline:none;border:1px solid var(--devui-form-control-line, #d7d8da);border-radius:var(--devui-border-radius, 2px);background:var(--devui-form-control-bg, #ffffff);transition:border-color .3s var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-textarea:not(.devui-textarea--error):not(.devui-textarea--disabled):not(.devui-textarea--focus):hover{border-color:var(--devui-form-control-line-hover, #9b9fa8)}.devui-textarea--focus:not(.devui-textarea--error){border-color:var(--devui-form-control-line-active, #5e7ce0)}.devui-textarea--disabled{border-color:var(--devui-disabled-line, #dfe1e6);background-color:var(--devui-disabled-bg, #f5f5f5);color:var(--devui-disabled-text, #cfd0d3);cursor:not-allowed}.devui-textarea--disabled:hover{border-color:var(--devui-disabled-line, #dfe1e6)}.devui-textarea--disabled .devui-textarea__inner{color:var(--devui-disabled-text, #cfd0d3);cursor:not-allowed}.devui-textarea--error{border-color:var(--devui-danger-line, #f66f6a);background-color:var(--devui-danger-bg, #ffd5d4)}.devui-textarea__show-count{text-align:right;color:inherit;white-space:nowrap;pointer-events:none;font-size:var(--devui-font-size, 12px)}.devui-textarea--feedback{padding-right:28px}
1
+ .devui-fixed-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--devui-shadow, rgba(37, 43, 58, .24));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 2px 12px 0) var(--devui-shadow, rgba(37, 43, 58, .24));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;font-size:var(--devui-font-size, 12px);color:var(--devui-aide-text, #71757f)}.devui-form__label--required:before{content:"*";color:red;display:inline-block;margin-right:8px;margin-left:-12px}.devui-form__label--required-hide:before{display:none}.devui-form__label-help{position:relative;top:-.1em;display:inline-block;vertical-align:middle;margin-left:4px;cursor:pointer}.devui-form__label-tips-popover .dv-popover__icon-wrap+span{flex:1}.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, 12px);color:var(--devui-danger, #f66f6a)}.devui-form__control .devui-form__control-info .devui-form__control-extra{font-size:var(--devui-font-size, 12px);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-textarea{width:100%;box-sizing:border-box;padding:4px 8px;color:var(--devui-text, #252b3a);vertical-align:middle;outline:none;border:1px solid var(--devui-form-control-line, #d7d8da);border-radius:var(--devui-border-radius, 2px);background:var(--devui-form-control-bg, #ffffff);transition:border-color .3s var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-textarea:not(.devui-textarea--error):not(.devui-textarea--disabled):not(.devui-textarea--focus):hover{border-color:var(--devui-form-control-line-hover, #9b9fa8)}.devui-textarea--focus:not(.devui-textarea--error){border-color:var(--devui-form-control-line-active, #5e7ce0)}.devui-textarea--disabled{border-color:var(--devui-disabled-line, #dfe1e6);background-color:var(--devui-disabled-bg, #f5f5f5);color:var(--devui-disabled-text, #cfd0d3);cursor:not-allowed}.devui-textarea--disabled:hover{border-color:var(--devui-disabled-line, #dfe1e6)}.devui-textarea--disabled .devui-textarea__inner{color:var(--devui-disabled-text, #cfd0d3);cursor:not-allowed}.devui-textarea--error{border-color:var(--devui-danger-line, #f66f6a);background-color:var(--devui-danger-bg, #ffd5d4)}.devui-textarea__show-count{text-align:right;color:inherit;white-space:nowrap;pointer-events:none;font-size:var(--devui-font-size, 12px)}.devui-textarea--feedback{padding-right:28px}
@@ -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, toRefs, computed, createVNode, resolveDynamicComponent, mergeProps, ref, reactive, onMounted, onBeforeUnmount, onUnmounted, Fragment, h, render, inject, withDirectives, resolveComponent, vShow, provide, toRef, getCurrentInstance, watch, withModifiers, isVNode, Transition, unref, nextTick, Comment, Text, cloneVNode, Teleport, createTextVNode, shallowRef } from "vue";
36
+ import { defineComponent, toRefs, computed, createVNode, resolveDynamicComponent, mergeProps, ref, reactive, onMounted, onBeforeUnmount, onUnmounted, Fragment, h, render, inject, withDirectives, resolveComponent, vShow, provide, toRef, getCurrentInstance, watch, withModifiers, isVNode, Transition, unref, nextTick, Comment, Text, cloneVNode, Teleport, createTextVNode, shallowRef, resolveDirective } from "vue";
37
37
  import { onClickOutside } from "@vueuse/core";
38
38
  import "clipboard";
39
39
  import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
@@ -2373,7 +2373,7 @@ var lodash = { exports: {} };
2373
2373
  if (typeof func != "function") {
2374
2374
  throw new TypeError2(FUNC_ERROR_TEXT);
2375
2375
  }
2376
- return setTimeout(function() {
2376
+ return setTimeout2(function() {
2377
2377
  func.apply(undefined$1, args);
2378
2378
  }, wait);
2379
2379
  }
@@ -4182,7 +4182,7 @@ var lodash = { exports: {} };
4182
4182
  return object4[key];
4183
4183
  }
4184
4184
  var setData = shortOut(baseSetData);
4185
- var setTimeout = ctxSetTimeout || function(func, wait) {
4185
+ var setTimeout2 = ctxSetTimeout || function(func, wait) {
4186
4186
  return root.setTimeout(func, wait);
4187
4187
  };
4188
4188
  var setToString = shortOut(baseSetToString);
@@ -4974,7 +4974,7 @@ var lodash = { exports: {} };
4974
4974
  }
4975
4975
  function leadingEdge(time) {
4976
4976
  lastInvokeTime = time;
4977
- timerId = setTimeout(timerExpired, wait);
4977
+ timerId = setTimeout2(timerExpired, wait);
4978
4978
  return leading ? invokeFunc(time) : result2;
4979
4979
  }
4980
4980
  function remainingWait(time) {
@@ -4990,7 +4990,7 @@ var lodash = { exports: {} };
4990
4990
  if (shouldInvoke(time)) {
4991
4991
  return trailingEdge(time);
4992
4992
  }
4993
- timerId = setTimeout(timerExpired, remainingWait(time));
4993
+ timerId = setTimeout2(timerExpired, remainingWait(time));
4994
4994
  }
4995
4995
  function trailingEdge(time) {
4996
4996
  timerId = undefined$1;
@@ -5021,12 +5021,12 @@ var lodash = { exports: {} };
5021
5021
  }
5022
5022
  if (maxing) {
5023
5023
  clearTimeout(timerId);
5024
- timerId = setTimeout(timerExpired, wait);
5024
+ timerId = setTimeout2(timerExpired, wait);
5025
5025
  return invokeFunc(lastCallTime);
5026
5026
  }
5027
5027
  }
5028
5028
  if (timerId === undefined$1) {
5029
- timerId = setTimeout(timerExpired, wait);
5029
+ timerId = setTimeout2(timerExpired, wait);
5030
5030
  }
5031
5031
  return result2;
5032
5032
  }
@@ -6983,6 +6983,13 @@ var TimePopup = defineComponent({
6983
6983
  };
6984
6984
  }
6985
6985
  });
6986
+ var AutoFocus = {
6987
+ mounted: (el, binding) => {
6988
+ if (binding.value) {
6989
+ el.focus();
6990
+ }
6991
+ }
6992
+ };
6986
6993
  const inputProps = {
6987
6994
  modelValue: {
6988
6995
  type: String,
@@ -7022,6 +7029,14 @@ const inputProps = {
7022
7029
  placeholder: {
7023
7030
  type: String,
7024
7031
  default: ""
7032
+ },
7033
+ title: {
7034
+ type: String,
7035
+ default: ""
7036
+ },
7037
+ autofocus: {
7038
+ type: Boolean,
7039
+ default: false
7025
7040
  }
7026
7041
  };
7027
7042
  const formItemProps = {
@@ -7050,7 +7065,7 @@ const formItemProps = {
7050
7065
  default: void 0
7051
7066
  },
7052
7067
  helpTips: {
7053
- type: String,
7068
+ type: [String, Object],
7054
7069
  default: ""
7055
7070
  },
7056
7071
  feedbackStatus: {
@@ -7109,9 +7124,18 @@ const formProps = {
7109
7124
  hideRequiredMark: {
7110
7125
  type: Boolean,
7111
7126
  default: false
7127
+ },
7128
+ styleType: {
7129
+ type: String,
7130
+ default: "default"
7131
+ },
7132
+ appendToBodyScrollStrategy: {
7133
+ type: String,
7134
+ default: "reposition"
7112
7135
  }
7113
7136
  };
7114
7137
  const FORM_TOKEN = Symbol("dForm");
7138
+ const STYLE_TOKEN = Symbol("dForm");
7115
7139
  function useFieldCollection() {
7116
7140
  const itemContexts = [];
7117
7141
  const addItemContext = (field) => {
@@ -7179,7 +7203,7 @@ defineComponent({
7179
7203
  props: formProps,
7180
7204
  emits: ["validate"],
7181
7205
  setup(props, ctx) {
7182
- const ns2 = useNamespace$1("form");
7206
+ const ns2 = useNamespace("form");
7183
7207
  const {
7184
7208
  itemContexts,
7185
7209
  addItemContext,
@@ -7206,6 +7230,7 @@ defineComponent({
7206
7230
  addItemContext,
7207
7231
  removeItemContext
7208
7232
  })));
7233
+ provide(STYLE_TOKEN, props.styleType);
7209
7234
  ctx.expose({
7210
7235
  validate,
7211
7236
  validateFields,
@@ -7221,12 +7246,6 @@ defineComponent({
7221
7246
  };
7222
7247
  }
7223
7248
  });
7224
- const formLabelProps = {
7225
- helpTips: {
7226
- type: String,
7227
- default: ""
7228
- }
7229
- };
7230
7249
  const fixedOverlayProps = {
7231
7250
  modelValue: {
7232
7251
  type: Boolean,
@@ -7927,7 +7946,13 @@ function useFormLabel() {
7927
7946
  const formContext = inject(FORM_TOKEN);
7928
7947
  const formItemContext = inject(FORM_ITEM_TOKEN);
7929
7948
  const labelData = inject(LABEL_DATA);
7930
- const ns2 = useNamespace$1("form");
7949
+ const ns2 = useNamespace("form");
7950
+ const defaultTipsPopover = {
7951
+ content: "",
7952
+ position: ["top"],
7953
+ trigger: "hover",
7954
+ popType: "info"
7955
+ };
7931
7956
  const labelClasses = computed(() => ({
7932
7957
  [`${ns2.e("label")}`]: true,
7933
7958
  [`${ns2.em("label", "vertical")}`]: labelData.value.layout === "vertical",
@@ -7939,17 +7964,24 @@ function useFormLabel() {
7939
7964
  [`${ns2.em("label", "required")}`]: formItemContext.isRequired,
7940
7965
  [`${ns2.em("label", "required-hide")}`]: formItemContext.isRequired && formContext.hideRequiredMark
7941
7966
  }));
7942
- return { labelClasses, labelInnerClasses };
7967
+ const tipsPopover = computed(() => {
7968
+ if (typeof labelData.value.helpTips === "string") {
7969
+ return __spreadProps(__spreadValues({}, defaultTipsPopover), { content: labelData.value.helpTips });
7970
+ } else {
7971
+ return __spreadValues(__spreadValues({}, defaultTipsPopover), labelData.value.helpTips);
7972
+ }
7973
+ });
7974
+ return { labelClasses, labelInnerClasses, tipsPopover };
7943
7975
  }
7944
7976
  var formLabel = "";
7945
7977
  var FormLabel = defineComponent({
7946
7978
  name: "DFormLabel",
7947
- props: formLabelProps,
7948
- setup(props, ctx) {
7949
- const ns2 = useNamespace$1("form");
7979
+ setup(_, ctx) {
7980
+ const ns2 = useNamespace("form");
7950
7981
  const {
7951
7982
  labelClasses,
7952
- labelInnerClasses
7983
+ labelInnerClasses,
7984
+ tipsPopover
7953
7985
  } = useFormLabel();
7954
7986
  return () => {
7955
7987
  var _a, _b;
@@ -7957,12 +7989,9 @@ var FormLabel = defineComponent({
7957
7989
  "class": labelClasses.value
7958
7990
  }, [createVNode("span", {
7959
7991
  "class": labelInnerClasses.value
7960
- }, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)]), props.helpTips && createVNode(Popover, {
7961
- "content": props.helpTips,
7962
- "position": ["top"],
7963
- "trigger": "hover",
7964
- "pop-type": "info"
7965
- }, {
7992
+ }, [(_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a)]), tipsPopover.value.content && createVNode(Popover, mergeProps({
7993
+ "class": ns2.e("label-tips-popover")
7994
+ }, tipsPopover.value), {
7966
7995
  default: () => [createVNode(HelpTipsIcon, {
7967
7996
  "class": ns2.e("label-help")
7968
7997
  }, null), createTextVNode(",")]
@@ -7981,7 +8010,7 @@ const formControlProps = {
7981
8010
  };
7982
8011
  function useFormControl(props) {
7983
8012
  const labelData = inject(LABEL_DATA);
7984
- const ns2 = useNamespace$1("form");
8013
+ const ns2 = useNamespace("form");
7985
8014
  const { feedbackStatus } = toRefs(props);
7986
8015
  const controlClasses = computed(() => ({
7987
8016
  [ns2.e("control")]: true,
@@ -7993,7 +8022,7 @@ function useFormControl(props) {
7993
8022
  [ns2.em("control-container", "has-feedback")]: Boolean(feedbackStatus == null ? void 0 : feedbackStatus.value),
7994
8023
  [ns2.em("control-container", "feedback-error")]: Boolean((feedbackStatus == null ? void 0 : feedbackStatus.value) === "error")
7995
8024
  }));
7996
- return { controlClasses, controlContainerClasses };
8025
+ return { controlClasses, controlContainerClasses, labelData };
7997
8026
  }
7998
8027
  function useFormControlValidate() {
7999
8028
  const formItemContext = inject(FORM_ITEM_TOKEN);
@@ -8010,11 +8039,15 @@ var FormControl = defineComponent({
8010
8039
  name: "DFormControl",
8011
8040
  props: formControlProps,
8012
8041
  setup(props, ctx) {
8042
+ const formContext = inject(FORM_TOKEN);
8013
8043
  const formControl2 = ref();
8014
- const ns2 = useNamespace$1("form");
8044
+ const popoverRef = ref();
8045
+ const ns2 = useNamespace("form");
8046
+ const showPopoverClick = ref(true);
8015
8047
  const {
8016
8048
  controlClasses,
8017
- controlContainerClasses
8049
+ controlContainerClasses,
8050
+ labelData
8018
8051
  } = useFormControl(props);
8019
8052
  const {
8020
8053
  feedbackStatus,
@@ -8024,17 +8057,52 @@ var FormControl = defineComponent({
8024
8057
  errorMessage,
8025
8058
  popPosition
8026
8059
  } = useFormControlValidate();
8060
+ const align = computed(() => {
8061
+ var _a, _b;
8062
+ if ((_a = popPosition.value) == null ? void 0 : _a.some((item) => item.includes("start"))) {
8063
+ return "start";
8064
+ }
8065
+ if ((_b = popPosition.value) == null ? void 0 : _b.some((item) => item.includes("end"))) {
8066
+ return "end";
8067
+ }
8068
+ return void 0;
8069
+ });
8070
+ const onDocumentClick = (e) => {
8071
+ const composedPath = e.composedPath();
8072
+ if (composedPath.includes(popoverRef.value.triggerEl)) {
8073
+ showPopoverClick.value = true;
8074
+ } else {
8075
+ showPopoverClick.value = false;
8076
+ }
8077
+ };
8078
+ watch(showPopover, (val) => {
8079
+ if (val) {
8080
+ setTimeout(() => {
8081
+ document.addEventListener("click", onDocumentClick);
8082
+ });
8083
+ } else {
8084
+ showPopoverClick.value = true;
8085
+ document.removeEventListener("click", onDocumentClick);
8086
+ }
8087
+ });
8088
+ onUnmounted(() => {
8089
+ document.removeEventListener("click", onDocumentClick);
8090
+ });
8027
8091
  return () => createVNode("div", {
8028
8092
  "class": controlClasses.value,
8029
8093
  "ref": formControl2
8030
8094
  }, [createVNode("div", {
8031
8095
  "class": controlContainerClasses.value
8032
8096
  }, [createVNode(Popover, {
8033
- "is-open": showPopover.value,
8097
+ "ref": popoverRef,
8098
+ "is-open": showPopover.value && showPopoverClick.value,
8034
8099
  "trigger": "manually",
8035
8100
  "content": errorMessage.value,
8036
8101
  "pop-type": "error",
8037
- "position": popPosition.value
8102
+ "position": popPosition.value,
8103
+ "align": align.value,
8104
+ "scroll-element": "auto",
8105
+ "append-to-body-scroll-strategy": formContext.appendToBodyScrollStrategy
8038
8106
  }, {
8039
8107
  default: () => {
8040
8108
  var _a, _b;
@@ -8046,7 +8114,7 @@ var FormControl = defineComponent({
8046
8114
  "class": ns2.e("control-info")
8047
8115
  }, [showMessage.value && createVNode("div", {
8048
8116
  "class": "error-message"
8049
- }, [errorMessage.value]), props.extraInfo && createVNode("div", {
8117
+ }, [errorMessage.value]), labelData.value.formItemCtx.slots.extraInfo ? labelData.value.formItemCtx.slots.extraInfo() : props.extraInfo && createVNode("div", {
8050
8118
  "class": ns2.e("control-extra")
8051
8119
  }, [props.extraInfo])])]);
8052
8120
  }
@@ -9065,7 +9133,7 @@ function getFieldValue(obj, path) {
9065
9133
  }
9066
9134
  function useFormItem(messageType, _rules, validateState) {
9067
9135
  const formContext = inject(FORM_TOKEN);
9068
- const ns2 = useNamespace$1("form");
9136
+ const ns2 = useNamespace("form");
9069
9137
  const itemClasses = computed(() => ({
9070
9138
  [`${ns2.em("item", "horizontal")}`]: formContext.layout === "horizontal",
9071
9139
  [`${ns2.em("item", "vertical")}`]: formContext.layout === "vertical",
@@ -9229,7 +9297,9 @@ defineComponent({
9229
9297
  const labelData = computed(() => ({
9230
9298
  layout: formContext.layout,
9231
9299
  labelSize: formContext.labelSize,
9232
- labelAlign: formContext.labelAlign
9300
+ labelAlign: formContext.labelAlign,
9301
+ helpTips: helpTips.value,
9302
+ formItemCtx: ctx
9233
9303
  }));
9234
9304
  provide(LABEL_DATA, labelData);
9235
9305
  const context = reactive(__spreadProps(__spreadValues({}, otherProps), {
@@ -9245,6 +9315,7 @@ defineComponent({
9245
9315
  }));
9246
9316
  provide(FORM_ITEM_TOKEN, context);
9247
9317
  ctx.expose({
9318
+ validate,
9248
9319
  resetField,
9249
9320
  clearValidate
9250
9321
  });
@@ -9258,9 +9329,7 @@ defineComponent({
9258
9329
  });
9259
9330
  return () => createVNode("div", {
9260
9331
  "class": itemClasses.value
9261
- }, [createVNode(FormLabel, {
9262
- "help-tips": helpTips.value
9263
- }, {
9332
+ }, [createVNode(FormLabel, null, {
9264
9333
  default: () => [ctx.slots.label ? ctx.slots.label() : label == null ? void 0 : label.value]
9265
9334
  }), createVNode(FormControl, {
9266
9335
  "feedback-status": feedbackStatus == null ? void 0 : feedbackStatus.value,
@@ -9299,13 +9368,14 @@ function useInputRender(props, ctx) {
9299
9368
  const formContext = inject(FORM_TOKEN, void 0);
9300
9369
  const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
9301
9370
  const isValidateError = computed(() => (formItemContext == null ? void 0 : formItemContext.validateState) === "error");
9302
- const ns2 = useNamespace$1("input");
9303
- const slotNs = useNamespace$1("input-slot");
9371
+ const ns2 = useNamespace("input");
9372
+ const slotNs = useNamespace("input-slot");
9304
9373
  const isFocus = ref(false);
9305
9374
  const { error, size, disabled } = toRefs(props);
9306
9375
  const slots = ctx.slots;
9307
9376
  const inputDisabled = computed(() => disabled.value || (formContext == null ? void 0 : formContext.disabled));
9308
9377
  const inputSize = computed(() => (size == null ? void 0 : size.value) || (formContext == null ? void 0 : formContext.size) || "");
9378
+ const styleType = inject(STYLE_TOKEN, void 0);
9309
9379
  const _a = ctx.attrs, { style, class: customClass } = _a, otherAttrs = __objRest(_a, ["style", "class"]);
9310
9380
  const customStyle = { style };
9311
9381
  const wrapClasses = computed(() => ({
@@ -9321,7 +9391,8 @@ function useInputRender(props, ctx) {
9321
9391
  [ns2.m(inputSize.value)]: Boolean(inputSize.value),
9322
9392
  [slotNs.b()]: slots.prepend || slots.append,
9323
9393
  [ns2.m("append")]: slots.append,
9324
- [ns2.m("prepend")]: slots.prepend
9394
+ [ns2.m("prepend")]: slots.prepend,
9395
+ [ns2.m("gray-style")]: styleType === "gray"
9325
9396
  },
9326
9397
  customClass
9327
9398
  ]);
@@ -9329,6 +9400,7 @@ function useInputRender(props, ctx) {
9329
9400
  }
9330
9401
  function useInputEvent(isFocus, props, ctx, focus) {
9331
9402
  const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
9403
+ const isComposition = ref(false);
9332
9404
  const onFocus = (e) => {
9333
9405
  isFocus.value = true;
9334
9406
  ctx.emit("focus", e);
@@ -9342,6 +9414,9 @@ function useInputEvent(isFocus, props, ctx, focus) {
9342
9414
  };
9343
9415
  const onInput = (e) => {
9344
9416
  ctx.emit("input", e.target.value);
9417
+ if (isComposition.value) {
9418
+ return;
9419
+ }
9345
9420
  ctx.emit("update:modelValue", e.target.value);
9346
9421
  };
9347
9422
  const onChange = (e) => {
@@ -9355,7 +9430,22 @@ function useInputEvent(isFocus, props, ctx, focus) {
9355
9430
  ctx.emit("clear");
9356
9431
  focus();
9357
9432
  };
9358
- return { onFocus, onBlur, onInput, onChange, onKeydown, onClear };
9433
+ const onCompositionStart = () => {
9434
+ isComposition.value = true;
9435
+ };
9436
+ const onCompositionUpdate = (e) => {
9437
+ var _a;
9438
+ const text = (_a = e.target) == null ? void 0 : _a.value;
9439
+ const lastCharacter = text[text.length - 1] || "";
9440
+ isComposition.value = !/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(lastCharacter);
9441
+ };
9442
+ const onCompositionEnd = (e) => {
9443
+ if (isComposition.value) {
9444
+ isComposition.value = false;
9445
+ onInput(e);
9446
+ }
9447
+ };
9448
+ return { onFocus, onBlur, onInput, onChange, onKeydown, onClear, onCompositionStart, onCompositionUpdate, onCompositionEnd };
9359
9449
  }
9360
9450
  function useInputFunction(input2) {
9361
9451
  const refInput = computed(() => input2.value);
@@ -9376,6 +9466,9 @@ function useInputFunction(input2) {
9376
9466
  var input = "";
9377
9467
  var DInput = defineComponent({
9378
9468
  name: "DInput",
9469
+ directives: {
9470
+ dAutoFocus: AutoFocus
9471
+ },
9379
9472
  inheritAttrs: false,
9380
9473
  props: inputProps,
9381
9474
  emits: ["update:modelValue", "focus", "blur", "input", "change", "keydown", "clear"],
@@ -9384,10 +9477,13 @@ var DInput = defineComponent({
9384
9477
  const t = createI18nTranslate("DInput", app);
9385
9478
  const formItemContext = inject(FORM_ITEM_TOKEN, void 0);
9386
9479
  const {
9387
- modelValue
9480
+ modelValue,
9481
+ placeholder,
9482
+ title,
9483
+ autofocus
9388
9484
  } = toRefs(props);
9389
- const ns2 = useNamespace$1("input");
9390
- const slotNs = useNamespace$1("input-slot");
9485
+ const ns2 = useNamespace("input");
9486
+ const slotNs = useNamespace("input-slot");
9391
9487
  const {
9392
9488
  inputDisabled,
9393
9489
  inputSize,
@@ -9409,7 +9505,10 @@ var DInput = defineComponent({
9409
9505
  onInput,
9410
9506
  onChange,
9411
9507
  onKeydown,
9412
- onClear
9508
+ onClear,
9509
+ onCompositionStart,
9510
+ onCompositionUpdate,
9511
+ onCompositionEnd
9413
9512
  } = useInputEvent(isFocus, props, ctx, focus);
9414
9513
  const passwordVisible = ref(false);
9415
9514
  const clickPasswordIcon = () => {
@@ -9434,7 +9533,7 @@ var DInput = defineComponent({
9434
9533
  blur
9435
9534
  });
9436
9535
  return () => {
9437
- var _a, _b, _c, _d, _e, _f, _g, _h;
9536
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
9438
9537
  return createVNode("div", mergeProps({
9439
9538
  "class": inputClasses.value
9440
9539
  }, customStyle), [ctx.slots.prepend && createVNode("div", {
@@ -9446,25 +9545,29 @@ var DInput = defineComponent({
9446
9545
  }, [ctx.slots.prefix && ((_d = (_c = ctx.slots).prefix) == null ? void 0 : _d.call(_c)), props.prefix && createVNode(Icon, {
9447
9546
  "size": inputSize.value,
9448
9547
  "name": props.prefix
9449
- }, null)]), createVNode("input", mergeProps({
9548
+ }, null)]), withDirectives(createVNode("input", mergeProps({
9450
9549
  "ref": input2,
9451
9550
  "value": modelValue.value,
9452
9551
  "disabled": inputDisabled.value,
9453
9552
  "class": ns2.e("inner"),
9454
- "placeholder": props.placeholder || t("placeholder")
9553
+ "placeholder": (_e = placeholder.value) != null ? _e : t("placeholder")
9455
9554
  }, otherAttrs, {
9555
+ "title": title.value,
9456
9556
  "type": props.showPassword ? passwordVisible.value ? "text" : "password" : "text",
9457
9557
  "onInput": onInput,
9458
9558
  "onFocus": onFocus,
9459
9559
  "onBlur": onBlur,
9460
9560
  "onChange": onChange,
9461
- "onKeydown": onKeydown
9462
- }), null), suffixVisible && createVNode("span", {
9561
+ "onKeydown": onKeydown,
9562
+ "onCompositionstart": onCompositionStart,
9563
+ "onCompositionupdate": onCompositionUpdate,
9564
+ "onCompositionend": onCompositionEnd
9565
+ }), null), [[resolveDirective("dAutoFocus"), autofocus.value]]), suffixVisible && createVNode("span", {
9463
9566
  "class": slotNs.e("suffix")
9464
9567
  }, [props.suffix && createVNode(Icon, {
9465
9568
  "size": inputSize.value,
9466
9569
  "name": props.suffix
9467
- }, null), ctx.slots.suffix && ((_f = (_e = ctx.slots).suffix) == null ? void 0 : _f.call(_e)), showPwdVisible.value && createVNode(Icon, {
9570
+ }, null), ctx.slots.suffix && ((_g = (_f = ctx.slots).suffix) == null ? void 0 : _g.call(_f)), showPwdVisible.value && createVNode(Icon, {
9468
9571
  "size": inputSize.value,
9469
9572
  "class": ns2.em("password", "icon"),
9470
9573
  "name": passwordVisible.value ? "preview" : "preview-forbidden",
@@ -9472,11 +9575,12 @@ var DInput = defineComponent({
9472
9575
  }, null), showClearable.value && createVNode(Icon, {
9473
9576
  "size": inputSize.value,
9474
9577
  "class": ns2.em("clear", "icon"),
9475
- "name": "close",
9578
+ "name": "error-o",
9579
+ "color": "#adb0b8",
9476
9580
  "onClick": onClear
9477
9581
  }, null)])]), ctx.slots.append && createVNode("div", {
9478
9582
  "class": slotNs.e("append")
9479
- }, [(_h = (_g = ctx.slots).append) == null ? void 0 : _h.call(_g)])]);
9583
+ }, [(_i = (_h = ctx.slots).append) == null ? void 0 : _i.call(_h)])]);
9480
9584
  };
9481
9585
  }
9482
9586
  });