block re-use of existing loop name; support derivation of SvgGenerator
[clamp.git] / ui-react / src / components / dialogs / Loop / __snapshots__ / CreateLoopModal.test.js.snap
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Verify CreateLoopModal Test the render method 1`] = `
4 <Styled(Bootstrap(Modal))
5   backdrop="static"
6   keyboard={false}
7   onHide={[Function]}
8   show={true}
9   size="xl"
10 >
11   <ModalHeader
12     closeButton={true}
13     closeLabel="Close"
14   >
15     <ModalTitle>
16       Create Model
17     </ModalTitle>
18   </ModalHeader>
19   <ModalBody>
20     <FormGroup
21       as={
22         Object {
23           "$$typeof": Symbol(react.forward_ref),
24           "defaultProps": Object {
25             "noGutters": false,
26           },
27           "render": [Function],
28         }
29       }
30       controlId="formPlaintextEmail"
31     >
32       <FormLabel
33         column={true}
34         sm="2"
35         srOnly={false}
36       >
37         Template Name:
38       </FormLabel>
39       <Col
40         sm="10"
41       >
42         <StateManager
43           defaultInputValue=""
44           defaultMenuIsOpen={false}
45           defaultValue={null}
46           onChange={[Function]}
47           options={Array []}
48         />
49       </Col>
50     </FormGroup>
51     <FormGroup
52       as={
53         Object {
54           "$$typeof": Symbol(react.forward_ref),
55           "defaultProps": Object {
56             "noGutters": false,
57           },
58           "render": [Function],
59         }
60       }
61       controlId="formSvgPreview"
62       style={
63         Object {
64           "alignItems": "center",
65         }
66       }
67     >
68       <FormLabel
69         column={true}
70         sm="2"
71         srOnly={false}
72       >
73         Model Preview:
74       </FormLabel>
75       <Col
76         sm="10"
77       >
78         <withRouter(SvgGenerator)
79           clickable={false}
80           generatedFrom="TEMPLATE"
81           loopCache={
82             LoopCache {
83               "loopJsonCache": Object {},
84             }
85           }
86         />
87       </Col>
88     </FormGroup>
89     <FormGroup
90       as={
91         Object {
92           "$$typeof": Symbol(react.forward_ref),
93           "defaultProps": Object {
94             "noGutters": false,
95           },
96           "render": [Function],
97         }
98       }
99       controlId="formPlaintextEmail"
100     >
101       <FormLabel
102         column={true}
103         sm="2"
104         srOnly={false}
105       >
106         Model Name:
107       </FormLabel>
108       <input
109         onChange={[Function]}
110         sm="5"
111         style={
112           Object {
113             "marginLeft": "1em",
114             "width": "50%",
115           }
116         }
117         type="text"
118         value=""
119       />
120       <span
121         sm="5"
122       />
123     </FormGroup>
124     <FormGroup
125       as={
126         Object {
127           "$$typeof": Symbol(react.forward_ref),
128           "defaultProps": Object {
129             "noGutters": false,
130           },
131           "render": [Function],
132         }
133       }
134       controlId="formPlaintextEmail"
135     >
136       <FormLabel
137         column={true}
138         sm="2"
139         srOnly={false}
140       >
141          
142       </FormLabel>
143       <styled.div />
144     </FormGroup>
145   </ModalBody>
146   <ModalFooter>
147     <Button
148       active={false}
149       disabled={false}
150       onClick={[Function]}
151       type="null"
152       variant="secondary"
153     >
154       Cancel
155     </Button>
156     <Button
157       active={false}
158       disabled={false}
159       onClick={[Function]}
160       type="submit"
161       variant="primary"
162     >
163       Create
164     </Button>
165   </ModalFooter>
166 </Styled(Bootstrap(Modal))>
167 `;