Merge branch 'qcast-pub' into dev

This commit is contained in:
minsik 2024-11-05 15:44:14 +09:00
commit 231255bf0e
4 changed files with 3067 additions and 3303 deletions

View File

@ -60,7 +60,7 @@ export default function FlowDirectionSetting(props) {
}, [compasDeg]) }, [compasDeg])
return ( return (
<WithDraggable isShow={true} pos={pos}> <WithDraggable isShow={true} pos={pos}>
<div className={`modal-pop-wrap lx mount`}> <div className={`modal-pop-wrap ml mount`}>
<div className="modal-head"> <div className="modal-head">
<h1 className="title">{getMessage('modal.shape.flow.direction.setting')} </h1> <h1 className="title">{getMessage('modal.shape.flow.direction.setting')} </h1>
<button className="modal-close" onClick={() => closePopup(id)}> <button className="modal-close" onClick={() => closePopup(id)}>
@ -103,28 +103,30 @@ export default function FlowDirectionSetting(props) {
<label htmlFor="ra02">{getMessage('modal.shape.flow.direction.setting.orientation.24')}</label> <label htmlFor="ra02">{getMessage('modal.shape.flow.direction.setting.orientation.24')}</label>
</div> </div>
</div> </div>
<div className="compas-box"> <div className="draw-flow-wrap">
<div className="compas-box-inner"> <div className="compas-box">
{Array.from({ length: 180 / 15 + 1 }).map((dot, index) => ( <div className="compas-box-inner">
<div {Array.from({ length: 180 / 15 + 1 }).map((dot, index) => (
key={index} <div
className={`circle ${compasDeg === 15 * (12 + index) ? 'act' : ''}`} key={index}
onClick={() => setCompasDeg(15 * (12 + index))} className={`circle ${compasDeg === 15 * (12 + index) ? 'act' : ''}`}
> onClick={() => setCompasDeg(15 * (12 + index))}
<i>{13 - index}</i> >
<i>{13 - index}</i>
</div>
))}
{Array.from({ length: 180 / 15 - 1 }).map((dot, index) => (
<div
key={index}
className={`circle ${compasDeg === 15 * (index + 1) ? 'act' : ''}`}
onClick={() => setCompasDeg(15 * (index + 1))}
>
<i>{24 - index}</i>
</div>
))}
<div className="compas">
<div className="compas-arr" style={{ transform: `rotate(${compasDeg}deg)` }}></div>
</div> </div>
))}
{Array.from({ length: 180 / 15 - 1 }).map((dot, index) => (
<div
key={index}
className={`circle ${compasDeg === 15 * (index + 1) ? 'act' : ''}`}
onClick={() => setCompasDeg(15 * (index + 1))}
>
<i>{24 - index}</i>
</div>
))}
<div className="compas">
<div className="compas-arr" style={{ transform: `rotate(${compasDeg}deg)` }}></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -180,8 +180,10 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set
</tr> </tr>
<tr> <tr>
<th> <th>
{getMessage('modal.placement.initial.setting.size')} <div className="tip-wrap">
<button className="tooltip" onClick={() => setShowSizeGuidModal(true)}></button> {getMessage('modal.placement.initial.setting.size')}
<button className="tooltip" onClick={() => setShowSizeGuidModal(true)}></button>
</div>
</th> </th>
<td> <td>
<div className="pop-form-radio"> <div className="pop-form-radio">
@ -252,8 +254,10 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set
</tr> </tr>
<tr> <tr>
<th> <th>
{getMessage('modal.placement.initial.setting.roof.material')} <div className="tip-wrap">
<button className="tooltip" onClick={() => setShowMaterialGuidModal(true)}></button> {getMessage('modal.placement.initial.setting.roof.material')}
<button className="tooltip" onClick={() => setShowMaterialGuidModal(true)}></button>
</div>
</th> </th>
<td> <td>
<div className="placement-option"> <div className="placement-option">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff