@aj-shadow/z-abs-complayer-modaldialog-client 0.0.0-aj-beta.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +26 -0
- package/LICENSE.txt +96 -0
- package/README.md +5 -0
- package/npm-shrinkwrap.json +13 -0
- package/package.json +10 -0
- package/project/client/_build/Bundle-CompLayer-Modaldialog-client.bld +38 -0
- package/project/client/_build/Client-CompLayer-Modaldialog-client-jsx.bld +10 -0
- package/project/client/_build/Client-CompLayer-Modaldialog-client.bld +10 -0
- package/project/client/_build/Client-css-CompLayer-Modaldialog-bundle.bld +9 -0
- package/project/client/_build/z-abs-complayer-modaldialog-client.prj +36 -0
- package/project/client/actions/action-modal-dialog.js +29 -0
- package/project/client/css/abstraction_add.css +10 -0
- package/project/client/css/modal-dialog-file.css +5 -0
- package/project/client/css/modal.css +162 -0
- package/project/client/css/modal_body.css +18 -0
- package/project/client/css/modal_header.css +11 -0
- package/project/client/helper/helper-event-listener.js +29 -0
- package/project/client/helper/helper-modal-popover.js +35 -0
- package/project/client/helper/input-analyzer.js +47 -0
- package/project/client/images/actor-image.jsx +260 -0
- package/project/client/images/file-image.jsx +44 -0
- package/project/client/images/msg-image.jsx +31 -0
- package/project/client/modal-dialog-abstraction-add.jsx +992 -0
- package/project/client/modal-dialog-abstraction-properties.jsx +220 -0
- package/project/client/modal-dialog-file-add.jsx +183 -0
- package/project/client/modal-dialog-file-new.jsx +489 -0
- package/project/client/modal-dialog-file-properties.jsx +206 -0
- package/project/client/modal-dialog-file-remove.jsx +157 -0
- package/project/client/modal-dialog-folder-add.jsx +292 -0
- package/project/client/modal-dialog-folder-new.jsx +231 -0
- package/project/client/modal-dialog-folder-properties.jsx +237 -0
- package/project/client/modal-dialog-folder-remove.jsx +149 -0
- package/project/client/modal-dialog-search.jsx +144 -0
- package/project/client/modal-dialog-wizard-list.jsx +49 -0
- package/project/client/modal-dialog-wizard.jsx +145 -0
- package/project/client/modal-dialog-workspace-new.jsx +157 -0
- package/project/client/modal-dialog-workspace-open.jsx +306 -0
- package/project/client/stores/modal-dialog-store.js +63 -0
- package/project/z-abs-complayer-modaldialog-client.tree +41 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import ReactComponentBase from 'z-abs-corelayer-client/client/react-component/react-component-base';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export default class ActorImage extends ReactComponentBase {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this.svgId1 = `actor_image_id_${++ActorImage.ID}`;
|
|
12
|
+
this.gradientId1 = `actor_image_id_${++ActorImage.ID}`;
|
|
13
|
+
this.gradientId2 = `actor_image_id_${++ActorImage.ID}`;
|
|
14
|
+
this.clipFaceId1 = `actor_image_id_${++ActorImage.ID}`;
|
|
15
|
+
this.clipFaceId2 = `actor_image_id_${++ActorImage.ID}`;
|
|
16
|
+
this.clipEyesId1 = `actor_image_id_${++ActorImage.ID}`;
|
|
17
|
+
this.clipEyesId2 = `actor_image_id_${++ActorImage.ID}`;
|
|
18
|
+
this.clipEyesId3 = `actor_image_id_${++ActorImage.ID}`;
|
|
19
|
+
this.clipEyesId4 = `actor_image_id_${++ActorImage.ID}`;
|
|
20
|
+
this.clipMouthId1 = `actor_image_id_${++ActorImage.ID}`;
|
|
21
|
+
this.clipMouthId2 = `actor_image_id_${++ActorImage.ID}`;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
shouldUpdate(nextProps, nextState) {
|
|
25
|
+
return !this.shallowCompare(this.props, nextProps)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
renderHappyEyes() {
|
|
29
|
+
return (
|
|
30
|
+
<>
|
|
31
|
+
<defs>
|
|
32
|
+
<clipPath id={this.clipEyesId1}>
|
|
33
|
+
<rect x="-17.963" y="24.643" width="35.509" height="13.947" style={{fill:'#00ffff',opacity:.88,strokeWidth:.5}}/>
|
|
34
|
+
</clipPath>
|
|
35
|
+
<clipPath id={this.clipEyesId2}>
|
|
36
|
+
<path d="m-187.33 23.75h40.461v25.231h-40.461zm40.937 18.69a20.621 10.097 0 0 0-20.621-10.097 20.621 10.097 0 0 0-20.621 10.097 20.621 10.097 0 0 0 20.621 10.097 20.621 10.097 0 0 0 20.621-10.097z" style={{fill:'#000000',strokeWidth:.5}}/>
|
|
37
|
+
</clipPath>
|
|
38
|
+
<mask id={this.clipEyesId4} maskUnits="userSpaceOnUse">
|
|
39
|
+
<rect x="-187.94" y="17.834" width="100.11" height="18.311" style={{fill:'#00ffff',strokeWidth:.39097}}/>
|
|
40
|
+
</mask>
|
|
41
|
+
<clipPath id={this.clipEyesId3}>
|
|
42
|
+
<rect x="43.387" y="24.643" width="35.509" height="13.947" style={{fill:'#00ffff',opacity:.88,strokeWidth:.5}}/>
|
|
43
|
+
</clipPath>
|
|
44
|
+
</defs>
|
|
45
|
+
<g transform="translate(-48.095 -72.04)">
|
|
46
|
+
<g transform="matrix(.26458 0 0 .26458 58.163 73.501)" clipPath={`url(#${this.clipEyesId3})`} style={{fill:'#000000'}}>
|
|
47
|
+
<g style={{fill:'#000000'}}>
|
|
48
|
+
<path transform="translate(227.26 2.3958)" d="m-151.87 36.365c-4.5191 10.664-25.942 10.664-30.461 0 3.0147-9.9982 27.128-10.829 30.461 0z" clipPath={`url(#${this.clipEyesId2})`} style={{fill:'#000000',strokeWidth:.5}}/>
|
|
49
|
+
</g>
|
|
50
|
+
</g>
|
|
51
|
+
<g transform="matrix(.26458 0 0 .26458 58.163 73.501)" clipPath={`url(#${this.clipEyesId1})`} style={{fill:'#000000'}}>
|
|
52
|
+
<path transform="translate(168.22 2.3964)" d="m-151.87 36.365c-4.5191 10.664-25.942 10.664-30.461 0 3.0147-9.9982 27.128-10.829 30.461 0z" clipPath={`url(#${this.clipEyesId2})`} mask={`url(#${this.clipEyesId4})`} style={{fill:'#000000',strokeWidth:.5}}/>
|
|
53
|
+
<g style={{fill:'#000000'}}>
|
|
54
|
+
<g style={{fill:'#000000'}}>
|
|
55
|
+
<path transform="translate(168.22 2.3964)" d="m-151.87 36.365c-4.5191 10.664-25.942 10.664-30.461 0 3.0147-9.9982 27.128-10.829 30.461 0z" clipPath={`url(#${this.clipEyesId2})`} style={{fill:'#000000',strokeWidth:.5}}/>
|
|
56
|
+
</g>
|
|
57
|
+
</g>
|
|
58
|
+
</g>
|
|
59
|
+
</g>
|
|
60
|
+
</>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
renderHappyMouth() {
|
|
65
|
+
return (
|
|
66
|
+
<>
|
|
67
|
+
<defs>
|
|
68
|
+
<clipPath id={this.clipMouthId1}>
|
|
69
|
+
<rect x="157.19" y="81.681" width="50.312" height="15.863" style={{fill:'#00ffff',opacity:.81,strokeWidth:.32444}}/>
|
|
70
|
+
</clipPath>
|
|
71
|
+
<clipPath id={this.clipMouthId2}>
|
|
72
|
+
<ellipse cx="166.94" cy="92.752" rx="44.665" ry="18.482" d="M 211.60769,92.752457 A 44.664925,18.482038 0 0 1 166.94276,111.2345 44.664925,18.482038 0 0 1 122.27784,92.752457 44.664925,18.482038 0 0 1 166.94276,74.270418 44.664925,18.482038 0 0 1 211.60769,92.752457 Z" style={{display:'none',fill:'#00ffff',strokeWidth:.55464}}/>
|
|
73
|
+
<path d="m122.07 69.27h89.747v52.611h-89.747zm89.538 23.482a44.665 18.482 0 0 0-44.665-18.482 44.665 18.482 0 0 0-44.665 18.482 44.665 18.482 0 0 0 44.665 18.482 44.665 18.482 0 0 0 44.665-18.482z" style={{fill:'#00ffff',strokeWidth:.55464}}/>
|
|
74
|
+
</clipPath>
|
|
75
|
+
</defs>
|
|
76
|
+
<g transform="translate(-48.095 -72.04)">
|
|
77
|
+
<g transform="matrix(.26458 0 0 .26458 58.163 73.501)" style={{fill:'#000000'}}>
|
|
78
|
+
<g transform="matrix(1.2299 0 0 1.2299 -193.91 -18.281)" clipPath={`url(#${this.clipMouthId1})`} style={{fill:'#000000'}}>
|
|
79
|
+
<path transform="matrix(.65233 0 0 1 73.612 -20.193)" d="m206.82 95.576a39.873 21.306 0 0 1-39.873 21.306 39.873 21.306 0 0 1-39.873-21.306 39.873 21.306 0 0 1 39.873-21.306 39.873 21.306 0 0 1 39.873 21.306z" clipPath={`url(#${this.clipMouthId2})`} style={{fill:'#000000',strokeWidth:.6466}}/>
|
|
80
|
+
</g>
|
|
81
|
+
</g>
|
|
82
|
+
</g>
|
|
83
|
+
</>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
renderOrigDef(gradient, className) {
|
|
88
|
+
const style = gradient ? {stopColor:'#ffffff'} : null;
|
|
89
|
+
return (gradient ? (
|
|
90
|
+
<linearGradient id={this.gradientId1} x1="85.044" x2="48.234" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
91
|
+
<stop style={{stopColor:'#ffffff'}} offset="0"/>
|
|
92
|
+
<stop className={className} offset="0.7"/>
|
|
93
|
+
</linearGradient>
|
|
94
|
+
) : (
|
|
95
|
+
<linearGradient id={this.gradientId1} x1="85.044" x2="48.234" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
96
|
+
<stop className={className} offset="0"/>
|
|
97
|
+
<stop className={className} offset="0.7"/>
|
|
98
|
+
</linearGradient>
|
|
99
|
+
));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
renderOrigFace(className, gradient) {
|
|
103
|
+
return (
|
|
104
|
+
<>
|
|
105
|
+
<defs>
|
|
106
|
+
{this.renderOrigDef(gradient, className)}
|
|
107
|
+
</defs>
|
|
108
|
+
<g transform="translate(-48.095 -72.04)">
|
|
109
|
+
<path d="m51.343 77.901c-0.46729 6.4835-0.49861 12.41 1.8452 18.243 2.0701 4.8317 6.6449 9.519 10.048 10.639 3.1257 0.93514 6.5325 0.51298 9.4631-1.3636 2.8381-1.8766 5.675-4.7414 7.5944-9.6711 1.7519-4.2279 1.851-12.866 1.5023-18.494-0.10415-1.7519-0.92328-3.8275-3.0785-3.0805s-7.341 1.9927-11.151 2.0221c-4.2614 0.20295-8.4599-0.77321-12.475-2.1147-1.7444-0.5435-3.3795-0.07766-3.5576 1.8434-0.04341 0.2718-0.02793-0.14819-0.19029 1.9758z" fill="#ffffff" stroke="#000000" strokeWidth="1.292" style={{fill:`url(#${this.gradientId1})`,stroke:'#000000'}}/>
|
|
110
|
+
</g>
|
|
111
|
+
</>
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
renderTermFace(className) {
|
|
116
|
+
return (
|
|
117
|
+
<>
|
|
118
|
+
<defs>
|
|
119
|
+
<linearGradient id={this.gradientId1} x1="48.234" x2="85.044" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
120
|
+
<stop style={{stopColor:'#ffffff'}} offset="0"/>
|
|
121
|
+
<stop className={className} offset="0.7"/>
|
|
122
|
+
</linearGradient>
|
|
123
|
+
</defs>
|
|
124
|
+
<g transform="translate(-48.095 -72.04)">
|
|
125
|
+
<path d="m51.343 77.901c-0.46729 6.4835-0.49861 12.41 1.8452 18.243 2.0701 4.8317 6.6449 9.519 10.048 10.639 3.1257 0.93514 6.5325 0.51298 9.4631-1.3636 2.8381-1.8766 5.675-4.7414 7.5944-9.6711 1.7519-4.2279 1.851-12.866 1.5023-18.494-0.10415-1.7519-0.92328-3.8275-3.0785-3.0805s-7.341 1.9927-11.151 2.0221c-4.2614 0.20295-8.4599-0.77321-12.475-2.1147-1.7444-0.5435-3.3795-0.07766-3.5576 1.8434-0.04341 0.2718-0.02793-0.14819-0.19029 1.9758z" fill="#ffffff" stroke="#000000" strokeWidth="1.292" style={{fill:`url(#${this.gradientId1})`,stroke:'#000000'}}/>
|
|
126
|
+
</g>
|
|
127
|
+
</>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
renderProxyDef(part, gradient, className) {
|
|
132
|
+
let left = null;
|
|
133
|
+
let right = null;
|
|
134
|
+
let leftGrad = null;
|
|
135
|
+
let rightGrad = null;
|
|
136
|
+
const style = gradient ? {stopColor:'#ffffff'} : null;
|
|
137
|
+
if(ActorImage.PROXY_PART_ALL === part || ActorImage.PROXY_PART_LEFT === part) {
|
|
138
|
+
left = (
|
|
139
|
+
<clipPath id={this.clipFaceId2}>
|
|
140
|
+
<rect x="48.234" y="72.133" width="18.7" height="37.042"/>
|
|
141
|
+
</clipPath>
|
|
142
|
+
);
|
|
143
|
+
leftGrad = (gradient ? (
|
|
144
|
+
<linearGradient id={this.gradientId2} x1="48.234" x2="85.044" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
145
|
+
<stop style={style} offset="0"/>
|
|
146
|
+
<stop className={className} offset="0.6"/>
|
|
147
|
+
</linearGradient>
|
|
148
|
+
) : (
|
|
149
|
+
<linearGradient id={this.gradientId2} x1="48.234" x2="85.044" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
150
|
+
<stop className={className} offset="0"/>
|
|
151
|
+
<stop className={className} offset="0.6"/>
|
|
152
|
+
</linearGradient>
|
|
153
|
+
));
|
|
154
|
+
}
|
|
155
|
+
if(ActorImage.PROXY_PART_ALL === part|| ActorImage.PROXY_PART_RIGHT === part) {
|
|
156
|
+
right = (
|
|
157
|
+
<clipPath id={this.clipFaceId1}>
|
|
158
|
+
<rect x="66.755" y="72.133" width="18.7" height="37.042"/>
|
|
159
|
+
</clipPath>
|
|
160
|
+
);
|
|
161
|
+
rightGrad = (gradient ? (
|
|
162
|
+
<linearGradient id={this.gradientId1} x1="85.044" x2="48.234" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
163
|
+
<stop style={style} offset="0"/>
|
|
164
|
+
<stop className={className} offset="0.6"/>
|
|
165
|
+
</linearGradient>
|
|
166
|
+
) : (
|
|
167
|
+
<linearGradient id={this.gradientId1} x1="85.044" x2="48.234" y1="72.133" y2="109.13" gradientUnits="userSpaceOnUse">
|
|
168
|
+
<stop className={className} offset="0"/>
|
|
169
|
+
<stop className={className} offset="0.6"/>
|
|
170
|
+
</linearGradient>
|
|
171
|
+
));
|
|
172
|
+
}
|
|
173
|
+
return (
|
|
174
|
+
<>
|
|
175
|
+
{left}
|
|
176
|
+
{leftGrad}
|
|
177
|
+
{right}
|
|
178
|
+
{rightGrad}
|
|
179
|
+
</>
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
renderProxyFace(className, part, grad) {
|
|
184
|
+
return (
|
|
185
|
+
<>
|
|
186
|
+
<defs>
|
|
187
|
+
{this.renderProxyDef(part, grad, className)}
|
|
188
|
+
</defs>
|
|
189
|
+
<g transform="translate(-48.095 -72.04)">
|
|
190
|
+
<path d="m51.343 77.901c-0.46729 6.4835-0.49861 12.41 1.8452 18.243 2.0701 4.8317 6.6449 9.519 10.048 10.639 3.1257 0.93514 6.5325 0.51298 9.4631-1.3636 2.8381-1.8766 5.675-4.7414 7.5944-9.6711 1.7519-4.2279 1.851-12.866 1.5023-18.494-0.10415-1.7519-0.92328-3.8275-3.0785-3.0805s-7.341 1.9927-11.151 2.0221c-4.2614 0.20295-8.4599-0.77321-12.475-2.1147-1.7444-0.5435-3.3795-0.07766-3.5576 1.8434-0.04341 0.2718-0.02793-0.14819-0.19029 1.9758z" fill="#ffffff" stroke="#000000" strokeWidth="1.292" style={{fill:`url(#${this.gradientId1})`,stroke:'#000000'}} clipPath={`url(#${this.clipFaceId1})`} />
|
|
191
|
+
<path d="m51.343 77.901c-0.46729 6.4835-0.49861 12.41 1.8452 18.243 2.0701 4.8317 6.6449 9.519 10.048 10.639 3.1257 0.93514 6.5325 0.51298 9.4631-1.3636 2.8381-1.8766 5.675-4.7414 7.5944-9.6711 1.7519-4.2279 1.851-12.866 1.5023-18.494-0.10415-1.7519-0.92328-3.8275-3.0785-3.0805s-7.341 1.9927-11.151 2.0221c-4.2614 0.20295-8.4599-0.77321-12.475-2.1147-1.7444-0.5435-3.3795-0.07766-3.5576 1.8434-0.04341 0.2718-0.02793-0.14819-0.19029 1.9758z" fill="#ffffff" stroke="#000000" strokeWidth="1.292" style={{fill:`url(#${this.gradientId2})`,stroke:'#000000'}} clipPath={`url(#${this.clipFaceId2})`} />
|
|
192
|
+
</g>
|
|
193
|
+
</>
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
renderFace(className) {
|
|
198
|
+
if('orig' === this.props.template.properties.face) {
|
|
199
|
+
return this.renderOrigFace(className, true);
|
|
200
|
+
}
|
|
201
|
+
else if('term' === this.props.template.properties.face) {
|
|
202
|
+
return this.renderTermFace(className);
|
|
203
|
+
}
|
|
204
|
+
else if('proxy' === this.props.template.properties.face) {
|
|
205
|
+
return this.renderProxyFace(className, ActorImage.PROXY_PART_ALL, true);
|
|
206
|
+
}
|
|
207
|
+
else if('cond' === this.props.template.properties.face) {
|
|
208
|
+
return this.renderOrigFace(className, true);
|
|
209
|
+
}
|
|
210
|
+
else if('local' === this.props.template.properties.face) {
|
|
211
|
+
return this.renderOrigFace(className, false);
|
|
212
|
+
}
|
|
213
|
+
else if('sut' === this.props.template.properties.face) {
|
|
214
|
+
return this.renderProxyFace(className, ActorImage.PROXY_PART_ALL, false);
|
|
215
|
+
}
|
|
216
|
+
else if('proxy_left' === this.props.template.properties.face) {
|
|
217
|
+
return this.renderProxyFace(className, ActorImage.PROXY_PART_LEFT, true);
|
|
218
|
+
}
|
|
219
|
+
else if('proxy_right' === this.props.template.properties.face) {
|
|
220
|
+
return this.renderProxyFace(className, ActorImage.PROXY_PART_RIGHT, true);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
renderEyes() {
|
|
225
|
+
if('happy' === this.props.template.properties.eyes) {
|
|
226
|
+
return this.renderHappyEyes();
|
|
227
|
+
}
|
|
228
|
+
else if('sad' === this.props.template.properties.eyes) {
|
|
229
|
+
return this.renderSadEyes();
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
renderMouth() {
|
|
234
|
+
if('happy' === this.props.template.properties.mouth) {
|
|
235
|
+
return this.renderHappyMouth();
|
|
236
|
+
}
|
|
237
|
+
else if('sad' === this.props.template.properties.mouth) {
|
|
238
|
+
return this.renderSadMouth();
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
render() {
|
|
243
|
+
const className = `seq_dia_protocol_${this.props.stackName}`;
|
|
244
|
+
return (
|
|
245
|
+
<div className="modal_dialog_icon">
|
|
246
|
+
<svg id={this.svgId1} width="100%" height="100%" version="1.1" viewBox="0 0 37.042 37.042" xmlns="http://www.w3.org/2000/svg">
|
|
247
|
+
{this.renderFace(className)}
|
|
248
|
+
{this.renderEyes()}
|
|
249
|
+
{this.renderMouth()}
|
|
250
|
+
</svg>
|
|
251
|
+
</div>
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
ActorImage.ID = 0;
|
|
257
|
+
|
|
258
|
+
ActorImage.PROXY_PART_ALL = 0;
|
|
259
|
+
ActorImage.PROXY_PART_LEFT = 1;
|
|
260
|
+
ActorImage.PROXY_PART_RIGHT = 2;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import ReactComponentBase from 'z-abs-corelayer-client/client/react-component/react-component-base';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export default class FileImage extends ReactComponentBase {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
shouldUpdate(nextProps, nextState) {
|
|
14
|
+
return !this.shallowCompare(this.props, nextProps)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
renderInner() {
|
|
18
|
+
if('class' === this.props.id) {
|
|
19
|
+
return (
|
|
20
|
+
<g id={`${this.props.id}_g`} transform="translate(-55.998 .001)" style={{fill:'#155193'}} aria-label="{;}">
|
|
21
|
+
<path d="m157 301.18q9.2448 5.7292 14.453 12.891 5.2083 7.0313 7.2917 18.099 2.0833 10.938 2.0833 28.125 0 12.891 0.52083 19.01 0.65105 6.1198 2.3438 9.2448 1.8229 3.2552 4.2969 4.1667 2.474 1.0417 8.4636 1.9531 4.9479 0.65104 8.2031 4.8177 3.2552 4.1667 3.2552 10.938 0 15.755-19.141 15.755-11.849 0-21.224-4.9479-9.2448-4.9479-14.323-14.063-5.0781-8.9844-5.2083-20.703-0.39063-19.792-0.78125-31.771-0.39063-11.979-1.1719-15.495-1.9531-8.724-5.8594-13.151-3.776-4.4271-10.026-8.2031-6.1198-3.9063-8.724-6.901-2.6042-3.125-2.6042-9.7656 0-9.6354 7.5521-14.453 9.375-5.8594 13.281-9.8958 4.0365-4.1667 5.599-10.547 1.6927-6.5104 1.9531-14.063 0.26042-7.6823 0.78125-36.719 0.39063-17.969 11.328-28.646 11.068-10.807 29.427-10.807 19.141 0 19.141 15.495 0 7.0313-3.2552 11.068-3.125 4.0365-8.2031 4.6875-7.5521 1.0417-10.547 3.125-2.9948 2.0833-3.9062 8.0729t-1.1719 23.177q-0.26042 16.797-2.0833 27.604-1.6927 10.677-6.901 18.229-5.0781 7.5521-14.844 13.672z"/>
|
|
22
|
+
<path d="m253.74 373.7q-8.5938 0-14.844-5.2083-6.25-5.3386-6.25-14.844 0-8.2031 6.1198-13.802 6.1198-5.599 14.453-5.599 6.25 0 11.328 3.3854t7.9427 10.026q2.8646 6.5104 2.8646 16.146 0 12.891-5.4688 24.089-5.4688 11.328-13.411 17.839-7.8125 6.6406-14.193 6.6406-4.0365 0-6.5104-2.7344-2.474-2.6042-2.474-6.1198 0-5.3386 5.2083-8.5938 15.234-8.3334 15.234-21.224zm-17.839-125.39q0-9.2448 5.7292-14.323 5.8594-5.0781 14.063-5.0781 7.9427 0 13.672 5.2083 5.7292 5.0781 5.7292 14.193 0 7.4219-6.1198 13.542-5.9896 5.9896-13.281 5.9896-5.4688 0-10.026-2.6042-4.4271-2.6042-7.1615-6.901-2.6042-4.4271-2.6042-10.026z"/>
|
|
23
|
+
<path d="m354 301.18q-7.0313-4.4271-11.458-9.2448-4.4271-4.8177-7.2917-11.719t-4.0365-16.276q-1.1719-9.5052-1.1719-22.266 0-12.37-0.52083-18.88-0.52084-6.6406-2.0833-9.6354t-4.4271-4.0365q-2.7344-1.1719-8.4636-1.8229-4.8177-0.65104-8.2031-4.6875-3.2552-4.0365-3.2552-11.068 0-15.495 18.88-15.495 12.109 0 21.224 4.9479 9.2448 4.8177 14.453 13.932 5.3386 8.9844 5.4688 20.573 0.78125 43.229 1.8229 47.526 2.0833 8.5938 6.1198 13.151 4.0365 4.4271 9.7656 7.9427 5.7292 3.3854 8.4636 6.7708 2.8646 3.3854 2.8646 10.286 0 9.7656-7.4219 14.323-9.1146 5.599-13.281 9.8958-4.0365 4.1667-5.7292 10.547-1.5625 6.25-1.9531 18.88-0.26042 12.63-0.65104 31.641-0.39063 17.969-11.589 28.776-11.068 10.938-29.557 10.938-9.1146 0-14.063-4.0365-4.8177-4.0365-4.8177-11.719 0-4.2969 1.5625-7.9427 1.5625-3.5156 4.0365-5.4688 2.6042-1.9531 5.8594-2.3438 5.8594-0.78125 8.724-1.9531 2.8646-1.1719 4.2969-4.4271 1.5625-3.2552 1.9531-9.6354 0.52083-6.25 0.52083-18.359 0.26042-17.969 2.0833-28.125 1.8229-10.156 6.901-17.448 5.0781-7.2917 14.974-13.542z"/>
|
|
24
|
+
</g>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
render() {
|
|
33
|
+
return (
|
|
34
|
+
<div className="modal_dialog_icon">
|
|
35
|
+
<svg id={`${this.props.id}_svg`} width="100%" height="100%" viewBox="0 0 399 511" xmlns="http://www.w3.org/2000/svg">
|
|
36
|
+
<path d="m6.102 28.752 18.84-16.527 262.11-1.3221-1.3221 76.683 21.815 23.798 80.98 1.3221-0.99159 368.21-17.518 18.675-338.79 4.1316-23.137-20.823z" style={{fill:'#deebfa'}} />
|
|
37
|
+
<path d="m285.73 87.587 1.3221-76.683 101.47 101.8-80.98-1.3221z" style={{fill:'#8fbcef'}}/>
|
|
38
|
+
<path d="m398.96 110.75c-0.018-0.185-0.05-0.365-0.081-0.545-0.011-0.06-0.016-0.122-0.028-0.182-0.043-0.215-0.098-0.425-0.159-0.632-7e-3 -0.025-0.012-0.052-0.02-0.077-0.065-0.213-0.141-0.421-0.224-0.625-8e-3 -0.021-0.015-0.043-0.023-0.064-0.081-0.195-0.173-0.384-0.269-0.57-0.016-0.031-0.029-0.063-0.045-0.094-0.093-0.173-0.196-0.339-0.301-0.504-0.027-0.042-0.05-0.086-0.077-0.127-0.103-0.154-0.216-0.3-0.33-0.446-0.037-0.048-0.07-0.098-0.109-0.145-0.142-0.173-0.294-0.338-0.45-0.498-0.015-0.015-0.027-0.031-0.042-0.046l-104-104c-0.018-0.018-0.038-0.033-0.057-0.051-0.156-0.153-0.317-0.301-0.486-0.44-0.055-0.045-0.113-0.083-0.169-0.126-0.138-0.107-0.275-0.214-0.42-0.311-0.051-0.034-0.105-0.062-0.156-0.095-0.156-0.099-0.312-0.197-0.475-0.284-0.036-0.019-0.074-0.035-0.111-0.053-0.181-0.093-0.365-0.183-0.554-0.262-0.024-0.01-0.049-0.017-0.074-0.027-0.202-0.081-0.406-0.157-0.616-0.221-0.027-8e-3 -0.054-0.013-0.081-0.021-0.206-0.06-0.415-0.115-0.628-0.158-0.063-0.013-0.128-0.018-0.192-0.029-0.177-0.031-0.354-0.062-0.536-0.08-0.248-0.025-0.498-0.038-0.749-0.038h-248c-21.78 0-39.5 17.72-39.5 39.5v432c0 21.78 17.72 39.5 39.5 39.5h320c21.78 0 39.5-17.72 39.5-39.5v-360c0-0.251-0.013-0.501-0.038-0.749zm-103.96-85.145 78.394 78.394h-53.894c-13.509 0-24.5-10.99-24.5-24.5zm64.5 470.39h-320c-13.509 0-24.5-10.99-24.5-24.5v-432c0-13.51 10.991-24.5 24.5-24.5h240.5v64.5c0 21.78 17.72 39.5 39.5 39.5h64.5v352.5c0 13.51-10.991 24.5-24.5 24.5z" style={{fill:"#227ce0"}}/>
|
|
39
|
+
{this.renderInner()}
|
|
40
|
+
</svg>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import ReactComponentBase from 'z-abs-corelayer-client/client/react-component/react-component-base';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export default class MsgImage extends ReactComponentBase {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
shouldUpdate(nextProps, nextState) {
|
|
14
|
+
return !this.shallowCompare(this.props, nextProps)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
render() {
|
|
18
|
+
return (
|
|
19
|
+
<div className="modal_dialog_icon">
|
|
20
|
+
<svg id={`${this.props.id}_svg`} width="100%" height="100%" viewBox="0 0 136.52 87.519" xmlns="http://www.w3.org/2000/svg">
|
|
21
|
+
<g id={`${this.props.id}_g`} transform="translate(-32.924 -102.83)">
|
|
22
|
+
<rect id={`${this.props.id}_rect`} x="35.924" y="105.83" width="130.52" height="81.519" ry="7.8849" style={{fill:'#fad137',strokeLinejoin:'round',strokeWidth:6,stroke:'#555'}}/>
|
|
23
|
+
<path id={`${this.props.id}_path`} d="m38.787 108.69 62.356 46.738 62.578-46.435" style={{fill:'none',strokeLinejoin:'round',strokeWidth:6,stroke:'#555'}}/>
|
|
24
|
+
</g>
|
|
25
|
+
</svg>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|