Web: Common: added alert
This commit is contained in:
parent
727532f40e
commit
4fdfcc33cd
@ -197,9 +197,11 @@ class PageLayoutComponent extends React.Component {
|
|||||||
showPrimaryProgressBar,
|
showPrimaryProgressBar,
|
||||||
primaryProgressBarIcon,
|
primaryProgressBarIcon,
|
||||||
primaryProgressBarValue,
|
primaryProgressBarValue,
|
||||||
|
showPrimaryButtonAlert,
|
||||||
showSecondaryProgressBar,
|
showSecondaryProgressBar,
|
||||||
secondaryProgressBarValue,
|
secondaryProgressBarValue,
|
||||||
secondaryProgressBarIcon,
|
secondaryProgressBarIcon,
|
||||||
|
showSecondaryButtonAlert,
|
||||||
setSelections,
|
setSelections,
|
||||||
uploadFiles,
|
uploadFiles,
|
||||||
viewAs,
|
viewAs,
|
||||||
@ -384,11 +386,13 @@ class PageLayoutComponent extends React.Component {
|
|||||||
className="layout-progress-bar"
|
className="layout-progress-bar"
|
||||||
icon={primaryProgressBarIcon}
|
icon={primaryProgressBarIcon}
|
||||||
percent={primaryProgressBarValue}
|
percent={primaryProgressBarValue}
|
||||||
|
alert={showPrimaryButtonAlert}
|
||||||
/>
|
/>
|
||||||
<FloatingButton
|
<FloatingButton
|
||||||
className="layout-progress-second-bar"
|
className="layout-progress-second-bar"
|
||||||
icon={secondaryProgressBarIcon}
|
icon={secondaryProgressBarIcon}
|
||||||
percent={secondaryProgressBarValue}
|
percent={secondaryProgressBarValue}
|
||||||
|
alert={showSecondaryButtonAlert}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) : showPrimaryProgressBar && !showSecondaryProgressBar ? (
|
) : showPrimaryProgressBar && !showSecondaryProgressBar ? (
|
||||||
@ -396,12 +400,14 @@ class PageLayoutComponent extends React.Component {
|
|||||||
className="layout-progress-bar"
|
className="layout-progress-bar"
|
||||||
icon={primaryProgressBarIcon}
|
icon={primaryProgressBarIcon}
|
||||||
percent={primaryProgressBarValue}
|
percent={primaryProgressBarValue}
|
||||||
|
alert={showPrimaryButtonAlert}
|
||||||
/>
|
/>
|
||||||
) : !showPrimaryProgressBar && showSecondaryProgressBar ? (
|
) : !showPrimaryProgressBar && showSecondaryProgressBar ? (
|
||||||
<FloatingButton
|
<FloatingButton
|
||||||
className="layout-progress-bar"
|
className="layout-progress-bar"
|
||||||
icon={secondaryProgressBarIcon}
|
icon={secondaryProgressBarIcon}
|
||||||
percent={secondaryProgressBarValue}
|
percent={secondaryProgressBarValue}
|
||||||
|
alert={showSecondaryButtonAlert}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
@ -430,11 +436,13 @@ PageLayoutComponent.propTypes = {
|
|||||||
t: PropTypes.func,
|
t: PropTypes.func,
|
||||||
showPrimaryProgressBar: PropTypes.bool,
|
showPrimaryProgressBar: PropTypes.bool,
|
||||||
primaryProgressBarValue: PropTypes.number,
|
primaryProgressBarValue: PropTypes.number,
|
||||||
|
showPrimaryButtonAlert: PropTypes.bool,
|
||||||
progressBarDropDownContent: PropTypes.any,
|
progressBarDropDownContent: PropTypes.any,
|
||||||
primaryProgressBarIcon: PropTypes.string,
|
primaryProgressBarIcon: PropTypes.string,
|
||||||
showSecondaryProgressBar: PropTypes.bool,
|
showSecondaryProgressBar: PropTypes.bool,
|
||||||
secondaryProgressBarValue: PropTypes.number,
|
secondaryProgressBarValue: PropTypes.number,
|
||||||
secondaryProgressBarIcon: PropTypes.string,
|
secondaryProgressBarIcon: PropTypes.string,
|
||||||
|
showSecondaryButtonAlert: PropTypes.bool,
|
||||||
onDrop: PropTypes.func,
|
onDrop: PropTypes.func,
|
||||||
setSelections: PropTypes.func,
|
setSelections: PropTypes.func,
|
||||||
uploadFiles: PropTypes.bool,
|
uploadFiles: PropTypes.bool,
|
||||||
|
Loading…
Reference in New Issue
Block a user