diff --git a/src/input/__test__/Input.test.js b/src/input/__test__/Input.test.js index a4275c4a35..4daa8b3763 100644 --- a/src/input/__test__/Input.test.js +++ b/src/input/__test__/Input.test.js @@ -46,21 +46,21 @@ describe('', () => { wrapper.setProps({ type: 'text' }); const input = wrapper.find('.w-input').at(0); input.simulate('change'); - expect(input.html()).toContain('
'); + expect(input.html()).toContain('
'); }); it('Test onSearch event.', () => { wrapper.setProps({ type: 'input' }); const input = wrapper.find('.w-input').at(0); input.simulate('change'); - expect(input.html()).toContain('
'); + expect(input.html()).toContain('
'); }); it('Test onKeyUp event.', () => { wrapper.setProps({ type: 'input' }); const input = wrapper.find('.w-input').at(0); input.simulate('keyup'); - expect(input.html()).toContain('
'); + expect(input.html()).toContain('
'); }); it('Test defaultValue attributes.', () => { diff --git a/src/modal/__test__/__snapshots__/Modal.test.js.snap b/src/modal/__test__/__snapshots__/Modal.test.js.snap deleted file mode 100644 index b856107eb3..0000000000 --- a/src/modal/__test__/__snapshots__/Modal.test.js.snap +++ /dev/null @@ -1,5989 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Modal render correctly 1`] = ` -initialize { - "0": Object { - "attribs": Object {}, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal w-modal-wrap", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - Object { - "attribs": Object { - "class": "w-modal w-modal-wrap", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-footer", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn-group", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 确定 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-btn w-transition-base w-btn-size-small w-btn-default", - "type": "button", - }, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [ - Object { - "data": " 取消 ", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "span", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - ], - "name": "button", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "type": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "type": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object {}, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": null, - "prev": null, - "root": Object { - "attribs": Object {}, - "children": Array [ - [Circular], - ], - "name": "root", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": null, - "prev": null, - "type": "root", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "_root": [Circular], - "length": 1, - "options": Object { - "decodeEntities": true, - "normalizeWhitespace": false, - "withDomLvl1": true, - "xml": false, - }, -} -`; - -exports[`Modal render without footer 1`] = ` -initialize { - "0": Object { - "attribs": Object {}, - "children": Array [ - Object { - "attribs": Object {}, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal w-modal-wrap", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - Object { - "attribs": Object { - "class": "w-modal w-modal-wrap", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-down is-mounting w-modal-content", - "style": "width: 520px;", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-body", - }, - "children": Array [ - Object { - "data": "Here is content of Modal", - "next": null, - "parent": [Circular], - "prev": null, - "type": "text", - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-header", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - Object { - "attribs": Object { - "class": "w-modal-close-icon", - }, - "children": Array [ - Object { - "attribs": Object { - "class": "w-icon-close", - }, - "children": Array [], - "name": "i", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "a", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-modal-title", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object { - "class": "w-animate is-fadeIn is-mounting w-modal-mask", - }, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - "style": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - "style": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Object { - "attribs": Object {}, - "children": Array [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "type": "tag", - "x-attribsNamespace": Object { - "class": undefined, - }, - "x-attribsPrefix": Object { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": null, - "prev": null, - "root": Object { - "attribs": Object {}, - "children": Array [ - [Circular], - ], - "name": "root", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": null, - "prev": null, - "type": "root", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "type": "tag", - "x-attribsNamespace": Object {}, - "x-attribsPrefix": Object {}, - }, - "_root": [Circular], - "length": 1, - "options": Object { - "decodeEntities": true, - "normalizeWhitespace": false, - "withDomLvl1": true, - "xml": false, - }, -} -`; diff --git a/src/switch/__test__/Switch.test.js b/src/switch/__test__/Switch.test.js index a323798c8d..b4db2c2333 100644 --- a/src/switch/__test__/Switch.test.js +++ b/src/switch/__test__/Switch.test.js @@ -37,6 +37,6 @@ describe('', () => { const S = wrapper.find('.w-switch input').at(0); S.simulate('change'); expect(wrapperState.value).toBe(true); - expect(S.html()).toContain(''); + expect(S.html()).toContain(''); }); });