@@ -626,47 +626,47 @@ exports[`renders ./components/form/demo/validate-static.vue correctly 1`] = `
626
626
<div class = " ant-row ant-form-item ant-form-item-with-help" >
627
627
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Validating" class = " " >Validating</label ></div >
628
628
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
629
- <div class = " ant-form-item-control has-feedback is-validating" ><span class = " ant-form-item-children" ><input placeholder = " I'm the content is being validated" type = " text" id = " validating" class = " ant-input" ></span >
629
+ <div class = " ant-form-item-control has-feedback is-validating" ><span class = " ant-form-item-children" ><input placeholder = " I'm the content is being validated" type = " text" id = " validating" class = " ant-input" ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-loading " >< svg viewBox = " 0 0 1024 1024 " data-icon = " loading " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " anticon-spin " >< path d = " M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z " ></ path ></ svg ></ i ></ span >< /span >
630
630
<div class = " ant-form-explain show-help-enter" >The information is being validated...</div >
631
631
</div >
632
632
</div >
633
633
</div >
634
634
<div class = " ant-row ant-form-item" >
635
635
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Success" class = " " >Success</label ></div >
636
636
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
637
- <div class = " ant-form-item-control has-feedback has-success" ><span class = " ant-form-item-children" ><input placeholder = " I'm the content" type = " text" id = " success" class = " ant-input" ></span >
637
+ <div class = " ant-form-item-control has-feedback has-success" ><span class = " ant-form-item-children" ><input placeholder = " I'm the content" type = " text" id = " success" class = " ant-input" ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-check-circle " >< svg viewBox = " 64 64 896 896 " data-icon = " check-circle " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " " >< path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z " ></ path ></ svg ></ i ></ span >< /span >
638
638
<!---->
639
639
</div >
640
640
</div >
641
641
</div >
642
642
<div class = " ant-row ant-form-item" >
643
643
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Warning" class = " " >Warning</label ></div >
644
644
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
645
- <div class = " ant-form-item-control has-feedback has-warning" ><span class = " ant-form-item-children" ><input placeholder = " Warning" type = " text" id = " warning" class = " ant-input" ></span >
645
+ <div class = " ant-form-item-control has-feedback has-warning" ><span class = " ant-form-item-children" ><input placeholder = " Warning" type = " text" id = " warning" class = " ant-input" ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-exclamation-circle " >< svg viewBox = " 64 64 896 896 " data-icon = " exclamation-circle " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " " >< path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z " ></ path ></ svg ></ i ></ span >< /span >
646
646
<!---->
647
647
</div >
648
648
</div >
649
649
</div >
650
650
<div class = " ant-row ant-form-item ant-form-item-with-help" >
651
651
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Fail" class = " " >Fail</label ></div >
652
652
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
653
- <div class = " ant-form-item-control has-feedback has-error" ><span class = " ant-form-item-children" ><input placeholder = " unavailable choice" type = " text" id = " error" class = " ant-input" ></span >
653
+ <div class = " ant-form-item-control has-feedback has-error" ><span class = " ant-form-item-children" ><input placeholder = " unavailable choice" type = " text" id = " error" class = " ant-input" ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-close-circle " >< svg viewBox = " 64 64 896 896 " data-icon = " close-circle " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " " >< path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z " ></ path ></ svg ></ i ></ span >< /span >
654
654
<div class = " ant-form-explain show-help-enter" >Should be combination of numbers & alphabets</div >
655
655
</div >
656
656
</div >
657
657
</div >
658
658
<div class = " ant-row ant-form-item" >
659
659
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Success" class = " " >Success</label ></div >
660
660
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
661
- <div class = " ant-form-item-control has-feedback has-success" ><span class = " ant-form-item-children" ><span class = " ant-calendar-picker" style = " width: 100%;" ><div class = " " ><input readonly = " true" placeholder = " Select date" class = " ant-calendar-picker-input ant-input" ><i class = " ant-calendar-picker-icon anticon anticon-calendar" ><svg viewBox = " 64 64 896 896" data-icon = " calendar" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " ><path d = " M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" ></path ></svg ></i ></div ></span ></span >
661
+ <div class="ant-form-item-control has-feedback has-success"><span class="ant-form-item-children"><span class="ant-calendar-picker" style="width: 100%;"><div class=""><input readonly="true" placeholder="Select date" class="ant-calendar-picker-input ant-input"><i class="ant-calendar-picker-icon anticon anticon-calendar"><svg viewBox="64 64 896 896" data-icon="calendar" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"></path></svg></i></div></span><span class="ant-form-item-children-icon"><i class="anticon anticon-check-circle"><svg viewBox="64 64 896 896" data-icon="check-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg></i></span></span>
662
662
<!---->
663
663
</div >
664
664
</div >
665
665
</div >
666
666
<div class = " ant-row ant-form-item" >
667
667
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Warning" class = " " >Warning</label ></div >
668
668
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
669
- <div class = " ant-form-item-control has-feedback has-warning" ><span class = " ant-form-item-children" ><span class = " ant-time-picker" style = " width: 100%;" ><input type = " text" placeholder = " Select time" id = " " class = " ant-time-picker-input" ><span class = " ant-time-picker-icon" ><i class = " ant-time-picker-clock-icon anticon anticon-clock-circle" ><svg viewBox = " 64 64 896 896" data-icon = " clock-circle" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " ><path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" ></path ><path d = " M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" ></path ></svg ></i ></span ></span ></span >
669
+ <div class="ant-form-item-control has-feedback has-warning"><span class="ant-form-item-children"><span class="ant-time-picker" style="width: 100%;"><input type="text" placeholder="Select time" id="" class="ant-time-picker-input"><span class="ant-time-picker-icon"><i class="ant-time-picker-clock-icon anticon anticon-clock-circle"><svg viewBox="64 64 896 896" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></i></span></span><span class="ant-form-item-children-icon"><i class="anticon anticon-exclamation-circle"><svg viewBox="64 64 896 896" data-icon="exclamation-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"></path></svg></i></span></span>
670
670
<!---->
671
671
</div >
672
672
</div >
@@ -675,7 +675,7 @@ exports[`renders ./components/form/demo/validate-static.vue correctly 1`] = `
675
675
<div class = " ant-col-xs-24 ant-col-sm-5 ant-form-item-label" ><label title = " Error" class = " " >Error</label ></div >
676
676
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
677
677
<div class = " ant-form-item-control has-feedback has-error" ><span class = " ant-form-item-children" ><div class = " ant-select ant-select-enabled" ><div role = " combobox" aria-autocomplete = " list" aria-haspopup = " true" tabindex = " 0" class = " ant-select-selection ant-select-selection--single" ><div class = " ant-select-selection__rendered" ><div title = " Option 1" class = " ant-select-selection-selected-value" style = " display: block; opacity: 1;" >Option 1</div ></div ><span unselectable = " unselectable" class = " ant-select-arrow" ><i class = " ant-select-arrow-icon anticon anticon-down" ><svg viewBox = " 64 64 896 896" data-icon = " down" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " ><path d = " M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" ></path ></svg ></i ></span ></div >
678
- </div ></span >
678
+ </div ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-close-circle " >< svg viewBox = " 64 64 896 896 " data-icon = " close-circle " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " " >< path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z " ></ path ></ svg ></ i ></ span >< /span >
679
679
<!---->
680
680
</div >
681
681
</div >
@@ -687,7 +687,7 @@ exports[`renders ./components/form/demo/validate-static.vue correctly 1`] = `
687
687
<path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" ></path >
688
688
</svg ></i ><i class = " ant-cascader-picker-arrow anticon anticon-down" ><svg viewBox = " 64 64 896 896" data-icon = " down" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
689
689
<path d = " M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" ></path >
690
- </svg ></i ></span ></span >
690
+ </svg ></i ></span ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-loading " >< svg viewBox = " 0 0 1024 1024 " data-icon = " loading " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " anticon-spin " >< path d = " M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z " ></ path ></ svg ></ i ></ span >< /span >
691
691
<div class = " ant-form-explain show-help-enter" >The information is being validated...</div >
692
692
</div >
693
693
</div >
@@ -722,7 +722,7 @@ exports[`renders ./components/form/demo/validate-static.vue correctly 1`] = `
722
722
<div class = " ant-col-xs-24 ant-col-sm-12 ant-form-item-control-wrapper" >
723
723
<div class="ant-form-item-control has-feedback has-success"><span class="ant-form-item-children"><div class="ant-input-number" style="width: 100%;"><div class="ant-input-number-handler-wrap"><span class="ant-input-number-handler ant-input-number-handler-up " unselectable="unselectable" role="button" aria-label="Increase Value"><i class="ant-input-number-handler-up-inner anticon anticon-up"><svg viewBox="64 64 896 896" data-icon="up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 0 0 140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"></path></svg></i></span><span class="ant-input-number-handler ant-input-number-handler-down " unselectable="unselectable" role="button" aria-label="Decrease Value"><i class="ant-input-number-handler-down-inner anticon anticon-down"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i></span></div>
724
724
<div role = " spinbutton" aria-valuemin = " -9007199254740991" class = " ant-input-number-input-wrap" ><input autocomplete = " off" min = " -9007199254740991" step = " 1" class = " ant-input-number-input" ></div >
725
- </div ></span >
725
+ </div ><span class = " ant-form-item-children-icon " >< i class = " anticon anticon-check-circle " >< svg viewBox = " 64 64 896 896 " data-icon = " check-circle " width = " 1em " height = " 1em " fill = " currentColor " aria-hidden = " true " class = " " >< path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z " ></ path ></ svg ></ i ></ span >< /span >
726
726
<!---->
727
727
</div >
728
728
</div >
0 commit comments